Files
linea-monorepo/contracts
The Dark Jester 7b99e5ff20 [Fix] M-01 Validate final blob was submitted on finalization (#226)
* Validate final blob was submitted on finalization

* Use new error code in Coordinator

* Use correct name for error
2024-10-31 17:38:52 +01:00
..
2024-07-31 18:17:20 +02:00
2024-07-31 18:17:20 +02:00
2024-07-31 18:17:20 +02:00
2024-07-31 18:17:20 +02:00
2024-07-31 18:17:20 +02:00
2024-07-31 18:17:20 +02:00
2024-07-31 18:17:20 +02:00
2024-07-31 18:17:20 +02:00
2024-07-31 18:17:20 +02:00
2024-07-31 18:17:20 +02:00
2024-07-31 18:17:20 +02:00
2024-07-31 18:17:20 +02:00
2024-07-31 18:17:20 +02:00
2024-07-31 18:17:20 +02:00
2024-07-31 18:17:20 +02:00
2024-07-31 18:17:20 +02:00
2024-07-31 18:17:20 +02:00
2024-07-31 18:17:20 +02:00

Readme.md

Smart Contract

Contains Ethereum smart contract code for ConsenSys Rollups.

Development & Testing

This project uses following libraries

To run the tests:

make test

Useful scripts

Most of the scripts need to know address of Ethereum RPC. This is controlled via BLOCKCHAIN_NODE environment variable,

for example run this before all the scripts in the same terminal:

export BLOCKCHAIN_NODE=http://localhost:5000

Balance of ERC 20 token

export BLOCKCHAIN_NODE="http://localhost:8545"
ts-node scripts/balanceOf.ts \
data/rollup.json \
../node-data/test/keys/eth_account_3.acc \
1 \
../node-data/test/keys/eth_account_3.acc \
../node-data/test/keys/eth_account_4.acc \
../node-data/test/keys/eth_account_5.acc

To deploy ZkEvm to local docker compose

Run in ./contracts with running docker-compose stack.

sed "s/BLOCKCHAIN_NODE=.*/BLOCKCHAIN_NODE=http:\/\/localhost:8445/" .env.template > .env
npx hardhat run ./scripts/deployment/deployZkEVM.ts --network zkevm_dev

To deploy ZkEvm to local docker compose

Run in ./contracts with running docker-compose stack.

sed "s/BLOCKCHAIN_NODE=.*/BLOCKCHAIN_NODE=http:\/\/localhost:8445/" .env.template > .env
npx hardhat run ./scripts/deployment/deployZkEVM.ts --network zkevm_dev

Linea Token Bridge

Token Bridge is a canonical brige between Ethereum and Linea networks.

Documentation: ./docs/linea-token-bridge.md