VIEW THIS AS

Auto mode follows the Route Engine until you choose a viewpoint.

YOU ARE HERE

ROUTE CHECK

CONNECTED TO

WHAT NEXT

Use the canonical route for this room, or HELP if you are unsure.

Layer 1, Layer 2 and Appchains: Identify Which Security Property Comes From Where

Three students in school uniforms work through open books at a classroom table, with textbooks and stationery nearby and study notes on the whiteboard behind them.

中文版 · Blockchain learning guide · Previous article

Blockchain learning · Article BC046

Three students in school uniforms work through open books at a classroom table, with textbooks and stationery nearby and study notes on the whiteboard behind them.
Study photograph for illustration; it does not establish that the pictured students are studying blockchain.

“Connected to a base chain” does not tell us which rules the base chain enforces. A system might publish data there, submit a validity proof there, or ask a contract there to accept a committee’s signatures. These arrangements create different dependencies even when their interfaces look similar.

Layer 1, Layer 2, sidechain and application-chain labels are useful starting points, but a useful comparison must identify execution, data availability, state acceptance, finality, exit conditions and administrative powers separately.

This guide compares three fictional designs attached to a base chain L. The task is to trace a claimed guarantee across its actual enforcement boundary, then identify what still depends on another operator, committee or rule.

Choose your reading route

In this guide

Start with the comparison questions, then fill in the three design cards. Work through the failure scenarios before classifying the designs. The exercise asks for evidence and conditions rather than a favourite chain or a speed ranking.

The examples use symbolic application records and abstract exit claims. No assets are deposited, bridged or withdrawn. The hypothetical contracts, committees and powers are explicitly supplied for the lesson; they do not describe a particular live network.

Primary sources were checked on 12 October 2026. Their narrow architecture concepts support the comparison. Marketing statements about cost, instant withdrawals, universal compatibility or guaranteed security are not assumptions in our worksheet.

Back to contents · Next section

1. Name the reference chain first

In this comparison, L is the base chain. Its nodes enforce L’s own transaction and consensus rules. We assume L works under its stated validity, finality and availability conditions; the lesson does not try to prove those conditions from scratch.

A contract executed on L becomes part of the rules applied to calls to that contract. But L does not automatically learn the truth of every claim about another system. It can only enforce the checks represented in the relevant protocol and contract.

For example, checking three authorised signatures is different from checking a proof of a particular state transition. Both can be legitimate contract checks, yet their meaning and remaining trust assumptions differ.

Write the reference chain’s name at the top of the worksheet. “Layer 2” and “settled on the base layer” need a specified relationship, not just a layer number floating without context.

Back to contents · Next section

2. Use a property-by-property comparison

For each attached design, answer five groups of questions:

  1. Where do application transactions execute, and what checks their resulting state transitions?
  2. Where is the data needed to reconstruct the relevant state made available, and who must supply it later?
  3. Which mechanism accepts the state used by the base-chain contract, and when is that base-chain update final?
  4. What evidence and permissions does an exit or cross-system release require?
  5. Who can replace the rules, pause the process or change the parties whose statements are accepted?

These questions overlap in a real system, but none can be deleted because another has a reassuring answer. A valid computation does not automatically make its input data retrievable. A final contract update does not prove that the contract’s acceptance rule was the rule a reader expected.

“Security inheritance” is therefore best written as a conditional statement about a named property: L enforces this check, under these code, cryptographic, data and governance assumptions. Avoid treating inheritance as a single yes/no badge covering every possible failure.

Back to contents · Next section

3. Design R: proof-checked state with data on L

R processes application transactions outside L. For each batch, it publishes on L the data required by the specified reconstruction procedure. A contract on L accepts a new R state commitment only after checking a validity proof bound to the previous commitment, the new commitment, the batch data commitment and the correct R rules.

The worksheet supplies that the proof system is sound, the circuit expresses the intended rules, the verifier and other contract code are correct, and the posted data matches the statement. These are assumptions to record, not achievements established by the word “proof”.

