Implementation of EIP-2935 for reliable historical block hash access in smart contracts
BLOCKHASH
opcodehistory_serve_window
parameter controls how many historical block hashes are stored:
uint64
8192
(source)0x0aae40965e6800cd9b1f4b05ff21581047e3f91e
BLOCKHASH
queries contract storagehistory_serve_window
(vs fixed 8192 in Ethereum)BLOCKHASH
opcode only provided access to the most recent 256 blocks; EIP-2935 extends this significantly0x0aae40965e6800cd9b1f4b05ff21581047e3f91e
BLOCKHASH
queries contract storagehistory_serve_window
0x0aae40965e6800cd9b1f4b05ff21581047e3f91e