Corpus Core Docs

Execution layer

Once the header is accepted, the Ethereum verifier reads stateRoot, transactionsRoot and receiptsRoot as on mainnet. The differences below are the ones this build actually applies. Anything else follows the Ethereum path.

Block header

The block hash is keccak256 of the RLP header. For an Arbitrum chain the block JSON additionally exposes:

JSON field Source
l1BlockNumber mixHash bytes 8..16, big-endian, when mixHash is at least 16 bytes
sendCount mixHash bytes 0..8, big-endian, on the same condition
sendRoot extraData, when it is 32 bytes
difficulty the header's difficulty field, as a uint64

A header with fewer than the post-Shanghai fields omits the corresponding JSON keys, by the same field count the Ethereum encoder uses. The verifier does not interpret nonce, and it does not read an ArbOS version out of mixHash.

Transactions

The transaction trie is the Ethereum MPT, keyed by rlp(index). The hash of a typed transaction is keccak256(type || rlp(fields)).

Alongside types 0x00, 0x01, 0x02 and 0x04, the decoder accepts the six Nitro types. There is no signature on them. v, r and s in the RPC object are zero. The sender of an internal transaction (0x6A) is the ArbOS address 0x00000000000000000000000000000000000a4b05. Every other Nitro type carries from in the RLP. The RPC to of an internal transaction is that same ArbOS address. The RPC to of a submit-retryable (0x69) is the retryable precompile 0x6e. The other types use the RLP address, which is null when the field is nil.

Type Name Extra RPC fields
0x64 deposit requestId
0x65 unsigned —
0x66 contract requestId
0x68 retry ticketId, maxRefund, submissionFeeRefund, refundTo
0x69 submit-retryable requestId, refundTo, l1BaseFee, depositValue, retryTo, retryValue, retryData, beneficiary, maxSubmissionFee
0x6A internal —

maxFeePerGas is set for 0x66, 0x68 and 0x69. A type the decoder does not know, including the pre-Nitro type 0x78, fails the proof.

Receipts and logs

The receipts trie is the Ethereum MPT. On an Arbitrum chain the effective gas price written into the receipt object is the header base fee, for every transaction type. l1BlockNumber on the receipt is the same mixHash value as on the block, not a field of the consensus receipt. Log proofs are unchanged.

State

Accounts and storage use the standard account encoding and the standard MPT. eth_getProof is verified like on mainnet. The history-contract proof above is that same check, with the Arbitrum window.

Calls

eth_call and the other execution methods run in the Ethereum host, against the state embedded in the proof. The block number that host reports is the L2 block number from the header. The host has no Stylus runtime and no ArbOS precompiles. A call that enters either still runs on that host and returns its result. Closing that gap is the Stylus page and the call-semantics work that is not in this build.