L’s own consensus and finality govern the contract update. An earlier acknowledgement from R’s sequencing service is not the same as a final update of that contract on L.

For this baseline, the contract has no upgrade or pause administrator. There is a specified direct submission path that an eligible user can use without the sequencer’s signature, and an exit path based on an accepted state plus required evidence. These paths still require data, valid requests, resources and functioning L processing; we make no timing promise.

Back to contents · Next section

4. Design S: independent consensus with a signature-controlled connection

S executes and finalises its own application history using a separate consensus system and validator set. The worksheet leaves that consensus system’s detailed fault model unspecified. A reviewer must obtain it before making claims about S’s internal safety or liveness.

The connection to L is a separate contract that accepts a release statement if three of five designated bridge authorities sign the exact required message. The contract checks the named identities, signatures, message context and replay conditions. It does not verify S’s execution trace or S’s consensus certificates in this design.

Assume the bridge code implements that rule correctly. Three accepted signatures are therefore sufficient to satisfy its authority requirement, but the contract is trusting those authorities to report the relevant S event honestly. A correct signature check is not an independent check of that event.

S publishes its history through its own network, not through L’s data-availability mechanism. The baseline bridge has no additional upgrade or pause administrator. The five bridge authorities and S’s consensus participants are separate roles; whether the same people control them is unknown and must not be guessed.

Back to contents · Next section

5. Design V: proof-checked state with a separate data dependency

V also executes outside L and submits validity proofs to a contract on L. It uses a correctly specified statement and verifier under the same explicit proof-related assumptions as R. However, the data needed for reconstruction is held outside L by a designated data committee.

For V, the base contract requires both a valid state-transition proof and three signatures from its five named data-committee members attesting to the relevant batch commitment. L checks those signatures; their presence is not the same thing as L publishing the underlying data.

The supplied V exit path requires a witness derived from the relevant state data. If an eligible reader cannot obtain that data, the reader may be unable to construct the witness even while the accepted state transition remains cryptographically valid.

V is designed solely for the fictional Archive application. Its baseline contract has no upgrade or pause administrator. Application-specific scope describes what the system is built to do; it does not remove the external data dependency.

Back to contents · Next section

6. Classify only after reading the cards

Under the terminology used here, R is a validity-rollup-style Layer 2 relative to L: execution occurs outside L, while the specified data publication and state-acceptance checks are anchored in L. That label remains conditional on the supplied mechanism, not a substitute for it.

S is a sidechain-style system relative to L, with its own consensus and a separately specified connection. The Ethereum sidechain documentation supports the distinction between a connected independent chain and a system whose relevant state is enforced by the base chain. We do not adopt its broad performance comparisons or assume every sidechain has S’s bridge design.

V is validium-style: validity checking occurs through the L contract, while data availability has a separate off-L dependency. The Ethereum validium documentation describes that distinction and the possibility that unavailable data obstructs a user’s exit evidence.

V is also an application-specific chain or system in this worksheet’s scope sense. These descriptions can coexist. “Application-specific” answers a different question from “where is data published?” or “which consensus accepts this state?”

Back to contents · Next section

7. Application scope is an independent axis

An application-specific chain is tailored to a particular application or class of operations. That design choice alone does not decide whether its security is sovereign, shared, proof-based or dependent on an external data service.

The Cosmos SDK project overview describes a framework for customisable application-specific blockchains and modules. It is an example of application-focused design, not evidence that every appchain uses the same consensus engine, bridge or security arrangement.

R could be narrowed to one application’s operations without moving its data or verifier. S could also serve only one application while retaining its separate consensus and signature-controlled bridge. Conversely, a general-purpose execution environment could support many applications while using R-like or V-like boundaries.

This is why a list of mutually exclusive boxes labelled “L1, L2, appchain” can mislead. First ask which dimension is being classified. Application scope, base-chain relationship and control structure should not be compressed into a single category choice.

Back to contents · Next section

8. What happens if an execution operator lies?

