pcl apply. Enforcers retrieve bytecode for execution. Reviewers can inspect the source.
Purpose
Assertion DA stores artifacts and binds each assertion ID to its deployable creation data.Key Concepts
Assertion ID
The assertion ID is deterministically derived from deployable creation data:solc environment before storage.
Assertion DA Prover Signature
Assertion DA signs an availability proof when it stores an assertion. Deployment uses this proof to check artifact availability.Current Implementation
Phylax operates the offchain storage service. Assertion artifacts are publicly accessible for review and verification.How It Works
Storing Assertions
pcl applycompiles the assertion contracts.- The platform uploads flattened source code and compiler options to Assertion DA.
- Assertion DA generates the assertion ID and availability signature.
Retrieving Assertions
Enforcers index the State Oracle’sAssertionAdded event. They fetch bytecode by assertion ID and cache it before validation.
Operators must define how missing or unreadable artifacts affect validation.
Complete Lifecycle
An authorized manager registers the assertion through the State Oracle. After the activation delay, enforcers evaluate it in the selected environment. Production results affect participating builders. Alerting records violations without excluding live transactions. Removal also takes effect after the configured delay. See Deployment.Design Rationale
Why Off-Chain Storage?
Offchain storage avoids the cost of storing bytecode and metadata on Ethereum. Enforcers cache artifacts for validation.Why Compilation Happens Off-Chain
The State Oracle uses the deployment-data hash and availability signature. Compilation and artifact storage remain outside the contract.Security Considerations
Cached assertions remain available during a DA outage. New registrations, restarts, and missing cache entries can require DA access. An availability signature does not guarantee future uptime. The assertion ID binds the creation bytecode and constructor arguments. It does not establish policy correctness. Test legitimate activity and recovery before activation.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

