cheatcodes.go 222 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13
package script

import (
	"github.com/ethereum/go-ethereum/common"
)

type CheatCodesPrecompile struct {
	h *Host
}

func (c *CheatCodesPrecompile) GetNonce(addr common.Address) uint64 {
	return c.h.state.GetNonce(addr)
}