Suppose R’s operator proposes a state update that violates the specified rules. Under the supplied sound-proof and correct-verifier assumptions, the operator cannot make the L contract accept that transition merely by asserting it. The actual acceptance rule matters.

The same narrow statement applies to V’s execution proof. But it does not answer whether V’s committee will deliver data to a reader. A protected state-transition property and an obstructed data-access property can coexist.

For S’s connection, suppose three bridge authorities sign a false but correctly formatted release statement. Under the fictional rule, the authority check can pass. L has faithfully enforced its contract while the external statement is false.

That is not a contradiction. L enforced the check it was given. The unsupported claim would be that this signature-controlled connection independently verifies S’s application truth simply because its contract executes on L.

Back to contents · Next section

9. What happens if data stops arriving?

For R, the card requires the specified reconstruction data to be published through L. If only a batch commitment is supplied and the required publication evidence is missing, the reviewer cannot treat the card’s data condition as satisfied.

After publication, a later reader still needs an appropriate retrieval or archival path for the relevant time horizon. The fact that data was available under a protocol’s publication conditions should not be rewritten as a promise that one particular endpoint stores it forever.

For V, a valid proof and committee signatures may exist while the committee or other holders fail to deliver the needed data. In the supplied design, the reader’s witness-building path can then fail. Proof validity does not manufacture missing bytes.

For S, ask its own network and data-retention arrangements. There is no basis in this card for assuming L provides S’s complete historical data. The connection contract’s existence does not fill that blank.

Back to contents · Next section

10. What happens if the sequencer stops?

R’s card supplies a direct submission path without the sequencer’s signature. This gives a reviewer a particular fallback mechanism to examine. It is still necessary to check the path’s exact conditions, required data, proof production where relevant, resources and L’s ability to process requests.

A sentence saying “the sequencer cannot block everything” is weaker than a documented path and stronger than nothing only if its conditions actually hold. Do not convert an available mechanism into a guaranteed short completion time.

V’s card has not supplied an equivalent permissionless submission fallback for every new update. We therefore cannot infer one. Its exit path also depends on data. Ask separately about continuing the application and proving an exit from already accepted state.

S’s progress depends on its own consensus and operational assumptions, while a release through its connection depends on the three-of-five authority rule. The network making progress and the authorities cooperating with a release are different observations.

Back to contents · Next section

11. Acceptance on L still needs L’s finality context

Suppose a verifier call for R succeeds in an L block that is currently selected but not yet covered by the required L finality evidence. The state-acceptance check has succeeded in that observed branch. A claim of final settlement needs the additional base-chain context.

The same distinction applies to an accepted V update and to a signature-authorised S release executed on L. Contract success and the finality of the containing L history are separate facts, even though both may be presented in one application interface.

The Ethereum validity-rollup overview describes offchain execution with verification and state commitments on the base chain. Our worksheet adds explicit finality and operational conditions rather than treating proof acceptance as instantaneous, unconditional final settlement.

For reporting, name the object and stage: “R update accepted in L block B; finality for B not yet established in this evidence packet.” This is more useful than an unqualified “secured by L”.

Back to contents · Next section

12. Change authority can move the trust boundary

Now change only R’s baseline: an administrative rule allows any two of three designated keys to replace its verifier immediately, with no delay or additional veto. This is a fictional technical capability, not a statement that such a replacement is authorised by organisational policy.

The old proof assumptions no longer describe every possible future acceptance path. A replacement verifier could enforce different checks. The reviewer must now include control of those keys and the upgrade mechanism when assessing the state-acceptance property.

L can still execute the upgrade exactly according to the installed contract. That does not mean L guarantees continuity of the former application rule. Once again, enforcement of a rule and approval of the rule’s consequences are different concepts.

Repeat this question for pausing, changing data signers or replacing bridge authorities in a real design. Administrative powers belong in the main architecture comparison, not in an appendix dismissed because the system uses proofs.

Back to contents · Next section

13. A worked evidence worksheet

