Update evm.go

This commit is contained in:
jagdeep sidhu 2024-10-07 11:27:40 -07:00
parent 268fd63e3e
commit 30ed76a643

View file

@ -38,6 +38,10 @@ type (
// GetHashFunc returns the n'th block hash in the blockchain // GetHashFunc returns the n'th block hash in the blockchain
// and is used by the BLOCKHASH EVM op code. // and is used by the BLOCKHASH EVM op code.
GetHashFunc func(uint64) common.Hash GetHashFunc func(uint64) common.Hash
// SYSCOIN
ReadSYSHashFunc func(uint64) []byte
ReadDataHashFunc func(common.Hash) []byte
GetNEVMAddressFunc func(common.Address) []byte
) )
func (evm *EVM) precompile(addr common.Address) (PrecompiledContract, bool) { func (evm *EVM) precompile(addr common.Address) (PrecompiledContract, bool) {