MCPcopy Create free account
hub / github.com/argotorg/solidity / get_block_hash

Method get_block_hash

test/EVMHost.cpp:451–454  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

449}
450
451evmc::bytes32 EVMHost::get_block_hash(int64_t _number) const noexcept
452{
453 return convertToEVMC(u256("0x3737373737373737373737373737373737373737373737373737373737373737") + _number);
454}
455
456h160 EVMHost::convertFromEVMC(evmc::address const& _addr)
457{

Callers 1

blockHashMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected