Skip to main content
Ethereum mainnet provides data availability (DA) for assertion bytecode. Builders populate their local Assertion Stores from L1 registration events. On Linea, the sidecar retrieves the bytecode from the offchain Assertion DA service operated by Phylax.

Assertion ID

Both integrations identify the creation data by the same hash.
For an assertion without constructor arguments, the ID is the hash of the creation bytecode alone. The State Oracle records which adopter the artifact applies to and when it becomes active.

Ethereum Mainnet

Storing Assertions

pcl apply prepares a platform release for review, including source verification. The authorized Protocol Manager publishes the creation data on L1 when registering the assertion. The State Oracle’s addAssertion call carries the full creation data in its proof argument. The onchain DA verifier checks keccak256(proof) == assertionId. The State Oracle then emits the same bytes in its AssertionAdded event. For example, log 458 in this mainnet registration contains 7,155 bytes of creation data in proof.

Retrieving Assertions

The builder reads the event from the configured State Oracle. It checks the verifier address and confirms that the hash of the proof matches the assertion ID. It then prepares the assertion from those bytes and records the assignment and activation block in its local Assertion Store. The Assertion Enforcer reads that store during block building. See For Ethereum Builders.

Linea

The offchain DA service compiles the submitted Solidity source and stores the creation bytecode and encoded constructor arguments separately. The Linea sidecar indexes onchain assignments, fetches the corresponding artifact by assertion ID, and combines the bytecode and arguments to check the hash. It caches the prepared assertion locally for enforcement. See Linea / Besu Integration.

Assertion DA Prover Signature

The service signs the assertion ID when it stores the artifact. Linea uses that signature as its availability proof, which keeps the registration transaction small even for a large assertion. The signature attests that the service held the creation data at signing time. A sidecar with a missing artifact still needs access to the service to retrieve it.

Security Considerations

A matching hash ties the available bytes to the registered ID. Policy behavior requires testing. On Ethereum, the registration event also records when the assignment takes effect. Builder enforcement depends on the active assignment and the deployment mode.

Next Steps

Run an Example Policy Locally

Run and inspect your first local assertion tests

CLI Reference

Complete reference for pcl commands

Architecture Overview

Understand how Assertion DA fits into the system

Glossary

Learn more about Assertion DA terminology