Maybe I missed it, but can't seem to find it anywhere. Is the unit used in Gwei or in Eth?
For example when writing :
stateDb, err := state.New(rootHash, db)
if err!=nil{
return err
}
addressA := common.HexToAddress("0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B")
stateDb.SetBalance(addressA, big.NewInt(1000))
do we get 1000 eth or 1000 wei?
Any help appreciated