Terminology Across the Docs
Exact CLI commands, Solidity identifiers, UI labels, and historical source names retain their spelling. A naming difference in an identifier does not imply a different policy or component.
Core Concepts
The Credible Layer
Assertion-enforcement infrastructure. On Ethereum, it combines protocol-authored assertions, participating builders, credible-block markers, and onchain guards. Builders exclude candidates that fail active rules; guards restrict protected operations while their gate is active. L2 integrations have a separate sequencer inclusion boundary. See the Overview.Assertion
An executable check of a policy. Use assertion function for a particular check and assertion contract for the artifact containing functions and trigger registrations. Commands and UI labels may use the shorter “assertion” for that artifact; an assertion ID identifies its creation data. A policy can require several checks, and a contract can package several functions. Learn more: What are Assertions? | Writing Your Own PoliciesPolicy
The intended rule for protocol behavior, including permitted exceptions. Assertion functions implement its checks; a release packages the checks for review and deployment.Assertion Contract
The Solidity contract artifact containing assertion functions and trigger registrations. Its creation bytecode and constructor arguments determine the assertion ID.Protocol Invariants
Properties required to hold at specified observation boundaries, such as total assets ≥ total liabilities after a transaction. Define whether the property applies at transaction end, around a matched call, or at another supported boundary. An invariant can span one contract or several; contract scope and observation boundary are separate choices. Invariants are one kind of policy requirement; policies can also describe allowed transitions, conditional checks, and rolling limits.System Architecture
PhEVM (Phylax EVM)
The execution environment for assertion checks, with interfaces for inspecting transaction and call snapshots. Production assertions inspect state; mutable fork switching in the Legacy API selects a snapshot and does not authorize changing protocol state. Learn more: PhEVMAssertion DA (Data Availability)
The mechanism that makes assertion creation data available to enforcers. Ethereum mainnet publishes the bytes in the State Oracle’sAssertionAdded event. Linea uses an offchain service that serves the artifact by assertion ID. Enforcers prepare assertions in a local Assertion Store for execution.
Learn more: Assertion Data Availability
State Oracle
The onchain contract recording assertion adopters, their Protocol Managers, assertion IDs, and activation/deactivation blocks. Its assertion activation windows describe lifecycle timing; they are not the rolling measurement windows used by cumulative-flow breakers. Learn more: Credible Layer ContractsCredible Registry
The on-chain contract that authorizes participating builders and records credible-block markers. It is separate from the State Oracle’s assertion assignments and lifecycle state.Credible Block
A block marked credible by an authorized builder before protected operations execute. The marker is a builder attestation, not a cryptographic proof that assertions passed.Guard
An on-chain check restricting protected operations to credible blocks while its gate is active. Coverage and failure behavior depend on the implementation. A Safe transaction guard does not automatically cover Safe modules.Credible RPC
The transaction submission route to participating builders. Routing is separate from guard enforcement and does not itself guarantee inclusion or assertion success.Fail-open
A condition that relaxes a guard’s requirement for a credible block to preserve availability. Transactions may then execute without mandatory assertion enforcement, while existing protocol checks remain active. Participating builders can continue enforcing assertions.Protocol Manager
The address authorized to manage assertion lifecycle for registered contracts through the State Oracle. This authority is distinct from platform membership, transaction submission, and protocol upgrade permissions.Block Builder
A component that selects and orders candidate transactions into blocks. A participating Credible Layer builder invokes the Assertion Enforcer before including transactions; other builders need not run assertions.Sequencer
An L2 component responsible for ordering transactions. See L2 and Sequencer Integrations for its separate assertion-enforcement model.Assertion Enforcer
The enforcement component that selects and executes assertions during block production. It can be embedded as a library in the builder or sequencer; a separate sidecar is one deployment pattern. It orchestrates the enforcement process by identifying relevant assertions, invoking PhEVM to execute them, and returning an assertion result. The network integration applies the inclusion policy. Learn more: Assertion EnforcerPlatform
The Phylax platform is the web application interface for interacting with the Credible Layer. It allows protocol teams and end-users to deploy, manage, and view assertions and projects.The Phylax Explorer
A public view of a small selection of featured projects. Where available, project pages show protected contracts, circuit-breaker summaries, operational authority, and supporting evidence. Detailed project information and transaction replays remain subject to access permissions.Sidecar
A separate process or service that runs alongside the node. A separate-service integration delegates assertion enforcement to a sidecar. This is not a requirement of the Assertion Enforcer; an embedded integration runs enforcement within the node’s block-building pipeline. See Architecture for implementation details.Network Validator
An Ethereum validator participates in consensus and may propose a block assembled by a builder. Validators apply Ethereum’s consensus rules; they do not independently run Phylax assertions as part of block validity. A participating block builder runs the assertion integration before publishing its candidate. A node is the broader software/deployment term; running a node does not by itself mean acting as a validator, builder, or sequencer. For L2 roles, see L2 and Sequencer Integrations.Assertion Components
Trigger
A registration that selects an assertion function for execution when relevant transaction activity occurs. Matching a trigger does not itself mean rejection: the selected function evaluates the condition. Register triggers in the assertion contract’striggers() function. Trigger types include:
- Call triggers: select checks for matching contract calls.
- Storage triggers: select checks for changes to specified storage slots.
- Balance triggers: select checks for ETH balance changes.
Snapshot
An execution-state view at a specified observation boundary. A ReshiramForkId identifies pre-transaction, post-transaction, pre-call, or post-call state. Constructing it does not switch the state used by ordinary Solidity reads; use the snapshot APIs.
Pre-state/Post-state
The state before and after the chosen transaction or matched call. State the boundary explicitly: pre-transaction/post-transaction and pre-call/post-call can produce different comparisons. An intermediate violation may be absent from transaction-end state. Reshiram (V2) uses explicitForkId snapshot reads. Legacy (V1) uses mutable fork switching. See the Cheatcodes Reference for the supported interfaces.
State Changes
Writes to contract storage during transaction execution. A write trace and the final storage value answer different questions: a value can change and later be restored. State-change APIs expose observations; an assertion interprets them against its policy. See the Cheatcodes Reference for state tracking functions.Call Trace
The recorded calls and their nesting during transaction execution. Use call trace for recorded execution and call stack for the active nested calls at one point. Neither means the EVM operand stack. Older prose may use “callstack” for call inspection.Assertion Bytecode
The compiled form of an assertion contract. Registration on Ethereum mainnet publishes the creation bytecode and any encoded constructor arguments on L1. The Assertion Enforcer prepares the contract from those bytes for execution in PhEVM. See Assertion Data Availability for the Ethereum and Linea publication paths.Assertion ID
An artifact identifier computed asKeccak256(creation bytecode ++ ABI-encoded constructor arguments). It identifies the deployable creation data, not a single assertion function, adopter assignment, or platform release. Use the function selector and execution trace to identify a failing check; use the adopter and activation state to identify where and when the artifact applies.
Learn more: Assertion Data Availability
Assertion DA Prover Signature
A signature from Linea’s offchain Assertion DA service attesting that it held the creation data for an assertion ID at signing time. Learn more: Assertion Data AvailabilityAssertion Adopter
The contract address to which an assertion is assigned in the State Oracle. APIs and UI fields retain the name adopter. It can be a protocol contract or an assertion adapter used by a hook; the check may inspect other contracts as well. Adopter registration alone does not establish guard coverage.Assertion Group
A collection of assertion functions within one assertion contract. Prefer assertion functions when discussing checks and assertion contract when discussing the compiled artifact. Use release for the complete platform deployment set; “group” is not a substitute for that lifecycle unit.Assertion Function
A function in an assertion contract that performs a specific check. These functions must be registered in thetriggers() function and are executed by the enforcer in PhEVM when their trigger conditions are met.
Assertion Specification
The API capability selection registered by an assertion:Legacy (V1), Reshiram (V2), or Experimental. These names select available precompiles; they are separate from lifecycle state, test evidence, and deployment support. See Assertion Specs.
Development Tools
pcl
The command-line tool for building, testing, and deploying assertions to the Credible Layer.
See the pcl Reference for all available commands.
phorge
The Forge-derived build and test tooling integrated into pcl from Phoundry. Use the documented pcl build and pcl test commands. Phorge is local development tooling; PhEVM is the assertion execution environment used by the enforcer.
credible-std
The Phylax smart contract library that provides the base contracts and utilities for writing assertions. It includes the interfaces and implementations needed to interact with the Credible Layer’s cheatcodes and assertion system.
Cheatcodes
PhEVM interfaces for inspecting execution and state snapshots, exposed throughcredible-std. Available operations depend on the assertion specification. Test utilities and production inspection interfaces have different capabilities.
See the Cheatcodes Reference for a complete list of available cheatcodes and their usage.
Test Environment
For local assertion tests, theCredibleTest/cl interface used with pcl test. It selects an assertion function for the next external call and models rejection as a test revert. State whether “test environment” means this local setup, an Ethereum fork, or the platform’s Alerting environment; they establish different evidence.
Learn more about testing assertions in the Testing Guide.
Backtesting
An automatic platform release check that evaluates the release against historical transactions. Read the run’s reported block range to establish its coverage. The result identifies historical transactions that the release would have invalidated so you can review false positives before deployment. Learn more: BacktestingSecurity Features
Off-chain Execution
Assertion enforcement performed outside Ethereum consensus execution. It still uses compute and an assertion gas budget. Assertion gas is separate from the onchain gas used by protocol calls, guards, and credible-block markers.Forced Inclusion Transactions
L2 transaction paths with protocol-level inclusion rules, such as L1-to-L2 deposits or delayed queues. Their assertion handling belongs to the L2 integration policy, not Ethereum builder routing.Circuit Breaker
An assertion pattern that collects value flowing into or out of a protected contract into one bucket per block, then limits the cumulative flow across those per-block buckets over a rolling window. Circuit breakers are useful when the goal is to reduce exploit velocity or contain blast radius rather than block one specific function call.Cumulative-Flow Breaker
A circuit breaker that limits directional net asset flow over a rolling window of per-block buckets. It measures the configured asset and custody address, not every form of protocol loss. See Flow-Limit and Anomaly-Gated Policies.Verifiability
The ability to inspect the rules and registry state behind a protocol’s Credible Layer posture. On Ethereum mainnet, anyone can read the assertion creation data from the registration event and check its hash against the assertion ID. Public views show the protocol’s visible assertion posture. Access to private project data requires project authorization.Prevention
Invalidation
A reported assertion failure for a candidate or replayed transaction. Inspect the reason: a configured policy condition can fail, but an execution failure such asOutOfGas can also invalidate a candidate without establishing that condition. Production enforcement excludes invalidated candidates at the integrated boundary; Alerting and simulation record results without blocking the live transaction. An invalidation is not proof of an attack or of a live prevention.
Learn more: Investigate an Invalidation
Revert
An EVM execution failure. An assertion revert occurs off-chain during assertion execution and can cause builder exclusion. A guard revert occurs in the protocol execution path; if included on-chain, the transaction consumes gas. A caller may catch a subcall revert, depending on its code.Drop
Exclusion of a candidate transaction by a participating builder before inclusion. Exclusion itself consumes no onchain execution gas and does not establish that every other builder rejected the transaction. This differs from an included transaction reverting at a guard.Prevent
Blocking a rule-violating effect through the integrated enforcement path. Protection depends on active assertions, trigger coverage, builder behavior, and any required guards; a violation is not necessarily malicious.Assertion Lifecycle
Project
The platform container for a protocol team’s contracts, releases, and review results. Project permissions control platform access; they do not themselves confer the Protocol Manager’s onchain authority.Release
The complete policy set reviewed and deployed together for a project’s selected environment. Individual assertions cannot be removed from an active release. Change the set by deploying a replacement release, or remove the whole release.Apply
The process of creating a release on the platform usingpcl apply. This command reads your credible.toml configuration and compiles assertion contracts for release review. On Ethereum mainnet, a subsequent registration transaction publishes the assertion creation data on L1.
Learn more: Prepare a Policy Release | pcl Reference
Deployment
The process of reviewing a release and signing its onchain transaction for the selected Alerting or Production environment. Transaction confirmation and assertion activation are separate: new assertions begin applying after the configured delay.Notifications
Delivery of invalidation notices through Slack or PagerDuty. Notifications do not choose the enforcement mode. See Set Up Notifications.Alerting
A mirrored chain environment used for testing assertions without affecting production. Assertions run in alerting mode to observe behavior, but transactions are not dropped if they break assertion rules. This allows protocol teams to test assertions safely before deploying to production.Production
The enforcement environment where participating Ethereum builders exclude candidates violating active assertions. Guard coverage and routing are also required for the protected operations; fail-open or bypass conditions can reduce mandatory protection.Assertion Activation Window
The block interval in which an assertion assignment is active, recorded by the State Oracle asactivationBlock and deactivationBlock. The timelock delays a lifecycle change; the activation window describes when the assignment applies. It does not measure token flows.

