Skip to content

Commit

Permalink
lint: fix lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
zintarh committed Jul 17, 2024
1 parent e6b89db commit 6571eff
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions docs/spec.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,21 @@
# State Bridge Spec

The diagram above demonstrates the process of propagating World ID Merkle tree roots from the `WorldIDIdentityManager` contract (located in the world-id-contracts repository) on the Ethereum mainnet to the `LineaWorldID` contract
The diagram above demonstrates the process of propagating World ID Merkle tree roots from the `WorldIDIdentityManager`
contract (located in the world-id-contracts repository) on the Ethereum mainnet to the `LineaWorldID` contract

World ID Merkle tree roots are retrieved from the `WorldIDIdentityManager` contract by invoking the `latestRoot()` public method. These roots are then sent to the LineaWorldID contract using its receiveRoot() method, facilitated by the propagateRoot() method. This process ensures that the Merkle tree roots are accurately and efficiently propagated from the `WorldIDIdentityManager` to the `LineaWorldID` contract.
World ID Merkle tree roots are retrieved from the `WorldIDIdentityManager` contract by invoking the `latestRoot()`
public method. These roots are then sent to the LineaWorldID contract using its receiveRoot() method, facilitated by the
propagateRoot() method. This process ensures that the Merkle tree roots are accurately and efficiently propagated from
the `WorldIDIdentityManager` to the `LineaWorldID` contract.

## LineaStateBridge

The LineaStateBridge contract is an integral component in the architecture designed to facilitate secure and efficient communication between Ethereum and Linea. it's primary purpose is to serve as a trusted intermediary that retrieves Merkle tree roots from the `WorldIDIdentityManager` contract on Ethereum and delivers them to the `LineaWorldID` contract on the Linea blockchain. This process ensures that state updates are accurately propagated across both blockchains.
The LineaStateBridge contract is an integral component in the architecture designed to facilitate secure and efficient
communication between Ethereum and Linea. it's primary purpose is to serve as a trusted intermediary that retrieves
Merkle tree roots from the `WorldIDIdentityManager` contract on Ethereum and delivers them to the `LineaWorldID`
contract on the Linea blockchain. This process ensures that state updates are accurately propagated across both
blockchains.

The propagation process incurs transaction fees on both the Ethereum and Linea blockchains. The `LineaStateBridge` manages these fees, requiring periodic transactions to be initiated and paid for by users or designated operators. This ensures the continued operation and data consistency of the system
The propagation process incurs transaction fees on both the Ethereum and Linea blockchains. The `LineaStateBridge`
manages these fees, requiring periodic transactions to be initiated and paid for by users or designated operators. This
ensures the continued operation and data consistency of the system

0 comments on commit 6571eff

Please sign in to comment.