There is no native way to access historical state on Ethereum in a trustless way. Over 19 million blocks written to Ethereum. Smart contracts can only access the latest 256 blocks representing ~50 minutes of data. ‘Historical data’ refers to anything outside of the last 256 blocks.
With Storylus, you can for example :
Our project manipulates block headers (pre-image), block hashes and proofs in different contexts (JS, Solidity, Rust).
We had to refer to the several specifications (whitepaper, EIPs, code) and fill some holes in libs (like the lack of support for EIP-4844 in the viem serialize function) or manage all transaction types (EIP-155, EIP-2930, EIP-1559, EIP-4844) to recover the signer fof a transaction in solidity.
Testing Rust Contract in Stylus was difficult because the framework is still in alpha. To get over this challenge, we inspected some other Rust repositories like Reth and Alloy and asked for help to the Arbitrum team.
Tracks Applied (5)
Arbitrum
Arbitrum
Arbitrum
dRPC
Cheering for a project means supporting a project you like with as little as 0.0025 ETH. Right now, you can Cheer using ETH on Arbitrum, Optimism and Base.
Discussion