Consider four packets supplied to an analyst. Each concerns the corresponding fictional design, with authentic observations and no unstated evidence.

  • Packet A: R’s proof has passed the correct verifier; matching required data publication is established; its L update is covered by verified finality; all stated exit prerequisites are available.
  • Packet B: V’s proof and three correct committee signatures are accepted in finalised L history, but the reader lacks the data needed to build the exit witness and has no alternate source.
  • Packet C: S’s release contract has received three authorised signatures on a statement, but no independent evidence of the stated S event is supplied.
  • Packet D: R’s operator says an update is complete, but no L contract acceptance, matching data publication or L finality evidence is provided.

A supports the specified accepted-state and exit-eligibility conclusion under the supplied assumptions. It still does not certify external legal rights, real-world truth or permanent service availability.

B supports accepted proof-checked state while identifying an unavailable exit prerequisite for this reader. C supports satisfaction of the bridge authority condition, not an independent verification of the underlying S event. D supports only the operator’s report; the missing evidence cannot be manufactured from R’s category label.

Back to contents · Next section

14. Exercise: improve six claims

Rewrite each statement using the cards rather than assuming a label supplies every property.

  1. “S is connected to L, so L checks every S transaction.”
  2. “V has a valid proof, so any reader can reconstruct its state.”
  3. “R is application-specific now, so it stopped being rollup-style.”
  4. “Three S bridge signatures prove the stated S event is true.”
  5. “An R verifier upgrade authorised by two technical keys preserves the old verification rule.”
  6. “R has a direct submission path, so every request completes immediately.”

Answers and reasoning

  1. S’s supplied connection checks a three-of-five statement rule. It does not verify every S transaction or S consensus certificate. S’s internal history depends on its own specified system, whose detailed fault model remains to be obtained.

2. V’s proof concerns the specified transition. Reconstruction also requires data; the supplied committee dependency can prevent a reader from obtaining it.

3. Application scope changed, but R’s data and acceptance mechanism did not. It can be application-specific and rollup-style at the same time.

4. They satisfy the supplied signature-authority requirement. Truth of the external statement still depends on the authorities and the rest of the specified connection model.

5. The two-key rule supplies a technical replacement capability. A new verifier may enforce different rules; continuity requires additional constraints or evidence, not an assumption.

6. The path supplies a mechanism independent of that signature requirement. Completion still depends on its prerequisites, processing and resources. No immediate deadline follows from the card.

Back to contents · Next section

15. Frequently asked questions

Is every system with a validity proof a rollup?

No. V also uses a validity proof but has off-L data availability in this example. Specify the data and settlement relationship before choosing a label.

Does posting a state root on L mean L verifies the whole state transition?

No. A root commits to an object under its hash assumptions. The contract’s actual acceptance checks determine what is established about the transition that produced it.

Does a sidechain have no security at all?

That conclusion does not follow. It has its own mechanisms and assumptions, which must be evaluated. The point is that a connection to L does not automatically transfer every L guarantee to them.

Is this a recommendation to use one of these designs?

No. These are fictional comparison cards. The lesson teaches how to ask precise architectural questions without making a financial, deployment or service recommendation.

Back to contents · Next section

Sources and next reading

Primary sources checked on 12 October 2026, Singapore time:

  • Ethereum sidechains, page last updated 23 February 2026: connected independent-chain architecture and separate consensus. No blanket implementation or performance claim is adopted.
  • Ethereum validium, page last updated 8 September 2026: validity proofs with offchain data availability, including data-withholding limits. Claims of instant exit or universally superior security are not used.
  • Ethereum zero-knowledge rollups, page last updated 8 September 2026: offchain computation, base-chain verification and state-reconstruction data. This lesson keeps proof, data, finality and operational conditions separate.
  • Cosmos SDK project: application-specific customisation and modular application construction. A framework description does not certify the assumptions of every chain built with it.

The earlier modular-architecture lesson assigns component responsibilities. This lesson asks which named properties survive the boundaries between attached systems. Next, examine the specific evidence and timing conditions behind an optimistic challenge mechanism, then compare them with validity-proof acceptance and data reconstruction.

Back to contents