├── .cargo └── config.toml ├── .dockerignore ├── .eslintignore ├── .gitattributes ├── .githooks ├── pre-commit └── pre-push ├── .github ├── ISSUE_TEMPLATE │ ├── bug_report.md │ └── feature_request.md ├── actions │ └── setup-env │ │ └── action.yml ├── pull_request_template.md ├── release-please │ ├── config.json │ └── manifest.json ├── scripts │ └── rate_limit_check.sh └── workflows │ ├── build-base.yml │ ├── build-circuit-prover-gpu-gar.yml │ ├── build-contract-verifier-template.yml │ ├── build-core-template.yml │ ├── build-docker-from-tag.yml │ ├── build-private-rpc.yaml │ ├── build-proof-fri-gpu-compressor-gar.yml │ ├── build-prover-template.yml │ ├── build-runtime-base.yml │ ├── build-tee-prover-template.yml │ ├── cargo-license.yaml │ ├── check-flaky-tests.yml │ ├── check-pr-title.yml │ ├── ci-core-lint-reusable.yml │ ├── ci-core-reusable.yml │ ├── ci-docs-reusable.yml │ ├── ci-prover-e2e.yml │ ├── ci-prover-reusable.yml │ ├── ci.yml │ ├── deploy-core-docs.yml │ ├── deploy-prover-docs.yml │ ├── label-extenal-contributions.yml │ ├── nodejs-license.yaml │ ├── protobuf.yaml │ ├── publish-crates.yml │ ├── release-please.yml │ ├── release-stable-en.yml │ ├── release-test-stage.yml │ ├── release-zkstack-bins.yml │ ├── secrets_scanner.yaml │ ├── vm-perf-comparison.yml │ ├── vm-perf-to-prometheus.yml │ └── zk-environment-publish.yml ├── .gitignore ├── .gitmodules ├── .markdownlintignore ├── .markdownlintrc ├── .nvmrc ├── .prettierignore ├── .prettierrc.js ├── .solhintignore ├── CHANGELOG.md ├── CODEOWNERS ├── CONTRIBUTING.md ├── LICENSE-APACHE ├── LICENSE-MIT ├── README.md ├── SECURITY.md ├── ZkStack.yaml ├── bin ├── build_and_init_ecosystem ├── ci_localnet_up ├── ci_run ├── pre_download_compilers.sh ├── prover_checkers │ ├── batch_availability_checker │ ├── batch_l1_status_checker │ ├── kill_prover │ ├── precompiles_status_checker │ ├── prover_jobs_status_checker │ └── web3_json_rpc_checker ├── run_loadtest_from_github_actions ├── run_on_all_chains.sh ├── run_retried ├── stop_nodes.sh └── zk ├── chains └── era │ ├── ZkStack.yaml │ └── configs │ └── .gitkeep ├── configs └── .gitkeep ├── core ├── CHANGELOG.md ├── Cargo.lock ├── Cargo.toml ├── bin │ ├── block_reverter │ │ ├── Cargo.toml │ │ └── src │ │ │ └── main.rs │ ├── contract-verifier │ │ ├── Cargo.toml │ │ └── src │ │ │ └── main.rs │ ├── custom_genesis_export │ │ ├── .gitignore │ │ ├── Cargo.toml │ │ ├── README.md │ │ └── src │ │ │ └── main.rs │ ├── external_node │ │ ├── Cargo.toml │ │ ├── README.md │ │ └── src │ │ │ ├── config │ │ │ ├── mod.rs │ │ │ └── tests │ │ │ │ ├── config.yaml │ │ │ │ ├── consensus-secrets.yaml │ │ │ │ ├── consensus.yaml │ │ │ │ ├── mainnet-config.env │ │ │ │ ├── mainnet-external-node-docker-compose.yml │ │ │ │ ├── mod.rs │ │ │ │ ├── testnet-external-node-docker-compose.yml │ │ │ │ └── testnet-sepolia-config.env │ │ │ ├── main.rs │ │ │ ├── metadata.rs │ │ │ ├── metrics │ │ │ ├── framework.rs │ │ │ └── mod.rs │ │ │ ├── node_builder.rs │ │ │ └── tests │ │ │ ├── framework.rs │ │ │ ├── mod.rs │ │ │ └── utils.rs │ ├── genesis_generator │ │ ├── Cargo.toml │ │ └── src │ │ │ └── main.rs │ ├── merkle_tree_consistency_checker │ │ ├── Cargo.toml │ │ └── src │ │ │ └── main.rs │ ├── selector_generator │ │ ├── Cargo.toml │ │ ├── README.md │ │ └── src │ │ │ ├── app.rs │ │ │ ├── main.rs │ │ │ └── selectors.rs │ ├── snapshots_creator │ │ ├── Cargo.toml │ │ ├── README.md │ │ └── src │ │ │ ├── creator.rs │ │ │ ├── main.rs │ │ │ ├── metrics.rs │ │ │ └── tests.rs │ ├── system-constants-generator │ │ ├── Cargo.toml │ │ ├── README.md │ │ └── src │ │ │ ├── intrinsic_costs.rs │ │ │ ├── main.rs │ │ │ └── utils.rs │ ├── verified_sources_fetcher │ │ ├── Cargo.toml │ │ ├── README.md │ │ └── src │ │ │ └── main.rs │ ├── zksync_server │ │ ├── Cargo.toml │ │ └── src │ │ │ ├── components.rs │ │ │ ├── main.rs │ │ │ └── node_builder.rs │ └── zksync_tee_prover │ │ ├── Cargo.toml │ │ └── src │ │ ├── api_client.rs │ │ ├── config.rs │ │ ├── error.rs │ │ ├── main.rs │ │ ├── metrics.rs │ │ └── tee_prover.rs ├── deny.toml ├── genesis_export.bin ├── lib │ ├── basic_types │ │ ├── Cargo.toml │ │ └── src │ │ │ ├── basic_fri_types.rs │ │ │ ├── bytecode.rs │ │ │ ├── commitment.rs │ │ │ ├── conversions.rs │ │ │ ├── errors.rs │ │ │ ├── lib.rs │ │ │ ├── macros.rs │ │ │ ├── network.rs │ │ │ ├── protocol_version.rs │ │ │ ├── prover_dal.rs │ │ │ ├── pubdata_da.rs │ │ │ ├── secrets.rs │ │ │ ├── serde_wrappers.rs │ │ │ ├── settlement.rs │ │ │ ├── stop_guard.rs │ │ │ ├── tee_types.rs │ │ │ ├── url.rs │ │ │ ├── vm.rs │ │ │ └── web3 │ │ │ ├── contract.rs │ │ │ ├── mod.rs │ │ │ └── tests.rs │ ├── circuit_breaker │ │ ├── Cargo.toml │ │ └── src │ │ │ ├── l1_txs.rs │ │ │ ├── lib.rs │ │ │ ├── metrics.rs │ │ │ ├── node │ │ │ ├── checker.rs │ │ │ ├── mod.rs │ │ │ └── replication_lag.rs │ │ │ └── replication_lag.rs │ ├── config │ │ ├── Cargo.toml │ │ ├── README.md │ │ └── src │ │ │ ├── cli.rs │ │ │ ├── configs │ │ │ ├── api.rs │ │ │ ├── base_token_adjuster.rs │ │ │ ├── chain.rs │ │ │ ├── commitment_generator.rs │ │ │ ├── consensus.rs │ │ │ ├── consistency_checker.rs │ │ │ ├── contract_verifier.rs │ │ │ ├── contracts │ │ │ │ ├── chain.rs │ │ │ │ ├── ecosystem.rs │ │ │ │ ├── gateway.rs │ │ │ │ └── mod.rs │ │ │ ├── da_client │ │ │ │ ├── avail.rs │ │ │ │ ├── celestia.rs │ │ │ │ ├── eigen.rs │ │ │ │ └── mod.rs │ │ │ ├── da_dispatcher.rs │ │ │ ├── database.rs │ │ │ ├── eth_sender.rs │ │ │ ├── eth_watch.rs │ │ │ ├── experimental.rs │ │ │ ├── external_price_api_client.rs │ │ │ ├── external_proof_integration_api.rs │ │ │ ├── fri_proof_compressor.rs │ │ │ ├── fri_prover.rs │ │ │ ├── fri_prover_gateway.rs │ │ │ ├── fri_witness_generator.rs │ │ │ ├── gateway_migrator.rs │ │ │ ├── general.rs │ │ │ ├── genesis.rs │ │ │ ├── house_keeper.rs │ │ │ ├── mod.rs │ │ │ ├── networks.rs │ │ │ ├── node_sync.rs │ │ │ ├── object_store.rs │ │ │ ├── observability.rs │ │ │ ├── proof_data_handler.rs │ │ │ ├── prover_job_monitor.rs │ │ │ ├── pruning.rs │ │ │ ├── secrets.rs │ │ │ ├── snapshot_recovery.rs │ │ │ ├── snapshots_creator.rs │ │ │ ├── tee_proof_data_handler.rs │ │ │ ├── utils.rs │ │ │ ├── vm_runner.rs │ │ │ └── wallets.rs │ │ │ ├── lib.rs │ │ │ ├── observability_ext │ │ │ ├── metrics.rs │ │ │ └── mod.rs │ │ │ ├── repository.rs │ │ │ ├── sources.rs │ │ │ ├── tests │ │ │ ├── mod.rs │ │ │ └── pre_smart_config │ │ │ │ ├── contracts.yaml │ │ │ │ ├── general.yaml │ │ │ │ ├── genesis.yaml │ │ │ │ ├── secrets.yaml │ │ │ │ └── wallets.yaml │ │ │ └── utils.rs │ ├── constants │ │ ├── Cargo.toml │ │ └── src │ │ │ ├── blocks.rs │ │ │ ├── contracts.rs │ │ │ ├── crypto.rs │ │ │ ├── ethereum.rs │ │ │ ├── fees │ │ │ ├── intrinsic.rs │ │ │ └── mod.rs │ │ │ ├── lib.rs │ │ │ ├── message_root.rs │ │ │ ├── system_context.rs │ │ │ ├── system_logs.rs │ │ │ └── trusted_slots.rs │ ├── contract_verifier │ │ ├── Cargo.toml │ │ └── src │ │ │ ├── compilers │ │ │ ├── mod.rs │ │ │ ├── solc.rs │ │ │ ├── vyper.rs │ │ │ ├── zksolc.rs │ │ │ └── zkvyper.rs │ │ │ ├── error.rs │ │ │ ├── etherscan │ │ │ ├── client.rs │ │ │ ├── errors.rs │ │ │ ├── metrics.rs │ │ │ ├── mod.rs │ │ │ ├── solc_versions_fetcher.rs │ │ │ ├── types.rs │ │ │ └── utils.rs │ │ │ ├── lib.rs │ │ │ ├── metrics.rs │ │ │ ├── resolver │ │ │ ├── env.rs │ │ │ ├── github │ │ │ │ ├── gh_api.rs │ │ │ │ └── mod.rs │ │ │ └── mod.rs │ │ │ └── tests │ │ │ ├── mod.rs │ │ │ └── real.rs │ ├── contracts │ │ ├── Cargo.toml │ │ └── src │ │ │ ├── lib.rs │ │ │ ├── serde_bytecode.rs │ │ │ └── tests.rs │ ├── crypto_primitives │ │ ├── Cargo.toml │ │ └── src │ │ │ ├── ecdsa_signature.rs │ │ │ ├── eip712_signature │ │ │ ├── member_types.rs │ │ │ ├── mod.rs │ │ │ ├── struct_builder.rs │ │ │ ├── tests.rs │ │ │ ├── typed_structure.rs │ │ │ └── utils.rs │ │ │ ├── hasher │ │ │ ├── blake2.rs │ │ │ ├── keccak.rs │ │ │ ├── mod.rs │ │ │ └── sha256.rs │ │ │ ├── lib.rs │ │ │ └── packed_eth_signature.rs │ ├── da_client │ │ ├── Cargo.toml │ │ ├── README.md │ │ └── src │ │ │ ├── lib.rs │ │ │ ├── node.rs │ │ │ └── types.rs │ ├── dal │ │ ├── .gitignore │ │ ├── .sqlx │ │ │ ├── query-00220170d8f9e577321a0522337a7db7673811ac181e801a16a7aefc984d60b0.json │ │ │ ├── query-0124bad591f7ed156000c515cb0772b3002289a05ab23b7dafde2af10c7d88da.json │ │ │ ├── query-0237d9a26654e7c409785c73c2b16fe37110ebc3fb3981b2626a0bf2edd00e69.json │ │ │ ├── query-02972d40481cee9757d1a6d6eb65b2aa3e98338e857477d879ae24ebe16c0e0c.json │ │ │ ├── query-02edaeeea4c5ca137e355a399258d63b9d9daf0f6e5db331bf2f294d5d843103.json │ │ │ ├── query-04e03884a6bb62b28b18f97007e921d3c9a2f3e156ed8415ffc67c274e773fae.json │ │ │ ├── query-04fbbd198108d2614a3b29fa795994723ebe57b3ed209069bd3db906921ef1a3.json │ │ │ ├── query-0535c87d0ae694d5f10e529742ba2803cd147dec7450d1f81a41aea8dcf3be93.json │ │ │ ├── query-054dd5de059302fb2419782722c1c3852b3f7e49348931e3fa86102cfb702783.json │ │ │ ├── query-05891e039a54b70ac406a63b73b6f5521c888c5bc9050333dd18a88c098b2d12.json │ │ │ ├── query-05ba766701795f258d9d8480b69357e734d864cf9f2506794b5a59348fc06ccf.json │ │ │ ├── query-05bce0189aa53b121d31cc937ba459e07081269d1714411234271d9cdf5889f3.json │ │ │ ├── query-05be1a2c5cefcb1a58af2e5113e89003638d26219c13bc176e8cfee696d4e9f6.json │ │ │ ├── query-0618d3c245d5eb9236d0526b5e5301d53a2ac5f2edb2df8e21f977cb2d94826f.json │ │ │ ├── query-06ce3e5c10d6ae327fc2e45fd9080112ce326bcf4bb38a00366bd24e38881bb2.json │ │ │ ├── query-074d774cbdfc2a6c53b081fd386cef6a87fededeaba2262b205be3d8cfa698ea.json │ │ │ ├── query-07779991a1d8615cc432dd311a7d02cadd173ef5095f743a84dcec98eaec7781.json │ │ │ ├── query-08740b96c883fce75b6238bb6bdc95254f94dddb4ed84a675c2655421758b049.json │ │ │ ├── query-088cd7a30d293c6c6078d1fd084d16bc028d4116e1f65268ece98eb36e009499.json │ │ │ ├── query-0914f0ad03d6a8c55d287f94917c6f03469d78bf4f45f5fd1eaf37171db2f04a.json │ │ │ ├── query-09531530c064dc28a8f8bc0f0711974c847647b3dd0b186b4359a0b19daac0fa.json │ │ │ ├── query-0a0dd4a98128c2ef60d385f5c0674ddd4f2422089604768b19e0b6d948c0cf1b.json │ │ │ ├── query-0bae50601f2dc3ea7ba9ab6b9f508275cef018c7060c49b9f7a387a14f6a5be8.json │ │ │ ├── query-0bdcf87f6910c7222b621f76f71bc6e326e15dca141050bc9d7dacae98a430e8.json │ │ │ ├── query-0d60eb7536b49716fa01a14b0be760b8368dd5532caa5fb8b4310a96d44d8530.json │ │ │ ├── query-0d6916c4bd6ef223f921723642059ff8d1eef6198390b84127a50c8f460fd2de.json │ │ │ ├── query-0f381418ac79762b4573bf5b440b96b711e8667df7a3c87a5ddf062842a0da6c.json │ │ │ ├── query-0fc8ede1d0962938d606c6352335afce09869d43eb88ec7fdb526ce8491e35d9.json │ │ │ ├── query-102b827bb3d4248d2613ac853d6b1be3fa0bcabb9566b76c7c60ca658e2617a9.json │ │ │ ├── query-10959c91f01ce0da196f4c6eaf0661a097308d9f81024fdfef24a14418202730.json │ │ │ ├── query-11222ec7d817c2fd28e658795179bc548511c10295680def0a8a907a7730c800.json │ │ │ ├── query-120970162104e0560784ee4b8fa44a0202265d741912125f7865e570411997d7.json │ │ │ ├── query-127a87a1fa6690944ff1b69c6e28018d301eefed1b713b34129d47932c555b22.json │ │ │ ├── query-128c1139fd6f9a869013426e2c17c2b998152ed2afee44ec904499f97e4756b0.json │ │ │ ├── query-129990201d5feeffb891f165ef07574a8bdfda55ccc22f5bb50904f6f51881c9.json │ │ │ ├── query-12c062c6a5078ebcbde378126a3773e86be9876cd198610e0792322e2a0797af.json │ │ │ ├── query-13b09ea7749530884233add59dee9906a81580f252b2260bfdaa46a25f45d1cd.json │ │ │ ├── query-148dd243ab476724a430e74406119a148b59a79b03dacf3b1c32223c5ebf8d4b.json │ │ │ ├── query-14e5a66ee9a2b7bc56e41c3925150dd2778c0da29697d31710e8b507629ba5c4.json │ │ │ ├── query-150d0219cabbabcc9d0e97e3fd94032f3d900b74e62dfdec0c9f61bf2bacb595.json │ │ │ ├── query-15a9949ac46690bade3963be7b142dd16d1550f0cefafe71c07435220af185de.json │ │ │ ├── query-1689c212d411ebd99a22210519ea2d505a1aabf52ff4136d2ed1b39c70dd1632.json │ │ │ ├── query-16ea3cd5a006576fa1ab5895212098869d490ea0a96aa9d5b9a22b34ab0f8f47.json │ │ │ ├── query-1766c0a21ba5918dd08f4babd8dbfdf10fb1cb43781219586c169fb976204331.json │ │ │ ├── query-1767de83aa4ef34f080da6d30d6154185671d13f3b234ce1f16aaeeab54b2a16.json │ │ │ ├── query-180cc8d88563a42423ca1d4b92181f4625ebd593aa4cd2bae79bcc0637387d78.json │ │ │ ├── query-19314d74e94b610e2da6d728ca37ea964610e131d45f720f7a7b2a130fe9ed89.json │ │ │ ├── query-19bfb2a8e24fea6e33d0e175d2003e25d35e2a8504c2e2dd592e85586ce2b471.json │ │ │ ├── query-1a06bc41b885bc57fe2ec5cae0f0c5b89d2ab12fbe624be833c163209c480ba3.json │ │ │ ├── query-1a6f4db7fb5ad9b54367c7f9d87ecbc877c8e04d47bf16b9c2e59ba652d2955f.json │ │ │ ├── query-1bfcc02ac79958dcbd20f3680df7517f5d61f7f1472e7d152f575ffd56ad8633.json │ │ │ ├── query-1c14d2def60fa5ff91788ddb55e68cee71742b732112038a642e2a07305053c2.json │ │ │ ├── query-1c61af924f263553c8e85073f8bc2d13fac8985ae6929385f9fba2b8165e59a5.json │ │ │ ├── query-1c9468bead5b80f209c4e94ab652f75a4055a9c1e7c3b767455df804f09f7d4c.json │ │ │ ├── query-1c994d418ada78586de829fc2d34d26e48e968c79834858c98b7a7f9dfc81910.json │ │ │ ├── query-1de912c924b4b9e4abfc2fe73f4ea41556dcb97286fc66c87d6d93dd811cd9f8.json │ │ │ ├── query-1df2ddeea407a09acdabb35d3e0bfd5b1d36459ae4b720fd3ec9047e89f645ec.json │ │ │ ├── query-1e60884cad9c962836f62407982acfe31bbefc0695c4621c6bdfdcd772af11eb.json │ │ │ ├── query-1ea37ef1c3df72e5e9c50cfa1675fc7f60618209d0132e7937a1347b7e94b212.json │ │ │ ├── query-1eb34ecfbe49d5ba063a8f8842eced820f8869acb6f59aa6dd704c0f5b4e45ec.json │ │ │ ├── query-1ec14bf6f71bbab04275ffd90bc17791290f3bfff4de742f2a918a3fd4e5608c.json │ │ │ ├── query-1fa64372eff16b29f9694e54ac7ef7cd9c8486d1613319e1f6bc038ddff539f8.json │ │ │ ├── query-2076bee41f2db1534bb7e15043629027b18d108a05f5855115ba36045e3b1850.json │ │ │ ├── query-21acded689c24b653d149ff169f53b54a1965e100e0949006212f97e6d11a18b.json │ │ │ ├── query-21cfb584e3731852e96da1968503208a30b0eead764527ff957ea6e86a34eec6.json │ │ │ ├── query-228aa5ec4c4eb56143823b96a8190ded732839b9f5bf16042205a730fac07c3a.json │ │ │ ├── query-229db646c85461858689b81d80f5ddbee82a65c00c5740e9017382c57c279b18.json │ │ │ ├── query-230ef0cfd2391235d0dc0c48dc3b46a5f12c1e3595662c63a59eb2734ce3871b.json │ │ │ ├── query-237b18c0a44eee546cf112834e337aefe5f5cd0d9147708d96d33733cfea0671.json │ │ │ ├── query-24865315c100f495a6e2cefb3b0e84d2fcc5d436e52cc82ed2aba664bde3ee6b.json │ │ │ ├── query-249cb862d44196cb6dc3945e907717b0dd3cec64b0b29f59b273f1c6952e01da.json │ │ │ ├── query-250cc655f48144137906a72490680cc9e176729744c779fee97ca9392ae8a8c8.json │ │ │ ├── query-25646383ecacf72e3f63b5c93a57a66d1e38fb6ca706c2affd4607d77be38de9.json │ │ │ ├── query-25ef41cbeb95d10e4051b822769518daf76a5f283e4298fd12022b0c3db07319.json │ │ │ ├── query-26560ccb9111ca3019efc9da3ed579d2c86ad2dcf66478d9b60e6cf3e23594e0.json │ │ │ ├── query-26bc9b315c4c57bcff1f46da956727233a36e018fe5c0651995b876053a6a054.json │ │ │ ├── query-26e0b7eb1871d94ddc98254fece6381a9c4165e2727542eaeef3bbedd13a4f20.json │ │ │ ├── query-2719fa6e4f282535526ef6c3c7c73dcb740d1d2750fe17fb5330e50323b96b49.json │ │ │ ├── query-289c677e7919900706a2e4663403679c7a00fe1e5c20d5c099704b14970ab3d7.json │ │ │ ├── query-28c5a9f99af4d2857346e0df73c9b9086ba42bac53629793a42d67b353c30210.json │ │ │ ├── query-28e79b3b6f1fb3dd2b4d98e7d02fb29f7df1af6c5cbaadff8dab50986fabffc9.json │ │ │ ├── query-293258ecb299be5f5e81696d14883f115cd97586bd795ee31f58fc14e56d58cb.json │ │ │ ├── query-2ab4fcd10071629228c5a2e88f764bbb0cd3ac314bb882052511518c2e2d1c60.json │ │ │ ├── query-2aeefd03d263a347d5867ebbce8f8b7c471a350469932614d9515f90239adee1.json │ │ │ ├── query-2c71a819c6ed22a3ab79675840e00f7b1176d59a83520288f5428b67ebd52130.json │ │ │ ├── query-2c827c1c3cfa3552b90d4746c5df45d57f1f8b2558fdb374bf02e84d3c825a23.json │ │ │ ├── query-2d0a4e9281e53b0e410b9be0ebd53b2126b52d568196f333973a345f984ea7c4.json │ │ │ ├── query-2e3107b0c5e8466598066ceca9844469e431e35c4419fd710050d51eeefd6b8b.json │ │ │ ├── query-2eb25bfcfc1114de825dc4eeb0605d7d1c9e649663f6e9444c4425821d0a5b71.json │ │ │ ├── query-2ef52bb8772801b8a6ce4ae8b21d0b12ac7999421b6125444d500972114ae0a9.json │ │ │ ├── query-2fbcc7a320741e03a0c47cda18e37dd31c52241de1e7a470a681ba74d6905f0e.json │ │ │ ├── query-2fc088b319ff8f197e50bb379b77de8ba36685dde66d1b3fcf549a52c5001d06.json │ │ │ ├── query-30e7d640a731e5c7dccc6d34b94f7116562896314c4d413847854c09c4a14d4e.json │ │ │ ├── query-31e5854e0f6837320cd8247fb01b1f8a91a014b6f8e3a391b7f090d762f94786.json │ │ │ ├── query-32e8bdbf16fdd2b7617d7a909c3eee66178533c3c0f51e2bfa9ff201e17e4014.json │ │ │ ├── query-33bfa40b6519f05ec2ee8c7a2372b9764b5b4b840573c35b57e011330bd132a3.json │ │ │ ├── query-33d49ec6028974fa8b46d7bf1f79e41923477ed8dc179ca0e1fe64b4700e6572.json │ │ │ ├── query-349d41c8ce192e82152e9d254c23ed5f1e6eac5b71232c784abd4d4cd8677805.json │ │ │ ├── query-34cb5e326f02cca0dac3483a64d21e30a2a643f7909b7b6803a9708357f8ecbe.json │ │ │ ├── query-3566423188a5d6bed7150f327d83613cd34138b59ef3b9271fd0bfdaddd086f8.json │ │ │ ├── query-3743b41751a141c21f1674fa581ea7a878613cf62f7fb9b94c5145dc8d1da674.json │ │ │ ├── query-3785c01a8eb1eaeaf7baf0a8ba7f30cbc385e6fb6c8b8ae2c2d06b871a4cae72.json │ │ │ ├── query-37b653ba8a544224ef6fb88e073d1e4657024c66a42e1bbc261c92c9e1c79930.json │ │ │ ├── query-398598e20f1892b47bf749b220f611345ef888824e0ca3c5f39befbbc5bd0388.json │ │ │ ├── query-3a1bec48e03d4d898725187b17a125d08ff2a48c26b1144e88c764aefaf9cecf.json │ │ │ ├── query-3a82d9a45f4a90b8baf82f3e281618217af059a796e4a3cc0f5269709f7ffd49.json │ │ │ ├── query-3bc70707863d7be1158de1bfb4bd51c3c1cbd9ba8df9d44a29ff96186e35b700.json │ │ │ ├── query-3d2d005b59ba9931286452e029cfccb19a2f9663a73306dbf61a257050e2b634.json │ │ │ ├── query-3dd9bd06b456b1955e5343fbf1722412eacd3f8c9ac6b3a76bd4bf5badf0714c.json │ │ │ ├── query-3ecd408294c93a5ee7dbbe128c52c62033a7f690353f01b2978ef9b30d52c94e.json │ │ │ ├── query-3ee6c2a87c65eaece7048da53c9f98ded0ad3e59e6de69c2b13d92d8ab1a07dd.json │ │ │ ├── query-3f0966f082e9e7cdfa18c107a1283b7955a058705093d7372726c3fc7ce506ad.json │ │ │ ├── query-400457c97449097837d5e31d4476c32170ea4b47051a100f71a41dd6ed9bb1a9.json │ │ │ ├── query-403b0b1c93f973aedb41aad7700d656e2a26752fa71ae936ff2eb821b0734b61.json │ │ │ ├── query-414749a3d8d1ac4f2c66b386df47d113257cca7a7fc6c8036b61cc0e005099a8.json │ │ │ ├── query-417b5a991f958581038c43c412d64344a30a43103476ea8b0ea92be407aa8899.json │ │ │ ├── query-41b2d575151bff136037d6f1d75f36d50db45560befec6418020b01c55d94a98.json │ │ │ ├── query-42f15afb71632bdfab7befb651eaa3061382dfe4142c7fc46df1dfebec34ec92.json │ │ │ ├── query-44ec5b4d2218099da30aa8d654f7445aa3148d8abdd4e5fb50947ce512f53690.json │ │ │ ├── query-45372b701c23ce782695f11f846a75893ee5b1b94b6d0f25f1db5342888a2a30.json │ │ │ ├── query-45835b47e174b65e848e552e1b3afbf85f25c9a65a6b094cfa7dbd3cfbc2784f.json │ │ │ ├── query-46a5f88b445817c0f9ed60cdd96d49d2e57b21bbfe934b0e3e14f2e465d3bdd4.json │ │ │ ├── query-46f69f03f45d155f2956095c4325705e22994f7dd4994dbdc1897bc9b614f15a.json │ │ │ ├── query-4777de5d3f313f1eb8c3b6a4c1782b0fa233913582fe9091cc1e8954dfd0eb1b.json │ │ │ ├── query-47d94abb258de733fa65eaae0f5ba6224045c4820ec9c9e4ec627a8401341b9f.json │ │ │ ├── query-482bee9b383b17bddf819b977a012e49a65da26212e6d676abffb9d137aa3c2e.json │ │ │ ├── query-48b472c184997167cd1b741d55054f2f22e151d269e94dfbecab60c9dbcac68e.json │ │ │ ├── query-494aca1d3684d394c0e7b5a7febbf222083d375221c5a1097f3aa10ccd9094e1.json │ │ │ ├── query-499571f0484f4a54541450f935853bb67bd12f2b635af783897f9d2a4f4ead2e.json │ │ │ ├── query-4be3503fa90303e0f0fcd3b04d6c786006a82b19dc5e07dfa5b5077befdca7f8.json │ │ │ ├── query-4c000edb672f90761a73394aea02b3e3f4920ea7e3f68d7ae9d4892cc679e5eb.json │ │ │ ├── query-4d15a3d05fb4819a6ba7532504ea342c80f54d844064121feaef9d7143e9ba7a.json │ │ │ ├── query-501d0cc0679376b1202816b36c5fc8d2a989e0f819828cc09e30d8af8e98fda4.json │ │ │ ├── query-50687903977b973d72acac96b08880eef9af91f5b4fcaebb7beb3a415d4b231d.json │ │ │ ├── query-51891ab674b8f5cf2d7c12420d1c026c3181f42a49f1f4b6e227c95641931a54.json │ │ │ ├── query-53182f70d83de1482110c767a8d58ee0e803255aa612a124289f53fbb78bd64a.json │ │ │ ├── query-53ab91ac4daebeb7d9d38018f31a9a184779646a16537df5b7cc54d0b4175d24.json │ │ │ ├── query-55b0b4c569c0aaf9741afc85400ecd50a04799ffd36be0e17c56f47fcdbc8f60.json │ │ │ ├── query-55c0349569786bac0204272961f3010bea7cee09a9538a4e275ea89f67704966.json │ │ │ ├── query-57851c16dce02999bf386e549791b74555863b0cc8281ef2e9c830fa1d38e227.json │ │ │ ├── query-57f406d9b22c8cd8d798d54a5241b64c2aac3ca308ece05c2b4718054330d1d7.json │ │ │ ├── query-5a8efaae859dd0f9acc9d1f2b5119fbc6f30d1d3ef79459048b9d062db565e06.json │ │ │ ├── query-5b25851e01f30307391412ced12ee7053fe3ba7ec852cfb43b249eed9af8209b.json │ │ │ ├── query-5c99342c4fbf36ccc8e9c9dafc76de37201091bfccd3caf922e766896c5a542b.json │ │ │ ├── query-5ddf39d930c11e13311c8a88b72f7cae7565e28f72f5ab3d0eb653fa0fbdff0a.json │ │ │ ├── query-5e8fc8ee5b143a7e0053f7c6f8c93ba84478b6e56c95dfae6d8cc84e938e80c6.json │ │ │ ├── query-6080eda9b58a16d2c6365cca3b376c97db9a735f78c62ba57608c037b82b2187.json │ │ │ ├── query-6083e429948c139e36cfce2c5ed41edf3965f7ce67341d957ec680a18a0c39ea.json │ │ │ ├── query-6213f642c89d2c0a470c93b94714d21d399f860a7b986738d193871fe5cf913d.json │ │ │ ├── query-62b20688d2a7175c1a277626cc9795fed317746a0828cb09c7d2a9b0f7e934f0.json │ │ │ ├── query-653ede3029966b6b2e66c341adb43def1f0043efd4fd086261c940a7405bbf93.json │ │ │ ├── query-65736a5b9b4ad364797dbedfc828f24785ae8bd2b4579203f05379e757a56f2b.json │ │ │ ├── query-668cf72b78c6071340143ba9498046b7820e39b63ed4f98bcaa3b3f305cbe576.json │ │ │ ├── query-6692ff6c0fbb2fc94f5cd2837a43ce80f9b2b27758651ccfc09df61a4ae8a363.json │ │ │ ├── query-6772535ab9bc50e4960df984f5286a1e37096e7f66441308f45ee500d5c72153.json │ │ │ ├── query-67ac33ad0ad912e8db6d141e21c2e14fa4c1c4fdad16eff011011878af897946.json │ │ │ ├── query-67f6a13a4c5bd16f77e449b5f0bc0798441543244f83b691783127979e02dd8c.json │ │ │ ├── query-68c2d5cbb0d492d0f4be1995356278afe380acd91063561451559caff6a2695a.json │ │ │ ├── query-6a4c36fef9dd65dc1561fd7f199b4c426065ccb02c115acf537016e951ceb71c.json │ │ │ ├── query-6b327df84d2b3b31d02db35fd5d91a8d67abcdb743a619ed0d1b9c16206a3c20.json │ │ │ ├── query-6b7e30cf325587cf2a5088db94b09aafcedf71c23d8fc3f94d36e6d41d3b8a89.json │ │ │ ├── query-6c0d03b1fbe6f47546bc34c6b2eab01cb2c55bf86d2c8c99abb1b7ca21cf75c0.json │ │ │ ├── query-6d08cadce92f03b0596e068884854a701146f4b2dc92361f42598a5f9a72c36b.json │ │ │ ├── query-6da05c9ac3d0f30b856177e28d28aaad910ca46830c470f8fc1d4265f9ed8631.json │ │ │ ├── query-6e725f38a8f04ca5516ba3128569973527841e234d8b4635fb337e4b659b7f71.json │ │ │ ├── query-6ec93ebdd58bdc0259d98ef5ae0d087ed816920e8e75a163b87a19e39db86227.json │ │ │ ├── query-6f25d801793bb97d4e83dbe8db73563e6586e1ec3987e4aa729a80855fb9c47b.json │ │ │ ├── query-703836a3f065b0aedf71ad0474cac5e5fccb3ec55aa1227f5f1ea5a11f9b36a9.json │ │ │ ├── query-708b2b3e40887e6d8d2d7aa20448a58479487686d774e6b2b1391347bdafe06d.json │ │ │ ├── query-72a4f50355324cce85ebaef9fa32826095e9290f0c1157094bd0c44e06012e42.json │ │ │ ├── query-730095f41fd5e2ea376fd869887be82028e2865e646677ff67d0720ad17b1eac.json │ │ │ ├── query-740b5e99fe83d32867524f5ba853d0cf2e98af2bdb3b642ee93b22c3a119ccee.json │ │ │ ├── query-740dcefc021aa2308f0402313938534f3da59803f417721eca2d96f9fa8813a2.json │ │ │ ├── query-7460c6101417d1a2d0f068816ca897f3bba0dd8d611a487659b472ca1f0284d5.json │ │ │ ├── query-752b3f8acb3c689a85c99e8787d52eefcebfd4bd6001fd33ede273eda7c12373.json │ │ │ ├── query-759b80414b5bcbfe03a0e1e15b37f92c4cfad9313b1461e12242d9becb59e0b0.json │ │ │ ├── query-75a1e12ee9ac51f322f8862b6edc963cedc30668f5fcc35c0ea7638a58146f2f.json │ │ │ ├── query-75fa24c29dc312cbfa89bf1f4a04a42b4ead6964edd17bfcacb4a828492bba60.json │ │ │ ├── query-764bf6e433e4ca3df5c5ddeb8db76756bf24630ddcc59ba516ca13e7138860ab.json │ │ │ ├── query-76c928714ee9897cb6d485fd5e2a56620889ce274479db5025b70b1a7f66271f.json │ │ │ ├── query-77a43830ca31eac85a3c03d87696bf94a013e49bf50ce23f4de4968781df0796.json │ │ │ ├── query-77de28ce78e1e5827f03d7e7550aec881fb5d3cde2f3aad9a5db5629070d6b7c.json │ │ │ ├── query-7a1d72f25d7e2eeb0a38ec03c296433b5346b415b09fcd33d65e10c370a73b37.json │ │ │ ├── query-7af52a220958d790bd8b5b06a6e29bf769829991c7d732b13f96bcd1293263ea.json │ │ │ ├── query-7b8616164d4458d3dd97d1be604cfd6c2eb338cf0ac90d46f74220f5d1b18c90.json │ │ │ ├── query-7bcc94d0fdc105bb7f307bfe23c3f732f3682e2e1cd1751f88b95eff295359bd.json │ │ │ ├── query-7be517380b3360427c74ac6a4137cd7453953ee6edffd8404403e5f103d1cc9a.json │ │ │ ├── query-7c0c8dec1ddf32ea830b8ab1feaa2224fbdf4937f48ba8ce1513ca9078e6da8a.json │ │ │ ├── query-7c5c5f1bbf9aaf2c71c812dbdd29091ebbd74f39b926ee4582442cdb4c01ccf4.json │ │ │ ├── query-7d8c19c3568c03ec3e4a788b22c233f6503bc79cc9f809d35c558e275ba117ba.json │ │ │ ├── query-7f3ca3f1d0b3414575e71af98b810ff145ac2f388a246b9c7b32193e2d4208dd.json │ │ │ ├── query-7f7823858808e7920918985f8ee7d2063017dfda38d97cde75f2f76ec78f2759.json │ │ │ ├── query-8065f779631edb7ba30229485ff5e419ffae1fece87427c6571713047d44f015.json │ │ │ ├── query-80684de323c47ade36e5a52b99a222806762c640b7de7bf6ecdbf9c3f9842d6f.json │ │ │ ├── query-815a7037a11dfc32e9d084d57178a9777126abebaf648c00fdcc24beb9967010.json │ │ │ ├── query-8255d112d3929fd8355ba2ac9bc87f1fb2f138d9a2231477fcaae148c50dbb8a.json │ │ │ ├── query-82ed556807bcd7dd5872c220b3399f9b8679d770b3d1ca755c42ee264342da03.json │ │ │ ├── query-841887b5279ddaca4c0e5e84bab549da5040af64ff2d4bdcd0f18d7fe8fd1f54.json │ │ │ ├── query-843b299bbffbade83dd673ed4a488eefd4419e8a9eb05a9528da11163f52b2c7.json │ │ │ ├── query-8625ca45ce76b8c8633d390e35e0c5f885240d99ea69140a4636b00469d08497.json │ │ │ ├── query-86a712fac0cf6823ac0c64ad1cacc43d486a5539b5a8c20780a8546cd5cec87a.json │ │ │ ├── query-87b3c0cb253a19ba181406bab5f30198c2651022c65eb9e04125356fcf52ddfc.json │ │ │ ├── query-88c629334e30bb9f5c81c858aa51af63b86e8da6d908d48998012231e1d66a60.json │ │ │ ├── query-89d58c9735adbd9f40791d61bd63a0a2691a4b3238fce9dbc3a7d2861a4ca967.json │ │ │ ├── query-8b0cc0da34f13544e00ab9b18f54df64b3d50d310800efcc6449cb0e387d6ea5.json │ │ │ ├── query-8b4d4d45a62d2001a2ea376b3307fbb39f1c46e4bb97bd6254f224ccce42fddc.json │ │ │ ├── query-8bab3c429fc5bbf4a91819e55cfb71ef6258e011f424c705d56c9827e8277c84.json │ │ │ ├── query-8bdec65057e102ac4582561975bc15e761cf57fb85f8380948fb8ac480b08418.json │ │ │ ├── query-8cc3cf441b12a8b6a2f25f4fe5581e33845ec68e386ef032715ad1222e2fdc8b.json │ │ │ ├── query-8cfde47f25cf65030f34e70edf83d3b4c514a18d8a33ec978d3e8007af8d0c20.json │ │ │ ├── query-8dd9596258c4e9eeb9178b32ffefaf767e790a54957218de908c7144658b4681.json │ │ │ ├── query-8f588aa010f42c3b0b68efe6e0e8526c586708c812dc00b10bf3cd8aa871d9c2.json │ │ │ ├── query-8f662682747a24fbe122533f421466f8a4efab1a52acc26f3a6c6b219a46390b.json │ │ │ ├── query-908a7dbb1c4cdedc1d3813ebffa61bd7cac7cea5d5e0fc09a4cdeac956140e3c.json │ │ │ ├── query-92399a3cd5aa05e982f8b3bb79122e23df2979d7b00035eb2e645553decdd894.json │ │ │ ├── query-929ce2b1cbb3671fa1f7fd3440652a115111db060433b0b7a86c73a1255867d1.json │ │ │ ├── query-92ce0f21e4ee872862b788fa8f33106703e91bbeda03ab6e2dcdb199b8771b51.json │ │ │ ├── query-95ea0522a3eff6c0d2d0b1c58fd2767e112b95f4d103c27acd6f7ede108bd300.json │ │ │ ├── query-9615d45082a848792bca181a3b4e4e7cd09ca6a5f2b5cac5b130f1476214f403.json │ │ │ ├── query-96936c827caf26f93532bab309020b623d73e1b33024023f4bce7985e58be99e.json │ │ │ ├── query-99915c717193ff872b9cf8f5e9d1b84a6dfe1976b4ddb64cc288a846a0a7fda4.json │ │ │ ├── query-99c6597a6edfb8736a9f2f5a5d77ca44a1f6cb5e46bf9e5ffe38741bf61c5cc0.json │ │ │ ├── query-9a429bda30a7a402b4b1c8c891c58f498f1907f92b295f5cc0b2f93044625f54.json │ │ │ ├── query-9b9e5bf97503ed64128dfb16564c019baa12323fd3ef381fdacf290a3db3ec77.json │ │ │ ├── query-9badf9f287fd5f8a11cc855b230d23f83a260adf56000748c4b19752e2948ab5.json │ │ │ ├── query-9cfcde703a48b110791d2ae1103c9317c01d6e35db3b07d0a31f436e7e3c7c40.json │ │ │ ├── query-9de5acb3de1b96ff8eb62a6324e8e221a8ef9014458cc7f1dbc60c056a0768a0.json │ │ │ ├── query-9ed99443f6d7a2ea890ce6a14ec54c2feb495a04a54a224b17d100f115410fad.json │ │ │ ├── query-9f3b61d0a408b509a1cbd3d2efbc71e450e868077f1f9bc70443308ea112ce17.json │ │ │ ├── query-9f637f37dc3a29ce7412ab4347071bd180729779a0e98ae7a6bb4386aca99716.json │ │ │ ├── query-a0ad14cd53afb6c360e70c47dbd79d66dd9fbd20941aec20e2e8c3874b15a953.json │ │ │ ├── query-a0dce1ac6117680fe64a848c4f3efa4658926efb4444ff1b13c186d17847c5ad.json │ │ │ ├── query-a1986824a4b4517ea116fcb979133c759b82b58ad778884f59007b2982aff111.json │ │ │ ├── query-a23ae928d8351d3a6ed64d8db777e7ed268bb6c5f3465c7e64beaa226c066f2b.json │ │ │ ├── query-a23d63b7c4264ee0f5b60c09f09f8fbd8fdaf23266412e2faffb7e3813213b98.json │ │ │ ├── query-a329c468b25d6d5533766b8ad3d0c8fdca5c5731d490c1ac3ed56266b1d5a8a5.json │ │ │ ├── query-a331b209eafd82595ad75e24135989ff52100e6a93537c35961e62268d7cd26e.json │ │ │ ├── query-a384bd2dd3b1b16d1e88c7d91e9f171fd373082f1ec3f03502e4b34efcb35c4b.json │ │ │ ├── query-a47eee902a0109b072365178e073ac6f0b00c05229a0bd40902d5fcb1c1bf026.json │ │ │ ├── query-a4a4b0bfbe05eac100c42a717e8d7cbb0bc526ebe61a07f735d4ab587058b22c.json │ │ │ ├── query-a51b8f1eeb6ef6800619e7a5a91d10c23ab2924f6a3f0594f6990af8ea9146a6.json │ │ │ ├── query-a65364d10a20420211022dc8234d0a586ce73d09ee28887cb1ad1c0392250629.json │ │ │ ├── query-a74d029f58801ec05d8d14a3b065d93e391600ab9da2e5fd4e8b139ab3d77583.json │ │ │ ├── query-a8dad09a54cc991706141da557dde45f8f3f3b6cf2e4136f25a1c3ab85d92668.json │ │ │ ├── query-a8e73c4bc7635c0e0bcd5dbb92d1bec591a873a3e17ff3563bef195f75f03704.json │ │ │ ├── query-a8fcb4d43b702d561a573a30790372281e8502002ff9fec82294ea6b972447d8.json │ │ │ ├── query-a91c23c4d33771122cec2589c6fe2757dbc13be6b30f5840744e5e0569adc66e.json │ │ │ ├── query-aab0254e6bf2c109d97e84053cb08f1ce816a56308fb9fe581b8683f76cbbbc3.json │ │ │ ├── query-ab68f07dc6f3ec66200df109527877866bbdd1f8c359d97538125756fd05a2ab.json │ │ │ ├── query-acc8925d50a4205c0bc8b98647e43a892f5a0427ca2635946c4f9dfafa8bf0db.json │ │ │ ├── query-ad1890d1e20adace4f507256a37bde4b2f4e71750e5a256957cbdd389ca2bdb2.json │ │ │ ├── query-ad8cbc084ef8bc5995031c807bbbd2225e57ae8d42042ac107b35a36c522f0d8.json │ │ │ ├── query-ade4c448ee4807c1fe2d749fe5c8ddefa7adf6ee85f1963b3ee4dce3a7c7f204.json │ │ │ ├── query-ae204503b0a682a9edc4d7bd7430457113e073b392c569c077d719941d1e37aa.json │ │ │ ├── query-ae8050de1fc30824e15346f9ac426783113663c125882bc185190a5d733363bb.json │ │ │ ├── query-aeda34b1beadca72e3e600ea9ae63f436a4f16dbeb784d0d28be392ad96b1c49.json │ │ │ ├── query-aefea1f3e87f28791cc547f193a895006e23ec73018f4b4e0a364a741f5c9781.json │ │ │ ├── query-afb01e1cda9d518cc98fe48f5f3b089b1efa9561e167283208d1fa58ed964017.json │ │ │ ├── query-afe66b4684f2ab1187b49f64f16f21c9bacd8badc624de7664b82dba97d6c9b9.json │ │ │ ├── query-b23f9879be394270a0985c082fd2e82c5aa84c85b9486e81261d17901a786917.json │ │ │ ├── query-b32f3d0b9bfff32f63d57c156ee7897e5e5e2571bb85b1b3fe600fe69693572d.json │ │ │ ├── query-b452354c888bfc19b5f4012582061b86b1abd915739533f9982fea9d8e21b9e9.json │ │ │ ├── query-b56b7b025c4fc8429195df7bd878e08f9d022db22e29b78f8d2499651525947f.json │ │ │ ├── query-b5eeb32769040f1238d8726585e3ad09947c887791450da2ebaf4acb06973185.json │ │ │ ├── query-b61b2545ff82bc3e2a198b21546735c1dcccdd6c439827fc4c3ba57e8767076e.json │ │ │ ├── query-b6961d273f833f8babaf16f256822a6e92698fcfcf5d0a9252d84b75459b2664.json │ │ │ ├── query-b7fa581d662640236d11143953e3a0aedbd2455b2ff728fe88cab94728925c0e.json │ │ │ ├── query-b8d5c838533b8f8ce75c39b45995048f6d9a7817042dcbf64d040b6c916fe8f2.json │ │ │ ├── query-b95b63f22afee3b186da4284a0a1cc9d3523a392fd2011491c6017400f313a16.json │ │ │ ├── query-ba99527fb00c9e78cf40e5a62ba26797f0da0e0865b51f3b2b0458ce39a16c84.json │ │ │ ├── query-bc8cad0e22db998530645dd8cbc906dac131c296354ac643ebff9b059000cf03.json │ │ │ ├── query-bd37db29c86a84ed09ed0633e8511c5e74988422abd052a33ff1ec5db41f7d52.json │ │ │ ├── query-bdd9b56fd8505170125d4e1271f865162bce330edd9b16587e8f9fdab17a8456.json │ │ │ ├── query-be092376ee3aec298f8b22229abf6552b86d46808fe219c55a5210af56cce2ee.json │ │ │ ├── query-bf6eac8dce87063b971724e85d20f288a7a8867c55e28467cddeea8d1b0397cf.json │ │ │ ├── query-c03df29f4661fa47c1412bd82ba379f3b2e9ff1bc6e8e38f473fb4950c8e4b77.json │ │ │ ├── query-c06fba45445389a9cac0002b7559d9e26123903ae6e6255ec01eede6a7172557.json │ │ │ ├── query-c138d84e1af2e2ef20395201f55db71f3457e1619a170683e03ddf0e78abaf29.json │ │ │ ├── query-c139df45a977290d1c2c7987fb9c1d66aeaeb6e2d36fddcf96775f01716a8a74.json │ │ │ ├── query-c14837e92dbb02f2fde7109f524432d865852afe0c60e11a2c1800d30599aa61.json │ │ │ ├── query-c1f9ecf033d609457106189bc4d7928aa933616d2186c13a4e005297b0ad63a7.json │ │ │ ├── query-c2803b227e4839e06b6f188f74adc5dea4553845e32e7a0938d919ebc8243ad6.json │ │ │ ├── query-c29909fda6f1e4116a9a28407805a9a38a8d8ff1fba9a834d37927793f532b7d.json │ │ │ ├── query-c2b3442676bccc64f6ec87b65bd1073a725b52e579072f72f61c2d62b87ce796.json │ │ │ ├── query-c2c288d268d6b266acbfc1058bc55a360f8ae12b6378f8168c000d668d6489d0.json │ │ │ ├── query-c2c40d5aae2e0276de453c78a39ce5a6cca1524adfe99b0cb35662746479dcc1.json │ │ │ ├── query-c3d89567845665287b4ffb7aad57d26401c18e6ce8e0e6710a976ce0ecaf9cb1.json │ │ │ ├── query-c5656667e5610ffb33e7b977ac92b7c4d79cbd404e0267794ec203df0cbb169d.json │ │ │ ├── query-c5dfe49f8042f773ced96f8363819da280e72546298b615b88662fa4a19f2bdf.json │ │ │ ├── query-c61b15a9591e65eab7d226f5b9035bfda52cc5bb5a4bfb11270a2a784491c967.json │ │ │ ├── query-c664fbc384ca586d4ae80fc8dbb00efa4e18207fadceb4a708e382b942416106.json │ │ │ ├── query-c69d19005dd28bd0abfc84e29fd9442f610a6c57280615eb8c982a4afb847aff.json │ │ │ ├── query-c6c7bd5dbbd8bcad2b3d76109f31a8884504fee27358b099340043d9809e6037.json │ │ │ ├── query-c731b37e17334619d42121e2740c312512dfab93fd8f32c94461b7a85e3a410e.json │ │ │ ├── query-c733329269eaa6a753e88ac7f0f462ca8d291150f0c2d33c4707a2a053399aaa.json │ │ │ ├── query-c81438eae5e2482c57c54941780864174f39e6011fdfdc56490397ce90233055.json │ │ │ ├── query-c8155c4e4701fc771918ac1bb4d16f8cc32e365e2ffbd17dc99885de427f2777.json │ │ │ ├── query-c82544320961ae0c81ad7492f7a338ce51a78ea8026923f2fb1cd0ddd4a3ad1e.json │ │ │ ├── query-c9742c7f58c5c0f676cee0d0d3a9309c1b45d0134a6c6e15533443353db3bee6.json │ │ │ ├── query-c988b8aa7708a4b76671a8454c3e9806a8cb4031f7c11c6890213d8693e7d385.json │ │ │ ├── query-c98f19505792a4085bb5ddddb6d0e202da24ac3ca205154417e98ccfa7437379.json │ │ │ ├── query-caabc91c5647a915d7398d0cbef83291b08e150548bfc5fa1bd558160cbead4a.json │ │ │ ├── query-cb98d84fc34af1e4a4c2f427c5bb4afd384063ae394a847b26304dd18d490ab4.json │ │ │ ├── query-cbad4f4ca54e2b080e59117dac0d05c2f3488858727b02fac6df9dfdf024d076.json │ │ │ ├── query-cbc0e202a6da5092251f278d7dc5c058f9ad703461a1f55c534bf3d9f48eb61b.json │ │ │ ├── query-cda66c56ab9ff1dcb1b2882a23c4acdfc5af364d7271c06db0c95e0f1b0e33f9.json │ │ │ ├── query-ce0b54e6f5a805144ace2f0f9fba6b3e9bca996fa633005bc8eeb77341c8c893.json │ │ │ ├── query-cf3a9acaeff6d30aff772db93bce1edd4dc242a6b32e61d779b7ec65f6e7b2b1.json │ │ │ ├── query-cf8aaa95e3e8c376b6083c7015753e30af54675ce58273cbb29312e6e88cbdf5.json │ │ │ ├── query-cff500ffe0b6586dd96eb2d3620dd6542fd54ceac41dd41b995a8409c5ab046c.json │ │ │ ├── query-d0bf68264770359191c17eb9d1553100e175067e82b914d0d52ca9665ca0fafa.json │ │ │ ├── query-d0db89030ed6979ecba6786aef1ac9ff144a09e68db07e4ca1c1de105765711f.json │ │ │ ├── query-d12b7989d37ef06b2145005f664bf2ea63cd6268ab2c9ab523eae5dde3ada84f.json │ │ │ ├── query-d1490262c7a2a583928a611ae69eb0539849f7fd590712103db7d45d119caca2.json │ │ │ ├── query-d38116f1664a3ab88d285297e8caebfcd3b9c287fecde4376afa84c0566a55ef.json │ │ │ ├── query-d3e4ee6677ce9de438abf7529aaf64c789d3a8a1d6c96c58213c23a055cde751.json │ │ │ ├── query-d3f9202d665ef4fcb028dae6484253eb340a21afd7d65ce6d2f523aeded8dfc0.json │ │ │ ├── query-d43ae07cf1539826363573d121392687cfe890fe89c748f836bad6eb0cc0fcf5.json │ │ │ ├── query-d45de6e0add0a94d7f6df10bca0248fdf74448b6a8906d55b68b48320f2b04ba.json │ │ │ ├── query-d46fcdcb100b240aa5f2b23d07e6abe3514e755546ac39a5fddae03a3a435e3d.json │ │ │ ├── query-d47226eb9b1abe6436f5ef76eba9ddb30ca0d9ea0190786b8e8472c622e98b9c.json │ │ │ ├── query-d47574939bdfb157a621f86a3ea3a61bf579a0dbeb01c545fa61b10a0047297b.json │ │ │ ├── query-d4cdd4eed07dfdad2757c480903f7999eabb611338925abe9dc9e64c837183d9.json │ │ │ ├── query-d50555b3b7a1feadd34a2fe90b205ed6a7335a7092c7dc2b81337535e4d489d5.json │ │ │ ├── query-d56d12ba1802fe09e9255717ad488d251b95974b504653ebdb8c4a567e1ccdb9.json │ │ │ ├── query-d712707e47e143c52330ea6e0513d2839f0f928c06b8020eecec38e895f99b42.json │ │ │ ├── query-d7bd14e6550df54657c37d389c4ed79cde6d6d0a75702953b16df1a9748b11f5.json │ │ │ ├── query-d7ed82f0d012f72374edb2ebcec33c83477d65a6f8cb2673f67b3148cd95b436.json │ │ │ ├── query-daa2ad4ebde17808e059aa6bcf148743ffed494316750be3b0ffb10b2fc09e93.json │ │ │ ├── query-daa330d43f150824f2195cdbfb96862d6ad0de7c7ca1d5320800f317428f07e1.json │ │ │ ├── query-dc16d0fac093a52480b66dfcb5976fb01e6629e8c982c265f2af1d5000090572.json │ │ │ ├── query-dc481f59aae632ff6f5fa23f5c5c82627a936f7ea9f6c354eca4bea76fac6b10.json │ │ │ ├── query-dcfe6ef35a598098276d2cc69a05320b4081c66e965f359d70fba7670b88a5f6.json │ │ │ ├── query-dd54ab29fd0817f73d8a14901ed38e868a785a7f6de6664ec7b49dc8b4afdbd6.json │ │ │ ├── query-dd55e46dfa5ba3692d9620088a3550b8db817630d1a9341db4a1f453f12e64fb.json │ │ │ ├── query-ddfb7ba0592f1e6714a4496cee18e7265828e3ae78e391ef235b700f0adfe5e4.json │ │ │ ├── query-de1a55a0f8210be95a89e4a42b8e77b541ac03bd1c18034ec5ed3d0e434ddacf.json │ │ │ ├── query-de3a5a35b111bd831bebe6d9391bf58b311d81c5fc0a6fbaccf204976f76f378.json │ │ │ ├── query-e08885122eae28067b31e7a8f6fc9c63d07feb53e32b2bcdbb85bfc29ca4a759.json │ │ │ ├── query-e0be465bbfbf677a8eafb722fc302bf37011d37c9e3ad1cbc7c33a91db443a0f.json │ │ │ ├── query-e30ea0d3a0b08761abff0de74516a498a0ab762c499dcc3cfbbfaacb3f0b17b8.json │ │ │ ├── query-e574bc35e3a7deb6c4209a9c6ff26e9a4252007b491f660b49b99576ba5af6cb.json │ │ │ ├── query-e673789d5b4a7aae11feccb085bf3f9dd37b771cf76261762ae18fd14cf0efc5.json │ │ │ ├── query-e85b8173d502c514b783f35f4cc9c4069c653fb7024f986061ed060c437ad830.json │ │ │ ├── query-e92e6e377141b9bfe7b98c6d5b3d5aa746bbb65007cd39dbc4119e179268c1e8.json │ │ │ ├── query-ea682d41219feda3514336f4c1ae6ecbe96475e83dfed603bd305e72460f52c2.json │ │ │ ├── query-ea904aa930d602d33b6fbc1bf1178a8a0ec739f4ddec8ffeb3a87253aeb18d30.json │ │ │ ├── query-eb27e1b82b8ecbb9711c417888564a8e245ecee4866264d38146938595b07f37.json │ │ │ ├── query-eb9cd837842490dcb8ab8894ccdb1fcdd02ba2ae2104a0ef972fe809bf136425.json │ │ │ ├── query-ec2942fecedb7ee47279bf0418eb020b1036f002312271eec76ec3d40f77eb71.json │ │ │ ├── query-ee50258050e7a08be67335cddf258ed14ea4ed363db1501e7268909bc18f2043.json │ │ │ ├── query-ef331469f78c6ff68a254a15b55d056cc9bae25bc070c5de8424f88fab20e5ea.json │ │ │ ├── query-ef8d100badeb2329ec0b523d3b418179e472dcb20bebd437dc8ec24039a1df16.json │ │ │ ├── query-f023e5fa599b279acd6ac02dffb7a33a8fea8ab7fdefb7d9210673245a2a6f6c.json │ │ │ ├── query-f149ad13dbd07cb67ad56f1aaaa7dcfd33f621eab83042c494d3f98a7d45bdc0.json │ │ │ ├── query-f1541a8d970d57ed118ee603e7285ec6ec1e522bc058710560ef78e75f94ddac.json │ │ │ ├── query-f2606e792f08f65d15bdab66a83741e2713748a17c96af5485423bfe9aaa84ec.json │ │ │ ├── query-f2f852a340c45ff69cbca42d7c592dfb0d28a797bee69872634f3105d2d51996.json │ │ │ ├── query-f3a695b0179ffdacd4baf9eeb6c1fac675dd7b078df61758df382e1038cb4987.json │ │ │ ├── query-f3ad9f4a6d77cf21137d43c333fd6c6505f51071535fa17da9c0f1c59ccf72e9.json │ │ │ ├── query-f3c651a3ecd2aefabef802f32c18779128de288484abea33d338c3304dd66e08.json │ │ │ ├── query-f410ead5b7fc5d39110cc61d59b409b30be99be6d72d127ef3f09a9f4c205e09.json │ │ │ ├── query-f4705a03d494357ee89a0bbf59a3101d7ff6a17f6bc15f1a7cb044e075dd8123.json │ │ │ ├── query-f516657dd48332522a5580e26c509fb7e3baa5ae84bd5e010008f8972e1a7f98.json │ │ │ ├── query-f551ac609521345b0dbcce65df2ce3d957afdb5f9809929dbe7a67a4a164e741.json │ │ │ ├── query-f5854ce2c37bc66d38b05c9fb985618fd95722a77cc44a2e0519f3740191dc75.json │ │ │ ├── query-f6c0b212fad536f46863ce3a6105249bd77b263c4fcef81689f9dcd155064a36.json │ │ │ ├── query-f7c6e5e377e4639de660ac214069fb8b8b610a4330368c83065356da26e2ab4c.json │ │ │ ├── query-f8db0cab215fae983957262052ed492d956ff03028f74ac1dfe679b6db2b5bcd.json │ │ │ ├── query-f91790ae5cc4b087bf942ba52dd63a1e89945f8d5e0f4da42ecf6313c4f5967e.json │ │ │ ├── query-f9a47bd5532fc10dd0bc1be2af45b243bb067514b67daaf084353e5ada15b23a.json │ │ │ ├── query-faef06e2c44922a25eede5ff7f28f79ad3b5bab2de3c616fa38a9abd583b47a1.json │ │ │ ├── query-fb7c16bff10a6e7b4ff1c5975d79542f0dba42101b32e026751362e169381662.json │ │ │ ├── query-fcc108fd59203644ff86ded0505c7dfb7aad7261e5fc402d845aedc3b91a4e99.json │ │ │ ├── query-fd369870f3962ab96ad7b1522ba04ab23d3b2357ed1524ea61736114db5ac04c.json │ │ │ ├── query-fd4b42f90ffe24f76a35a005460cc3cec1dbc3e9af406bb900c3ec52590978bc.json │ │ │ ├── query-fd68afd6eb8890f01fe646339951d1184afcb08d2bdf310a3fd3fb5b47d4d947.json │ │ │ ├── query-fd8aaef58e1b9bf4f389fb2943adea2b254fed4b5437ee2968707dffe6e6869d.json │ │ │ ├── query-fdffa5841554286a924b217b5885d9ec9b3f628c3a4cf5e10580ea6e5e3a2429.json │ │ │ ├── query-fe3aa7ce9cd799026de57bdb943a4a992bee16a2d3d84be2aafc27af8468b64e.json │ │ │ └── query-febd2b039a686631e3c943882864f6cb289fdec08f4db49ee40ba67371df1927.json │ │ ├── Cargo.toml │ │ ├── README.md │ │ ├── build.rs │ │ ├── doc │ │ │ ├── ContractVerificationDal.md │ │ │ ├── ProofGenerationDal.md │ │ │ └── TeeProofGenerationDal.md │ │ ├── migrations │ │ │ ├── 20211026134308_init.down.sql │ │ │ ├── 20211026134308_init.up.sql │ │ │ ├── 20220120160234_add_tx_execution_info.down.sql │ │ │ ├── 20220120160234_add_tx_execution_info.up.sql │ │ │ ├── 20220127113853_tx_received_at_index.down.sql │ │ │ ├── 20220127113853_tx_received_at_index.up.sql │ │ │ ├── 20220204131627_add_merkle_root.down.sql │ │ │ ├── 20220204131627_add_merkle_root.up.sql │ │ │ ├── 20220204223302_transactions_new_mempool.down.sql │ │ │ ├── 20220204223302_transactions_new_mempool.up.sql │ │ │ ├── 20220304160112_drop_events_indices.down.sql │ │ │ ├── 20220304160112_drop_events_indices.up.sql │ │ │ ├── 20220308124416_add_l2_to_l1_communication.down.sql │ │ │ ├── 20220308124416_add_l2_to_l1_communication.up.sql │ │ │ ├── 20220315095541_txs_priority_id.down.sql │ │ │ ├── 20220315095541_txs_priority_id.up.sql │ │ │ ├── 20220315144416_remove_tx_valid_in.down.sql │ │ │ ├── 20220315144416_remove_tx_valid_in.up.sql │ │ │ ├── 20220321131756_change_events_loc_index.down.sql │ │ │ ├── 20220321131756_change_events_loc_index.up.sql │ │ │ ├── 20220325153146_remove_events_id.down.sql │ │ │ ├── 20220325153146_remove_events_id.up.sql │ │ │ ├── 20220401114554_storage_tables_migration.down.sql │ │ │ ├── 20220401114554_storage_tables_migration.up.sql │ │ │ ├── 20220404102332_eth_tx_index.down.sql │ │ │ ├── 20220404102332_eth_tx_index.up.sql │ │ │ ├── 20220406085905_eth_tx_has_failed_status.down.sql │ │ │ ├── 20220406085905_eth_tx_has_failed_status.up.sql │ │ │ ├── 20220412142956_add_block_hash_index.down.sql │ │ │ ├── 20220412142956_add_block_hash_index.up.sql │ │ │ ├── 20220421125432_drop_to_porter_authorized.down.sql │ │ │ ├── 20220421125432_drop_to_porter_authorized.up.sql │ │ │ ├── 20220504154136_remove_nonce_gaps.down.sql │ │ │ ├── 20220504154136_remove_nonce_gaps.up.sql │ │ │ ├── 20220509214600_using_base_fee_and_priority_fee.down.sql │ │ │ ├── 20220509214600_using_base_fee_and_priority_fee.up.sql │ │ │ ├── 20220517135000_add_contract_address_column.down.sql │ │ │ ├── 20220517135000_add_contract_address_column.up.sql │ │ │ ├── 20220519101248_btree_events_indices.down.sql │ │ │ ├── 20220519101248_btree_events_indices.up.sql │ │ │ ├── 20220519103453_in_mempool.down.sql │ │ │ ├── 20220519103453_in_mempool.up.sql │ │ │ ├── 20220519150925_eth_sender_refactor.down.sql │ │ │ ├── 20220519150925_eth_sender_refactor.up.sql │ │ │ ├── 20220519201431_change_block_commitment_model.down.sql │ │ │ ├── 20220519201431_change_block_commitment_model.up.sql │ │ │ ├── 20220527103820_block_number_tx_index_indices.down.sql │ │ │ ├── 20220527103820_block_number_tx_index_indices.up.sql │ │ │ ├── 20220601105448_contract_verification.down.sql │ │ │ ├── 20220601105448_contract_verification.up.sql │ │ │ ├── 20220610121550_add_predicted_gas_columns.down.sql │ │ │ ├── 20220610121550_add_predicted_gas_columns.up.sql │ │ │ ├── 20220611134715_token-bridging.down.sql │ │ │ ├── 20220611134715_token-bridging.up.sql │ │ │ ├── 20220621103309_contract_verification_compilation_errors.down.sql │ │ │ ├── 20220621103309_contract_verification_compilation_errors.up.sql │ │ │ ├── 20220630134601_track_l1_block_number_for_priority_ops.down.sql │ │ │ ├── 20220630134601_track_l1_block_number_for_priority_ops.up.sql │ │ │ ├── 20220704121755_witness_inputs.down.sql │ │ │ ├── 20220704121755_witness_inputs.up.sql │ │ │ ├── 20220705133822_add_value_column.down.sql │ │ │ ├── 20220705133822_add_value_column.up.sql │ │ │ ├── 20220707151034_storage_logs_dedup.down.sql │ │ │ ├── 20220707151034_storage_logs_dedup.up.sql │ │ │ ├── 20220708093726_make-type-not-null.down.sql │ │ │ ├── 20220708093726_make-type-not-null.up.sql │ │ │ ├── 20220711132020_save_initial_bootloader_content.down.sql │ │ │ ├── 20220711132020_save_initial_bootloader_content.up.sql │ │ │ ├── 20220712073626_add_columns_to_witness_inputs.down.sql │ │ │ ├── 20220712073626_add_columns_to_witness_inputs.up.sql │ │ │ ├── 20220712093408_add_used_contracts_to_blocks.down.sql │ │ │ ├── 20220712093408_add_used_contracts_to_blocks.up.sql │ │ │ ├── 20220713090226_remove-priority-mode.down.sql │ │ │ ├── 20220713090226_remove-priority-mode.up.sql │ │ │ ├── 20220729125750_add-contract-verification-started-at.down.sql │ │ │ ├── 20220729125750_add-contract-verification-started-at.up.sql │ │ │ ├── 20220801131413_add_paymaster_data.down.sql │ │ │ ├── 20220801131413_add_paymaster_data.up.sql │ │ │ ├── 20220807172230_block_metadata.down.sql │ │ │ ├── 20220807172230_block_metadata.up.sql │ │ │ ├── 20220815130828_support_eip1559.down.sql │ │ │ ├── 20220815130828_support_eip1559.up.sql │ │ │ ├── 20220816141002_add_prover_jobs.down.sql │ │ │ ├── 20220816141002_add_prover_jobs.up.sql │ │ │ ├── 20220826100615_save_block_ergs_per_pubdata_limit.down.sql │ │ │ ├── 20220826100615_save_block_ergs_per_pubdata_limit.up.sql │ │ │ ├── 20220827110416_miniblocks.down.sql │ │ │ ├── 20220827110416_miniblocks.up.sql │ │ │ ├── 20220902115015_add-solc-version-to-contract-verifier.down.sql │ │ │ ├── 20220902115015_add-solc-version-to-contract-verifier.up.sql │ │ │ ├── 20220902124458_add_time_taken_column_in_witness_inputs.down.sql │ │ │ ├── 20220902124458_add_time_taken_column_in_witness_inputs.up.sql │ │ │ ├── 20220902190932_add_processing_started_at_to_witness_inputs.sql.down.sql │ │ │ ├── 20220902190932_add_processing_started_at_to_witness_inputs.sql.up.sql │ │ │ ├── 20220904161256_add_time_taken_column_in_prover_jobs.down.sql │ │ │ ├── 20220904161256_add_time_taken_column_in_prover_jobs.up.sql │ │ │ ├── 20220908094615_add_error_field_to_queues.down.sql │ │ │ ├── 20220908094615_add_error_field_to_queues.up.sql │ │ │ ├── 20220908103955_verifier-compilers-versions.down.sql │ │ │ ├── 20220908103955_verifier-compilers-versions.up.sql │ │ │ ├── 20220908145203_remove-redundant-fields.down.sql │ │ │ ├── 20220908145203_remove-redundant-fields.up.sql │ │ │ ├── 20220914102048_unique-blocknumber-for-witnesses.down.sql │ │ │ ├── 20220914102048_unique-blocknumber-for-witnesses.up.sql │ │ │ ├── 20220915125943_l1_batch_tx_number.down.sql │ │ │ ├── 20220915125943_l1_batch_tx_number.up.sql │ │ │ ├── 20220930085018_add_proof_aggregations.down.sql │ │ │ ├── 20220930085018_add_proof_aggregations.up.sql │ │ │ ├── 20221001090302_add_proof_result.down.sql │ │ │ ├── 20221001090302_add_proof_result.up.sql │ │ │ ├── 20221001131821_add_static_artifact_storage.down.sql │ │ │ ├── 20221001131821_add_static_artifact_storage.up.sql │ │ │ ├── 20221002190817_add_circuit_id_to_proofs.down.sql │ │ │ ├── 20221002190817_add_circuit_id_to_proofs.up.sql │ │ │ ├── 20221003090515_add-commitment-hash-fields.down.sql │ │ │ ├── 20221003090515_add-commitment-hash-fields.up.sql │ │ │ ├── 20221004114549_add_scheduler_jobs_table.down.sql │ │ │ ├── 20221004114549_add_scheduler_jobs_table.up.sql │ │ │ ├── 20221007085909_add-attempts-for-jobs.down.sql │ │ │ ├── 20221007085909_add-attempts-for-jobs.up.sql │ │ │ ├── 20221010145858_remove_ergs_per_code_decommittment_word.down.sql │ │ │ ├── 20221010145858_remove_ergs_per_code_decommittment_word.up.sql │ │ │ ├── 20221013104735_add_aggregation_result_coords_to_scheduler_jobs.down.sql │ │ │ ├── 20221013104735_add_aggregation_result_coords_to_scheduler_jobs.up.sql │ │ │ ├── 20221018114513_verification-requests-panic-messages.down.sql │ │ │ ├── 20221018114513_verification-requests-panic-messages.up.sql │ │ │ ├── 20221019112725_l2_to_l1_logs_table.down.sql │ │ │ ├── 20221019112725_l2_to_l1_logs_table.up.sql │ │ │ ├── 20221031110209_miniblocks-hash-index.down.sql │ │ │ ├── 20221031110209_miniblocks-hash-index.up.sql │ │ │ ├── 20221103104136_add-signed-raw-tx.down.sql │ │ │ ├── 20221103104136_add-signed-raw-tx.up.sql │ │ │ ├── 20221108190838_set-primary-keys.down.sql │ │ │ ├── 20221108190838_set-primary-keys.up.sql │ │ │ ├── 20221109094807_block-skip-proof.down.sql │ │ │ ├── 20221109094807_block-skip-proof.up.sql │ │ │ ├── 20221110094012_add_merkel_tree_paths_blob_url_in_witness_inputs.down.sql │ │ │ ├── 20221110094012_add_merkel_tree_paths_blob_url_in_witness_inputs.up.sql │ │ │ ├── 20221110094252_add_basic_circuits_and_inputs_blob_url_in_leaf_aggregation_witness_jobs.down.sql │ │ │ ├── 20221110094252_add_basic_circuits_and_inputs_blob_url_in_leaf_aggregation_witness_jobs.up.sql │ │ │ ├── 20221110094339_add_leaf_layer_subques_and_aggregation_output_blob_url_in_node_aggregation_witness_jobs.down.sql │ │ │ ├── 20221110094339_add_leaf_layer_subques_and_aggregation_output_blob_url_in_node_aggregation_witness_jobs.up.sql │ │ │ ├── 20221110094730_add_scheduler_witness_and_final_node_aggregations_blob_url_in_scheduler_witness_jobs.down.sql │ │ │ ├── 20221110094730_add_scheduler_witness_and_final_node_aggregations_blob_url_in_scheduler_witness_jobs.up.sql │ │ │ ├── 20221110095052_add_circuit_input_blob_url_column_in_prover_jobs.down.sql │ │ │ ├── 20221110095052_add_circuit_input_blob_url_column_in_prover_jobs.up.sql │ │ │ ├── 20221202102801_events-tx-initiator-address.down.sql │ │ │ ├── 20221202102801_events-tx-initiator-address.up.sql │ │ │ ├── 20221215085757_add_composite_index_to_prover_jobs.down.sql │ │ │ ├── 20221215085757_add_composite_index_to_prover_jobs.up.sql │ │ │ ├── 20221215094205_prover-job-identity.down.sql │ │ │ ├── 20221215094205_prover-job-identity.up.sql │ │ │ ├── 20221222120017_add_index_to_reduce_load_in_prover_jobs.down.sql │ │ │ ├── 20221222120017_add_index_to_reduce_load_in_prover_jobs.up.sql │ │ │ ├── 20221227165603_fee_model.down.sql │ │ │ ├── 20221227165603_fee_model.up.sql │ │ │ ├── 20221229154428_add-bootloader-aa-code-hash.down.sql │ │ │ ├── 20221229154428_add-bootloader-aa-code-hash.up.sql │ │ │ ├── 20230104104142_add_gpu_prover_queue_table.down.sql │ │ │ ├── 20230104104142_add_gpu_prover_queue_table.up.sql │ │ │ ├── 20230105122559_protective_reads.down.sql │ │ │ ├── 20230105122559_protective_reads.up.sql │ │ │ ├── 20230105160906_remove_contracts_null_restriction.down.sql │ │ │ ├── 20230105160906_remove_contracts_null_restriction.up.sql │ │ │ ├── 20230109123145_add_blob_cleanup_status_column_to_tables_with_blobs.down.sql │ │ │ ├── 20230109123145_add_blob_cleanup_status_column_to_tables_with_blobs.up.sql │ │ │ ├── 20230109123703_add_blob_cleanup_status_index_for_tables_with_blobs.down.sql │ │ │ ├── 20230109123703_add_blob_cleanup_status_index_for_tables_with_blobs.up.sql │ │ │ ├── 20230111122457_refactor_contracts_verification_info.down.sql │ │ │ ├── 20230111122457_refactor_contracts_verification_info.up.sql │ │ │ ├── 20230112111801_initial_writes.down.sql │ │ │ ├── 20230112111801_initial_writes.up.sql │ │ │ ├── 20230113113154_add_storage_logs_index.down.sql │ │ │ ├── 20230113113154_add_storage_logs_index.up.sql │ │ │ ├── 20230117123627_add_queue_capacity_and_free_slots_in_gpu_prover_queue.down.sql │ │ │ ├── 20230117123627_add_queue_capacity_and_free_slots_in_gpu_prover_queue.up.sql │ │ │ ├── 20230119123216_drop_null_constraint_gpu_prover_queue.down.sql │ │ │ ├── 20230119123216_drop_null_constraint_gpu_prover_queue.up.sql │ │ │ ├── 20230119182427_l1_refunds.down.sql │ │ │ ├── 20230119182427_l1_refunds.up.sql │ │ │ ├── 20230202142858_ergs_to_gas.down.sql │ │ │ ├── 20230202142858_ergs_to_gas.up.sql │ │ │ ├── 20230203102247_add_specialized_prover_group_id_in_gpu_prover_queue.down.sql │ │ │ ├── 20230203102247_add_specialized_prover_group_id_in_gpu_prover_queue.up.sql │ │ │ ├── 20230215114053_verification-request-is-system.down.sql │ │ │ ├── 20230215114053_verification-request-is-system.up.sql │ │ │ ├── 20230221112209_add_region_column_in_gpu_prover_queue.down.sql │ │ │ ├── 20230221112209_add_region_column_in_gpu_prover_queue.up.sql │ │ │ ├── 20230221113734_adjust_primary_key_in_gpu_prover_queue.down.sql │ │ │ ├── 20230221113734_adjust_primary_key_in_gpu_prover_queue.up.sql │ │ │ ├── 20230228095320_add_circuit_type_status_index_in_prover_jobs.down.sql │ │ │ ├── 20230228095320_add_circuit_type_status_index_in_prover_jobs.up.sql │ │ │ ├── 20230320195412_calls.down.sql │ │ │ ├── 20230320195412_calls.up.sql │ │ │ ├── 20230323110438_add_zone_num_gpu_column_in_gpu_prover_queue.down.sql │ │ │ ├── 20230323110438_add_zone_num_gpu_column_in_gpu_prover_queue.up.sql │ │ │ ├── 20230323111121_add_zone_in_pk_of_gpu_prover_queue.down.sql │ │ │ ├── 20230323111121_add_zone_in_pk_of_gpu_prover_queue.up.sql │ │ │ ├── 20230327173626_eth-txs-history-tx-hash-index.down.sql │ │ │ ├── 20230327173626_eth-txs-history-tx-hash-index.up.sql │ │ │ ├── 20230328110644_drop_and_recreate_gpu_prover_queue.down.sql │ │ │ ├── 20230328110644_drop_and_recreate_gpu_prover_queue.up.sql │ │ │ ├── 20230420104112_add_events_address-block-index_index.down.sql │ │ │ ├── 20230420104112_add_events_address-block-index_index.up.sql │ │ │ ├── 20230424115322_drop_stoarge_logs_dedup_table.down.sql │ │ │ ├── 20230424115322_drop_stoarge_logs_dedup_table.up.sql │ │ │ ├── 20230427083744_protocol_versions_table.down.sql │ │ │ ├── 20230427083744_protocol_versions_table.up.sql │ │ │ ├── 20230525091429_events_transfer_indices_for_explorer.down.sql │ │ │ ├── 20230525091429_events_transfer_indices_for_explorer.up.sql │ │ │ ├── 20230530091756_add_system_version_in_witness_and_prover_related_tables.down.sql │ │ │ ├── 20230530091756_add_system_version_in_witness_and_prover_related_tables.up.sql │ │ │ ├── 20230607131138_create_witness_inputs_fri_table.down.sql │ │ │ ├── 20230607131138_create_witness_inputs_fri_table.up.sql │ │ │ ├── 20230607132716_create_prover_jobs_fri_table.down.sql │ │ │ ├── 20230607132716_create_prover_jobs_fri_table.up.sql │ │ │ ├── 20230609133146_drop_contract_sources.down.sql │ │ │ ├── 20230609133146_drop_contract_sources.up.sql │ │ │ ├── 20230612111554_drop_unnecessary_foreign_keys_post_prover_migration.down.sql │ │ │ ├── 20230612111554_drop_unnecessary_foreign_keys_post_prover_migration.up.sql │ │ │ ├── 20230612173621_fix-storage-logs-contract-address-tx-hash-idx.down.sql │ │ │ ├── 20230612173621_fix-storage-logs-contract-address-tx-hash-idx.up.sql │ │ │ ├── 20230614081056_add_missing_indices.down.sql │ │ │ ├── 20230614081056_add_missing_indices.up.sql │ │ │ ├── 20230615142357_drop_l1_batches_constraint_from_witness_inputs_fri.down.sql │ │ │ ├── 20230615142357_drop_l1_batches_constraint_from_witness_inputs_fri.up.sql │ │ │ ├── 20230616131252_add_leaf_aggregation_witness_jobs_fri.down.sql │ │ │ ├── 20230616131252_add_leaf_aggregation_witness_jobs_fri.up.sql │ │ │ ├── 20230619113310_add_protocol_version_index_in_prover_jobs.down.sql │ │ │ ├── 20230619113310_add_protocol_version_index_in_prover_jobs.up.sql │ │ │ ├── 20230619132736_add_node_aggregation_witness_jobs_fri_table.down.sql │ │ │ ├── 20230619132736_add_node_aggregation_witness_jobs_fri_table.up.sql │ │ │ ├── 20230622100931_add_number_of_basic_circuits_in_leaf_agg_jobs_fri_table.down.sql │ │ │ ├── 20230622100931_add_number_of_basic_circuits_in_leaf_agg_jobs_fri_table.up.sql │ │ │ ├── 20230622142030_add_depth_in_prover_jobs_fri_table.down.sql │ │ │ ├── 20230622142030_add_depth_in_prover_jobs_fri_table.up.sql │ │ │ ├── 20230626060855_vyper_verification.down.sql │ │ │ ├── 20230626060855_vyper_verification.up.sql │ │ │ ├── 20230626103610_create_unique_index_for_leaf_node_prover_fri_tables.down.sql │ │ │ ├── 20230626103610_create_unique_index_for_leaf_node_prover_fri_tables.up.sql │ │ │ ├── 20230627123428_add_scheduler_dependency_tracker_table.down.sql │ │ │ ├── 20230627123428_add_scheduler_dependency_tracker_table.up.sql │ │ │ ├── 20230627131556_create_scheduler_witness_jobs_fri_table.down.sql │ │ │ ├── 20230627131556_create_scheduler_witness_jobs_fri_table.up.sql │ │ │ ├── 20230628091834_add_attempts_in_scheduler_witness_jobs_fri_table.down.sql │ │ │ ├── 20230628091834_add_attempts_in_scheduler_witness_jobs_fri_table.up.sql │ │ │ ├── 20230628113801_add_is_node_final_proof_column_in_prover_jobs_fri_table.down.sql │ │ │ ├── 20230628113801_add_is_node_final_proof_column_in_prover_jobs_fri_table.up.sql │ │ │ ├── 20230628120840_add_number_of_dependency_column_in_node_aggregations_fri_table.down.sql │ │ │ ├── 20230628120840_add_number_of_dependency_column_in_node_aggregations_fri_table.up.sql │ │ │ ├── 20230628184614_update_scheduler_dependency_tracker_fri_to_remove_autoincrement_sequence.down.sql │ │ │ ├── 20230628184614_update_scheduler_dependency_tracker_fri_to_remove_autoincrement_sequence.up.sql │ │ │ ├── 20230630083308_add_indices_for_new_prover_related_tables.down.sql │ │ │ ├── 20230630083308_add_indices_for_new_prover_related_tables.up.sql │ │ │ ├── 20230630095614_add_proof_blob_url_drop_proof_from_prover_jobs_fri.down.sql │ │ │ ├── 20230630095614_add_proof_blob_url_drop_proof_from_prover_jobs_fri.up.sql │ │ │ ├── 20230706080351_add-enumeration-indices.down.sql │ │ │ ├── 20230706080351_add-enumeration-indices.up.sql │ │ │ ├── 20230717182755_pending_tx_index.down.sql │ │ │ ├── 20230717182755_pending_tx_index.up.sql │ │ │ ├── 20230807152355_virtual_blocks.down.sql │ │ │ ├── 20230807152355_virtual_blocks.up.sql │ │ │ ├── 20230810090211_add_proof_generation_details_table.down.sql │ │ │ ├── 20230810090211_add_proof_generation_details_table.up.sql │ │ │ ├── 20230816123036_create_table_gpu_prover_queue_fri.down.sql │ │ │ ├── 20230816123036_create_table_gpu_prover_queue_fri.up.sql │ │ │ ├── 20230817101508_add_index_for_gpu_prover_queue_fri.down.sql │ │ │ ├── 20230817101508_add_index_for_gpu_prover_queue_fri.up.sql │ │ │ ├── 20230822133227_prover_protocol_versions.down.sql │ │ │ ├── 20230822133227_prover_protocol_versions.up.sql │ │ │ ├── 20230824105133_drop_protocol_versions_tx_fk.down.sql │ │ │ ├── 20230824105133_drop_protocol_versions_tx_fk.up.sql │ │ │ ├── 20230825103341_fix_prover_jobs_protocol_version_index.down.sql │ │ │ ├── 20230825103341_fix_prover_jobs_protocol_version_index.up.sql │ │ │ ├── 20230831110448_add_prover_fri_protocol_versions_table.down.sql │ │ │ ├── 20230831110448_add_prover_fri_protocol_versions_table.up.sql │ │ │ ├── 20230906070159_miniblocks_pending_batch_index.down.sql │ │ │ ├── 20230906070159_miniblocks_pending_batch_index.up.sql │ │ │ ├── 20230906090541_add_proof_compression_table.down.sql │ │ │ ├── 20230906090541_add_proof_compression_table.up.sql │ │ │ ├── 20230911090548_add_index_for_proof_compressor_table.down.sql │ │ │ ├── 20230911090548_add_index_for_proof_compressor_table.up.sql │ │ │ ├── 20230913092159_update_prover_fri_index_to_include_protocol_version.down.sql │ │ │ ├── 20230913092159_update_prover_fri_index_to_include_protocol_version.up.sql │ │ │ ├── 20230914150834_enum-indices-not-null.down.sql │ │ │ ├── 20230914150834_enum-indices-not-null.up.sql │ │ │ ├── 20230918093855_remove_not_null_constraint_fri_proof_blob_url_proof_compression_jobs_fri.down.sql │ │ │ ├── 20230918093855_remove_not_null_constraint_fri_proof_blob_url_proof_compression_jobs_fri.up.sql │ │ │ ├── 20230918134637_add_picked_by_column_to_prover_fri_related_tables.down.sql │ │ │ ├── 20230918134637_add_picked_by_column_to_prover_fri_related_tables.up.sql │ │ │ ├── 20231009073918_drop-prover_jobs_fri_l1_batch_number_fkey.down.sql │ │ │ ├── 20231009073918_drop-prover_jobs_fri_l1_batch_number_fkey.up.sql │ │ │ ├── 20231013085524_boojum-block-commitments.down.sql │ │ │ ├── 20231013085524_boojum-block-commitments.up.sql │ │ │ ├── 20231013163109_create_snapshots_table.down.sql │ │ │ ├── 20231013163109_create_snapshots_table.up.sql │ │ │ ├── 20231018205126_l1_batches_boojum_fields.down.sql │ │ │ ├── 20231018205126_l1_batches_boojum_fields.up.sql │ │ │ ├── 20231019125310_storage-refunds.down.sql │ │ │ ├── 20231019125310_storage-refunds.up.sql │ │ │ ├── 20231024052911_add_basic_witness_input_producer_jobs_table.down.sql │ │ │ ├── 20231024052911_add_basic_witness_input_producer_jobs_table.up.sql │ │ │ ├── 20231027074517_add_missing_index_for_fri_prover_tables.down.sql │ │ │ ├── 20231027074517_add_missing_index_for_fri_prover_tables.up.sql │ │ │ ├── 20231102144901_add_consensus_fields_for_miniblocks.down.sql │ │ │ ├── 20231102144901_add_consensus_fields_for_miniblocks.up.sql │ │ │ ├── 20231117091340_add-index-for-prover-jobs-fri-queueing.down.sql │ │ │ ├── 20231117091340_add-index-for-prover-jobs-fri-queueing.up.sql │ │ │ ├── 20231128123456_create_consensus_replica_state_table.down.sql │ │ │ ├── 20231128123456_create_consensus_replica_state_table.up.sql │ │ │ ├── 20231208134254_drop_old_witness_generation_related_tables.down.sql │ │ │ ├── 20231208134254_drop_old_witness_generation_related_tables.up.sql │ │ │ ├── 20231212121822_add_miniblocks_fee_account_address.down.sql │ │ │ ├── 20231212121822_add_miniblocks_fee_account_address.up.sql │ │ │ ├── 20231213192041_snapshot-recovery.down.sql │ │ │ ├── 20231213192041_snapshot-recovery.up.sql │ │ │ ├── 20231225083442_add-pub-data-input.down.sql │ │ │ ├── 20231225083442_add-pub-data-input.up.sql │ │ │ ├── 20231229181653_fair_pubdata_price.down.sql │ │ │ ├── 20231229181653_fair_pubdata_price.up.sql │ │ │ ├── 20240103123456_move_consensus_fields_to_new_table.down.sql │ │ │ ├── 20240103123456_move_consensus_fields_to_new_table.up.sql │ │ │ ├── 20240103125908_remove_old_prover_subsystems.down.sql │ │ │ ├── 20240103125908_remove_old_prover_subsystems.up.sql │ │ │ ├── 20240104121833_l1-batch-predicted-circuits.down.sql │ │ │ ├── 20240104121833_l1-batch-predicted-circuits.up.sql │ │ │ ├── 20240110085604_add-l1-batch-circuit-statistic.down.sql │ │ │ ├── 20240110085604_add-l1-batch-circuit-statistic.up.sql │ │ │ ├── 20240112194527_snapshots_applier_processed_chunks_format_change.down.sql │ │ │ ├── 20240112194527_snapshots_applier_processed_chunks_format_change.up.sql │ │ │ ├── 20240126114931_add-l1_batches-commitment-index.down.sql │ │ │ ├── 20240126114931_add-l1_batches-commitment-index.up.sql │ │ │ ├── 20240129133815_revert_removing_snapshot_recovery_columns.down.sql │ │ │ ├── 20240129133815_revert_removing_snapshot_recovery_columns.up.sql │ │ │ ├── 20240130151508_add_extra_fields_to_snapshot_recovery.down.sql │ │ │ ├── 20240130151508_add_extra_fields_to_snapshot_recovery.up.sql │ │ │ ├── 20240131123456_add_consensus_fields_for_miniblocks.down.sql │ │ │ ├── 20240131123456_add_consensus_fields_for_miniblocks.up.sql │ │ │ ├── 20240202150009_transaction_batch_index.down.sql │ │ │ ├── 20240202150009_transaction_batch_index.up.sql │ │ │ ├── 20240204153050_add-miniblocks-l1-batch-index.down.sql │ │ │ ├── 20240204153050_add-miniblocks-l1-batch-index.up.sql │ │ │ ├── 20240205123456_add_genesis_to_consensus_replica_state.down.sql │ │ │ ├── 20240205123456_add_genesis_to_consensus_replica_state.up.sql │ │ │ ├── 20240221154502_add-from-addr-to-eth-txs.down.sql │ │ │ ├── 20240221154502_add-from-addr-to-eth-txs.up.sql │ │ │ ├── 20240221155945_add_force_evmla_to_contract_verification_req.down.sql │ │ │ ├── 20240221155945_add_force_evmla_to_contract_verification_req.up.sql │ │ │ ├── 20240226120530_add_support_for_eip4844.down.sql │ │ │ ├── 20240226120530_add_support_for_eip4844.up.sql │ │ │ ├── 20240228142549_eth_txs_add_4844_blob_sidecar.down.sql │ │ │ ├── 20240228142549_eth_txs_add_4844_blob_sidecar.up.sql │ │ │ ├── 20240306155535_remove_obsolete_indexes.down.sql │ │ │ ├── 20240306155535_remove_obsolete_indexes.up.sql │ │ │ ├── 20240313090651_events_queue_bytea_column.down.sql │ │ │ ├── 20240313090651_events_queue_bytea_column.up.sql │ │ │ ├── 20240313171738_pruning_log.down.sql │ │ │ ├── 20240313171738_pruning_log.up.sql │ │ │ ├── 20240315083954_drop-prover-tables.down.sql │ │ │ ├── 20240315083954_drop-prover-tables.up.sql │ │ │ ├── 20240315132330_add_version_column_to_snapshots.down.sql │ │ │ ├── 20240315132330_add_version_column_to_snapshots.up.sql │ │ │ ├── 20240315172816_drop_not_null_verifier.down.sql │ │ │ ├── 20240315172816_drop_not_null_verifier.up.sql │ │ │ ├── 20240320173835_consistency-checker-cursor.down.sql │ │ │ ├── 20240320173835_consistency-checker-cursor.up.sql │ │ │ ├── 20240325133100_add_tee_verifier_input_producer_jobs_table.down.sql │ │ │ ├── 20240325143100_add_tee_verifier_input_producer_jobs_table.up.sql │ │ │ ├── 20240401105036_block-gas-limit.down.sql │ │ │ ├── 20240401105036_block-gas-limit.up.sql │ │ │ ├── 20240403174704_pubdata_costs.down.sql │ │ │ ├── 20240403174704_pubdata_costs.up.sql │ │ │ ├── 20240409102923_drop_l1_batches_fee_account_address.down.sql │ │ │ ├── 20240409102923_drop_l1_batches_fee_account_address.up.sql │ │ │ ├── 20240410100536_clean_up_l1_batches.down.sql │ │ │ ├── 20240410100536_clean_up_l1_batches.up.sql │ │ │ ├── 20240415161211_drop_miniblock_constraints.down.sql │ │ │ ├── 20240415161211_drop_miniblock_constraints.up.sql │ │ │ ├── 20240508065104_drop_basic_witness_input_producer_table.down.sql │ │ │ ├── 20240508065104_drop_basic_witness_input_producer_table.up.sql │ │ │ ├── 20240513155728_l1_batches_add_tree_input.down.sql │ │ │ ├── 20240513155728_l1_batches_add_tree_input.up.sql │ │ │ ├── 20240522081114_create_data_availability_table.down.sql │ │ │ ├── 20240522081114_create_data_availability_table.up.sql │ │ │ ├── 20240522123456_remove_consensus_fields_for_miniblocks.down.sql │ │ │ ├── 20240522123456_remove_consensus_fields_for_miniblocks.up.sql │ │ │ ├── 20240522215934_add_vm_runner_protective_reads_table.down.sql │ │ │ ├── 20240522215934_add_vm_runner_protective_reads_table.up.sql │ │ │ ├── 20240523085604_add_tee_proof_generation_details_table.down.sql │ │ │ ├── 20240523085604_add_tee_proof_generation_details_table.up.sql │ │ │ ├── 20240527082006_add_protocol_vk_patches_table.down.sql │ │ │ ├── 20240527082006_add_protocol_vk_patches_table.up.sql │ │ │ ├── 20240611121747_add_base_token_ratio_table.down.sql │ │ │ ├── 20240611121747_add_base_token_ratio_table.up.sql │ │ │ ├── 20240617103351_make_key_preimage_nullable.down.sql │ │ │ ├── 20240617103351_make_key_preimage_nullable.up.sql │ │ │ ├── 20240619060210_make_storage_logs_tx_hash_nullable.down.sql │ │ │ ├── 20240619060210_make_storage_logs_tx_hash_nullable.up.sql │ │ │ ├── 20240619143458_add_vm_run_data_blob_url_column.down.sql │ │ │ ├── 20240619143458_add_vm_run_data_blob_url_column.up.sql │ │ │ ├── 20240627142548_l1_batches_consensus.down.sql │ │ │ ├── 20240627142548_l1_batches_consensus.up.sql │ │ │ ├── 20240705164305_protective_reads_add_processing_started_at.down.sql │ │ │ ├── 20240705164305_protective_reads_add_processing_started_at.up.sql │ │ │ ├── 20240708152005_bwip_add_processing_started_at.down.sql │ │ │ ├── 20240708152005_bwip_add_processing_started_at.up.sql │ │ │ ├── 20240708161016_remove-not-null-proof-gen-data-constraint.down.sql │ │ │ ├── 20240708161016_remove-not-null-proof-gen-data-constraint.up.sql │ │ │ ├── 20240708194915_vm_runner_processing_started_at_timestamp.down.sql │ │ │ ├── 20240708194915_vm_runner_processing_started_at_timestamp.up.sql │ │ │ ├── 20240723143707_remove_redundant_keys.down.sql │ │ │ ├── 20240723143707_remove_redundant_keys.up.sql │ │ │ ├── 20240803083814_add_is_gateway_column_to_eth_txs.down.sql │ │ │ ├── 20240803083814_add_is_gateway_column_to_eth_txs.up.sql │ │ │ ├── 20240805144000_tee_proofs_reorg.down.sql │ │ │ ├── 20240805144000_tee_proofs_reorg.up.sql │ │ │ ├── 20240809130434_add-block-logs-bloom.down.sql │ │ │ ├── 20240809130434_add-block-logs-bloom.up.sql │ │ │ ├── 20240819150019_add_chain_id_to_eth_txs.down.sql │ │ │ ├── 20240819150019_add_chain_id_to_eth_txs.up.sql │ │ │ ├── 20240828130000_tee_unpicked_status.down.sql │ │ │ ├── 20240828130000_tee_unpicked_status.up.sql │ │ │ ├── 20240829123456_add_l1_batches_consensus_committees.down.sql │ │ │ ├── 20240829123456_add_l1_batches_consensus_committees.up.sql │ │ │ ├── 20240905123059_rename-recurision-scheduler-level-vk-hash.down.sql │ │ │ ├── 20240905123059_rename-recurision-scheduler-level-vk-hash.up.sql │ │ │ ├── 20240910112120_unsealed_batches_in_db.down.sql │ │ │ ├── 20240910112120_unsealed_batches_in_db.up.sql │ │ │ ├── 20240911161714_evm-simulator.down.sql │ │ │ ├── 20240911161714_evm-simulator.up.sql │ │ │ ├── 20240912085550_add_eth_watcher_progress_table.down.sql │ │ │ ├── 20240912085550_add_eth_watcher_progress_table.up.sql │ │ │ ├── 20240925103531_gateway_upgrade.down.sql │ │ │ ├── 20240925103531_gateway_upgrade.up.sql │ │ │ ├── 20240930110000_tee_add_permanently_ignored_state.down.sql │ │ │ ├── 20240930110000_tee_add_permanently_ignored_state.up.sql │ │ │ ├── 20241001110000_remove_tee_verifier_input_producer_job.down.sql │ │ │ ├── 20241001110000_remove_tee_verifier_input_producer_job.up.sql │ │ │ ├── 20241008073940_add_block_timestamp_asserter.down.sql │ │ │ ├── 20241008073940_add_block_timestamp_asserter.up.sql │ │ │ ├── 20241011081834_batch_chain_merkle_path.down.sql │ │ │ ├── 20241011081834_batch_chain_merkle_path.up.sql │ │ │ ├── 20241106093512_make_zk_compiler_version_nullable.down.sql │ │ │ ├── 20241106093512_make_zk_compiler_version_nullable.up.sql │ │ │ ├── 20241108051505_sealed_at.down.sql │ │ │ ├── 20241108051505_sealed_at.up.sql │ │ │ ├── 20241112120944_add_batch_root_hash_to_pruning_logs.down.sql │ │ │ ├── 20241112120944_add_batch_root_hash_to_pruning_logs.up.sql │ │ │ ├── 20241118113804_add_flonk_verifier_vk_hash.down.sql │ │ │ ├── 20241118113804_add_flonk_verifier_vk_hash.up.sql │ │ │ ├── 20241121142103_drop_predicted_gas_cost_not_null.down.sql │ │ │ ├── 20241121142103_drop_predicted_gas_cost_not_null.up.sql │ │ │ ├── 20241212121618_add_type_column_to_data_availability.down.sql │ │ │ ├── 20241212121618_add_type_column_to_data_availability.up.sql │ │ │ ├── 20241226161705_add_ratio_timestamp_index.down.sql │ │ │ ├── 20241226161705_add_ratio_timestamp_index.up.sql │ │ │ ├── 20241812144402_create_index_data_availability.sql │ │ │ ├── 20250122102800_contract-verifier-new-schema.down.sql │ │ │ ├── 20250122102800_contract-verifier-new-schema.up.sql │ │ │ ├── 20250130233500_data_availability_add_l2_validator.down.sql │ │ │ ├── 20250130233500_data_availability_add_l2_validator.up.sql │ │ │ ├── 20250210132453_remove_tx_initiator_address_idx.down.sql │ │ │ ├── 20250210132453_remove_tx_initiator_address_idx.up.sql │ │ │ ├── 20250211071416_contract-verifier-evm-request.down.sql │ │ │ ├── 20250211071416_contract-verifier-evm-request.up.sql │ │ │ ├── 20250213083329_fix-contract-verification-migration.down.sql │ │ │ ├── 20250213083329_fix-contract-verification-migration.up.sql │ │ │ ├── 20250213120658_create_etherscan_verification_requests_table.down.sql │ │ │ ├── 20250213120658_create_etherscan_verification_requests_table.up.sql │ │ │ ├── 20250218134333_server_notification.down.sql │ │ │ ├── 20250218134333_server_notification.up.sql │ │ │ ├── 20250314155250_consensus_versioning.down.sql │ │ │ ├── 20250314155250_consensus_versioning.up.sql │ │ │ ├── 20250321121118_requeue_failed_etherscan_verifications.down.sql │ │ │ ├── 20250321121118_requeue_failed_etherscan_verifications.up.sql │ │ │ ├── 20250327161337_add_consensus_committees.down.sql │ │ │ ├── 20250327161337_add_consensus_committees.up.sql │ │ │ ├── 20250331094929_eth_txs_max_gas_per_pubdata.down.sql │ │ │ ├── 20250331094929_eth_txs_max_gas_per_pubdata.up.sql │ │ │ ├── 20250401132856_predicted_gas_in_eth_tx_history.down.sql │ │ │ ├── 20250401132856_predicted_gas_in_eth_tx_history.up.sql │ │ │ ├── 20250402131932_add_dispatch_request_id.down.sql │ │ │ ├── 20250402131932_add_dispatch_request_id.up.sql │ │ │ ├── 20250418074531_eth_txs_history_submit_success.down.sql │ │ │ ├── 20250418074531_eth_txs_history_submit_success.up.sql │ │ │ ├── 20250425113231_drop_ix_initial_writes_t1.down.sql │ │ │ ├── 20250425113231_drop_ix_initial_writes_t1.up.sql │ │ │ ├── 20250514234600_remove_consensus_committees.down.sql │ │ │ ├── 20250514234600_remove_consensus_committees.up.sql │ │ │ ├── 20250520171002_requeue_etherscan_failed_requests.down.sql │ │ │ ├── 20250520171002_requeue_etherscan_failed_requests.up.sql │ │ │ ├── 20250521111307_fast-finality.down.sql │ │ │ ├── 20250521111307_fast-finality.up.sql │ │ │ ├── 20250624104515_add_l1_batch_pubdata_limit.down.sql │ │ │ └── 20250624104515_add_l1_batch_pubdata_limit.up.sql │ │ └── src │ │ │ ├── base_token_dal.rs │ │ │ ├── blocks_dal.rs │ │ │ ├── blocks_web3_dal.rs │ │ │ ├── consensus │ │ │ ├── conv.rs │ │ │ ├── mod.rs │ │ │ ├── proto │ │ │ │ ├── mod.proto │ │ │ │ └── mod.rs │ │ │ ├── testonly.rs │ │ │ └── tests.rs │ │ │ ├── consensus_dal │ │ │ ├── mod.rs │ │ │ └── tests.rs │ │ │ ├── contract_verification_dal.rs │ │ │ ├── custom_genesis_export_dal.rs │ │ │ ├── data_availability_dal.rs │ │ │ ├── eth_sender_dal.rs │ │ │ ├── eth_watcher_dal.rs │ │ │ ├── etherscan_verification_dal.rs │ │ │ ├── events_dal.rs │ │ │ ├── events_web3_dal.rs │ │ │ ├── factory_deps_dal.rs │ │ │ ├── helpers.rs │ │ │ ├── lib.rs │ │ │ ├── metrics.rs │ │ │ ├── models │ │ │ ├── call.rs │ │ │ ├── mod.rs │ │ │ ├── server_notification.rs │ │ │ ├── storage_base_token_ratio.rs │ │ │ ├── storage_block.rs │ │ │ ├── storage_data_availability.rs │ │ │ ├── storage_eth_tx.rs │ │ │ ├── storage_event.rs │ │ │ ├── storage_log.rs │ │ │ ├── storage_oracle_info.rs │ │ │ ├── storage_protocol_version.rs │ │ │ ├── storage_sync.rs │ │ │ ├── storage_tee_proof.rs │ │ │ ├── storage_transaction.rs │ │ │ ├── storage_verification_request.rs │ │ │ └── tests.rs │ │ │ ├── node │ │ │ ├── metrics.rs │ │ │ ├── mod.rs │ │ │ ├── pools_layer.rs │ │ │ └── resources.rs │ │ │ ├── proof_generation_dal.rs │ │ │ ├── protocol_versions_dal.rs │ │ │ ├── protocol_versions_web3_dal.rs │ │ │ ├── pruning_dal │ │ │ ├── mod.rs │ │ │ └── tests.rs │ │ │ ├── server_notifications.rs │ │ │ ├── snapshot_recovery_dal.rs │ │ │ ├── snapshots_creator_dal.rs │ │ │ ├── snapshots_dal.rs │ │ │ ├── storage_logs_dal.rs │ │ │ ├── storage_logs_dedup_dal.rs │ │ │ ├── storage_web3_dal.rs │ │ │ ├── sync_dal.rs │ │ │ ├── system_dal.rs │ │ │ ├── tee_proof_generation_dal.rs │ │ │ ├── tests │ │ │ └── mod.rs │ │ │ ├── tokens_dal.rs │ │ │ ├── tokens_web3_dal.rs │ │ │ ├── transactions_dal.rs │ │ │ ├── transactions_web3_dal.rs │ │ │ └── vm_runner_dal.rs │ ├── db_connection │ │ ├── Cargo.toml │ │ └── src │ │ │ ├── connection.rs │ │ │ ├── connection_pool.rs │ │ │ ├── error.rs │ │ │ ├── instrument.rs │ │ │ ├── lib.rs │ │ │ ├── macro_utils.rs │ │ │ ├── metrics.rs │ │ │ └── utils.rs │ ├── eth_client │ │ ├── Cargo.toml │ │ └── src │ │ │ ├── clients │ │ │ ├── http │ │ │ │ ├── decl.rs │ │ │ │ ├── mod.rs │ │ │ │ ├── query.rs │ │ │ │ └── signing.rs │ │ │ ├── mock.rs │ │ │ └── mod.rs │ │ │ ├── contracts_loader.rs │ │ │ ├── lib.rs │ │ │ ├── node │ │ │ ├── bridge_addresses.rs │ │ │ ├── mod.rs │ │ │ ├── pk_signing_eth_client.rs │ │ │ └── resources.rs │ │ │ ├── testdata │ │ │ ├── 4844_tx_1.txt │ │ │ └── 4844_tx_2.txt │ │ │ └── types.rs │ ├── eth_signer │ │ ├── Cargo.toml │ │ └── src │ │ │ ├── lib.rs │ │ │ ├── pk_signer.rs │ │ │ └── raw_ethereum_tx.rs │ ├── external_price_api │ │ ├── Cargo.toml │ │ ├── README.md │ │ └── src │ │ │ ├── cmc_api.rs │ │ │ ├── coingecko_api.rs │ │ │ ├── forced_price_client.rs │ │ │ ├── lib.rs │ │ │ ├── node.rs │ │ │ ├── tests.rs │ │ │ └── utils.rs │ ├── health_check │ │ ├── Cargo.toml │ │ ├── README.md │ │ └── src │ │ │ ├── lib.rs │ │ │ ├── metrics.rs │ │ │ ├── node.rs │ │ │ └── tests.rs │ ├── instrument │ │ ├── Cargo.toml │ │ ├── README.md │ │ └── src │ │ │ ├── alloc │ │ │ ├── metrics.rs │ │ │ └── mod.rs │ │ │ ├── filter.rs │ │ │ └── lib.rs │ ├── l1_contract_interface │ │ ├── Cargo.toml │ │ └── src │ │ │ ├── i_executor │ │ │ ├── commit │ │ │ │ ├── kzg │ │ │ │ │ └── mod.rs │ │ │ │ └── mod.rs │ │ │ ├── methods │ │ │ │ ├── commit_batches.rs │ │ │ │ ├── execute_batches.rs │ │ │ │ ├── mod.rs │ │ │ │ └── prove_batches.rs │ │ │ ├── mod.rs │ │ │ └── structures │ │ │ │ ├── commit_batch_info.rs │ │ │ │ ├── mod.rs │ │ │ │ ├── stored_batch_info.rs │ │ │ │ └── tests.rs │ │ │ ├── lib.rs │ │ │ └── multicall3 │ │ │ └── mod.rs │ ├── mempool │ │ ├── Cargo.toml │ │ └── src │ │ │ ├── lib.rs │ │ │ ├── mempool_store.rs │ │ │ ├── tests.rs │ │ │ └── types.rs │ ├── merkle_tree │ │ ├── Cargo.toml │ │ ├── README.md │ │ ├── examples │ │ │ ├── loadtest_merkle_tree │ │ │ │ ├── batch.rs │ │ │ │ └── main.rs │ │ │ └── recovery.rs │ │ ├── src │ │ │ ├── consistency.rs │ │ │ ├── domain.rs │ │ │ ├── errors.rs │ │ │ ├── getters.rs │ │ │ ├── hasher │ │ │ │ ├── mod.rs │ │ │ │ ├── nodes.rs │ │ │ │ └── proofs.rs │ │ │ ├── lib.rs │ │ │ ├── metrics.rs │ │ │ ├── pruning.rs │ │ │ ├── recovery │ │ │ │ ├── mod.rs │ │ │ │ └── tests.rs │ │ │ ├── repair.rs │ │ │ ├── storage │ │ │ │ ├── database.rs │ │ │ │ ├── mod.rs │ │ │ │ ├── parallel.rs │ │ │ │ ├── patch.rs │ │ │ │ ├── proofs.rs │ │ │ │ ├── rocksdb.rs │ │ │ │ ├── serialization.rs │ │ │ │ └── tests.rs │ │ │ ├── types │ │ │ │ ├── internal.rs │ │ │ │ └── mod.rs │ │ │ └── utils.rs │ │ └── tests │ │ │ └── integration │ │ │ ├── common.rs │ │ │ ├── consistency.rs │ │ │ ├── domain.rs │ │ │ ├── main.rs │ │ │ ├── merkle_tree.rs │ │ │ ├── recovery.rs │ │ │ └── snapshots │ │ │ ├── integration__domain__log-metadata-full.snap │ │ │ ├── integration__domain__log-metadata-list-short.snap │ │ │ ├── integration__merkle_tree__rocksdb__db-snapshot-21-chunked-commits-pruned.snap │ │ │ ├── integration__merkle_tree__rocksdb__db-snapshot-21-chunked-commits.snap │ │ │ ├── integration__merkle_tree__rocksdb__db-snapshot-3-chunked-commits-pruned.snap │ │ │ ├── integration__merkle_tree__rocksdb__db-snapshot-3-chunked-commits.snap │ │ │ ├── integration__merkle_tree__rocksdb__db-snapshot-8-chunked-commits-pruned.snap │ │ │ ├── integration__merkle_tree__rocksdb__db-snapshot-8-chunked-commits.snap │ │ │ └── integration__merkle_tree__rocksdb__db-snapshot.snap │ ├── mini_merkle_tree │ │ ├── Cargo.toml │ │ ├── README.md │ │ ├── benches │ │ │ └── tree.rs │ │ └── src │ │ │ ├── lib.rs │ │ │ └── tests.rs │ ├── multivm │ │ ├── Cargo.toml │ │ ├── README.md │ │ ├── src │ │ │ ├── glue │ │ │ │ ├── history_mode.rs │ │ │ │ ├── mod.rs │ │ │ │ ├── tracers │ │ │ │ │ └── mod.rs │ │ │ │ └── types │ │ │ │ │ ├── mod.rs │ │ │ │ │ ├── vm │ │ │ │ │ ├── block_context_mode.rs │ │ │ │ │ ├── mod.rs │ │ │ │ │ ├── storage_log.rs │ │ │ │ │ ├── storage_query.rs │ │ │ │ │ ├── tx_execution_mode.rs │ │ │ │ │ ├── tx_revert_reason.rs │ │ │ │ │ ├── vm_block_result.rs │ │ │ │ │ ├── vm_partial_execution_result.rs │ │ │ │ │ ├── vm_revert_reason.rs │ │ │ │ │ └── vm_tx_execution_result.rs │ │ │ │ │ ├── zk_evm_1_3_1.rs │ │ │ │ │ ├── zk_evm_1_3_3.rs │ │ │ │ │ ├── zk_evm_1_4_0.rs │ │ │ │ │ ├── zk_evm_1_4_1.rs │ │ │ │ │ ├── zk_evm_1_5_0.rs │ │ │ │ │ └── zk_evm_1_5_2.rs │ │ │ ├── lib.rs │ │ │ ├── pubdata_builders │ │ │ │ ├── full_builder.rs │ │ │ │ ├── hashed_builder.rs │ │ │ │ ├── mod.rs │ │ │ │ ├── tests.rs │ │ │ │ └── utils.rs │ │ │ ├── tracers │ │ │ │ ├── call_tracer │ │ │ │ │ ├── metrics.rs │ │ │ │ │ ├── mod.rs │ │ │ │ │ ├── vm_1_4_1 │ │ │ │ │ │ └── mod.rs │ │ │ │ │ ├── vm_1_4_2 │ │ │ │ │ │ └── mod.rs │ │ │ │ │ ├── vm_boojum_integration │ │ │ │ │ │ └── mod.rs │ │ │ │ │ ├── vm_latest │ │ │ │ │ │ └── mod.rs │ │ │ │ │ ├── vm_refunds_enhancement │ │ │ │ │ │ └── mod.rs │ │ │ │ │ └── vm_virtual_blocks │ │ │ │ │ │ └── mod.rs │ │ │ │ ├── dynamic │ │ │ │ │ ├── mod.rs │ │ │ │ │ ├── vm_1_3_3.rs │ │ │ │ │ ├── vm_1_4_0.rs │ │ │ │ │ ├── vm_1_4_1.rs │ │ │ │ │ └── vm_1_5_2.rs │ │ │ │ ├── mod.rs │ │ │ │ ├── multivm_dispatcher.rs │ │ │ │ ├── old.rs │ │ │ │ ├── prestate_tracer │ │ │ │ │ ├── mod.rs │ │ │ │ │ ├── vm_1_4_1 │ │ │ │ │ │ └── mod.rs │ │ │ │ │ ├── vm_1_4_2 │ │ │ │ │ │ └── mod.rs │ │ │ │ │ ├── vm_latest │ │ │ │ │ │ └── mod.rs │ │ │ │ │ ├── vm_refunds_enhancement │ │ │ │ │ │ └── mod.rs │ │ │ │ │ └── vm_virtual_blocks │ │ │ │ │ │ └── mod.rs │ │ │ │ ├── storage_invocation │ │ │ │ │ ├── mod.rs │ │ │ │ │ ├── vm_1_4_1 │ │ │ │ │ │ └── mod.rs │ │ │ │ │ ├── vm_1_4_2 │ │ │ │ │ │ └── mod.rs │ │ │ │ │ ├── vm_boojum_integration │ │ │ │ │ │ └── mod.rs │ │ │ │ │ ├── vm_latest │ │ │ │ │ │ └── mod.rs │ │ │ │ │ ├── vm_refunds_enhancement │ │ │ │ │ │ └── mod.rs │ │ │ │ │ └── vm_virtual_blocks │ │ │ │ │ │ └── mod.rs │ │ │ │ └── validator │ │ │ │ │ ├── mod.rs │ │ │ │ │ ├── types.rs │ │ │ │ │ ├── vm_1_4_1 │ │ │ │ │ └── mod.rs │ │ │ │ │ ├── vm_1_4_2 │ │ │ │ │ └── mod.rs │ │ │ │ │ ├── vm_boojum_integration │ │ │ │ │ └── mod.rs │ │ │ │ │ ├── vm_latest │ │ │ │ │ └── mod.rs │ │ │ │ │ ├── vm_refunds_enhancement │ │ │ │ │ └── mod.rs │ │ │ │ │ └── vm_virtual_blocks │ │ │ │ │ └── mod.rs │ │ │ ├── utils │ │ │ │ ├── bytecode.rs │ │ │ │ ├── deduplicator.rs │ │ │ │ ├── events.rs │ │ │ │ └── mod.rs │ │ │ ├── versions │ │ │ │ ├── mod.rs │ │ │ │ ├── shadow │ │ │ │ │ ├── mod.rs │ │ │ │ │ └── tests.rs │ │ │ │ ├── shared.rs │ │ │ │ ├── testonly │ │ │ │ │ ├── account_validation_rules.rs │ │ │ │ │ ├── block_tip.rs │ │ │ │ │ ├── bootloader.rs │ │ │ │ │ ├── bytecode_publishing.rs │ │ │ │ │ ├── call_tracer.rs │ │ │ │ │ ├── circuits.rs │ │ │ │ │ ├── code_oracle.rs │ │ │ │ │ ├── default_aa.rs │ │ │ │ │ ├── evm.rs │ │ │ │ │ ├── gas_limit.rs │ │ │ │ │ ├── get_used_contracts.rs │ │ │ │ │ ├── is_write_initial.rs │ │ │ │ │ ├── l1_messenger.rs │ │ │ │ │ ├── l1_tx_execution.rs │ │ │ │ │ ├── l2_blocks.rs │ │ │ │ │ ├── mock_evm.rs │ │ │ │ │ ├── mod.rs │ │ │ │ │ ├── nonce_holder.rs │ │ │ │ │ ├── precompiles.rs │ │ │ │ │ ├── refunds.rs │ │ │ │ │ ├── require_eip712.rs │ │ │ │ │ ├── rollbacks.rs │ │ │ │ │ ├── secp256r1.rs │ │ │ │ │ ├── simple_execution.rs │ │ │ │ │ ├── storage.rs │ │ │ │ │ ├── tester │ │ │ │ │ │ ├── mod.rs │ │ │ │ │ │ └── transaction_test_info.rs │ │ │ │ │ ├── tracing_execution_error.rs │ │ │ │ │ ├── transfer.rs │ │ │ │ │ └── upgrade.rs │ │ │ │ ├── vm_1_3_2 │ │ │ │ │ ├── README.md │ │ │ │ │ ├── bootloader_state.rs │ │ │ │ │ ├── errors │ │ │ │ │ │ ├── bootloader_error.rs │ │ │ │ │ │ ├── mod.rs │ │ │ │ │ │ ├── tx_revert_reason.rs │ │ │ │ │ │ └── vm_revert_reason.rs │ │ │ │ │ ├── event_sink.rs │ │ │ │ │ ├── events.rs │ │ │ │ │ ├── history_recorder.rs │ │ │ │ │ ├── memory.rs │ │ │ │ │ ├── mod.rs │ │ │ │ │ ├── oracle_tools.rs │ │ │ │ │ ├── oracles │ │ │ │ │ │ ├── decommitter.rs │ │ │ │ │ │ ├── mod.rs │ │ │ │ │ │ ├── precompile.rs │ │ │ │ │ │ ├── storage.rs │ │ │ │ │ │ └── tracer │ │ │ │ │ │ │ ├── bootloader.rs │ │ │ │ │ │ │ ├── call.rs │ │ │ │ │ │ │ ├── mod.rs │ │ │ │ │ │ │ ├── one_tx.rs │ │ │ │ │ │ │ ├── transaction_result.rs │ │ │ │ │ │ │ ├── utils.rs │ │ │ │ │ │ │ └── validation.rs │ │ │ │ │ ├── pubdata_utils.rs │ │ │ │ │ ├── refunds.rs │ │ │ │ │ ├── test_utils.rs │ │ │ │ │ ├── transaction_data.rs │ │ │ │ │ ├── utils.rs │ │ │ │ │ ├── vm.rs │ │ │ │ │ ├── vm_instance.rs │ │ │ │ │ └── vm_with_bootloader.rs │ │ │ │ ├── vm_1_4_1 │ │ │ │ │ ├── README.md │ │ │ │ │ ├── bootloader_state │ │ │ │ │ │ ├── l2_block.rs │ │ │ │ │ │ ├── mod.rs │ │ │ │ │ │ ├── snapshot.rs │ │ │ │ │ │ ├── state.rs │ │ │ │ │ │ ├── tx.rs │ │ │ │ │ │ └── utils.rs │ │ │ │ │ ├── constants.rs │ │ │ │ │ ├── implementation │ │ │ │ │ │ ├── bytecode.rs │ │ │ │ │ │ ├── execution.rs │ │ │ │ │ │ ├── gas.rs │ │ │ │ │ │ ├── logs.rs │ │ │ │ │ │ ├── mod.rs │ │ │ │ │ │ ├── snapshots.rs │ │ │ │ │ │ ├── statistics.rs │ │ │ │ │ │ └── tx.rs │ │ │ │ │ ├── mod.rs │ │ │ │ │ ├── old_vm │ │ │ │ │ │ ├── event_sink.rs │ │ │ │ │ │ ├── events.rs │ │ │ │ │ │ ├── history_recorder.rs │ │ │ │ │ │ ├── memory.rs │ │ │ │ │ │ ├── mod.rs │ │ │ │ │ │ ├── oracles │ │ │ │ │ │ │ ├── decommitter.rs │ │ │ │ │ │ │ ├── mod.rs │ │ │ │ │ │ │ └── precompile.rs │ │ │ │ │ │ └── utils.rs │ │ │ │ │ ├── oracles │ │ │ │ │ │ ├── mod.rs │ │ │ │ │ │ └── storage.rs │ │ │ │ │ ├── tracers │ │ │ │ │ │ ├── circuits_capacity.rs │ │ │ │ │ │ ├── circuits_tracer.rs │ │ │ │ │ │ ├── default_tracers.rs │ │ │ │ │ │ ├── dispatcher.rs │ │ │ │ │ │ ├── mod.rs │ │ │ │ │ │ ├── pubdata_tracer.rs │ │ │ │ │ │ ├── refunds.rs │ │ │ │ │ │ ├── result_tracer.rs │ │ │ │ │ │ ├── traits.rs │ │ │ │ │ │ └── utils.rs │ │ │ │ │ ├── types │ │ │ │ │ │ ├── internals │ │ │ │ │ │ │ ├── mod.rs │ │ │ │ │ │ │ ├── pubdata.rs │ │ │ │ │ │ │ ├── snapshot.rs │ │ │ │ │ │ │ ├── transaction_data.rs │ │ │ │ │ │ │ └── vm_state.rs │ │ │ │ │ │ ├── l1_batch.rs │ │ │ │ │ │ └── mod.rs │ │ │ │ │ ├── utils │ │ │ │ │ │ ├── fee.rs │ │ │ │ │ │ ├── l2_blocks.rs │ │ │ │ │ │ ├── logs.rs │ │ │ │ │ │ ├── mod.rs │ │ │ │ │ │ ├── overhead.rs │ │ │ │ │ │ └── transaction_encoding.rs │ │ │ │ │ └── vm.rs │ │ │ │ ├── vm_1_4_2 │ │ │ │ │ ├── README.md │ │ │ │ │ ├── bootloader_state │ │ │ │ │ │ ├── l2_block.rs │ │ │ │ │ │ ├── mod.rs │ │ │ │ │ │ ├── snapshot.rs │ │ │ │ │ │ ├── state.rs │ │ │ │ │ │ ├── tx.rs │ │ │ │ │ │ └── utils.rs │ │ │ │ │ ├── constants.rs │ │ │ │ │ ├── implementation │ │ │ │ │ │ ├── bytecode.rs │ │ │ │ │ │ ├── execution.rs │ │ │ │ │ │ ├── gas.rs │ │ │ │ │ │ ├── logs.rs │ │ │ │ │ │ ├── mod.rs │ │ │ │ │ │ ├── snapshots.rs │ │ │ │ │ │ ├── statistics.rs │ │ │ │ │ │ └── tx.rs │ │ │ │ │ ├── mod.rs │ │ │ │ │ ├── old_vm │ │ │ │ │ │ ├── event_sink.rs │ │ │ │ │ │ ├── events.rs │ │ │ │ │ │ ├── history_recorder.rs │ │ │ │ │ │ ├── memory.rs │ │ │ │ │ │ ├── mod.rs │ │ │ │ │ │ ├── oracles │ │ │ │ │ │ │ ├── decommitter.rs │ │ │ │ │ │ │ ├── mod.rs │ │ │ │ │ │ │ └── precompile.rs │ │ │ │ │ │ └── utils.rs │ │ │ │ │ ├── oracles │ │ │ │ │ │ ├── mod.rs │ │ │ │ │ │ └── storage.rs │ │ │ │ │ ├── tracers │ │ │ │ │ │ ├── circuits_capacity.rs │ │ │ │ │ │ ├── circuits_tracer.rs │ │ │ │ │ │ ├── default_tracers.rs │ │ │ │ │ │ ├── dispatcher.rs │ │ │ │ │ │ ├── mod.rs │ │ │ │ │ │ ├── pubdata_tracer.rs │ │ │ │ │ │ ├── refunds.rs │ │ │ │ │ │ ├── result_tracer.rs │ │ │ │ │ │ ├── traits.rs │ │ │ │ │ │ └── utils.rs │ │ │ │ │ ├── types │ │ │ │ │ │ ├── internals │ │ │ │ │ │ │ ├── mod.rs │ │ │ │ │ │ │ ├── pubdata.rs │ │ │ │ │ │ │ ├── snapshot.rs │ │ │ │ │ │ │ ├── transaction_data.rs │ │ │ │ │ │ │ └── vm_state.rs │ │ │ │ │ │ ├── l1_batch.rs │ │ │ │ │ │ └── mod.rs │ │ │ │ │ ├── utils │ │ │ │ │ │ ├── fee.rs │ │ │ │ │ │ ├── l2_blocks.rs │ │ │ │ │ │ ├── logs.rs │ │ │ │ │ │ ├── mod.rs │ │ │ │ │ │ ├── overhead.rs │ │ │ │ │ │ └── transaction_encoding.rs │ │ │ │ │ └── vm.rs │ │ │ │ ├── vm_boojum_integration │ │ │ │ │ ├── README.md │ │ │ │ │ ├── bootloader_state │ │ │ │ │ │ ├── l2_block.rs │ │ │ │ │ │ ├── mod.rs │ │ │ │ │ │ ├── snapshot.rs │ │ │ │ │ │ ├── state.rs │ │ │ │ │ │ ├── tx.rs │ │ │ │ │ │ └── utils.rs │ │ │ │ │ ├── constants.rs │ │ │ │ │ ├── implementation │ │ │ │ │ │ ├── bytecode.rs │ │ │ │ │ │ ├── execution.rs │ │ │ │ │ │ ├── gas.rs │ │ │ │ │ │ ├── logs.rs │ │ │ │ │ │ ├── mod.rs │ │ │ │ │ │ ├── snapshots.rs │ │ │ │ │ │ ├── statistics.rs │ │ │ │ │ │ └── tx.rs │ │ │ │ │ ├── mod.rs │ │ │ │ │ ├── old_vm │ │ │ │ │ │ ├── event_sink.rs │ │ │ │ │ │ ├── events.rs │ │ │ │ │ │ ├── history_recorder.rs │ │ │ │ │ │ ├── memory.rs │ │ │ │ │ │ ├── mod.rs │ │ │ │ │ │ ├── oracles │ │ │ │ │ │ │ ├── decommitter.rs │ │ │ │ │ │ │ ├── mod.rs │ │ │ │ │ │ │ ├── precompile.rs │ │ │ │ │ │ │ └── storage.rs │ │ │ │ │ │ └── utils.rs │ │ │ │ │ ├── oracles │ │ │ │ │ │ ├── mod.rs │ │ │ │ │ │ └── storage.rs │ │ │ │ │ ├── tracers │ │ │ │ │ │ ├── circuits_capacity.rs │ │ │ │ │ │ ├── circuits_tracer.rs │ │ │ │ │ │ ├── default_tracers.rs │ │ │ │ │ │ ├── dispatcher.rs │ │ │ │ │ │ ├── mod.rs │ │ │ │ │ │ ├── pubdata_tracer.rs │ │ │ │ │ │ ├── refunds.rs │ │ │ │ │ │ ├── result_tracer.rs │ │ │ │ │ │ ├── traits.rs │ │ │ │ │ │ └── utils.rs │ │ │ │ │ ├── types │ │ │ │ │ │ ├── internals │ │ │ │ │ │ │ ├── mod.rs │ │ │ │ │ │ │ ├── pubdata.rs │ │ │ │ │ │ │ ├── snapshot.rs │ │ │ │ │ │ │ ├── transaction_data.rs │ │ │ │ │ │ │ └── vm_state.rs │ │ │ │ │ │ ├── l1_batch.rs │ │ │ │ │ │ └── mod.rs │ │ │ │ │ ├── utils │ │ │ │ │ │ ├── fee.rs │ │ │ │ │ │ ├── l2_blocks.rs │ │ │ │ │ │ ├── logs.rs │ │ │ │ │ │ ├── mod.rs │ │ │ │ │ │ ├── overhead.rs │ │ │ │ │ │ └── transaction_encoding.rs │ │ │ │ │ └── vm.rs │ │ │ │ ├── vm_fast │ │ │ │ │ ├── bytecode.rs │ │ │ │ │ ├── events.rs │ │ │ │ │ ├── glue.rs │ │ │ │ │ ├── mod.rs │ │ │ │ │ ├── tests │ │ │ │ │ │ ├── account_validation_rules.rs │ │ │ │ │ │ ├── block_tip.rs │ │ │ │ │ │ ├── bootloader.rs │ │ │ │ │ │ ├── bytecode_publishing.rs │ │ │ │ │ │ ├── call_tracer.rs │ │ │ │ │ │ ├── circuits.rs │ │ │ │ │ │ ├── code_oracle.rs │ │ │ │ │ │ ├── default_aa.rs │ │ │ │ │ │ ├── evm.rs │ │ │ │ │ │ ├── gas_limit.rs │ │ │ │ │ │ ├── get_used_contracts.rs │ │ │ │ │ │ ├── is_write_initial.rs │ │ │ │ │ │ ├── l1_messenger.rs │ │ │ │ │ │ ├── l1_tx_execution.rs │ │ │ │ │ │ ├── l2_blocks.rs │ │ │ │ │ │ ├── mock_evm.rs │ │ │ │ │ │ ├── mod.rs │ │ │ │ │ │ ├── nonce_holder.rs │ │ │ │ │ │ ├── precompiles.rs │ │ │ │ │ │ ├── refunds.rs │ │ │ │ │ │ ├── require_eip712.rs │ │ │ │ │ │ ├── rollbacks.rs │ │ │ │ │ │ ├── secp256r1.rs │ │ │ │ │ │ ├── simple_execution.rs │ │ │ │ │ │ ├── storage.rs │ │ │ │ │ │ ├── tracing_execution_error.rs │ │ │ │ │ │ ├── transfer.rs │ │ │ │ │ │ └── upgrade.rs │ │ │ │ │ ├── tracers │ │ │ │ │ │ ├── calls.rs │ │ │ │ │ │ ├── circuits.rs │ │ │ │ │ │ ├── evm_deploy.rs │ │ │ │ │ │ ├── mod.rs │ │ │ │ │ │ ├── storage.rs │ │ │ │ │ │ └── validation.rs │ │ │ │ │ ├── utils.rs │ │ │ │ │ ├── version.rs │ │ │ │ │ ├── vm.rs │ │ │ │ │ └── world.rs │ │ │ │ ├── vm_latest │ │ │ │ │ ├── README.md │ │ │ │ │ ├── bootloader │ │ │ │ │ │ ├── init.rs │ │ │ │ │ │ ├── l2_block.rs │ │ │ │ │ │ ├── mod.rs │ │ │ │ │ │ ├── snapshot.rs │ │ │ │ │ │ ├── state.rs │ │ │ │ │ │ ├── tx.rs │ │ │ │ │ │ └── utils.rs │ │ │ │ │ ├── constants.rs │ │ │ │ │ ├── implementation │ │ │ │ │ │ ├── bytecode.rs │ │ │ │ │ │ ├── execution.rs │ │ │ │ │ │ ├── gas.rs │ │ │ │ │ │ ├── logs.rs │ │ │ │ │ │ ├── mod.rs │ │ │ │ │ │ ├── snapshots.rs │ │ │ │ │ │ ├── statistics.rs │ │ │ │ │ │ └── tx.rs │ │ │ │ │ ├── mod.rs │ │ │ │ │ ├── old_vm │ │ │ │ │ │ ├── event_sink.rs │ │ │ │ │ │ ├── events.rs │ │ │ │ │ │ ├── history_recorder.rs │ │ │ │ │ │ ├── memory.rs │ │ │ │ │ │ ├── mod.rs │ │ │ │ │ │ ├── oracles │ │ │ │ │ │ │ ├── decommitter.rs │ │ │ │ │ │ │ ├── mod.rs │ │ │ │ │ │ │ └── precompile.rs │ │ │ │ │ │ └── utils.rs │ │ │ │ │ ├── oracles │ │ │ │ │ │ ├── mod.rs │ │ │ │ │ │ └── storage.rs │ │ │ │ │ ├── tests │ │ │ │ │ │ ├── account_validation_rules.rs │ │ │ │ │ │ ├── block_tip.rs │ │ │ │ │ │ ├── bootloader.rs │ │ │ │ │ │ ├── bytecode_publishing.rs │ │ │ │ │ │ ├── call_tracer.rs │ │ │ │ │ │ ├── circuits.rs │ │ │ │ │ │ ├── code_oracle.rs │ │ │ │ │ │ ├── constants.rs │ │ │ │ │ │ ├── default_aa.rs │ │ │ │ │ │ ├── evm.rs │ │ │ │ │ │ ├── gas_limit.rs │ │ │ │ │ │ ├── get_used_contracts.rs │ │ │ │ │ │ ├── invalid_bytecode.rs │ │ │ │ │ │ ├── is_write_initial.rs │ │ │ │ │ │ ├── l1_messenger.rs │ │ │ │ │ │ ├── l1_tx_execution.rs │ │ │ │ │ │ ├── l2_blocks.rs │ │ │ │ │ │ ├── mock_evm.rs │ │ │ │ │ │ ├── mod.rs │ │ │ │ │ │ ├── nonce_holder.rs │ │ │ │ │ │ ├── precompiles.rs │ │ │ │ │ │ ├── prestate_tracer.rs │ │ │ │ │ │ ├── refunds.rs │ │ │ │ │ │ ├── require_eip712.rs │ │ │ │ │ │ ├── rollbacks.rs │ │ │ │ │ │ ├── secp256r1.rs │ │ │ │ │ │ ├── simple_execution.rs │ │ │ │ │ │ ├── storage.rs │ │ │ │ │ │ ├── tracing_execution_error.rs │ │ │ │ │ │ ├── transfer.rs │ │ │ │ │ │ └── upgrade.rs │ │ │ │ │ ├── tracers │ │ │ │ │ │ ├── circuits_capacity.rs │ │ │ │ │ │ ├── circuits_tracer.rs │ │ │ │ │ │ ├── default_tracers.rs │ │ │ │ │ │ ├── dispatcher.rs │ │ │ │ │ │ ├── evm_deploy_tracer.rs │ │ │ │ │ │ ├── mod.rs │ │ │ │ │ │ ├── pubdata_tracer.rs │ │ │ │ │ │ ├── refunds.rs │ │ │ │ │ │ ├── result_tracer.rs │ │ │ │ │ │ ├── traits.rs │ │ │ │ │ │ └── utils.rs │ │ │ │ │ ├── types │ │ │ │ │ │ ├── hook.rs │ │ │ │ │ │ ├── mod.rs │ │ │ │ │ │ ├── snapshot.rs │ │ │ │ │ │ ├── transaction_data.rs │ │ │ │ │ │ └── vm_state.rs │ │ │ │ │ ├── utils │ │ │ │ │ │ ├── fee.rs │ │ │ │ │ │ ├── l2_blocks.rs │ │ │ │ │ │ ├── logs.rs │ │ │ │ │ │ ├── mod.rs │ │ │ │ │ │ ├── overhead.rs │ │ │ │ │ │ ├── refund.rs │ │ │ │ │ │ └── transaction_encoding.rs │ │ │ │ │ └── vm.rs │ │ │ │ ├── vm_m5 │ │ │ │ │ ├── bootloader_state.rs │ │ │ │ │ ├── errors │ │ │ │ │ │ ├── bootloader_error.rs │ │ │ │ │ │ ├── mod.rs │ │ │ │ │ │ ├── tx_revert_reason.rs │ │ │ │ │ │ └── vm_revert_reason.rs │ │ │ │ │ ├── event_sink.rs │ │ │ │ │ ├── events.rs │ │ │ │ │ ├── history_recorder.rs │ │ │ │ │ ├── memory.rs │ │ │ │ │ ├── mod.rs │ │ │ │ │ ├── oracle_tools.rs │ │ │ │ │ ├── oracles │ │ │ │ │ │ ├── decommitter.rs │ │ │ │ │ │ ├── mod.rs │ │ │ │ │ │ ├── precompile.rs │ │ │ │ │ │ ├── storage.rs │ │ │ │ │ │ └── tracer.rs │ │ │ │ │ ├── pubdata_utils.rs │ │ │ │ │ ├── refunds.rs │ │ │ │ │ ├── storage.rs │ │ │ │ │ ├── test_utils.rs │ │ │ │ │ ├── transaction_data.rs │ │ │ │ │ ├── utils.rs │ │ │ │ │ ├── vm.rs │ │ │ │ │ ├── vm_instance.rs │ │ │ │ │ └── vm_with_bootloader.rs │ │ │ │ ├── vm_m6 │ │ │ │ │ ├── README.md │ │ │ │ │ ├── bootloader_state.rs │ │ │ │ │ ├── errors │ │ │ │ │ │ ├── bootloader_error.rs │ │ │ │ │ │ ├── mod.rs │ │ │ │ │ │ ├── tx_revert_reason.rs │ │ │ │ │ │ └── vm_revert_reason.rs │ │ │ │ │ ├── event_sink.rs │ │ │ │ │ ├── events.rs │ │ │ │ │ ├── fuzz │ │ │ │ │ │ ├── .gitignore │ │ │ │ │ │ ├── Cargo.toml │ │ │ │ │ │ ├── compare.sh │ │ │ │ │ │ ├── fuzz.sh │ │ │ │ │ │ ├── fuzz_targets │ │ │ │ │ │ │ └── deploy_transaction.rs │ │ │ │ │ │ └── show_cycle.gdb │ │ │ │ │ ├── history_recorder.rs │ │ │ │ │ ├── memory.rs │ │ │ │ │ ├── mod.rs │ │ │ │ │ ├── oracle_tools.rs │ │ │ │ │ ├── oracles │ │ │ │ │ │ ├── decommitter.rs │ │ │ │ │ │ ├── mod.rs │ │ │ │ │ │ ├── precompile.rs │ │ │ │ │ │ ├── storage.rs │ │ │ │ │ │ └── tracer │ │ │ │ │ │ │ ├── bootloader.rs │ │ │ │ │ │ │ ├── call.rs │ │ │ │ │ │ │ ├── mod.rs │ │ │ │ │ │ │ ├── one_tx.rs │ │ │ │ │ │ │ ├── transaction_result.rs │ │ │ │ │ │ │ ├── utils.rs │ │ │ │ │ │ │ └── validation.rs │ │ │ │ │ ├── pubdata_utils.rs │ │ │ │ │ ├── refunds.rs │ │ │ │ │ ├── storage.rs │ │ │ │ │ ├── test_utils.rs │ │ │ │ │ ├── transaction_data.rs │ │ │ │ │ ├── utils.rs │ │ │ │ │ ├── vm.rs │ │ │ │ │ ├── vm_instance.rs │ │ │ │ │ └── vm_with_bootloader.rs │ │ │ │ ├── vm_refunds_enhancement │ │ │ │ │ ├── README.md │ │ │ │ │ ├── bootloader_state │ │ │ │ │ │ ├── l2_block.rs │ │ │ │ │ │ ├── mod.rs │ │ │ │ │ │ ├── snapshot.rs │ │ │ │ │ │ ├── state.rs │ │ │ │ │ │ ├── tx.rs │ │ │ │ │ │ └── utils.rs │ │ │ │ │ ├── constants.rs │ │ │ │ │ ├── implementation │ │ │ │ │ │ ├── bytecode.rs │ │ │ │ │ │ ├── execution.rs │ │ │ │ │ │ ├── gas.rs │ │ │ │ │ │ ├── logs.rs │ │ │ │ │ │ ├── mod.rs │ │ │ │ │ │ ├── snapshots.rs │ │ │ │ │ │ ├── statistics.rs │ │ │ │ │ │ └── tx.rs │ │ │ │ │ ├── mod.rs │ │ │ │ │ ├── old_vm │ │ │ │ │ │ ├── event_sink.rs │ │ │ │ │ │ ├── events.rs │ │ │ │ │ │ ├── history_recorder.rs │ │ │ │ │ │ ├── memory.rs │ │ │ │ │ │ ├── mod.rs │ │ │ │ │ │ ├── oracles │ │ │ │ │ │ │ ├── decommitter.rs │ │ │ │ │ │ │ ├── mod.rs │ │ │ │ │ │ │ ├── precompile.rs │ │ │ │ │ │ │ └── storage.rs │ │ │ │ │ │ └── utils.rs │ │ │ │ │ ├── oracles │ │ │ │ │ │ ├── mod.rs │ │ │ │ │ │ └── storage.rs │ │ │ │ │ ├── tracers │ │ │ │ │ │ ├── default_tracers.rs │ │ │ │ │ │ ├── dispatcher.rs │ │ │ │ │ │ ├── mod.rs │ │ │ │ │ │ ├── refunds.rs │ │ │ │ │ │ ├── result_tracer.rs │ │ │ │ │ │ ├── traits.rs │ │ │ │ │ │ └── utils.rs │ │ │ │ │ ├── types │ │ │ │ │ │ ├── internals │ │ │ │ │ │ │ ├── mod.rs │ │ │ │ │ │ │ ├── snapshot.rs │ │ │ │ │ │ │ ├── transaction_data.rs │ │ │ │ │ │ │ └── vm_state.rs │ │ │ │ │ │ ├── l1_batch.rs │ │ │ │ │ │ └── mod.rs │ │ │ │ │ ├── utils │ │ │ │ │ │ ├── fee.rs │ │ │ │ │ │ ├── l2_blocks.rs │ │ │ │ │ │ ├── logs.rs │ │ │ │ │ │ ├── mod.rs │ │ │ │ │ │ ├── overhead.rs │ │ │ │ │ │ └── transaction_encoding.rs │ │ │ │ │ └── vm.rs │ │ │ │ └── vm_virtual_blocks │ │ │ │ │ ├── README.md │ │ │ │ │ ├── bootloader_state │ │ │ │ │ ├── l2_block.rs │ │ │ │ │ ├── mod.rs │ │ │ │ │ ├── snapshot.rs │ │ │ │ │ ├── state.rs │ │ │ │ │ ├── tx.rs │ │ │ │ │ └── utils.rs │ │ │ │ │ ├── constants.rs │ │ │ │ │ ├── implementation │ │ │ │ │ ├── bytecode.rs │ │ │ │ │ ├── execution.rs │ │ │ │ │ ├── gas.rs │ │ │ │ │ ├── logs.rs │ │ │ │ │ ├── mod.rs │ │ │ │ │ ├── snapshots.rs │ │ │ │ │ ├── statistics.rs │ │ │ │ │ └── tx.rs │ │ │ │ │ ├── mod.rs │ │ │ │ │ ├── old_vm │ │ │ │ │ ├── event_sink.rs │ │ │ │ │ ├── events.rs │ │ │ │ │ ├── history_recorder.rs │ │ │ │ │ ├── memory.rs │ │ │ │ │ ├── mod.rs │ │ │ │ │ ├── oracles │ │ │ │ │ │ ├── decommitter.rs │ │ │ │ │ │ ├── mod.rs │ │ │ │ │ │ ├── precompile.rs │ │ │ │ │ │ └── storage.rs │ │ │ │ │ └── utils.rs │ │ │ │ │ ├── tracers │ │ │ │ │ ├── default_tracers.rs │ │ │ │ │ ├── dispatcher.rs │ │ │ │ │ ├── mod.rs │ │ │ │ │ ├── refunds.rs │ │ │ │ │ ├── result_tracer.rs │ │ │ │ │ ├── traits.rs │ │ │ │ │ └── utils.rs │ │ │ │ │ ├── types │ │ │ │ │ ├── internals │ │ │ │ │ │ ├── mod.rs │ │ │ │ │ │ ├── snapshot.rs │ │ │ │ │ │ ├── transaction_data.rs │ │ │ │ │ │ └── vm_state.rs │ │ │ │ │ ├── l1_batch_env.rs │ │ │ │ │ └── mod.rs │ │ │ │ │ ├── utils │ │ │ │ │ ├── fee.rs │ │ │ │ │ ├── l2_blocks.rs │ │ │ │ │ ├── logs.rs │ │ │ │ │ ├── mod.rs │ │ │ │ │ ├── overhead.rs │ │ │ │ │ └── transaction_encoding.rs │ │ │ │ │ └── vm.rs │ │ │ └── vm_instance.rs │ │ └── tests │ │ │ └── vm_dumps │ │ │ ├── README.md │ │ │ ├── estimate_fee_for_transfer_to_self.json │ │ │ └── validation_adjacent_storage_slots.json │ ├── node_framework │ │ ├── Cargo.toml │ │ ├── README.md │ │ ├── examples │ │ │ └── showcase.rs │ │ ├── src │ │ │ ├── lib.rs │ │ │ ├── metrics.rs │ │ │ ├── resource │ │ │ │ ├── mod.rs │ │ │ │ ├── resource_id.rs │ │ │ │ └── unique.rs │ │ │ ├── service │ │ │ │ ├── context.rs │ │ │ │ ├── context_traits.rs │ │ │ │ ├── error.rs │ │ │ │ ├── mod.rs │ │ │ │ ├── named_future.rs │ │ │ │ ├── runnables.rs │ │ │ │ ├── shutdown_hook.rs │ │ │ │ ├── stop_receiver.rs │ │ │ │ └── tests.rs │ │ │ ├── task │ │ │ │ ├── mod.rs │ │ │ │ └── types.rs │ │ │ └── wiring_layer.rs │ │ └── tests │ │ │ ├── ui.rs │ │ │ └── ui │ │ │ ├── correct │ │ │ ├── 01_from_context.rs │ │ │ └── 02_into_context.rs │ │ │ └── incorrect │ │ │ ├── 01_from_context_task.rs │ │ │ ├── 01_from_context_task.stderr │ │ │ ├── 02_into_context_default_task.rs │ │ │ ├── 02_into_context_default_task.stderr │ │ │ ├── 03_into_context_default_resource.rs │ │ │ ├── 03_into_context_default_resource.stderr │ │ │ ├── 04_field_crate_attr.rs │ │ │ └── 04_field_crate_attr.stderr │ ├── node_framework_derive │ │ ├── Cargo.toml │ │ └── src │ │ │ ├── helpers.rs │ │ │ ├── labels.rs │ │ │ ├── lib.rs │ │ │ └── macro_impl.rs │ ├── object_store │ │ ├── Cargo.toml │ │ ├── README.md │ │ ├── examples │ │ │ ├── config.yaml │ │ │ ├── credentials.example │ │ │ └── object_store.rs │ │ └── src │ │ │ ├── factory.rs │ │ │ ├── file.rs │ │ │ ├── gcs.rs │ │ │ ├── lib.rs │ │ │ ├── metrics.rs │ │ │ ├── mirror.rs │ │ │ ├── mock.rs │ │ │ ├── node.rs │ │ │ ├── objects.rs │ │ │ ├── raw.rs │ │ │ ├── retries.rs │ │ │ └── s3.rs │ ├── prover_interface │ │ ├── Cargo.toml │ │ ├── src │ │ │ ├── api.rs │ │ │ ├── inputs.rs │ │ │ ├── legacy.rs │ │ │ ├── lib.rs │ │ │ └── outputs.rs │ │ └── tests │ │ │ ├── job_serialization.rs │ │ │ ├── l1_batch_proof_1_0_24_0.bin │ │ │ ├── l1_batch_proof_1_0_27_0.cbor │ │ │ └── snapshots │ │ │ └── prepare-basic-circuits-job-full.bin │ ├── queued_job_processor │ │ ├── Cargo.toml │ │ └── src │ │ │ └── lib.rs │ ├── shared_resources │ │ ├── Cargo.toml │ │ ├── README.md │ │ └── src │ │ │ ├── api │ │ │ ├── mod.rs │ │ │ └── sync_state.rs │ │ │ ├── config.rs │ │ │ ├── contracts.rs │ │ │ ├── lib.rs │ │ │ └── tree.rs │ ├── snapshots_applier │ │ ├── Cargo.toml │ │ ├── README.md │ │ └── src │ │ │ ├── lib.rs │ │ │ ├── metrics.rs │ │ │ └── tests │ │ │ ├── mod.rs │ │ │ └── utils.rs │ ├── state │ │ ├── Cargo.toml │ │ ├── README.md │ │ └── src │ │ │ ├── cache │ │ │ ├── lru_cache.rs │ │ │ ├── metrics.rs │ │ │ ├── mod.rs │ │ │ └── sequential_cache.rs │ │ │ ├── catchup.rs │ │ │ ├── lib.rs │ │ │ ├── postgres │ │ │ ├── metrics.rs │ │ │ ├── mod.rs │ │ │ └── tests.rs │ │ │ ├── rocksdb │ │ │ ├── metrics.rs │ │ │ ├── mod.rs │ │ │ ├── recovery.rs │ │ │ └── tests.rs │ │ │ ├── shadow_storage.rs │ │ │ ├── storage_factory │ │ │ ├── metrics.rs │ │ │ ├── mod.rs │ │ │ ├── rocksdb_with_memory.rs │ │ │ └── snapshot.rs │ │ │ └── test_utils.rs │ ├── storage │ │ ├── Cargo.toml │ │ ├── README.md │ │ └── src │ │ │ ├── db.rs │ │ │ ├── lib.rs │ │ │ └── metrics.rs │ ├── task_management │ │ ├── Cargo.toml │ │ └── src │ │ │ └── lib.rs │ ├── tee_prover_interface │ │ ├── Cargo.toml │ │ ├── src │ │ │ ├── api.rs │ │ │ ├── inputs.rs │ │ │ ├── lib.rs │ │ │ └── outputs.rs │ │ └── tests │ │ │ └── job_serialization.rs │ ├── tee_verifier │ │ ├── Cargo.toml │ │ └── src │ │ │ └── lib.rs │ ├── test_contracts │ │ ├── Cargo.toml │ │ ├── README.md │ │ ├── build.rs │ │ ├── contract-libs │ │ │ ├── l1-contracts │ │ │ ├── openzeppelin-contracts-upgradeable-v4 │ │ │ └── openzeppelin-contracts-v4 │ │ ├── contracts │ │ │ ├── bridge-test │ │ │ │ ├── LegacySharedBridgeTest.sol │ │ │ │ ├── SystemContractsHelper.sol │ │ │ │ └── v25 │ │ │ │ │ ├── L2SharedBridgeV25.sol │ │ │ │ │ └── L2StandardERC20V25.sol │ │ │ ├── complex-upgrade │ │ │ │ ├── complex-upgrade.sol │ │ │ │ └── msg-sender.sol │ │ │ ├── context │ │ │ │ └── context.sol │ │ │ ├── counter │ │ │ │ ├── counter.sol │ │ │ │ └── proxy_counter.sol │ │ │ ├── custom-account │ │ │ │ ├── Constants.sol │ │ │ │ ├── RLPEncoder.sol │ │ │ │ ├── SystemContext.sol │ │ │ │ ├── SystemContractsCaller.sol │ │ │ │ ├── TransactionHelper.sol │ │ │ │ ├── Utils.sol │ │ │ │ ├── custom-account.sol │ │ │ │ ├── custom-paymaster.sol │ │ │ │ ├── interfaces │ │ │ │ │ ├── IAccount.sol │ │ │ │ │ ├── IContractDeployer.sol │ │ │ │ │ ├── INonceHolder.sol │ │ │ │ │ ├── IPaymaster.sol │ │ │ │ │ └── IPaymasterFlow.sol │ │ │ │ ├── many-owners-custom-account.sol │ │ │ │ ├── nonce-holder-test.sol │ │ │ │ ├── permissive.sol │ │ │ │ └── validation-rule-breaker.sol │ │ │ ├── error │ │ │ │ └── error.sol │ │ │ ├── expensive │ │ │ │ └── expensive.sol │ │ │ ├── failed-call │ │ │ │ └── failed_call.sol │ │ │ ├── infinite │ │ │ │ └── infinite.sol │ │ │ ├── loadnext │ │ │ │ ├── README.md │ │ │ │ ├── loadnext_contract.sol │ │ │ │ ├── query_event_metrics.sql │ │ │ │ ├── query_execution_info_metrics.sql │ │ │ │ ├── query_max_transactions_in_window.sql │ │ │ │ ├── query_read_metrics_basic.sql │ │ │ │ └── query_write_metrics.sql │ │ │ ├── mock-evm │ │ │ │ ├── evm.sol │ │ │ │ └── mock-evm.sol │ │ │ ├── precompiles │ │ │ │ └── precompiles.sol │ │ │ ├── simple-transfer │ │ │ │ └── simple-transfer.sol │ │ │ ├── storage │ │ │ │ └── storage.sol │ │ │ └── transfer │ │ │ │ ├── ERC20.sol │ │ │ │ └── transfer.sol │ │ ├── evm-contracts │ │ │ └── evm.sol │ │ └── src │ │ │ ├── contracts.rs │ │ │ └── lib.rs │ ├── types │ │ ├── Cargo.toml │ │ ├── build.rs │ │ ├── rustfmt.toml │ │ └── src │ │ │ ├── abi.rs │ │ │ ├── aggregated_operations.rs │ │ │ ├── api │ │ │ ├── en.rs │ │ │ ├── mod.rs │ │ │ └── state_override.rs │ │ │ ├── base_token_ratio.rs │ │ │ ├── blob.rs │ │ │ ├── block.rs │ │ │ ├── commitment │ │ │ ├── mod.rs │ │ │ └── tests │ │ │ │ ├── mod.rs │ │ │ │ ├── post_boojum_1_4_1_test.json │ │ │ │ ├── post_boojum_1_4_2_test.json │ │ │ │ ├── post_boojum_1_5_0_test.json │ │ │ │ ├── post_boojum_1_5_0_test_with_evm.json │ │ │ │ ├── post_gateway_test.json │ │ │ │ └── pre_boojum_test.json │ │ │ ├── contract_verification │ │ │ ├── api.rs │ │ │ ├── contract_identifier.rs │ │ │ ├── etherscan.rs │ │ │ └── mod.rs │ │ │ ├── debug_flat_call.rs │ │ │ ├── eth_sender.rs │ │ │ ├── fee.rs │ │ │ ├── fee_model.rs │ │ │ ├── helpers.rs │ │ │ ├── l1 │ │ │ ├── error.rs │ │ │ └── mod.rs │ │ │ ├── l2 │ │ │ ├── error.rs │ │ │ └── mod.rs │ │ │ ├── l2_to_l1_log.rs │ │ │ ├── lib.rs │ │ │ ├── priority_op_onchain_data.rs │ │ │ ├── proto │ │ │ ├── mod.proto │ │ │ └── mod.rs │ │ │ ├── protocol_upgrade.rs │ │ │ ├── server_notification.rs │ │ │ ├── snapshots.rs │ │ │ ├── storage │ │ │ ├── log.rs │ │ │ ├── mod.rs │ │ │ ├── witness_block_state.rs │ │ │ └── writes │ │ │ │ ├── compression.rs │ │ │ │ └── mod.rs │ │ │ ├── system_contracts.rs │ │ │ ├── tokens.rs │ │ │ ├── transaction_request.rs │ │ │ ├── tx │ │ │ ├── execute.rs │ │ │ └── mod.rs │ │ │ ├── utils.rs │ │ │ └── zk_evm_types.rs │ ├── utils │ │ ├── Cargo.toml │ │ └── src │ │ │ ├── env.rs │ │ │ ├── lib.rs │ │ │ └── panic_extractor.rs │ ├── vlog │ │ ├── Cargo.toml │ │ └── src │ │ │ ├── lib.rs │ │ │ ├── logs │ │ │ ├── layer.rs │ │ │ └── mod.rs │ │ │ ├── node │ │ │ ├── mod.rs │ │ │ ├── prometheus_exporter.rs │ │ │ └── sigint.rs │ │ │ ├── opentelemetry │ │ │ └── mod.rs │ │ │ ├── prometheus.rs │ │ │ └── sentry.rs │ ├── vm_executor │ │ ├── Cargo.toml │ │ └── src │ │ │ ├── batch │ │ │ ├── executor.rs │ │ │ ├── factory.rs │ │ │ ├── metrics.rs │ │ │ └── mod.rs │ │ │ ├── lib.rs │ │ │ ├── node.rs │ │ │ ├── oneshot │ │ │ ├── block.rs │ │ │ ├── contracts.rs │ │ │ ├── env.rs │ │ │ ├── metrics.rs │ │ │ ├── mock.rs │ │ │ ├── mod.rs │ │ │ └── tests.rs │ │ │ ├── shared.rs │ │ │ ├── storage.rs │ │ │ ├── testonly.rs │ │ │ └── whitelist.rs │ ├── vm_interface │ │ ├── Cargo.toml │ │ ├── README.md │ │ └── src │ │ │ ├── executor.rs │ │ │ ├── lib.rs │ │ │ ├── pubdata │ │ │ └── mod.rs │ │ │ ├── storage │ │ │ ├── in_memory.rs │ │ │ ├── mod.rs │ │ │ ├── overrides.rs │ │ │ ├── snapshot.rs │ │ │ └── view.rs │ │ │ ├── types │ │ │ ├── errors │ │ │ │ ├── bootloader_error.rs │ │ │ │ ├── bytecode_compression.rs │ │ │ │ ├── halt.rs │ │ │ │ ├── mod.rs │ │ │ │ ├── tx_revert_reason.rs │ │ │ │ └── vm_revert_reason.rs │ │ │ ├── inputs │ │ │ │ ├── execution_mode.rs │ │ │ │ ├── l1_batch_env.rs │ │ │ │ ├── l2_block.rs │ │ │ │ ├── mod.rs │ │ │ │ └── system_env.rs │ │ │ ├── mod.rs │ │ │ ├── outputs │ │ │ │ ├── bytecode.rs │ │ │ │ ├── execution_result.rs │ │ │ │ ├── execution_state.rs │ │ │ │ ├── finished_l1batch.rs │ │ │ │ ├── l2_block.rs │ │ │ │ ├── mod.rs │ │ │ │ └── statistic.rs │ │ │ └── tracer.rs │ │ │ ├── utils │ │ │ ├── dump.rs │ │ │ ├── mod.rs │ │ │ └── shadow.rs │ │ │ └── vm.rs │ ├── web3_decl │ │ ├── Cargo.toml │ │ └── src │ │ │ ├── client │ │ │ ├── boxed.rs │ │ │ ├── metrics.rs │ │ │ ├── mock.rs │ │ │ ├── mod.rs │ │ │ ├── network.rs │ │ │ ├── rustls.rs │ │ │ ├── shared.rs │ │ │ └── tests.rs │ │ │ ├── error.rs │ │ │ ├── lib.rs │ │ │ ├── namespaces │ │ │ ├── debug.rs │ │ │ ├── en.rs │ │ │ ├── eth.rs │ │ │ ├── mod.rs │ │ │ ├── net.rs │ │ │ ├── snapshots.rs │ │ │ ├── unstable.rs │ │ │ ├── web3.rs │ │ │ └── zks.rs │ │ │ ├── node │ │ │ ├── main_node_client.rs │ │ │ ├── mod.rs │ │ │ ├── query_eth_client.rs │ │ │ └── resources.rs │ │ │ └── types.rs │ └── zk_os_merkle_tree │ │ ├── Cargo.toml │ │ ├── README.md │ │ ├── examples │ │ └── loadtest_zk_os_merkle_tree.rs │ │ └── src │ │ ├── consistency.rs │ │ ├── errors.rs │ │ ├── hasher │ │ ├── mod.rs │ │ ├── nodes.rs │ │ └── proofs.rs │ │ ├── lib.rs │ │ ├── metrics.rs │ │ ├── reader.rs │ │ ├── storage │ │ ├── mod.rs │ │ ├── patch.rs │ │ ├── rocksdb.rs │ │ ├── serialization.rs │ │ └── tests.rs │ │ ├── tests │ │ ├── consistency.rs │ │ ├── mod.rs │ │ ├── prop.rs │ │ └── snapshots │ │ │ ├── zk_os_merkle_tree__tests__rocksdb__empty-snapshot.snap │ │ │ └── zk_os_merkle_tree__tests__rocksdb__incremental-snapshot.snap │ │ └── types │ │ └── mod.rs ├── node │ ├── api_server │ │ ├── Cargo.toml │ │ ├── README.md │ │ └── src │ │ │ ├── execution_sandbox │ │ │ ├── error.rs │ │ │ ├── execute.rs │ │ │ ├── mod.rs │ │ │ ├── storage.rs │ │ │ ├── testonly.rs │ │ │ ├── tests.rs │ │ │ ├── validate.rs │ │ │ └── vm_metrics.rs │ │ │ ├── healthcheck.rs │ │ │ ├── lib.rs │ │ │ ├── node │ │ │ ├── allow_list.rs │ │ │ ├── caches.rs │ │ │ ├── healtcheck_server.rs │ │ │ ├── mod.rs │ │ │ ├── resources.rs │ │ │ ├── server │ │ │ │ ├── mod.rs │ │ │ │ └── sealed_l2_block.rs │ │ │ ├── tx_sender.rs │ │ │ └── tx_sink │ │ │ │ ├── master_pool_sink.rs │ │ │ │ ├── mod.rs │ │ │ │ ├── proxy_sink.rs │ │ │ │ └── whitelist.rs │ │ │ ├── testonly.rs │ │ │ ├── tx_sender │ │ │ ├── gas_estimation.rs │ │ │ ├── master_pool_sink.rs │ │ │ ├── mod.rs │ │ │ ├── proxy.rs │ │ │ ├── result.rs │ │ │ ├── tests │ │ │ │ ├── call.rs │ │ │ │ ├── gas_estimation.rs │ │ │ │ ├── mod.rs │ │ │ │ └── send_tx.rs │ │ │ ├── tx_sink.rs │ │ │ └── whitelist.rs │ │ │ ├── utils.rs │ │ │ └── web3 │ │ │ ├── backend_jsonrpsee │ │ │ ├── metadata.rs │ │ │ ├── middleware.rs │ │ │ ├── mod.rs │ │ │ ├── namespaces │ │ │ │ ├── debug.rs │ │ │ │ ├── en.rs │ │ │ │ ├── eth.rs │ │ │ │ ├── mod.rs │ │ │ │ ├── net.rs │ │ │ │ ├── snapshots.rs │ │ │ │ ├── unstable.rs │ │ │ │ ├── web3.rs │ │ │ │ └── zks.rs │ │ │ └── testonly.rs │ │ │ ├── mempool_cache.rs │ │ │ ├── metrics.rs │ │ │ ├── mod.rs │ │ │ ├── namespaces │ │ │ ├── debug.rs │ │ │ ├── en.rs │ │ │ ├── eth.rs │ │ │ ├── mod.rs │ │ │ ├── net.rs │ │ │ ├── snapshots.rs │ │ │ ├── unstable │ │ │ │ ├── mod.rs │ │ │ │ └── utils.rs │ │ │ ├── web3.rs │ │ │ └── zks.rs │ │ │ ├── pubsub.rs │ │ │ ├── receipts.rs │ │ │ ├── state.rs │ │ │ ├── testonly.rs │ │ │ └── tests │ │ │ ├── debug.rs │ │ │ ├── filters.rs │ │ │ ├── mod.rs │ │ │ ├── snapshots.rs │ │ │ ├── unstable.rs │ │ │ ├── vm.rs │ │ │ └── ws.rs │ ├── base_token_adjuster │ │ ├── Cargo.toml │ │ ├── README.md │ │ └── src │ │ │ ├── base_token_l1_behaviour.rs │ │ │ ├── base_token_ratio_persister.rs │ │ │ ├── base_token_ratio_provider.rs │ │ │ ├── lib.rs │ │ │ ├── metrics.rs │ │ │ └── node │ │ │ ├── base_token_ratio_persister.rs │ │ │ ├── base_token_ratio_provider.rs │ │ │ ├── mod.rs │ │ │ └── price_api_client.rs │ ├── block_reverter │ │ ├── Cargo.toml │ │ ├── README.md │ │ └── src │ │ │ ├── lib.rs │ │ │ ├── node │ │ │ ├── block_reverter.rs │ │ │ ├── mod.rs │ │ │ ├── resources.rs │ │ │ └── unconditional_revert.rs │ │ │ └── tests.rs │ ├── commitment_generator │ │ ├── Cargo.toml │ │ ├── README.md │ │ └── src │ │ │ ├── lib.rs │ │ │ ├── metrics.rs │ │ │ ├── node │ │ │ ├── commitment_generator.rs │ │ │ ├── l1_batch_commitment_mode_validation.rs │ │ │ └── mod.rs │ │ │ ├── tests │ │ │ ├── mod.rs │ │ │ └── test_vectors │ │ │ │ ├── event_with_1_topic_and_long_value.json │ │ │ │ ├── event_with_2_topics.json │ │ │ │ ├── event_with_3_topics.json │ │ │ │ ├── event_with_4_topics.json │ │ │ │ └── event_with_value_len_1.json │ │ │ ├── utils.rs │ │ │ └── validation_task.rs │ ├── consensus │ │ ├── Cargo.toml │ │ ├── README.md │ │ └── src │ │ │ ├── abi.rs │ │ │ ├── config.rs │ │ │ ├── en.rs │ │ │ ├── lib.rs │ │ │ ├── metrics.rs │ │ │ ├── mn.rs │ │ │ ├── node │ │ │ ├── external_node.rs │ │ │ ├── main_node.rs │ │ │ └── mod.rs │ │ │ ├── registry │ │ │ ├── abi.rs │ │ │ ├── mod.rs │ │ │ ├── testonly.rs │ │ │ └── tests.rs │ │ │ ├── storage │ │ │ ├── connection.rs │ │ │ ├── mod.rs │ │ │ ├── store.rs │ │ │ └── testonly.rs │ │ │ ├── testonly.rs │ │ │ ├── tests │ │ │ └── mod.rs │ │ │ └── vm.rs │ ├── consistency_checker │ │ ├── Cargo.toml │ │ ├── README.md │ │ └── src │ │ │ ├── lib.rs │ │ │ ├── node.rs │ │ │ └── tests │ │ │ ├── commit_l1_batch_200000_testnet_goerli.calldata │ │ │ ├── commit_l1_batch_351000-351004_mainnet.calldata │ │ │ ├── commit_l1_batch_4470_testnet_sepolia.calldata │ │ │ └── mod.rs │ ├── contract_verification_server │ │ ├── Cargo.toml │ │ ├── README.md │ │ └── src │ │ │ ├── api_decl.rs │ │ │ ├── api_impl.rs │ │ │ ├── cache.rs │ │ │ ├── lib.rs │ │ │ ├── metrics.rs │ │ │ ├── node.rs │ │ │ └── tests │ │ │ ├── mod.rs │ │ │ └── utils.rs │ ├── da_clients │ │ ├── Cargo.toml │ │ ├── README.md │ │ └── src │ │ │ ├── avail │ │ │ ├── client.rs │ │ │ ├── mod.rs │ │ │ └── sdk.rs │ │ │ ├── celestia │ │ │ ├── README.md │ │ │ ├── client.rs │ │ │ ├── generated │ │ │ │ ├── celestia.blob.v1.rs │ │ │ │ ├── cosmos.auth.v1beta1.rs │ │ │ │ ├── cosmos.bank.v1beta1.rs │ │ │ │ ├── cosmos.base.abci.v1beta1.rs │ │ │ │ ├── cosmos.base.node.v1beta1.rs │ │ │ │ ├── cosmos.base.query.v1beta1.rs │ │ │ │ ├── cosmos.base.v1beta1.rs │ │ │ │ ├── cosmos.crypto.multisig.v1beta1.rs │ │ │ │ ├── cosmos.crypto.secp256k1.rs │ │ │ │ ├── cosmos.tx.signing.v1beta1.rs │ │ │ │ ├── cosmos.tx.v1beta1.rs │ │ │ │ ├── tendermint.abci.rs │ │ │ │ └── tendermint.types.rs │ │ │ ├── mod.rs │ │ │ └── sdk.rs │ │ │ ├── eigen │ │ │ ├── EIGENDAV2_MIGRATION.md │ │ │ ├── README.md │ │ │ ├── client.rs │ │ │ └── mod.rs │ │ │ ├── lib.rs │ │ │ ├── no_da.rs │ │ │ ├── node │ │ │ ├── avail.rs │ │ │ ├── celestia.rs │ │ │ ├── eigen.rs │ │ │ ├── mod.rs │ │ │ ├── no_da.rs │ │ │ └── object_store.rs │ │ │ ├── object_store.rs │ │ │ ├── test_data │ │ │ └── l1_batch_123_pubdata.gzip │ │ │ └── utils.rs │ ├── da_dispatcher │ │ ├── Cargo.toml │ │ ├── README.md │ │ └── src │ │ │ ├── da_dispatcher.rs │ │ │ ├── lib.rs │ │ │ ├── metrics.rs │ │ │ └── node.rs │ ├── db_pruner │ │ ├── Cargo.toml │ │ ├── README.md │ │ └── src │ │ │ ├── lib.rs │ │ │ ├── metrics.rs │ │ │ ├── node.rs │ │ │ ├── prune_conditions.rs │ │ │ └── tests.rs │ ├── eth_sender │ │ ├── Cargo.toml │ │ └── src │ │ │ ├── abstract_l1_interface.rs │ │ │ ├── aggregated_operations.rs │ │ │ ├── aggregator.rs │ │ │ ├── error.rs │ │ │ ├── eth_fees_oracle.rs │ │ │ ├── eth_tx_aggregator.rs │ │ │ ├── eth_tx_manager.rs │ │ │ ├── health.rs │ │ │ ├── lib.rs │ │ │ ├── metrics.rs │ │ │ ├── node │ │ │ ├── aggregator.rs │ │ │ ├── manager.rs │ │ │ └── mod.rs │ │ │ ├── publish_criterion.rs │ │ │ ├── tester.rs │ │ │ ├── tests.rs │ │ │ └── zksync_functions.rs │ ├── eth_watch │ │ ├── Cargo.toml │ │ ├── README.md │ │ └── src │ │ │ ├── client.rs │ │ │ ├── event_processors │ │ │ ├── appended_chain_batch_root.rs │ │ │ ├── decentralized_upgrades.rs │ │ │ ├── gateway_migration.rs │ │ │ ├── mod.rs │ │ │ └── priority_ops.rs │ │ │ ├── lib.rs │ │ │ ├── metrics.rs │ │ │ ├── node.rs │ │ │ └── tests │ │ │ ├── client.rs │ │ │ └── mod.rs │ ├── external_proof_integration_api │ │ ├── Cargo.toml │ │ └── src │ │ │ ├── error.rs │ │ │ ├── lib.rs │ │ │ ├── metrics.rs │ │ │ ├── middleware.rs │ │ │ ├── node.rs │ │ │ └── types.rs │ ├── fee_model │ │ ├── Cargo.toml │ │ ├── README.md │ │ └── src │ │ │ ├── l1_gas_price │ │ │ ├── gas_adjuster │ │ │ │ ├── metrics.rs │ │ │ │ ├── mod.rs │ │ │ │ └── tests.rs │ │ │ ├── main_node_fetcher.rs │ │ │ ├── mod.rs │ │ │ └── singleton.rs │ │ │ ├── lib.rs │ │ │ └── node │ │ │ ├── gas_adjuster.rs │ │ │ ├── l1_gas.rs │ │ │ ├── main_node_fee_params_fetcher.rs │ │ │ ├── mod.rs │ │ │ └── resources.rs │ ├── gateway_migrator │ │ ├── Cargo.toml │ │ └── src │ │ │ ├── gateway_urls.rs │ │ │ ├── lib.rs │ │ │ └── node │ │ │ ├── gateway_migrator_layer.rs │ │ │ ├── mod.rs │ │ │ └── settlement_layer_data.rs │ ├── genesis │ │ ├── Cargo.toml │ │ ├── README.md │ │ └── src │ │ │ ├── lib.rs │ │ │ ├── tests.rs │ │ │ └── utils.rs │ ├── house_keeper │ │ ├── Cargo.toml │ │ ├── README.md │ │ └── src │ │ │ ├── blocks_state_reporter.rs │ │ │ ├── lib.rs │ │ │ ├── metrics.rs │ │ │ ├── node.rs │ │ │ └── periodic_job.rs │ ├── jemalloc │ │ ├── Cargo.toml │ │ ├── README.md │ │ └── src │ │ │ ├── json.rs │ │ │ ├── lib.rs │ │ │ ├── metrics.rs │ │ │ └── node.rs │ ├── logs_bloom_backfill │ │ ├── Cargo.toml │ │ └── src │ │ │ ├── lib.rs │ │ │ └── node.rs │ ├── metadata_calculator │ │ ├── Cargo.toml │ │ ├── README.md │ │ └── src │ │ │ ├── api_server │ │ │ ├── metrics.rs │ │ │ ├── mod.rs │ │ │ └── tests.rs │ │ │ ├── helpers.rs │ │ │ ├── lib.rs │ │ │ ├── metrics.rs │ │ │ ├── node │ │ │ ├── calculator.rs │ │ │ ├── mod.rs │ │ │ ├── tree_api_client.rs │ │ │ └── tree_api_server.rs │ │ │ ├── pruning.rs │ │ │ ├── recovery │ │ │ ├── mod.rs │ │ │ └── tests.rs │ │ │ ├── repair.rs │ │ │ ├── tests.rs │ │ │ └── updater.rs │ ├── node_storage_init │ │ ├── Cargo.toml │ │ ├── README.md │ │ └── src │ │ │ ├── external_node │ │ │ ├── genesis.rs │ │ │ ├── mod.rs │ │ │ ├── revert.rs │ │ │ └── snapshot_recovery.rs │ │ │ ├── lib.rs │ │ │ ├── main_node │ │ │ ├── genesis.rs │ │ │ └── mod.rs │ │ │ ├── node │ │ │ ├── external_node_strategy.rs │ │ │ ├── main_node_strategy.rs │ │ │ └── mod.rs │ │ │ └── traits.rs │ ├── node_sync │ │ ├── Cargo.toml │ │ ├── README.md │ │ └── src │ │ │ ├── batch_status_updater │ │ │ ├── mod.rs │ │ │ └── tests.rs │ │ │ ├── batch_transaction_updater │ │ │ ├── l1_transaction_verifier.rs │ │ │ ├── mod.rs │ │ │ └── tests.rs │ │ │ ├── client.rs │ │ │ ├── data_availability_fetcher │ │ │ └── mod.rs │ │ │ ├── external_io.rs │ │ │ ├── fetcher.rs │ │ │ ├── genesis.rs │ │ │ ├── lib.rs │ │ │ ├── metrics.rs │ │ │ ├── node │ │ │ ├── batch_status_updater.rs │ │ │ ├── batch_transaction_updater.rs │ │ │ ├── data_availability_fetcher.rs │ │ │ ├── external_io.rs │ │ │ ├── mod.rs │ │ │ ├── resources.rs │ │ │ ├── sync_state_updater.rs │ │ │ ├── tree_data_fetcher.rs │ │ │ └── validate_chain_ids.rs │ │ │ ├── sync_action.rs │ │ │ ├── testonly.rs │ │ │ ├── tests.rs │ │ │ ├── tree_data_fetcher │ │ │ ├── metrics.rs │ │ │ ├── mod.rs │ │ │ ├── provider │ │ │ │ ├── mod.rs │ │ │ │ └── tests.rs │ │ │ └── tests.rs │ │ │ └── validate_chain_ids_task.rs │ ├── proof_data_handler │ │ ├── Cargo.toml │ │ ├── README.md │ │ └── src │ │ │ ├── client │ │ │ ├── http_client.rs │ │ │ ├── mod.rs │ │ │ ├── proof_fetcher.rs │ │ │ └── proof_gen_data_submitter.rs │ │ │ ├── errors.rs │ │ │ ├── lib.rs │ │ │ ├── metrics.rs │ │ │ ├── node.rs │ │ │ └── processor.rs │ ├── reorg_detector │ │ ├── Cargo.toml │ │ ├── README.md │ │ └── src │ │ │ ├── lib.rs │ │ │ ├── node.rs │ │ │ └── tests.rs │ ├── shared_metrics │ │ ├── Cargo.toml │ │ ├── README.md │ │ ├── build.rs │ │ └── src │ │ │ ├── lib.rs │ │ │ ├── metadata.rs │ │ │ └── tree.rs │ ├── state_keeper │ │ ├── Cargo.toml │ │ ├── README.md │ │ └── src │ │ │ ├── executor │ │ │ ├── mod.rs │ │ │ └── tests │ │ │ │ ├── mod.rs │ │ │ │ ├── read_storage_factory.rs │ │ │ │ └── tester.rs │ │ │ ├── health.rs │ │ │ ├── io │ │ │ ├── common │ │ │ │ ├── mod.rs │ │ │ │ └── tests.rs │ │ │ ├── mempool.rs │ │ │ ├── mod.rs │ │ │ ├── output_handler.rs │ │ │ ├── persistence.rs │ │ │ ├── seal_logic │ │ │ │ ├── l2_block_seal_subtasks.rs │ │ │ │ └── mod.rs │ │ │ └── tests │ │ │ │ ├── mod.rs │ │ │ │ └── tester.rs │ │ │ ├── keeper.rs │ │ │ ├── lib.rs │ │ │ ├── mempool_actor.rs │ │ │ ├── mempool_guard.rs │ │ │ ├── metrics.rs │ │ │ ├── node │ │ │ ├── main_batch_executor.rs │ │ │ ├── mempool_io.rs │ │ │ ├── mod.rs │ │ │ ├── output_handler.rs │ │ │ ├── resources.rs │ │ │ └── state_keeper.rs │ │ │ ├── seal_criteria │ │ │ ├── conditional_sealer.rs │ │ │ ├── criteria │ │ │ │ ├── gas_for_batch_tip.rs │ │ │ │ ├── geometry_seal_criteria.rs │ │ │ │ ├── l1_l2_txs.rs │ │ │ │ ├── l2_l1_logs.rs │ │ │ │ ├── mod.rs │ │ │ │ ├── pubdata_bytes.rs │ │ │ │ ├── slots.rs │ │ │ │ └── tx_encoding_size.rs │ │ │ ├── io_criteria.rs │ │ │ └── mod.rs │ │ │ ├── state_keeper_storage.rs │ │ │ ├── testonly │ │ │ ├── mod.rs │ │ │ └── test_batch_executor.rs │ │ │ ├── tests │ │ │ └── mod.rs │ │ │ ├── updates │ │ │ ├── committed_updates.rs │ │ │ ├── l2_block_updates.rs │ │ │ └── mod.rs │ │ │ └── utils.rs │ ├── tee_proof_data_handler │ │ ├── Cargo.toml │ │ ├── README.md │ │ └── src │ │ │ ├── errors.rs │ │ │ ├── lib.rs │ │ │ ├── metrics.rs │ │ │ ├── node.rs │ │ │ ├── tee_request_processor.rs │ │ │ └── tests.rs │ ├── test_utils │ │ ├── Cargo.toml │ │ ├── README.md │ │ └── src │ │ │ └── lib.rs │ ├── vm_runner │ │ ├── Cargo.toml │ │ └── src │ │ │ ├── impls │ │ │ ├── bwip.rs │ │ │ ├── mod.rs │ │ │ ├── playground.rs │ │ │ └── protective_reads.rs │ │ │ ├── io.rs │ │ │ ├── lib.rs │ │ │ ├── metrics.rs │ │ │ ├── node │ │ │ ├── bwip.rs │ │ │ ├── mod.rs │ │ │ ├── playground.rs │ │ │ └── protective_reads.rs │ │ │ ├── output_handler.rs │ │ │ ├── process.rs │ │ │ ├── storage.rs │ │ │ └── tests │ │ │ ├── mod.rs │ │ │ ├── output_handler.rs │ │ │ ├── playground.rs │ │ │ ├── process.rs │ │ │ ├── storage.rs │ │ │ └── storage_writer.rs │ └── zk_os_tree_manager │ │ ├── Cargo.toml │ │ ├── README.md │ │ └── src │ │ ├── api │ │ ├── client.rs │ │ ├── metrics.rs │ │ ├── mod.rs │ │ └── tests.rs │ │ ├── batch.rs │ │ ├── health.rs │ │ ├── helpers.rs │ │ ├── lib.rs │ │ ├── tests.rs │ │ └── updater.rs └── tests │ ├── gateway-migration-test │ ├── package.json │ ├── tests │ │ ├── migration.test.ts │ │ └── tester.ts │ └── tsconfig.json │ ├── highlevel-test-tools │ ├── global-setup.ts │ ├── package.json │ ├── src │ │ ├── chain-types.ts │ │ ├── create-chain.ts │ │ ├── execute-command.ts │ │ ├── file-mutex.ts │ │ ├── gateway.ts │ │ ├── generate-load.ts │ │ ├── index.ts │ │ ├── logs.ts │ │ ├── rpc-utils.ts │ │ ├── run-integration-tests.ts │ │ ├── start-external-node.ts │ │ ├── start-server.ts │ │ ├── step.ts │ │ ├── wait-for-batches.ts │ │ ├── wallets.ts │ │ └── zksync-home.ts │ ├── tests │ │ ├── en-integration-test.test.ts │ │ ├── fees-test.test.ts │ │ ├── genesis-recovery-test.test.ts │ │ ├── main-node-integration-test.test.ts │ │ ├── revert-test.test.ts │ │ ├── revert-tester.ts │ │ ├── revert-utils.ts │ │ └── snapshots-recovery-test.test.ts │ ├── tsconfig.json │ └── vitest.config.ts │ ├── loadnext │ ├── Cargo.toml │ ├── README.md │ └── src │ │ ├── account │ │ ├── api_request_executor.rs │ │ ├── mod.rs │ │ ├── pubsub_executor.rs │ │ └── tx_command_executor.rs │ │ ├── account_pool.rs │ │ ├── all.rs │ │ ├── command │ │ ├── api.rs │ │ ├── mod.rs │ │ ├── pubsub.rs │ │ └── tx_command.rs │ │ ├── config.rs │ │ ├── constants.rs │ │ ├── corrupted_tx.rs │ │ ├── executor.rs │ │ ├── fs_utils.rs │ │ ├── lib.rs │ │ ├── main.rs │ │ ├── metrics.rs │ │ ├── report.rs │ │ ├── report_collector │ │ ├── metrics_collector.rs │ │ ├── mod.rs │ │ └── operation_results_collector.rs │ │ ├── rng.rs │ │ ├── sdk │ │ ├── abi │ │ │ ├── IBridgehub.json │ │ │ ├── IERC20.json │ │ │ ├── IL1Bridge.json │ │ │ ├── IL1ERC20Bridge.json │ │ │ ├── IL1SharedBridge.json │ │ │ ├── IPaymasterFlow.json │ │ │ ├── IStateTransitionManager.json │ │ │ ├── IZkSync.json │ │ │ ├── IZkSyncHyperchain.json │ │ │ └── update-abi.sh │ │ ├── error.rs │ │ ├── ethereum │ │ │ ├── DepositERC20GasLimit.json │ │ │ └── mod.rs │ │ ├── mod.rs │ │ ├── operations │ │ │ ├── deploy_contract.rs │ │ │ ├── execute_contract.rs │ │ │ ├── mod.rs │ │ │ ├── transfer.rs │ │ │ └── withdraw.rs │ │ ├── signer.rs │ │ ├── utils.rs │ │ └── wallet.rs │ │ └── utils.rs │ ├── recovery-test │ ├── README.md │ ├── package.json │ ├── src │ │ ├── index.ts │ │ └── utils.ts │ ├── tests │ │ ├── genesis-recovery.test.ts │ │ ├── snapshot-recovery.test.ts │ │ └── utils.ts │ └── tsconfig.json │ ├── ts-integration │ ├── .gitignore │ ├── README.md │ ├── contracts │ │ ├── README.md │ │ ├── basic-constructor │ │ │ └── basic-constructor.sol │ │ ├── context │ │ │ └── context.sol │ │ ├── counter │ │ │ ├── counter.sol │ │ │ └── zkVM_bytecode.txt │ │ ├── create │ │ │ ├── Foo.sol │ │ │ └── create.sol │ │ ├── custom-account │ │ │ ├── Constants.sol │ │ │ ├── RLPEncoder.sol │ │ │ ├── SystemContext.sol │ │ │ ├── SystemContractsCaller.sol │ │ │ ├── TransactionHelper.sol │ │ │ ├── Utils.sol │ │ │ ├── custom-account.sol │ │ │ ├── custom-paymaster.sol │ │ │ ├── interfaces │ │ │ │ ├── IAccount.sol │ │ │ │ ├── IContractDeployer.sol │ │ │ │ ├── ICreate2Factory.sol │ │ │ │ ├── IERC20.sol │ │ │ │ ├── INonceHolder.sol │ │ │ │ ├── IPaymaster.sol │ │ │ │ ├── IPaymasterFlow.sol │ │ │ │ └── ISystemContext.sol │ │ │ └── nonce-holder-test.sol │ │ ├── error │ │ │ └── error.sol │ │ ├── events │ │ │ ├── events.sol │ │ │ └── sample-calldata │ │ ├── expensive │ │ │ └── expensive.sol │ │ ├── infinite │ │ │ └── infinite.sol │ │ ├── inner-outer │ │ │ ├── inner.sol │ │ │ └── outer.sol │ │ ├── paymaster-nonce │ │ │ └── Paymaster.sol │ │ ├── state-override │ │ │ └── StateOverrideTest.sol │ │ ├── vyper │ │ │ ├── Greeter.vy │ │ │ └── Greeter2.vy │ │ ├── writes-and-messages │ │ │ └── writes-and-messages.sol │ │ ├── yul │ │ │ └── Empty.yul │ │ └── zkasm │ │ │ └── deep_stak.zkasm │ ├── evm-contracts │ │ └── Counter.sol │ ├── hardhat-evm.config.ts │ ├── hardhat.config.ts │ ├── jest.config.json │ ├── package.json │ ├── scripts │ │ └── compile-yul.ts │ ├── src │ │ ├── context-owner.ts │ │ ├── env.ts │ │ ├── helpers.ts │ │ ├── index.ts │ │ ├── jest-setup │ │ │ ├── add-matchers.ts │ │ │ ├── env.ts │ │ │ ├── global-setup.ts │ │ │ └── global-teardown.ts │ │ ├── matchers │ │ │ ├── eth-primitives.ts │ │ │ ├── fail.ts │ │ │ ├── matcher-helpers.ts │ │ │ └── transaction.ts │ │ ├── modifiers │ │ │ ├── balance-checker.ts │ │ │ ├── index.ts │ │ │ └── receipt-check.ts │ │ ├── prerequisites.ts │ │ ├── private-rpc-permissions-editor.ts │ │ ├── reporter.ts │ │ ├── retry-provider.ts │ │ ├── test-master.ts │ │ ├── transaction-response.ts │ │ └── types.ts │ ├── tests │ │ ├── api │ │ │ ├── contract-verification.test.ts │ │ │ ├── debug.test.ts │ │ │ └── web3.test.ts │ │ ├── base-token.test.ts │ │ ├── contracts.test.ts │ │ ├── custom-account.test.ts │ │ ├── erc20.test.ts │ │ ├── ether.test.ts │ │ ├── evm.test.ts │ │ ├── fees.test.ts │ │ ├── l1.test.ts │ │ ├── l2-erc20.test.ts │ │ ├── mempool.test.ts │ │ ├── paymaster.test.ts │ │ ├── prividium.test.ts │ │ └── system.test.ts │ ├── tsconfig.json │ └── typings │ │ └── jest.d.ts │ ├── upgrade-test │ ├── package.json │ ├── tests │ │ ├── tester.ts │ │ ├── upgrade.test.ts │ │ └── utils.ts │ └── tsconfig.json │ └── vm-benchmark │ ├── .gitignore │ ├── Cargo.toml │ ├── README.md │ ├── benches │ ├── batch.rs │ ├── instructions.rs │ └── oneshot.rs │ ├── deployment_benchmarks_sources │ └── heap_read_write.sol │ ├── perf.sh │ └── src │ ├── bin │ └── instruction_counts.rs │ ├── bytecodes │ ├── access_memory │ ├── call_far │ ├── decode_shl_sub │ ├── deploy_simple_contract │ ├── event_spam │ ├── finish_eventful_frames │ ├── heap_read_write │ ├── slot_hash_collision │ └── write_and_decode │ ├── criterion.rs │ ├── instruction_counter.rs │ ├── lib.rs │ ├── main.rs │ ├── transaction.rs │ └── vm.rs ├── docker-compose-cpu-runner.yml ├── docker-compose-gpu-runner-cuda-12-0.yml ├── docker-compose-gpu-runner.yml ├── docker-compose-prover.yaml ├── docker-compose-runner-nightly.yml ├── docker-compose-unit-tests.yml ├── docker-compose.yml ├── docker ├── Makefile ├── build-base │ └── Dockerfile ├── circuit-prover-gpu-gar │ └── Dockerfile ├── circuit-prover-gpu │ └── Dockerfile ├── contract-verifier │ ├── Dockerfile │ └── install-all-solc.sh ├── external-node │ ├── Dockerfile │ └── entrypoint.sh ├── gpu-checker │ └── Dockerfile ├── proof-fri-gpu-compressor-gar │ └── Dockerfile ├── proof-fri-gpu-compressor │ └── Dockerfile ├── prover-autoscaler │ └── Dockerfile ├── prover-fri-gateway │ └── Dockerfile ├── prover-job-monitor │ └── Dockerfile ├── runtime-base │ └── Dockerfile ├── server-v2 │ └── Dockerfile ├── snapshots-creator │ └── Dockerfile ├── verified-sources-fetcher │ └── Dockerfile ├── witness-generator │ └── Dockerfile └── zk-environment │ ├── 22.04_amd64_cuda_11_8.Dockerfile │ ├── 22.04_amd64_cuda_12.Dockerfile │ └── Dockerfile ├── docs ├── .gitignore ├── book.toml ├── css │ ├── mdbook-admonish.css │ └── version-box.css ├── js │ ├── mermaid-init.js │ └── version-box.js ├── src │ ├── README.md │ ├── SUMMARY.md │ ├── announcements │ │ ├── README.md │ │ └── config_format_changes.md │ ├── guides │ │ ├── README.md │ │ ├── advanced │ │ │ ├── 01_initialization.md │ │ │ ├── 02_deposits.md │ │ │ ├── 03_withdrawals.md │ │ │ ├── 04_contracts.md │ │ │ ├── 05_how_call_works.md │ │ │ ├── 06_how_transaction_works.md │ │ │ ├── 07_fee_model.md │ │ │ ├── 08_how_l2_messaging_works.md │ │ │ ├── 09_pubdata.md │ │ │ ├── 10_pubdata_with_blobs.md │ │ │ ├── 11_compression.md │ │ │ ├── 12_alternative_vm_intro.md │ │ │ ├── 13_zk_intuition.md │ │ │ ├── 14_zk_deeper_overview.md │ │ │ ├── 15_prover_keys.md │ │ │ ├── 16_decentralization.md │ │ │ ├── 17_batch_reverter.md │ │ │ ├── 18_allowlist.md │ │ │ ├── 90_advanced_debugging.md │ │ │ ├── 91_docker_and_ci.md │ │ │ └── README.md │ │ ├── architecture.md │ │ ├── build-docker.md │ │ ├── development.md │ │ ├── external-node │ │ │ ├── 00_quick_start.md │ │ │ ├── 01_intro.md │ │ │ ├── 02_configuration.md │ │ │ ├── 03_running.md │ │ │ ├── 04_observability.md │ │ │ ├── 05_troubleshooting.md │ │ │ ├── 06_components.md │ │ │ ├── 07_snapshots_recovery.md │ │ │ ├── 08_pruning.md │ │ │ ├── 09_treeless_mode.md │ │ │ ├── 10_decentralization.md │ │ │ ├── 11_setup_for_other_chains.md │ │ │ ├── README.md │ │ │ ├── docker-compose-examples │ │ │ │ ├── configs │ │ │ │ │ ├── generate_secrets.sh │ │ │ │ │ ├── mainnet_consensus_config.yaml │ │ │ │ │ └── testnet_consensus_config.yaml │ │ │ │ ├── grafana │ │ │ │ │ └── provisioning │ │ │ │ │ │ ├── dashboards │ │ │ │ │ │ ├── Consensus.json │ │ │ │ │ │ ├── General.json │ │ │ │ │ │ └── default.yml │ │ │ │ │ │ └── datasources │ │ │ │ │ │ └── prometheus.yml │ │ │ │ ├── mainnet-external-node-docker-compose.yml │ │ │ │ ├── prometheus │ │ │ │ │ └── prometheus.yml │ │ │ │ └── testnet-external-node-docker-compose.yml │ │ │ └── prepared_configs │ │ │ │ ├── mainnet-config.env │ │ │ │ ├── mainnet_consensus_config.yaml │ │ │ │ ├── testnet-sepolia-config.env │ │ │ │ └── testnet_consensus_config.yaml │ │ ├── launch.md │ │ ├── repositories.md │ │ └── setup-dev.md │ ├── misc │ │ └── contributors.md │ └── specs │ │ ├── README.md │ │ ├── blocks_batches.md │ │ ├── contracts │ │ ├── README.md │ │ ├── bridging │ │ │ ├── asset_router_and_ntv │ │ │ │ ├── asset_router.md │ │ │ │ ├── img │ │ │ │ │ ├── bridge_contracts.png │ │ │ │ │ ├── custom_asset_handler_registration.png │ │ │ │ │ └── requestl2transactiontwobridges_token_deposit.png │ │ │ │ ├── native_token_vault.md │ │ │ │ └── overview.md │ │ │ ├── interop │ │ │ │ ├── img │ │ │ │ │ ├── aliased_account.png │ │ │ │ │ ├── automatic_exec.png │ │ │ │ │ ├── automatic_exec3.png │ │ │ │ │ ├── automatic_exec_2.png │ │ │ │ │ ├── gateway_chains.png │ │ │ │ │ ├── level_bundle.png │ │ │ │ │ ├── level_call.png │ │ │ │ │ ├── level_msg.png │ │ │ │ │ ├── level_trigger.png │ │ │ │ │ ├── levels.png │ │ │ │ │ ├── merkle_chain_root.png │ │ │ │ │ ├── merkle_message_root.png │ │ │ │ │ ├── merkle_proof.png │ │ │ │ │ ├── reexecute.png │ │ │ │ │ ├── trigger.png │ │ │ │ │ ├── trigger_paymaster.png │ │ │ │ │ ├── verify_interop_msg.png │ │ │ │ │ └── waiting_for_ride.png │ │ │ │ └── interop_center │ │ │ │ │ ├── bundles_calls.md │ │ │ │ │ ├── interop_messages.md │ │ │ │ │ ├── interop_trigger.md │ │ │ │ │ └── overview.md │ │ │ └── overview.md │ │ ├── chain_management │ │ │ ├── admin_role.md │ │ │ ├── bridgehub.md │ │ │ ├── chain_genesis.md │ │ │ ├── chain_type_manager.md │ │ │ ├── img │ │ │ │ ├── create_new_chain.png │ │ │ │ └── ecosystem_architecture.png │ │ │ ├── overview.md │ │ │ └── upgrade_process.md │ │ ├── consensus │ │ │ ├── README.md │ │ │ └── consensus-registry.md │ │ ├── gateway │ │ │ ├── chain_migration.md │ │ │ ├── gateway_da.md │ │ │ ├── gateway_protocol_upgrades.md │ │ │ ├── img │ │ │ │ ├── ctm_gw_registration.png │ │ │ │ ├── ecosystem_architecture.png │ │ │ │ ├── l1_gw_l2_messaging.png │ │ │ │ ├── l1_l2_messaging.png │ │ │ │ ├── migrate_from_gw.png │ │ │ │ ├── migrate_to_gw.png │ │ │ │ ├── nested_l2_gw_l1_messaging.png │ │ │ │ └── new_bridging_contracts.png │ │ │ ├── l2_gw_l1_messaging.md │ │ │ ├── messaging_via_gateway.md │ │ │ └── overview.md │ │ ├── glossary.md │ │ ├── img │ │ │ ├── message_root.png │ │ │ └── reading_order.png │ │ ├── interop │ │ │ ├── examples │ │ │ │ ├── README.md │ │ │ │ └── cross_chain_message.md │ │ │ ├── forms_of_finality.md │ │ │ ├── img │ │ │ │ ├── level_msg.png │ │ │ │ ├── msg_flow.png │ │ │ │ └── verify_interop_msg.png │ │ │ ├── interop_messages.md │ │ │ ├── message_root.md │ │ │ └── overview.md │ │ ├── overview.md │ │ ├── settlement_contracts │ │ │ ├── data_availability │ │ │ │ ├── README.md │ │ │ │ ├── compression.md │ │ │ │ ├── custom_da.md │ │ │ │ ├── img │ │ │ │ │ ├── custom_da.png │ │ │ │ │ └── custom_da_external.png │ │ │ │ ├── overview.md │ │ │ │ ├── pubdata.md │ │ │ │ ├── reconstruction.md │ │ │ │ ├── rollup_da.md │ │ │ │ ├── standard_pubdata_format.md │ │ │ │ ├── state_diff_compression_v1_spec.md │ │ │ │ └── validium_zk_porter.md │ │ │ ├── img │ │ │ │ └── Diamond-scheme.png │ │ │ ├── priority_queue │ │ │ │ ├── README.md │ │ │ │ ├── img │ │ │ │ │ ├── PQ1.png │ │ │ │ │ ├── PQ2.png │ │ │ │ │ └── PQ3.png │ │ │ │ ├── l1_l2_communication │ │ │ │ │ ├── l1_to_l2.md │ │ │ │ │ ├── l2_to_l1.md │ │ │ │ │ └── overview_deposits_withdrawals.md │ │ │ │ └── priority-queue.md │ │ │ └── zkchain_basics.md │ │ └── zkevm │ │ │ ├── account_abstraction.md │ │ │ ├── batches_and_blocks_on_zksync.md │ │ │ ├── bootloader.md │ │ │ ├── overview.md │ │ │ ├── precompiles.md │ │ │ ├── system_contracts.md │ │ │ └── zksync_fee_model.md │ │ ├── era_vm_specification │ │ ├── EraVM_formal_specification.pdf │ │ ├── README.md │ │ ├── compiler │ │ │ ├── code_separation.md │ │ │ ├── evmla_translator.md │ │ │ ├── exception_handling.md │ │ │ ├── instructions │ │ │ │ ├── README.md │ │ │ │ ├── evm │ │ │ │ │ ├── README.md │ │ │ │ │ ├── arithmetic.md │ │ │ │ │ ├── bitwise.md │ │ │ │ │ ├── block.md │ │ │ │ │ ├── call.md │ │ │ │ │ ├── create.md │ │ │ │ │ ├── environment.md │ │ │ │ │ ├── logging.md │ │ │ │ │ ├── logical.md │ │ │ │ │ ├── memory.md │ │ │ │ │ ├── overview.md │ │ │ │ │ ├── return.md │ │ │ │ │ ├── sha3.md │ │ │ │ │ └── stack.md │ │ │ │ ├── evmla.md │ │ │ │ ├── extensions │ │ │ │ │ ├── README.md │ │ │ │ │ ├── call.md │ │ │ │ │ ├── overview.md │ │ │ │ │ └── verbatim.md │ │ │ │ ├── overview.md │ │ │ │ └── yul.md │ │ │ ├── overview.md │ │ │ └── system_contracts.md │ │ ├── img │ │ │ ├── arch-overview.png │ │ │ └── arithmetic_opcode.png │ │ └── zkSync_era_virtual_machine_primer.md │ │ ├── img │ │ ├── L2_Components.png │ │ ├── diamondProxy.jpg │ │ ├── governance.jpg │ │ └── zk-the-collective-action.jpeg │ │ ├── introduction.md │ │ ├── l1_smart_contracts.md │ │ ├── overview.md │ │ ├── prover │ │ ├── README.md │ │ ├── boojum_function_check_if_satisfied.md │ │ ├── boojum_gadgets.md │ │ ├── circuit_testing.md │ │ ├── circuits │ │ │ ├── README.md │ │ │ ├── code_decommitter.md │ │ │ ├── demux_log_queue.md │ │ │ ├── ecrecover.md │ │ │ ├── img │ │ │ │ ├── diagram.png │ │ │ │ ├── flowchart.png │ │ │ │ └── image.png │ │ │ ├── keccak_round_function.md │ │ │ ├── l1_messages_hasher.md │ │ │ ├── log_sorter.md │ │ │ ├── main_vm.md │ │ │ ├── overview.md │ │ │ ├── ram_permutation.md │ │ │ ├── sha256_round_function.md │ │ │ ├── sort_decommitments.md │ │ │ ├── sorting.md │ │ │ ├── sorting_and_deduplicating.md │ │ │ ├── storage_application.md │ │ │ └── storage_sorter.md │ │ ├── getting_started.md │ │ ├── img │ │ │ ├── boojum_function_check_if_satisfied │ │ │ │ ├── Check_if_satisfied(1).png │ │ │ │ ├── Check_if_satisfied(11).png │ │ │ │ ├── Check_if_satisfied(12).png │ │ │ │ ├── Check_if_satisfied(13).png │ │ │ │ ├── Check_if_satisfied(14).png │ │ │ │ ├── Check_if_satisfied(16).png │ │ │ │ ├── Check_if_satisfied(17).png │ │ │ │ ├── Check_if_satisfied(2).png │ │ │ │ ├── Check_if_satisfied(3).png │ │ │ │ ├── Check_if_satisfied(4).png │ │ │ │ ├── Check_if_satisfied(7).png │ │ │ │ ├── Check_if_satisfied(8).png │ │ │ │ ├── Check_if_satisfied(9).png │ │ │ │ └── Check_if_satisfied.png │ │ │ ├── circuit_testing │ │ │ │ ├── Contest(10).png │ │ │ │ ├── Contest(11).png │ │ │ │ ├── Contest(12).png │ │ │ │ ├── Contest(4).png │ │ │ │ ├── Contest(5).png │ │ │ │ ├── Contest(6).png │ │ │ │ ├── Contest(7).png │ │ │ │ ├── Contest(8).png │ │ │ │ └── Contest(9).png │ │ │ └── intro_to_zkSync’s_ZK │ │ │ │ └── circuit.png │ │ ├── overview.md │ │ └── zk_terminology.md │ │ └── upgrade_history │ │ └── gateway_upgrade │ │ ├── README.md │ │ ├── gateway_diff_review.md │ │ └── upgrade_process_no_gateway_chain.md └── theme │ └── head.hbs ├── eraLogo.png ├── etc ├── ERC20 │ ├── contracts │ │ ├── ZkSyncERC20.sol │ │ └── interfaces │ │ │ ├── Context.sol │ │ │ ├── ERC20.sol │ │ │ ├── IERC20.sol │ │ │ └── IERC20Metadata.sol │ ├── hardhat.config.ts │ └── package.json ├── env │ ├── base │ │ ├── README.md │ │ ├── api.toml │ │ ├── base_token_adjuster.toml │ │ ├── chain.toml │ │ ├── contract_verifier.toml │ │ ├── contracts.toml │ │ ├── database.toml │ │ ├── eth_client.toml │ │ ├── eth_sender.toml │ │ ├── eth_watch.toml │ │ ├── external_price_api.toml │ │ ├── external_proof_integration_api.toml │ │ ├── fri_proof_compressor.toml │ │ ├── fri_prover.toml │ │ ├── fri_prover_gateway.toml │ │ ├── fri_prover_group.toml │ │ ├── fri_witness_generator.toml │ │ ├── fri_witness_vector_generator.toml │ │ ├── house_keeper.toml │ │ ├── misc.toml │ │ ├── nfs.toml │ │ ├── object_store.toml │ │ ├── private.toml │ │ ├── proof_data_handler.toml │ │ ├── prover_job_monitor.toml │ │ ├── rust.toml │ │ ├── tee_proof_data_handler.toml │ │ └── vm_runner.toml │ ├── configs │ │ ├── dev.toml │ │ ├── dev_validium.toml │ │ ├── dev_validium_docker.toml │ │ ├── docker.toml │ │ ├── ext-node-docker.toml │ │ ├── ext-node-validium-docker.toml │ │ ├── ext-node-validium.toml │ │ ├── ext-node.toml │ │ ├── mainnet.toml │ │ ├── prover-local.toml │ │ ├── stage-proofs.toml │ │ ├── stage.toml │ │ └── testnet.toml │ ├── consensus_config.yaml │ ├── consensus_secrets.yaml │ ├── dev.toml │ ├── ecosystems │ │ ├── gateway │ │ │ ├── mainnet_gateway.yaml │ │ │ ├── stage_gateway.yaml │ │ │ └── testnet_gateway.yaml │ │ ├── mainnet.yaml │ │ ├── sepolia.yaml │ │ └── stage.yaml │ ├── en_consensus_config.yaml │ ├── en_consensus_secrets.yaml │ ├── file_based │ │ ├── contracts.yaml │ │ ├── external_node.yaml │ │ ├── general.yaml │ │ ├── genesis.yaml │ │ ├── overrides │ │ │ ├── gateway.yaml │ │ │ ├── mainnet.yaml │ │ │ ├── only_real_proofs.yaml │ │ │ ├── testnet.yaml │ │ │ ├── tests │ │ │ │ ├── integration.yaml │ │ │ │ ├── loadtest-new.yaml │ │ │ │ └── loadtest-old.yaml │ │ │ └── validium.yaml │ │ ├── secrets.yaml │ │ └── wallets.yaml │ ├── l1-inits │ │ ├── mainnet.env │ │ ├── stage-proofs.env │ │ ├── stage.env │ │ └── testnet.env │ └── l2-inits │ │ ├── mainnet.init.env │ │ ├── stage-proofs.init.env │ │ ├── stage.init.env │ │ └── testnet.init.env ├── hyperchains │ └── docker-compose-hyperchain-template.hbs ├── lint-config │ ├── ignore.yaml │ ├── js.js │ ├── md.js │ ├── sol.js │ └── ts.js ├── multivm_bootloaders │ ├── vm_1_3_2 │ │ ├── commit │ │ ├── fee_estimate.yul │ │ │ └── fee_estimate.yul.zbin │ │ ├── gas_test.yul │ │ │ └── gas_test.yul.zbin │ │ ├── playground_block.yul │ │ │ └── playground_block.yul.zbin │ │ └── proved_block.yul │ │ │ └── proved_block.yul.zbin │ ├── vm_1_4_1 │ │ ├── fee_estimate.yul │ │ │ └── fee_estimate.yul.zbin │ │ ├── gas_test.yul │ │ │ └── gas_test.yul.zbin │ │ ├── playground_batch.yul │ │ │ └── playground_batch.yul.zbin │ │ └── proved_batch.yul │ │ │ └── proved_batch.yul.zbin │ ├── vm_1_4_2 │ │ ├── fee_estimate.yul │ │ │ └── fee_estimate.yul.zbin │ │ ├── gas_test.yul │ │ │ └── gas_test.yul.zbin │ │ ├── playground_batch.yul │ │ │ └── playground_batch.yul.zbin │ │ └── proved_batch.yul │ │ │ └── proved_batch.yul.zbin │ ├── vm_1_5_0_increased_memory │ │ ├── fee_estimate.yul │ │ │ └── fee_estimate.yul.zbin │ │ ├── gas_test.yul │ │ │ └── gas_test.yul.zbin │ │ ├── playground_batch.yul │ │ │ └── playground_batch.yul.zbin │ │ └── proved_batch.yul │ │ │ └── proved_batch.yul.zbin │ ├── vm_1_5_0_small_memory │ │ ├── fee_estimate.yul │ │ │ └── fee_estimate.yul.zbin │ │ ├── gas_test.yul │ │ │ └── gas_test.yul.zbin │ │ ├── playground_batch.yul │ │ │ └── playground_batch.yul.zbin │ │ └── proved_batch.yul │ │ │ └── proved_batch.yul.zbin │ ├── vm_boojum_integration │ │ ├── commit │ │ ├── fee_estimate.yul │ │ │ └── fee_estimate.yul.zbin │ │ ├── gas_test.yul │ │ │ └── gas_test.yul.zbin │ │ ├── playground_batch.yul │ │ │ └── playground_batch.yul.zbin │ │ └── proved_batch.yul │ │ │ └── proved_batch.yul.zbin │ ├── vm_evm_emulator │ │ ├── commit │ │ ├── fee_estimate.yul │ │ │ └── fee_estimate.yul.zbin │ │ ├── gas_test.yul │ │ │ └── gas_test.yul.zbin │ │ ├── playground_batch.yul │ │ │ └── playground_batch.yul.zbin │ │ └── proved_batch.yul │ │ │ └── proved_batch.yul.zbin │ ├── vm_gateway │ │ ├── commit │ │ ├── fee_estimate.yul │ │ │ └── fee_estimate.yul.zbin │ │ ├── gas_test.yul │ │ │ └── gas_test.yul.zbin │ │ ├── playground_batch.yul │ │ │ └── playground_batch.yul.zbin │ │ └── proved_batch.yul │ │ │ └── proved_batch.yul.zbin │ ├── vm_precompiles │ │ ├── commit │ │ ├── fee_estimate.yul │ │ │ └── Bootloader.zbin │ │ ├── gas_test.yul │ │ │ └── Bootloader.zbin │ │ ├── playground_batch.yul │ │ │ └── Bootloader.zbin │ │ └── proved_batch.yul │ │ │ └── Bootloader.zbin │ ├── vm_protocol_defense │ │ ├── fee_estimate.yul │ │ │ └── fee_estimate.yul.zbin │ │ ├── gas_test.yul │ │ │ └── gas_test.yul.zbin │ │ ├── playground_batch.yul │ │ │ └── playground_batch.yul.zbin │ │ └── proved_batch.yul │ │ │ └── proved_batch.yul.zbin │ ├── vm_remove_allowlist │ │ ├── commit │ │ ├── fee_estimate.yul │ │ │ └── fee_estimate.yul.zbin │ │ ├── gas_test.yul │ │ │ └── gas_test.yul.zbin │ │ ├── playground_batch.yul │ │ │ └── playground_batch.yul.zbin │ │ └── proved_batch.yul │ │ │ └── proved_batch.yul.zbin │ ├── vm_virtual_blocks │ │ ├── commit │ │ ├── fee_estimate.yul │ │ │ └── fee_estimate.yul.zbin │ │ ├── gas_test.yul │ │ │ └── gas_test.yul.zbin │ │ ├── playground_batch.yul │ │ │ └── playground_batch.yul.zbin │ │ └── proved_batch.yul │ │ │ └── proved_batch.yul.zbin │ └── vm_virtual_blocks_finish_upgrade_fix │ │ ├── commit │ │ ├── fee_estimate.yul │ │ └── fee_estimate.yul.zbin │ │ ├── gas_test.yul │ │ └── gas_test.yul.zbin │ │ ├── playground_batch.yul │ │ └── playground_batch.yul.zbin │ │ └── proved_batch.yul │ │ └── proved_batch.yul.zbin ├── nix │ ├── README.md │ ├── container-tee-prover-azure.nix │ ├── container-tee-prover-dcap.nix │ ├── container-tee-prover-tdx.nix │ ├── devShell.nix │ ├── devShellAll.nix │ ├── foundry-zksync.nix │ ├── tee_prover.nix │ ├── update-foundry-zksync.sh │ ├── zkstack.nix │ └── zksync.nix ├── pliconfig ├── prover-test-data │ └── proof.bin ├── reth │ ├── README.md │ └── chaindata │ │ └── reth_config ├── selector-generator-data │ ├── README.md │ └── selectors.json ├── test_config │ ├── .gitignore │ ├── README.md │ ├── constant │ │ ├── api.json │ │ └── eth.json │ └── volatile │ │ └── .empty ├── thread ├── tokens │ ├── goerli.json │ ├── mainnet.json │ ├── rinkeby.json │ ├── ropsten.json │ ├── sepolia.json │ └── test.json ├── upgrades │ ├── 1692195639-upgrade-system │ │ ├── common.json │ │ ├── mainnet2 │ │ │ ├── facetCuts.json │ │ │ ├── facets.json │ │ │ ├── l2Upgrade.json │ │ │ └── transactions.json │ │ ├── stage2 │ │ │ ├── facetCuts.json │ │ │ ├── facets.json │ │ │ ├── l2Upgrade.json │ │ │ └── transactions.json │ │ └── testnet2 │ │ │ ├── facetCuts.json │ │ │ ├── facets.json │ │ │ ├── l2Upgrade.json │ │ │ └── transactions.json │ ├── 1693318788-virtual-block-timestamp │ │ ├── common.json │ │ ├── stage2 │ │ │ ├── facetCuts.json │ │ │ ├── facets.json │ │ │ ├── l2Upgrade.json │ │ │ └── transactions.json │ │ └── testnet2 │ │ │ ├── facetCuts.json │ │ │ ├── facets.json │ │ │ ├── l2Upgrade.json │ │ │ └── transactions.json │ ├── 1693905748-virtual-block-timestamp-fixed │ │ ├── README.md │ │ ├── common.json │ │ ├── mainnet2 │ │ │ ├── facetCuts.json │ │ │ ├── facets.json │ │ │ ├── l2Upgrade.json │ │ │ └── transactions.json │ │ ├── stage2 │ │ │ ├── l2Upgrade.json │ │ │ └── transactions.json │ │ └── testnet2 │ │ │ ├── l2Upgrade.json │ │ │ └── transactions.json │ ├── 1695203585-missing-constraint-in-circuit │ │ ├── common.json │ │ ├── mainnet2 │ │ │ ├── crypto.json │ │ │ └── transactions.json │ │ ├── stage2 │ │ │ ├── crypto.json │ │ │ └── transactions.json │ │ └── testnet2 │ │ │ ├── crypto.json │ │ │ └── transactions.json │ ├── 1696936385-refunds-enhancement │ │ ├── common.json │ │ ├── mainnet2 │ │ │ └── transactions.json │ │ ├── stage2 │ │ │ └── transactions.json │ │ └── testnet2 │ │ │ └── transactions.json │ ├── 1698390925-c4-circuit-fixes │ │ ├── common.json │ │ ├── mainnet2 │ │ │ ├── crypto.json │ │ │ └── transactions.json │ │ ├── stage2 │ │ │ ├── crypto.json │ │ │ └── transactions.json │ │ └── testnet2 │ │ │ ├── crypto.json │ │ │ └── transactions.json │ ├── 1699353977-boojum │ │ ├── common.json │ │ ├── mainnet2 │ │ │ ├── crypto.json │ │ │ ├── facetCuts.json │ │ │ ├── facets.json │ │ │ ├── l2Upgrade.json │ │ │ └── transactions.json │ │ ├── stage2 │ │ │ ├── crypto.json │ │ │ ├── facetCuts.json │ │ │ ├── facets.json │ │ │ ├── l2Upgrade.json │ │ │ └── transactions.json │ │ └── testnet2 │ │ │ ├── crypto.json │ │ │ ├── facetCuts.json │ │ │ ├── facets.json │ │ │ ├── l2Upgrade.json │ │ │ └── transactions.json │ ├── 1702392522-allowlist-removal │ │ ├── common.json │ │ ├── mainnet2 │ │ │ ├── facetCuts.json │ │ │ ├── facets.json │ │ │ ├── l2Upgrade.json │ │ │ └── transactions.json │ │ ├── stage2 │ │ │ ├── facetCuts.json │ │ │ ├── facets.json │ │ │ ├── l2Upgrade.json │ │ │ └── transactions.json │ │ ├── testnet-sepolia │ │ │ ├── facetCuts.json │ │ │ ├── facets.json │ │ │ ├── l2Upgrade.json │ │ │ └── transactions.json │ │ └── testnet2 │ │ │ ├── facetCuts.json │ │ │ ├── facets.json │ │ │ ├── l2Upgrade.json │ │ │ └── transactions.json │ ├── 1705556759-fee-model-and-1.4.1 │ │ ├── common.json │ │ ├── mainnet2 │ │ │ ├── crypto.json │ │ │ ├── facetCuts.json │ │ │ ├── facets.json │ │ │ ├── l2Upgrade.json │ │ │ └── transactions.json │ │ ├── stage2 │ │ │ ├── crypto.json │ │ │ ├── facetCuts.json │ │ │ ├── facets.json │ │ │ ├── l2Upgrade.json │ │ │ └── transactions.json │ │ ├── testnet-sepolia │ │ │ ├── crypto.json │ │ │ ├── facetCuts.json │ │ │ ├── facets.json │ │ │ ├── l2Upgrade.json │ │ │ └── transactions.json │ │ └── testnet2 │ │ │ ├── crypto.json │ │ │ ├── facetCuts.json │ │ │ ├── facets.json │ │ │ ├── l2Upgrade.json │ │ │ └── transactions.json │ ├── 1709067445-protodanksharding │ │ ├── common.json │ │ ├── era-stage-proofs │ │ │ ├── crypto.json │ │ │ ├── facetCuts.json │ │ │ ├── facets.json │ │ │ ├── l2Upgrade.json │ │ │ └── transactions.json │ │ ├── mainnet2 │ │ │ ├── crypto.json │ │ │ ├── facetCuts.json │ │ │ ├── facets.json │ │ │ ├── l2Upgrade.json │ │ │ └── transactions.json │ │ ├── stage2 │ │ │ ├── crypto.json │ │ │ ├── facetCuts.json │ │ │ ├── facets.json │ │ │ ├── l2Upgrade.json │ │ │ └── transactions.json │ │ ├── testnet-sepolia │ │ │ ├── crypto.json │ │ │ ├── facetCuts.json │ │ │ ├── facets.json │ │ │ ├── l2Upgrade.json │ │ │ └── transactions.json │ │ └── testnet2 │ │ │ ├── crypto.json │ │ │ ├── facetCuts.json │ │ │ ├── facets.json │ │ │ ├── l2Upgrade.json │ │ │ └── transactions.json │ ├── 1710255954-v1.4.2-enchancement │ │ ├── common.json │ │ ├── era-stage-proofs │ │ │ ├── crypto.json │ │ │ └── transactions.json │ │ ├── mainnet2 │ │ │ ├── crypto.json │ │ │ └── transactions.json │ │ ├── stage2 │ │ │ ├── crypto.json │ │ │ └── transactions.json │ │ ├── testnet-sepolia │ │ │ ├── crypto.json │ │ │ └── transactions.json │ │ └── testnet2 │ │ │ ├── crypto.json │ │ │ └── transactions.json │ ├── 1711451944-hyperchain-upgrade │ │ ├── README.md │ │ ├── common.json │ │ ├── mainnet │ │ │ ├── crypto.json │ │ │ ├── facetCuts.json │ │ │ ├── facets.json │ │ │ ├── l2Upgrade.json │ │ │ ├── otherUgrades.json │ │ │ ├── postUpgradeCalldata.json │ │ │ ├── token-migration │ │ │ └── transactions.json │ │ ├── stage-24 │ │ │ ├── crypto.json │ │ │ ├── facetCuts.json │ │ │ ├── facets.json │ │ │ ├── l2Upgrade.json │ │ │ └── postUpgradeCalldata.json │ │ ├── stage-proofs-fix │ │ │ ├── crypto.json │ │ │ ├── facetCuts.json │ │ │ ├── facets.json │ │ │ └── transactions.json │ │ ├── stage-proofs-fix2 │ │ │ ├── crypto.json │ │ │ ├── facetCuts.json │ │ │ ├── facets.json │ │ │ └── transactions.json │ │ ├── stage-proofs │ │ │ ├── crypto.json │ │ │ ├── facetCuts.json │ │ │ ├── facets.json │ │ │ ├── l2Upgrade.json │ │ │ ├── postUpgradeCalldata.json │ │ │ └── transactions.json │ │ ├── stage │ │ │ ├── crypto.json │ │ │ ├── facetCuts.json │ │ │ ├── facets.json │ │ │ ├── l2Upgrade.json │ │ │ ├── postUpgradeCalldata.json │ │ │ └── transactions.json │ │ ├── testnet-fix │ │ │ ├── crypto.json │ │ │ ├── facetCuts.json │ │ │ ├── facets.json │ │ │ └── transactions.json │ │ ├── testnet-fix2 │ │ │ ├── crypto.json │ │ │ ├── facetCuts.json │ │ │ ├── facets.json │ │ │ └── transactions.json │ │ └── testnet │ │ │ ├── crypto.json │ │ │ ├── facetCuts.json │ │ │ ├── facets.json │ │ │ ├── l2Upgrade.json │ │ │ ├── postUpgradeCalldata.json │ │ │ └── transactions.json │ ├── 1720794961-decentralize-governance │ │ ├── common.json │ │ ├── mainnet │ │ │ └── transactions.json │ │ ├── stage-proofs │ │ │ └── transactions.json │ │ ├── stage │ │ │ └── transactions.json │ │ └── testnet │ │ │ └── transactions.json │ ├── 1728066632-protocol-defense │ │ ├── common.json │ │ └── stage │ │ │ ├── crypto.json │ │ │ ├── facetCuts.json │ │ │ ├── facets.json │ │ │ ├── l2Upgrade.json │ │ │ └── transactions.json │ ├── v26-gateway │ │ ├── mainnet-upgrade-info.yaml │ │ ├── stage-proofs-upgrade-info.yaml │ │ ├── stage-upgrade-info.yaml │ │ └── testnet-upgrade-info.yaml │ ├── v27-evm-interpreter-fflonk │ │ ├── mainnet-upgrade-info.yaml │ │ ├── stage-upgrade-info.yaml │ │ └── testnet-upgrade-info.yaml │ └── v28-precompiles │ │ ├── mainnet-upgrade-info.yaml │ │ ├── stage-upgrade-info.yaml │ │ └── testnet-upgrade-info.yaml └── utils │ ├── .gitignore │ ├── package.json │ ├── src │ ├── file-configs.ts │ ├── index.ts │ ├── kill.ts │ ├── logs.ts │ └── node-spawner.ts │ └── tsconfig.json ├── flake.lock ├── flake.nix ├── infrastructure ├── local-gateway-upgrade-testing │ ├── README.md │ └── era-cacher │ │ ├── use-new-era.sh │ │ └── use-old-era.sh └── protocol-upgrade │ ├── .gitignore │ ├── README.md │ ├── package.json │ ├── pre-boojum │ ├── IZkSync.d.ts │ └── IZkSyncFactory.ts │ ├── src │ ├── crypto │ │ ├── crypto.ts │ │ └── deployer.ts │ ├── custom-upgrade.ts │ ├── hyperchain-upgrade.ts │ ├── index.ts │ ├── l1upgrade │ │ ├── deployer.ts │ │ └── facets.ts │ ├── l2upgrade │ │ ├── deployer.ts │ │ ├── system-contracts.ts │ │ └── transactions.ts │ ├── protocol-upgrade-manager.ts │ ├── transaction.ts │ └── utils.ts │ └── tsconfig.json ├── package.json ├── private-rpc ├── Dockerfile ├── README.md ├── check_api_coverage.py ├── drizzle.config.ts ├── drizzle │ ├── 0000_dapper_tarot.sql │ └── meta │ │ ├── 0000_snapshot.json │ │ └── _journal.json ├── esbuild.ts ├── example-permissions.yaml ├── example.env ├── package.json ├── src │ ├── build-app.ts │ ├── db │ │ ├── custom-types.ts │ │ ├── index.ts │ │ └── schema.ts │ ├── env.ts │ ├── errors.ts │ ├── index.ts │ ├── permissions │ │ ├── access-rules.ts │ │ ├── authorizer.ts │ │ ├── filter-response.ts │ │ ├── group.ts │ │ ├── index.ts │ │ ├── permission.ts │ │ └── yaml-parser.ts │ ├── query │ │ └── user.ts │ ├── routes │ │ ├── health-routes.ts │ │ ├── rpc-routes.ts │ │ └── users-routes.ts │ ├── rpc │ │ ├── delegate-call.ts │ │ ├── json-rpc.ts │ │ ├── methods │ │ │ ├── eth_getBlockByNumber.ts │ │ │ ├── eth_getBlockReceipts.ts │ │ │ ├── eth_getLogs.ts │ │ │ ├── eth_newFilter.ts │ │ │ ├── index.ts │ │ │ ├── utils.ts │ │ │ ├── who-am-i.ts │ │ │ ├── zks_getRawBlockTransactions.ts │ │ │ └── zks_sendRawTransaction.ts │ │ ├── rpc-method-handlers.ts │ │ └── rpc-service.ts │ └── schemas │ │ ├── address.ts │ │ ├── hex.ts │ │ └── numeric.ts └── tsconfig.json ├── prover ├── CHANGELOG.md ├── Cargo.lock ├── Cargo.toml ├── README.md ├── crates │ ├── bin │ │ ├── circuit_prover │ │ │ ├── Cargo.toml │ │ │ └── src │ │ │ │ ├── lib.rs │ │ │ │ ├── main.rs │ │ │ │ ├── metrics.rs │ │ │ │ └── types.rs │ │ ├── gpu_checker │ │ │ ├── Cargo.toml │ │ │ ├── README.md │ │ │ ├── gpu_checker.yaml │ │ │ └── src │ │ │ │ └── main.rs │ │ ├── proof_fri_compressor │ │ │ ├── Cargo.toml │ │ │ ├── README.md │ │ │ └── src │ │ │ │ ├── initial_setup_keys.rs │ │ │ │ ├── main.rs │ │ │ │ └── metrics.rs │ │ ├── prover_autoscaler │ │ │ ├── Cargo.toml │ │ │ ├── README.md │ │ │ └── src │ │ │ │ ├── agent.rs │ │ │ │ ├── cluster_types.rs │ │ │ │ ├── config.rs │ │ │ │ ├── global │ │ │ │ ├── manager.rs │ │ │ │ ├── mod.rs │ │ │ │ ├── queuer.rs │ │ │ │ ├── scaler.rs │ │ │ │ └── watcher.rs │ │ │ │ ├── http_client.rs │ │ │ │ ├── k8s │ │ │ │ ├── mod.rs │ │ │ │ ├── scaler.rs │ │ │ │ └── watcher.rs │ │ │ │ ├── key.rs │ │ │ │ ├── lib.rs │ │ │ │ ├── macros.rs │ │ │ │ ├── main.rs │ │ │ │ └── metrics.rs │ │ ├── prover_cli │ │ │ ├── Cargo.toml │ │ │ ├── README.md │ │ │ ├── src │ │ │ │ ├── cli.rs │ │ │ │ ├── commands │ │ │ │ │ ├── config.rs │ │ │ │ │ ├── debug_proof.rs │ │ │ │ │ ├── delete.rs │ │ │ │ │ ├── get_file_info.rs │ │ │ │ │ ├── insert_batch.rs │ │ │ │ │ ├── insert_version.rs │ │ │ │ │ ├── mod.rs │ │ │ │ │ ├── requeue.rs │ │ │ │ │ ├── restart.rs │ │ │ │ │ ├── stats.rs │ │ │ │ │ └── status │ │ │ │ │ │ ├── batch.rs │ │ │ │ │ │ ├── l1.rs │ │ │ │ │ │ ├── mod.rs │ │ │ │ │ │ └── utils.rs │ │ │ │ ├── config │ │ │ │ │ └── mod.rs │ │ │ │ ├── examples │ │ │ │ │ └── pliconfig │ │ │ │ ├── helper.rs │ │ │ │ ├── lib.rs │ │ │ │ └── main.rs │ │ │ └── tests │ │ │ │ ├── batch.rs │ │ │ │ └── cli.rs │ │ ├── prover_fri_gateway │ │ │ ├── Cargo.toml │ │ │ ├── README.md │ │ │ └── src │ │ │ │ ├── client │ │ │ │ ├── mod.rs │ │ │ │ ├── proof_gen_data_fetcher.rs │ │ │ │ └── proof_submitter.rs │ │ │ │ ├── error.rs │ │ │ │ ├── main.rs │ │ │ │ ├── metrics.rs │ │ │ │ ├── proof_data_manager.rs │ │ │ │ ├── server.rs │ │ │ │ └── traits.rs │ │ ├── prover_job_monitor │ │ │ ├── Cargo.toml │ │ │ └── src │ │ │ │ ├── attempts_reporter.rs │ │ │ │ ├── autoscaler_queue_reporter.rs │ │ │ │ ├── job_requeuer │ │ │ │ ├── mod.rs │ │ │ │ ├── proof_compressor_job_requeuer.rs │ │ │ │ ├── prover_job_requeuer.rs │ │ │ │ └── witness_generator_job_requeuer.rs │ │ │ │ ├── lib.rs │ │ │ │ ├── main.rs │ │ │ │ ├── metrics.rs │ │ │ │ ├── prover_jobs_archiver.rs │ │ │ │ ├── queue_reporter │ │ │ │ ├── mod.rs │ │ │ │ ├── proof_compressor_queue_reporter.rs │ │ │ │ ├── prover_queue_reporter.rs │ │ │ │ └── witness_generator_queue_reporter.rs │ │ │ │ └── witness_job_queuer.rs │ │ ├── prover_version │ │ │ ├── Cargo.toml │ │ │ └── src │ │ │ │ └── main.rs │ │ ├── vk_setup_data_generator_server_fri │ │ │ ├── Cargo.toml │ │ │ ├── README.md │ │ │ └── src │ │ │ │ ├── commitment_generator.rs │ │ │ │ ├── main.rs │ │ │ │ ├── tests.rs │ │ │ │ └── vk_commitment_helper.rs │ │ └── witness_generator │ │ │ ├── Cargo.toml │ │ │ ├── README.md │ │ │ └── src │ │ │ ├── lib.rs │ │ │ ├── main.rs │ │ │ └── metrics.rs │ └── lib │ │ ├── circuit_prover_service │ │ ├── Cargo.toml │ │ ├── README.md │ │ └── src │ │ │ ├── gpu_circuit_prover │ │ │ ├── gpu_circuit_prover_executor.rs │ │ │ ├── gpu_circuit_prover_job_picker.rs │ │ │ ├── gpu_circuit_prover_job_saver.rs │ │ │ └── mod.rs │ │ │ ├── job_runner.rs │ │ │ ├── lib.rs │ │ │ ├── metrics.rs │ │ │ ├── types │ │ │ ├── circuit_prover_payload.rs │ │ │ ├── circuit_wrapper.rs │ │ │ ├── mod.rs │ │ │ ├── setup_data.rs │ │ │ ├── witness_vector_generator_execution_output.rs │ │ │ └── witness_vector_generator_payload.rs │ │ │ └── witness_vector_generator │ │ │ ├── mod.rs │ │ │ ├── witness_vector_generator_executor.rs │ │ │ ├── witness_vector_generator_job_picker.rs │ │ │ ├── witness_vector_generator_job_saver.rs │ │ │ └── witness_vector_generator_metadata_loader.rs │ │ ├── keystore │ │ ├── Cargo.toml │ │ └── src │ │ │ ├── commitment_utils.rs │ │ │ ├── compressor.rs │ │ │ ├── keystore.rs │ │ │ ├── lib.rs │ │ │ ├── setup_data_generator.rs │ │ │ ├── utils.rs │ │ │ └── witness_generator.rs │ │ ├── proof_fri_compressor_service │ │ ├── Cargo.toml │ │ ├── README.md │ │ └── src │ │ │ ├── job_runner.rs │ │ │ ├── lib.rs │ │ │ ├── metrics.rs │ │ │ ├── proof_fri_compressor_executor.rs │ │ │ ├── proof_fri_compressor_job_picker.rs │ │ │ ├── proof_fri_compressor_job_saver.rs │ │ │ └── proof_fri_compressor_payload.rs │ │ ├── prover_dal │ │ ├── .sqlx │ │ │ ├── query-0cc0634aa945fe886f28f09ee69aa872e2aa59b5295594daa971d011981ed530.json │ │ │ ├── query-1055f6977fe5753b4f1bda213b027bbec1aae905efd0f95f27ac545aa23f4df2.json │ │ │ ├── query-126df7c8433ac85a618726bd78f43f8256315c8701c5378df6bc76afc5a60431.json │ │ │ ├── query-1297f0977132185d6bd4501f490f1cdac8b194f09926c133985479c533a651f2.json │ │ │ ├── query-18c0e2ec79bb15ad51a3fda973f360bdee99924fce74bbdbcaeda017729549e4.json │ │ │ ├── query-1ca37016d0cd38f10ca960eb76348a7ac473d30c06c1118e160788473cc44e11.json │ │ │ ├── query-1d2b7b3fd04ab3945bb1a573d25be9963915c344456485263a621ea9d5dd6caf.json │ │ │ ├── query-205a2cf51706af934f5a85b4074a7626ec21660eb177f569dbb7ff85cd944f36.json │ │ │ ├── query-2356bfe95ff55774eecb43275da374850d1c4d53b638a300a270cfe2fb239036.json │ │ │ ├── query-23993a95d51cc49ce02523cac10a40aecb253284888866a6ad21fc81578ac7bf.json │ │ │ ├── query-262f4c71be916f69ae40d74f7ff0a7d77c420e0ceb5438b6c024379b37e0aa53.json │ │ │ ├── query-276bb5b2bbf382e5fa1932d0ea2317b650bec986b5305b11d2ddad8271caad38.json │ │ │ ├── query-27b9bafaca1e166bcbfd1e61703a8f342a59a14125d51d97d98fdc98d4c383f6.json │ │ │ ├── query-28ab79139a5705b1b03d6349a0c763bdc06c27ed81d6097cf71011dc50ef7fe9.json │ │ │ ├── query-29ad863e487aa6d5e9f6975758743c77eaa99e65808414df7c310ec119b86736.json │ │ │ ├── query-2d1461e068e43fd16714610b383cf8c93630d529ec96e67aac078f18196f61a5.json │ │ │ ├── query-3551494010331ca9bb6f817327d81869b1ade6a137cd47303612cb09920b9803.json │ │ │ ├── query-381fd228e4febd566f234e80cab6e97db16e8fd0bf1746b012ab05d5f0e12609.json │ │ │ ├── query-38806224b6b368c4fcb0a7634bca51db09ad49d98adfd3de23476ec79a733eb5.json │ │ │ ├── query-3ee4f6b6fbf2d488298b065a92cc19f63c54585e7b753f9775ba3b3a11a02f4f.json │ │ │ ├── query-40a5390d10abc9ae9a78f734ecb35a1612d1f82c13c53720880e73dc11161470.json │ │ │ ├── query-412ef600a2f6025d8c22c2df8a497ed410fa47b268a66f1fc56d469c06ae50af.json │ │ │ ├── query-42e254e5f9a10b097cb62c22dbe8d82aa860dab855c80ca4a2ffd5a8dfd93e34.json │ │ │ ├── query-44507626fa90b087cbbf42e57a661985a973a67aed95d4a96846d9d5ace7950c.json │ │ │ ├── query-4bc73e34cac6f9c3ca7e6f7d53a85c9046e64da0ba81a7b58912c4e1bbdd6b99.json │ │ │ ├── query-4ce1dc3c16faea1c954018a45d4ce085882f0e55605f173f2dee8927cc78f68b.json │ │ │ ├── query-4db22340443b29fdffcb4f574433064cb951d0706b32253f1cd7012a2fffdf47.json │ │ │ ├── query-4dfcd764f93b6fd4e69ccf69e876be409e7ae4131d20dcabee38730d8dd419f4.json │ │ │ ├── query-53556f2bc913affcd23a1a20b4081106029810403effe9f50c089745810983ac.json │ │ │ ├── query-56bdf52df9c18420e87e33798322bb79dc635e43fa3dbdd9124c532f187a4d62.json │ │ │ ├── query-6458bd8bbc33e3ea7026c3e465623076f287ae98c0df38a6b4092bfb73803566.json │ │ │ ├── query-6548321609ba60472ddebd1447e5ff79c2cb7d0a2a9556b49cbcb04b03331c0b.json │ │ │ ├── query-65969964eb3114d5ed81920c2b3b331582b1a92e2677b34d57980e1afd68e20c.json │ │ │ ├── query-668d79b231ca013205480aa7a9fc41694b0227d1d640a0105ebcd3fc41196c49.json │ │ │ ├── query-67fbf2ef2f642d16ad0b30bb72f796b2adf94a24834deef6e211f94453733b01.json │ │ │ ├── query-698c8c705a3080fd87b5dc9b42bbdbe69bfe826ea9c69f71b2cbf1d359f366f5.json │ │ │ ├── query-6fa101609da545860501ac32a5b5457269ca22767d7b44cbc213c2adf86c991c.json │ │ │ ├── query-70cf63542465ca962c87e0050dc7d78cf0e31ba31d9f05658a903edb99317297.json │ │ │ ├── query-720fbd707f5e72415abffb0d48f28982279adec38e2f5405821147c9da56a5f3.json │ │ │ ├── query-750b2d87c8d00754ad0d10c566b6fc84f1a46c74c3e236ca08d0787f0ee7f184.json │ │ │ ├── query-7b234592e844b3c1ee57f45c612928dc362030510ad8a389013e5527291734df.json │ │ │ ├── query-7c2f89d77f85ecfffe90ffdb74d3ebb2fcf32e99c140c8b929d98437272b8967.json │ │ │ ├── query-821f308ebb20c978ce4cb210e8f8a3a4efb59242fe8bd9856bc5e374a6ea5713.json │ │ │ ├── query-849ce1d3425ff8da170ad1b14a0b357cf154af3c28bf977de12d3471041a4cd5.json │ │ │ ├── query-87a73aa95a85efeb065428f9e56e085ea80cf93c2fd66fd3949aab428bbdc560.json │ │ │ ├── query-8c5aeb19a03699a25bd0cb4b0d81ed45f339794303da1d7b66a3ce8983846b3a.json │ │ │ ├── query-909acc08e60bb78eaaa3bc5a1d0bd161f66a96553e0591c43a2c2fb9d307ad29.json │ │ │ ├── query-9730c8225ff2cf3111185e81f602a4a98ec63eb942c73ce4448d0957346047cd.json │ │ │ ├── query-9da8ce97366d62ae7381a2b4eb98ff2fa2c04525595a8adf5acd4da5ea4d5776.json │ │ │ ├── query-9df7fddf6f330550ef7a3fb19ab5e366ceed594c6606925dc4669c3ceb19fe27.json │ │ │ ├── query-9f8c44ec634814e9f4cbf165aed9f61ac90e78d48394ae3982c0698726308599.json │ │ │ ├── query-a388d34c454c4b7645c6e5bf07026b137d7f48a8278a5a5c5568a0ca22df97c0.json │ │ │ ├── query-a4407ac701423bc91505af3e7250ac1e4ed2a372922e55728de083bffb533e11.json │ │ │ ├── query-a5c313104e5be0f82c4a3f0dd5680cecc68164241c54a30d88e6fb2a63ceea50.json │ │ │ ├── query-a5ee1c40af6ce4fc9962757b771065dd5ab428bf30708f6f5ebd83a85a45dfcc.json │ │ │ ├── query-a5f1c0eee59d3717f383a1110dfe70a23990fab3f8e059901d43d020769372b0.json │ │ │ ├── query-a751d4f46c055775c7b0b7e08ebfe9df3e5c3e0736784363b5ec7269b22583a3.json │ │ │ ├── query-a878968a4dd27ccf05e00934e6090ed614f5140178baf7b3e270a7c89958ebec.json │ │ │ ├── query-a94fffdbc1827dc5df908ea1e99ef3ad13840d2c497760e9bd0513f68dc4271c.json │ │ │ ├── query-a96770375c6c3021de89f83ad616aed0712ce598a06d1c1c22f3b301041afee1.json │ │ │ ├── query-ac1c23dc72b6a6490ecb03a0da87eebc897025512da823469c2feabde43d1c53.json │ │ │ ├── query-b35f8edf3950d4f637798450e9f51150d239da8a04d7852f628b6b56b176499d.json │ │ │ ├── query-b568f9cb9c2bd53b5dcde15f368a9dc31c7d51476f18cffa80cad653298ad252.json │ │ │ ├── query-bb400c6e7ee6bce3c7a102b8627f7bf503056c96868e6e5054fcb33e8eef76e0.json │ │ │ ├── query-bcbbe257dd0f71f01c8bdf4fd02f794e4d423055102032be87494d8886083ce3.json │ │ │ ├── query-bfd3d37924e21184b111c6d606b4804c4934c727c6a74ac56b80de43faeec43f.json │ │ │ ├── query-c01337f381828818b2b23a7fcc3d165108e64cc8cf1a2a5604cb180f6d8ac4fe.json │ │ │ ├── query-c0b3bbc5f3f1554b865deb85cd85511d6b708241ac24edd3faa79711cd42bd4c.json │ │ │ ├── query-c1d3838d080ca1dddcbede202567cfcd1988f11292824dd7dac40d683b9c8033.json │ │ │ ├── query-c359762cd1533f7cc389c0dc19a32b073e44c47396f33e09d87bf0fbf8404e30.json │ │ │ ├── query-c37a16566258380ef19a32b2d78ad0d60cc20fd9260fa63328ed4d8dae13c1c1.json │ │ │ ├── query-c47ccee242dd807dc948649258851a1a8431188ee3e90e5b6f24ada7c5152669.json │ │ │ ├── query-c689d64fafc1b86af4dba47170cdad7de98833c61e0d3dea6461be037bf881c6.json │ │ │ ├── query-c73801e578ad07a7c848f9f05d6c7d3114d651a561bc702cec11afb8515fa6c4.json │ │ │ ├── query-c79066af43647b22eb84cf61e652ce026eb22e6861a3af7f2bd5cc113169d037.json │ │ │ ├── query-caceb819ff6d308c97a8f18ea093ebb5910588c1b1856b32c3339b4d352b5aeb.json │ │ │ ├── query-cd7965bf7fd3948432e4980ca2b2fb299cd1cd31146db76fba307ad74db7db9a.json │ │ │ ├── query-cdc61690f9bb49f08db42d2bcf8f99183d16e348385c2f155305d29971f6364e.json │ │ │ ├── query-ce5779092feb8a3d3e2c5e395783e67f08f2ead5f55bfb6594e50346bf9cf2ef.json │ │ │ ├── query-d54c3503164052e011c7f1a41cc89eeea04241d0d42b107b2a52450b75c3d46e.json │ │ │ ├── query-d68bdb2fce03b588c110a471a98a52597c16958350b2612531660beb8e3ff551.json │ │ │ ├── query-d88fde0e42305ff648c718c742fb356c541d65e0c84a4d82f86bbf000c21c9e8.json │ │ │ ├── query-dd2f392a18b29221f91148e409d6d4ae1139f75a8ef3e777115e060f661f569e.json │ │ │ ├── query-e079c0e403845b4f8f9c296b5aeeb98db1abe52daae5724ce6156fb773a3e65a.json │ │ │ ├── query-e2c99decda4bd5a3016ff51dd6c425ed2472e19a0b02a805102308de3a9c01d1.json │ │ │ ├── query-e62f61185e6353ace2050287a45645592b6b8b57a323ceea26f515a4fad02684.json │ │ │ ├── query-e8066db420e075306235f728d57567878f347bdaf36294e9b24ee9c0aa1e861b.json │ │ │ ├── query-ecfba455b3af61411965022c89ca8b41eff6b683e4e9c70216076c2434218ade.json │ │ │ ├── query-ee3c02c647254ac08f959295887df4f209fd0eca7080e8be6beda3a3fa1b4cee.json │ │ │ ├── query-f1a27b7986e48b6f272544bc01e9cc8d0efb4b3b0673760ba0c07fbb1c3a8e7d.json │ │ │ └── query-f76966131ebc989eb255e444fea7912933a28b1222b272801a8f83254323af33.json │ │ ├── Cargo.toml │ │ ├── doc │ │ │ ├── FriProofCompressorDal.md │ │ │ ├── FriProverDal.md │ │ │ └── FriWitnessGeneratorDal.md │ │ ├── migrations │ │ │ ├── 20240131134938_initial-prover-migration.down.sql │ │ │ ├── 20240131134938_initial-prover-migration.up.sql │ │ │ ├── 20240226120310_add_support_for_eip4844.down.sql │ │ │ ├── 20240226120310_add_support_for_eip4844.up.sql │ │ │ ├── 20240403070124_add_archived_at_column_to_prover_queue_archive.down.sql │ │ │ ├── 20240403070124_add_archived_at_column_to_prover_queue_archive.up.sql │ │ │ ├── 20240410141719_add-protocol-versions-to-tables.down.sql │ │ │ ├── 20240410141719_add-protocol-versions-to-tables.up.sql │ │ │ ├── 20240419102606_add_changes_for_recursion_tip.down.sql │ │ │ ├── 20240419102606_add_changes_for_recursion_tip.up.sql │ │ │ ├── 20240524123522_add-patch-columns-for-semver.down.sql │ │ │ ├── 20240524123522_add-patch-columns-for-semver.up.sql │ │ │ ├── 20240613111518_make_number_of_final_node_jobs_mandatory.down.sql │ │ │ ├── 20240613111518_make_number_of_final_node_jobs_mandatory.up.sql │ │ │ ├── 20240703113903_add-vm_run_data-column.down.sql │ │ │ ├── 20240703113903_add-vm_run_data-column.up.sql │ │ │ ├── 20240722102219_remove_unused_columns_after_bwip.down.sql │ │ │ ├── 20240722102219_remove_unused_columns_after_bwip.up.sql │ │ │ ├── 20240723153338_remove_redundant_keys.down.sql │ │ │ ├── 20240723153338_remove_redundant_keys.up.sql │ │ │ ├── 20240905124208_rename-recurision-scheduler-level-vk-hash.down.sql │ │ │ ├── 20240905124208_rename-recurision-scheduler-level-vk-hash.up.sql │ │ │ ├── 20241120092231_add_fflonk_snark_wrapper_vk_hash.down.sql │ │ │ ├── 20241120092231_add_fflonk_snark_wrapper_vk_hash.up.sql │ │ │ ├── 20250131131243_add-priority-and-chain_id.down.sql │ │ │ ├── 20250131131243_add-priority-and-chain_id.up.sql │ │ │ ├── 20250207111830_simplify_prover_jobs_indices.down.sql │ │ │ ├── 20250207111830_simplify_prover_jobs_indices.up.sql │ │ │ ├── 20250319105631_remove_gpu_prover_table.down.sql │ │ │ ├── 20250319105631_remove_gpu_prover_table.up.sql │ │ │ ├── 20250327120515_add-batch_created_at-column.down.sql │ │ │ ├── 20250327120515_add-batch_created_at-column.up.sql │ │ │ ├── 20250422100904_add-chain-id-column.down.sql │ │ │ └── 20250422100904_add-chain-id-column.up.sql │ │ └── src │ │ │ ├── cli_test_dal.rs │ │ │ ├── fri_proof_compressor_dal.rs │ │ │ ├── fri_protocol_versions_dal.rs │ │ │ ├── fri_prover_dal.rs │ │ │ ├── fri_witness_generator_dal │ │ │ ├── basic.rs │ │ │ ├── leaf.rs │ │ │ ├── mod.rs │ │ │ ├── node.rs │ │ │ ├── recursion_tip.rs │ │ │ └── scheduler.rs │ │ │ └── lib.rs │ │ ├── prover_fri_types │ │ ├── Cargo.toml │ │ ├── README.md │ │ └── src │ │ │ ├── keys.rs │ │ │ └── lib.rs │ │ ├── prover_fri_utils │ │ ├── Cargo.toml │ │ └── src │ │ │ ├── lib.rs │ │ │ └── metrics.rs │ │ ├── prover_job_processor │ │ ├── Cargo.toml │ │ ├── README.md │ │ └── src │ │ │ ├── backoff_and_cancellable.rs │ │ │ ├── executor.rs │ │ │ ├── job_picker.rs │ │ │ ├── job_runner.rs │ │ │ ├── job_saver.rs │ │ │ ├── lib.rs │ │ │ └── task_wiring │ │ │ ├── job_picker_task.rs │ │ │ ├── job_saver_task.rs │ │ │ ├── mod.rs │ │ │ ├── task.rs │ │ │ └── worker_pool.rs │ │ ├── prover_task │ │ ├── Cargo.toml │ │ └── src │ │ │ └── lib.rs │ │ └── witness_generator_service │ │ ├── Cargo.toml │ │ ├── README.md │ │ └── src │ │ ├── artifact_manager.rs │ │ ├── executor.rs │ │ ├── job_picker.rs │ │ ├── job_runner.rs │ │ ├── job_saver.rs │ │ ├── lib.rs │ │ ├── metrics.rs │ │ ├── precalculated_merkle_paths_provider.rs │ │ ├── rounds │ │ ├── basic_circuits │ │ │ ├── artifacts.rs │ │ │ ├── mod.rs │ │ │ └── utils.rs │ │ ├── leaf_aggregation │ │ │ ├── artifacts.rs │ │ │ └── mod.rs │ │ ├── mod.rs │ │ ├── node_aggregation │ │ │ ├── artifacts.rs │ │ │ └── mod.rs │ │ ├── recursion_tip │ │ │ ├── artifacts.rs │ │ │ └── mod.rs │ │ └── scheduler │ │ │ ├── artifacts.rs │ │ │ └── mod.rs │ │ ├── storage_oracle.rs │ │ ├── tests.rs │ │ ├── trusted_setup.json │ │ ├── utils.rs │ │ └── witness.rs ├── data │ ├── README.md │ ├── historical_data │ │ ├── 18 │ │ │ ├── commitments.json │ │ │ └── snark_verification_scheduler_key.json │ │ ├── 19 │ │ │ ├── commitments.json │ │ │ └── snark_verification_scheduler_key.json │ │ ├── 20 │ │ │ ├── commitments.json │ │ │ └── snark_verification_scheduler_key.json │ │ ├── 21 │ │ │ ├── commitments.json │ │ │ └── snark_verification_scheduler_key.json │ │ ├── 22 │ │ │ ├── commitments.json │ │ │ └── snark_verification_scheduler_key.json │ │ ├── 23 │ │ │ ├── commitments.json │ │ │ └── snark_verification_scheduler_key.json │ │ ├── 0.24.0 │ │ │ ├── commitments.json │ │ │ └── snark_verification_scheduler_key.json │ │ ├── 0.24.1 │ │ │ ├── commitments.json │ │ │ └── snark_verification_scheduler_key.json │ │ ├── 0.25.0 │ │ │ ├── commitments.json │ │ │ └── snark_verification_scheduler_key.json │ │ ├── 0.26.0 │ │ │ ├── commitments.json │ │ │ └── snark_verification_scheduler_key.json │ │ ├── 0.27.0 │ │ │ ├── commitments.json │ │ │ └── verification_snark_key.json │ │ ├── 0.28.0 │ │ │ ├── commitments.json │ │ │ └── verification_snark_key.json │ │ └── README.md │ └── keys │ │ ├── commitments.json │ │ ├── compression_wrapper_setup_data.bin │ │ ├── fflonk_verification_snark_key.json │ │ ├── finalization_hints_basic_1.bin │ │ ├── finalization_hints_basic_10.bin │ │ ├── finalization_hints_basic_11.bin │ │ ├── finalization_hints_basic_12.bin │ │ ├── finalization_hints_basic_13.bin │ │ ├── finalization_hints_basic_14.bin │ │ ├── finalization_hints_basic_15.bin │ │ ├── finalization_hints_basic_16.bin │ │ ├── finalization_hints_basic_17.bin │ │ ├── finalization_hints_basic_18.bin │ │ ├── finalization_hints_basic_19.bin │ │ ├── finalization_hints_basic_2.bin │ │ ├── finalization_hints_basic_255.bin │ │ ├── finalization_hints_basic_3.bin │ │ ├── finalization_hints_basic_4.bin │ │ ├── finalization_hints_basic_5.bin │ │ ├── finalization_hints_basic_6.bin │ │ ├── finalization_hints_basic_7.bin │ │ ├── finalization_hints_basic_8.bin │ │ ├── finalization_hints_basic_9.bin │ │ ├── finalization_hints_compression_1.bin │ │ ├── finalization_hints_compression_2.bin │ │ ├── finalization_hints_compression_3.bin │ │ ├── finalization_hints_compression_4.bin │ │ ├── finalization_hints_compression_wrapper_1.bin │ │ ├── finalization_hints_compression_wrapper_5.bin │ │ ├── finalization_hints_leaf_10.bin │ │ ├── finalization_hints_leaf_11.bin │ │ ├── finalization_hints_leaf_12.bin │ │ ├── finalization_hints_leaf_13.bin │ │ ├── finalization_hints_leaf_14.bin │ │ ├── finalization_hints_leaf_15.bin │ │ ├── finalization_hints_leaf_16.bin │ │ ├── finalization_hints_leaf_17.bin │ │ ├── finalization_hints_leaf_18.bin │ │ ├── finalization_hints_leaf_19.bin │ │ ├── finalization_hints_leaf_20.bin │ │ ├── finalization_hints_leaf_21.bin │ │ ├── finalization_hints_leaf_22.bin │ │ ├── finalization_hints_leaf_3.bin │ │ ├── finalization_hints_leaf_4.bin │ │ ├── finalization_hints_leaf_5.bin │ │ ├── finalization_hints_leaf_6.bin │ │ ├── finalization_hints_leaf_7.bin │ │ ├── finalization_hints_leaf_8.bin │ │ ├── finalization_hints_leaf_9.bin │ │ ├── finalization_hints_node.bin │ │ ├── finalization_hints_recursion_tip.bin │ │ ├── finalization_hints_scheduler.bin │ │ ├── verification_basic_10_key.json │ │ ├── verification_basic_11_key.json │ │ ├── verification_basic_12_key.json │ │ ├── verification_basic_13_key.json │ │ ├── verification_basic_14_key.json │ │ ├── verification_basic_15_key.json │ │ ├── verification_basic_16_key.json │ │ ├── verification_basic_17_key.json │ │ ├── verification_basic_18_key.json │ │ ├── verification_basic_19_key.json │ │ ├── verification_basic_1_key.json │ │ ├── verification_basic_255_key.json │ │ ├── verification_basic_2_key.json │ │ ├── verification_basic_3_key.json │ │ ├── verification_basic_4_key.json │ │ ├── verification_basic_5_key.json │ │ ├── verification_basic_6_key.json │ │ ├── verification_basic_7_key.json │ │ ├── verification_basic_8_key.json │ │ ├── verification_basic_9_key.json │ │ ├── verification_compression_1_key.json │ │ ├── verification_compression_2_key.json │ │ ├── verification_compression_3_key.json │ │ ├── verification_compression_4_key.json │ │ ├── verification_compression_wrapper_1_key.json │ │ ├── verification_compression_wrapper_5_key.json │ │ ├── verification_leaf_10_key.json │ │ ├── verification_leaf_11_key.json │ │ ├── verification_leaf_12_key.json │ │ ├── verification_leaf_13_key.json │ │ ├── verification_leaf_14_key.json │ │ ├── verification_leaf_15_key.json │ │ ├── verification_leaf_16_key.json │ │ ├── verification_leaf_17_key.json │ │ ├── verification_leaf_18_key.json │ │ ├── verification_leaf_19_key.json │ │ ├── verification_leaf_20_key.json │ │ ├── verification_leaf_21_key.json │ │ ├── verification_leaf_22_key.json │ │ ├── verification_leaf_3_key.json │ │ ├── verification_leaf_4_key.json │ │ ├── verification_leaf_5_key.json │ │ ├── verification_leaf_6_key.json │ │ ├── verification_leaf_7_key.json │ │ ├── verification_leaf_8_key.json │ │ ├── verification_leaf_9_key.json │ │ ├── verification_node_key.json │ │ ├── verification_recursion_tip_key.json │ │ ├── verification_scheduler_key.json │ │ └── verification_snark_key.json ├── docs │ ├── .gitignore │ ├── README.md │ ├── book.toml │ ├── css │ │ ├── mdbook-admonish.css │ │ └── version-box.css │ ├── js │ │ ├── mermaid-init.js │ │ └── version-box.js │ ├── src │ │ ├── 00_intro.md │ │ ├── 01_gcp_vm.md │ │ ├── 02_setup.md │ │ ├── 03_launch.md │ │ ├── 04_flow.md │ │ ├── 05_proving_batch.md │ │ ├── 99_further_reading.md │ │ ├── README.md │ │ └── SUMMARY.md │ └── theme │ │ └── head.hbs ├── extract-setup-data-keys.sh ├── rust-toolchain └── setup-data-gpu-keys.json ├── renovate.json ├── rust-toolchain ├── yarn.lock └── zkstack_cli ├── CHANGELOG.md ├── Cargo.lock ├── Cargo.toml ├── README.md ├── crates ├── common │ ├── Cargo.toml │ └── src │ │ ├── cmd.rs │ │ ├── config.rs │ │ ├── contracts.rs │ │ ├── db.rs │ │ ├── docker.rs │ │ ├── ethereum.rs │ │ ├── external_node.rs │ │ ├── files.rs │ │ ├── forge.rs │ │ ├── git.rs │ │ ├── lib.rs │ │ ├── prerequisites.rs │ │ ├── prompt │ │ ├── confirm.rs │ │ ├── input.rs │ │ ├── mod.rs │ │ └── select.rs │ │ ├── server.rs │ │ ├── term │ │ ├── error.rs │ │ ├── logger.rs │ │ ├── mod.rs │ │ └── spinner.rs │ │ ├── version.rs │ │ ├── wallets.rs │ │ ├── yaml.rs │ │ └── zks_provider.rs ├── config │ ├── Cargo.toml │ └── src │ │ ├── apps.rs │ │ ├── chain.rs │ │ ├── consensus.rs │ │ ├── consts.rs │ │ ├── contracts.rs │ │ ├── da.rs │ │ ├── docker_compose.rs │ │ ├── ecosystem.rs │ │ ├── en.rs │ │ ├── explorer.rs │ │ ├── explorer_compose.rs │ │ ├── file_config.rs │ │ ├── forge_interface │ │ ├── accept_ownership │ │ │ └── mod.rs │ │ ├── deploy_ecosystem │ │ │ ├── input.rs │ │ │ ├── mod.rs │ │ │ └── output.rs │ │ ├── deploy_gateway_tx_filterer │ │ │ ├── input.rs │ │ │ ├── mod.rs │ │ │ └── output.rs │ │ ├── deploy_l2_contracts │ │ │ ├── input.rs │ │ │ ├── mod.rs │ │ │ └── output.rs │ │ ├── gateway_chain_upgrade │ │ │ ├── input.rs │ │ │ ├── mod.rs │ │ │ └── output.rs │ │ ├── gateway_ecosystem_upgrade │ │ │ ├── input.rs │ │ │ ├── mod.rs │ │ │ └── output.rs │ │ ├── gateway_preparation │ │ │ └── input.rs │ │ ├── gateway_vote_preparation │ │ │ ├── input.rs │ │ │ ├── mod.rs │ │ │ └── output.rs │ │ ├── mod.rs │ │ ├── paymaster │ │ │ └── mod.rs │ │ ├── register_chain │ │ │ ├── input.rs │ │ │ ├── mod.rs │ │ │ └── output.rs │ │ ├── script_params.rs │ │ └── setup_legacy_bridge │ │ │ └── mod.rs │ │ ├── gateway.rs │ │ ├── general.rs │ │ ├── genesis.rs │ │ ├── lib.rs │ │ ├── manipulations.rs │ │ ├── object_store.rs │ │ ├── portal.rs │ │ ├── private_proxy_compose.rs │ │ ├── raw.rs │ │ ├── secrets.rs │ │ ├── traits.rs │ │ ├── wallet_creation.rs │ │ └── wallets.rs ├── git_version_macro │ ├── Cargo.toml │ └── src │ │ └── lib.rs ├── types │ ├── Cargo.toml │ └── src │ │ ├── base_token.rs │ │ ├── l1_network.rs │ │ ├── lib.rs │ │ ├── prover_mode.rs │ │ ├── token_info.rs │ │ └── wallet_creation.rs └── zkstack │ ├── Cargo.toml │ ├── README.md │ ├── abi │ └── ConsensusRegistry.json │ ├── build.rs │ ├── completion │ ├── _zkstack.zsh │ ├── zkstack.fish │ └── zkstack.sh │ └── src │ ├── abi.rs │ ├── admin_functions.rs │ ├── commands │ ├── args │ │ ├── autocomplete.rs │ │ ├── containers.rs │ │ ├── mod.rs │ │ ├── run_server.rs │ │ ├── update.rs │ │ └── wait.rs │ ├── autocomplete.rs │ ├── chain │ │ ├── accept_chain_ownership.rs │ │ ├── admin_call_builder.rs │ │ ├── args │ │ │ ├── build_transactions.rs │ │ │ ├── create.rs │ │ │ ├── genesis.rs │ │ │ ├── init │ │ │ │ ├── configs.rs │ │ │ │ ├── da_configs.rs │ │ │ │ └── mod.rs │ │ │ ├── mod.rs │ │ │ └── set_pubdata_pricing_mode.rs │ │ ├── build_transactions.rs │ │ ├── common.rs │ │ ├── create.rs │ │ ├── deploy_l2_contracts.rs │ │ ├── deploy_paymaster.rs │ │ ├── enable_evm_emulator.rs │ │ ├── gateway │ │ │ ├── constants.rs │ │ │ ├── convert_to_gateway.rs │ │ │ ├── finalize_chain_migration_from_gw.rs │ │ │ ├── gateway_common.rs │ │ │ ├── grant_gateway_whitelist.rs │ │ │ ├── messages.rs │ │ │ ├── migrate_from_gateway.rs │ │ │ ├── migrate_from_gateway_calldata.rs │ │ │ ├── migrate_to_gateway.rs │ │ │ ├── migrate_to_gateway_calldata.rs │ │ │ ├── mod.rs │ │ │ └── notify_server_calldata.rs │ │ ├── genesis │ │ │ ├── database.rs │ │ │ ├── mod.rs │ │ │ └── server.rs │ │ ├── init │ │ │ ├── configs.rs │ │ │ └── mod.rs │ │ ├── mod.rs │ │ ├── register_chain.rs │ │ ├── set_da_validator_pair.rs │ │ ├── set_da_validator_pair_calldata.rs │ │ ├── set_pubdata_pricing_mode.rs │ │ ├── set_token_multiplier_setter.rs │ │ ├── set_transaction_filterer.rs │ │ ├── setup_legacy_bridge.rs │ │ └── utils.rs │ ├── consensus │ │ └── mod.rs │ ├── containers.rs │ ├── contract_verifier │ │ ├── args │ │ │ ├── init.rs │ │ │ ├── mod.rs │ │ │ └── releases.rs │ │ ├── build.rs │ │ ├── init.rs │ │ ├── mod.rs │ │ ├── run.rs │ │ └── wait.rs │ ├── dev │ │ ├── commands │ │ │ ├── clean │ │ │ │ └── mod.rs │ │ │ ├── config_writer.rs │ │ │ ├── contracts.rs │ │ │ ├── database │ │ │ │ ├── args │ │ │ │ │ ├── mod.rs │ │ │ │ │ └── new_migration.rs │ │ │ │ ├── check_sqlx_data.rs │ │ │ │ ├── drop.rs │ │ │ │ ├── migrate.rs │ │ │ │ ├── mod.rs │ │ │ │ ├── new_migration.rs │ │ │ │ ├── prepare.rs │ │ │ │ ├── reset.rs │ │ │ │ └── setup.rs │ │ │ ├── fmt.rs │ │ │ ├── genesis.rs │ │ │ ├── init_test_wallet.rs │ │ │ ├── lint.rs │ │ │ ├── lint_utils.rs │ │ │ ├── mod.rs │ │ │ ├── prover │ │ │ │ ├── args │ │ │ │ │ ├── insert_batch.rs │ │ │ │ │ ├── insert_version.rs │ │ │ │ │ └── mod.rs │ │ │ │ ├── info.rs │ │ │ │ ├── insert_batch.rs │ │ │ │ ├── insert_version.rs │ │ │ │ └── mod.rs │ │ │ ├── rich_account │ │ │ │ ├── args │ │ │ │ │ └── mod.rs │ │ │ │ └── mod.rs │ │ │ ├── send_transactions │ │ │ │ ├── args │ │ │ │ │ └── mod.rs │ │ │ │ └── mod.rs │ │ │ ├── snapshot.rs │ │ │ ├── sql_fmt.rs │ │ │ ├── status │ │ │ │ ├── args.rs │ │ │ │ ├── draw.rs │ │ │ │ ├── mod.rs │ │ │ │ └── utils.rs │ │ │ ├── test │ │ │ │ ├── args │ │ │ │ │ ├── fees.rs │ │ │ │ │ ├── gateway_migration.rs │ │ │ │ │ ├── integration.rs │ │ │ │ │ ├── mod.rs │ │ │ │ │ ├── recovery.rs │ │ │ │ │ ├── revert.rs │ │ │ │ │ ├── rust.rs │ │ │ │ │ └── upgrade.rs │ │ │ │ ├── build.rs │ │ │ │ ├── db.rs │ │ │ │ ├── fees.rs │ │ │ │ ├── gateway_migration.rs │ │ │ │ ├── integration.rs │ │ │ │ ├── l1_contracts.rs │ │ │ │ ├── loadtest.rs │ │ │ │ ├── mod.rs │ │ │ │ ├── prover.rs │ │ │ │ ├── recovery.rs │ │ │ │ ├── revert.rs │ │ │ │ ├── rust.rs │ │ │ │ ├── upgrade.rs │ │ │ │ ├── utils.rs │ │ │ │ └── wallet.rs │ │ │ ├── track_priority_txs.rs │ │ │ ├── upgrade_utils.rs │ │ │ ├── v27_evm_eq.rs │ │ │ └── v28_precompiles.rs │ │ ├── consts.rs │ │ ├── dals.rs │ │ ├── defaults.rs │ │ ├── messages.rs │ │ └── mod.rs │ ├── ecosystem │ │ ├── args │ │ │ ├── build_transactions.rs │ │ │ ├── change_default.rs │ │ │ ├── create.rs │ │ │ ├── gateway_upgrade.rs │ │ │ ├── init.rs │ │ │ └── mod.rs │ │ ├── build_transactions.rs │ │ ├── change_default.rs │ │ ├── common.rs │ │ ├── create.rs │ │ ├── create_configs.rs │ │ ├── init.rs │ │ ├── mod.rs │ │ ├── setup_observability.rs │ │ └── utils.rs │ ├── explorer │ │ ├── backend.rs │ │ ├── init.rs │ │ ├── mod.rs │ │ └── run.rs │ ├── external_node │ │ ├── args │ │ │ ├── mod.rs │ │ │ ├── prepare_configs.rs │ │ │ └── run.rs │ │ ├── build.rs │ │ ├── init.rs │ │ ├── mod.rs │ │ ├── prepare_configs.rs │ │ ├── run.rs │ │ └── wait.rs │ ├── mod.rs │ ├── portal.rs │ ├── private_rpc │ │ └── mod.rs │ ├── prover │ │ ├── args │ │ │ ├── compressor_keys.rs │ │ │ ├── init.rs │ │ │ ├── init_bellman_cuda.rs │ │ │ ├── mod.rs │ │ │ ├── run.rs │ │ │ └── setup_keys.rs │ │ ├── compressor_keys.rs │ │ ├── deploy_proving_networks.rs │ │ ├── gcs.rs │ │ ├── init.rs │ │ ├── init_bellman_cuda.rs │ │ ├── mod.rs │ │ ├── run.rs │ │ └── setup_keys.rs │ ├── server.rs │ └── update.rs │ ├── consts.rs │ ├── defaults.rs │ ├── enable_evm_emulator.rs │ ├── external_node.rs │ ├── main.rs │ ├── messages.rs │ └── utils │ ├── addresses.rs │ ├── consensus.rs │ ├── forge.rs │ ├── link_to_code.rs │ ├── mod.rs │ ├── ports.rs │ └── rocks_db.rs ├── rust-toolchain └── zkstackup ├── README.md ├── install └── zkstackup /.cargo/config.toml: -------------------------------------------------------------------------------- 1 | [net] 2 | git-fetch-with-cli = true 3 | -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- 1 | ./volumes/**/* 2 | node_modules 3 | **/node_modules/** 4 | build/ 5 | dist/ 6 | volumes/ 7 | bellman-cuda 8 | 9 | # Ignore contract submodules 10 | contracts 11 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | *.sol linguist-language=Solidity 2 | 3 | -------------------------------------------------------------------------------- /.github/release-please/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "core": "28.9.0", 3 | "prover": "21.2.0", 4 | "zkstack_cli": "0.1.2" 5 | } 6 | -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "contracts"] 2 | path = contracts 3 | url = https://github.com/matter-labs/era-contracts.git 4 | [submodule "proof-manager-contracts"] 5 | path = proof-manager-contracts 6 | url = https://github.com/matter-labs/proof-manager-contracts.git 7 | -------------------------------------------------------------------------------- /.markdownlintignore: -------------------------------------------------------------------------------- 1 | # Ignore submodule 2 | bellman-cuda 3 | 4 | 5 | # Ignore Github configuration markdowns 6 | .github 7 | 8 | # Ignore contract submodules 9 | contracts 10 | -------------------------------------------------------------------------------- /.markdownlintrc: -------------------------------------------------------------------------------- 1 | { 2 | "default": true, 3 | "no-blanks-blockquote": false 4 | } 5 | -------------------------------------------------------------------------------- /.nvmrc: -------------------------------------------------------------------------------- 1 | v18.18.0 2 | -------------------------------------------------------------------------------- /.solhintignore: -------------------------------------------------------------------------------- 1 | lib/ 2 | # Ignore contract submodules 3 | contracts 4 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/CHANGELOG.md -------------------------------------------------------------------------------- /CODEOWNERS: -------------------------------------------------------------------------------- 1 | .github/release-please/** @matter-labs/core-release-managers 2 | **/CHANGELOG.md @matter-labs/core-release-managers 3 | CODEOWNERS @RomanBrodetski @perekopskiy @Deniallugo @popzxc 4 | .github/workflows/** @matter-labs/devops 5 | -------------------------------------------------------------------------------- /ZkStack.yaml: -------------------------------------------------------------------------------- 1 | name: zk 2 | l1_network: Localhost 3 | link_to_code: . 4 | chains: ./chains 5 | config: ./configs/ 6 | default_chain: era 7 | era_chain_id: 270 8 | prover_version: NoProofs 9 | wallet_creation: Localhost 10 | -------------------------------------------------------------------------------- /chains/era/configs/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/chains/era/configs/.gitkeep -------------------------------------------------------------------------------- /configs/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/configs/.gitkeep -------------------------------------------------------------------------------- /core/bin/custom_genesis_export/.gitignore: -------------------------------------------------------------------------------- 1 | *.bin 2 | -------------------------------------------------------------------------------- /core/bin/external_node/src/config/tests/mainnet-config.env: -------------------------------------------------------------------------------- 1 | ../../../../../../docs/src/guides/external-node/prepared_configs/mainnet-config.env -------------------------------------------------------------------------------- /core/bin/external_node/src/config/tests/mainnet-external-node-docker-compose.yml: -------------------------------------------------------------------------------- 1 | ../../../../../../docs/src/guides/external-node/docker-compose-examples/mainnet-external-node-docker-compose.yml -------------------------------------------------------------------------------- /core/bin/external_node/src/config/tests/testnet-external-node-docker-compose.yml: -------------------------------------------------------------------------------- 1 | ../../../../../../docs/src/guides/external-node/docker-compose-examples/testnet-external-node-docker-compose.yml -------------------------------------------------------------------------------- /core/bin/external_node/src/config/tests/testnet-sepolia-config.env: -------------------------------------------------------------------------------- 1 | ../../../../../../docs/src/guides/external-node/prepared_configs/testnet-sepolia-config.env -------------------------------------------------------------------------------- /core/bin/external_node/src/metadata.rs: -------------------------------------------------------------------------------- 1 | //! Metadata information about the external node. 2 | 3 | pub(crate) const SERVER_VERSION: &str = env!("CARGO_PKG_VERSION"); 4 | -------------------------------------------------------------------------------- /core/bin/system-constants-generator/README.md: -------------------------------------------------------------------------------- 1 | # Tool used to regenerate the constants 2 | 3 | We use this tool to regenerate the constants (mostly for gas), that are later included in multiple system contracts. 4 | -------------------------------------------------------------------------------- /core/bin/verified_sources_fetcher/README.md: -------------------------------------------------------------------------------- 1 | # Verified sources fetcher 2 | 3 | This tool downloads verified contract sources from SQL database from `contract_verification_requests` table. Then it 4 | saves sources and compilation settings to files. 5 | -------------------------------------------------------------------------------- /core/genesis_export.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/core/genesis_export.bin -------------------------------------------------------------------------------- /core/lib/dal/.gitignore: -------------------------------------------------------------------------------- 1 | .env 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20220120160234_add_tx_execution_info.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE transactions DROP COLUMN execution_info; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20220120160234_add_tx_execution_info.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE transactions ADD COLUMN execution_info JSONB NOT NULL DEFAULT '{}'; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20220127113853_tx_received_at_index.down.sql: -------------------------------------------------------------------------------- 1 | DROP INDEX transactions_received_at_idx; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20220127113853_tx_received_at_index.up.sql: -------------------------------------------------------------------------------- 1 | CREATE INDEX transactions_received_at_idx ON transactions(received_at); 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20220204131627_add_merkle_root.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE blocks DROP COLUMN merkle_root_hash; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20220204131627_add_merkle_root.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE blocks ADD COLUMN merkle_root_hash BYTEA; 2 | UPDATE blocks SET merkle_root_hash = hash; 3 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20220204223302_transactions_new_mempool.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE transactions DELETE COLUMN mempool_preceding_nonce_gaps; 2 | ALTER TABLE transactions ALTER COLUMN nonce SET NOT NULL; 3 | 4 | DROP INDEX transactions_initiator_address_nonce; 5 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20220304160112_drop_events_indices.up.sql: -------------------------------------------------------------------------------- 1 | DROP INDEX events_address_idx; 2 | DROP INDEX events_topic1_idx; 3 | DROP INDEX events_topic2_idx; 4 | DROP INDEX events_topic3_idx; 5 | DROP INDEX events_topic4_idx; 6 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20220308124416_add_l2_to_l1_communication.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE blocks DROP COLUMN l2_to_l1_logs; 2 | ALTER TABLE blocks DROP COLUMN l2_to_l1_messages; 3 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20220308124416_add_l2_to_l1_communication.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE blocks ADD COLUMN l2_to_l1_logs BYTEA[] NOT NULL DEFAULT '{}'; 2 | ALTER TABLE blocks ADD COLUMN l2_to_l1_messages BYTEA[] NOT NULL DEFAULT '{}'; 3 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20220315095541_txs_priority_id.down.sql: -------------------------------------------------------------------------------- 1 | DROP INDEX transactions_priority_op_id_idx; -------------------------------------------------------------------------------- /core/lib/dal/migrations/20220315095541_txs_priority_id.up.sql: -------------------------------------------------------------------------------- 1 | CREATE INDEX ON "transactions" (priority_op_id) WHERE priority_op_id IS NOT NULL; -------------------------------------------------------------------------------- /core/lib/dal/migrations/20220315144416_remove_tx_valid_in.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE transactions ADD COLUMN valid_from NUMERIC(20) NOT NULL DEFAULT 0; 2 | ALTER TABLE transactions ADD COLUMN valid_until NUMERIC(20) NOT NULL DEFAULT 0; 3 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20220315144416_remove_tx_valid_in.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE transactions DROP COLUMN valid_from; 2 | ALTER TABLE transactions DROP COLUMN valid_until; 3 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20220321131756_change_events_loc_index.down.sql: -------------------------------------------------------------------------------- 1 | CREATE INDEX events_tx_location_idx ON events (block_number, tx_index_in_block); 2 | DROP INDEX events_block_idx; 3 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20220321131756_change_events_loc_index.up.sql: -------------------------------------------------------------------------------- 1 | DROP INDEX events_tx_location_idx; 2 | CREATE INDEX events_block_idx ON events (block_number); 3 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20220325153146_remove_events_id.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE events DROP CONSTRAINT events_pkey; 2 | ALTER TABLE events ADD COLUMN id SERIAL PRIMARY KEY; 3 | 4 | CREATE INDEX events_block_idx ON events (block_number); 5 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20220325153146_remove_events_id.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE events DROP CONSTRAINT events_pkey; 2 | ALTER TABLE events DROP COLUMN id; 3 | ALTER TABLE events ADD PRIMARY KEY (block_number, event_index_in_block); 4 | 5 | DROP INDEX events_block_idx; 6 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20220404102332_eth_tx_index.down.sql: -------------------------------------------------------------------------------- 1 | DROP INDEX eth_txs_history_eth_tx_id_idx; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20220404102332_eth_tx_index.up.sql: -------------------------------------------------------------------------------- 1 | CREATE INDEX ON "eth_txs_history" (eth_tx_id); 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20220406085905_eth_tx_has_failed_status.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE eth_txs DROP COLUMN has_failed; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20220406085905_eth_tx_has_failed_status.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE eth_txs ADD COLUMN has_failed BOOLEAN NOT NULL default false; 2 | CREATE INDEX eth_txs_has_failed_idx ON eth_txs(has_failed) WHERE has_failed = TRUE; 3 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20220412142956_add_block_hash_index.down.sql: -------------------------------------------------------------------------------- 1 | DROP INDEX blocks_hash; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20220412142956_add_block_hash_index.up.sql: -------------------------------------------------------------------------------- 1 | CREATE INDEX blocks_hash ON blocks USING hash (hash); 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20220421125432_drop_to_porter_authorized.down.sql: -------------------------------------------------------------------------------- 1 | UPDATE transactions 2 | SET data = data || '{"to_porter_authorized": false}'::jsonb 3 | WHERE type = 'deposit' 4 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20220421125432_drop_to_porter_authorized.up.sql: -------------------------------------------------------------------------------- 1 | UPDATE transactions 2 | SET data = data - 'to_porter_authorized' 3 | WHERE type = 'deposit' 4 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20220504154136_remove_nonce_gaps.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE transactions ADD COLUMN mempool_preceding_nonce_gaps SMALLINT; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20220504154136_remove_nonce_gaps.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE transactions DROP COLUMN mempool_preceding_nonce_gaps; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20220517135000_add_contract_address_column.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE transactions DROP COLUMN IF EXISTS contract_address; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20220517135000_add_contract_address_column.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE transactions ADD COLUMN IF NOT EXISTS contract_address BYTEA; 2 | CREATE INDEX IF NOT EXISTS transactions_contract_address_idx ON transactions (contract_address); 3 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20220519103453_in_mempool.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE transactions DROP COLUMN IF EXISTS in_mempool; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20220519103453_in_mempool.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE transactions ADD COLUMN IF NOT EXISTS in_mempool BOOLEAN NOT NULL default false; 2 | CREATE INDEX IF NOT EXISTS transactions_in_mempool_idx ON transactions (in_mempool) WHERE in_mempool = TRUE; 3 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20220519201431_change_block_commitment_model.down.sql: -------------------------------------------------------------------------------- 1 | -- Add down migration script here 2 | ALTER TABLE blocks ADD COLUMN processable_onchain_ops BYTEA[] NOT NULL; 3 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20220519201431_change_block_commitment_model.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE blocks DROP COLUMN processable_onchain_ops; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20220527103820_block_number_tx_index_indices.down.sql: -------------------------------------------------------------------------------- 1 | DROP INDEX IF EXISTS transactions_block_number_tx_index; 2 | DROP INDEX IF EXISTS events_block_number_tx_index; 3 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20220601105448_contract_verification.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE contracts DROP COLUMN IF EXISTS verification_info; 2 | DROP TABLE IF EXISTS contract_verification_requests; 3 | DROP INDEX IF EXISTS contract_verification_requests_queued_idx; 4 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20220611134715_token-bridging.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE tokens DROP COLUMN l1_address; 2 | ALTER TABLE tokens DROP COLUMN l2_address; 3 | ALTER TABLE tokens ADD COLUMN address BYTEA; 4 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20220621103309_contract_verification_compilation_errors.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE contract_verification_requests 2 | DROP COLUMN IF EXISTS compilation_errors; 3 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20220621103309_contract_verification_compilation_errors.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE contract_verification_requests 2 | ADD COLUMN IF NOT EXISTS compilation_errors JSONB; 3 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20220630134601_track_l1_block_number_for_priority_ops.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE transactions DROP COLUMN l1_block_number; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20220630134601_track_l1_block_number_for_priority_ops.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE transactions ADD COLUMN l1_block_number INT; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20220704121755_witness_inputs.down.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE IF EXISTS witness_inputs; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20220705133822_add_value_column.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE transactions DROP COLUMN IF EXISTS value; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20220705133822_add_value_column.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE transactions ADD COLUMN IF NOT EXISTS value NUMERIC(80) NOT NULL DEFAULT 0; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20220707151034_storage_logs_dedup.down.sql: -------------------------------------------------------------------------------- 1 | drop table storage_logs_dedup; -------------------------------------------------------------------------------- /core/lib/dal/migrations/20220708093726_make-type-not-null.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE transactions ALTER COLUMN type SET NOT NULL; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20220708093726_make-type-not-null.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE transactions ALTER COLUMN type DROP NOT NULL; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20220711132020_save_initial_bootloader_content.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE blocks DROP COLUMN IF EXISTS initial_bootloader_heap_content; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20220711132020_save_initial_bootloader_content.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE blocks ADD COLUMN IF NOT EXISTS initial_bootloader_heap_content JSONB NOT NULL; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20220712073626_add_columns_to_witness_inputs.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE witness_inputs DROP COLUMN status; -------------------------------------------------------------------------------- /core/lib/dal/migrations/20220712073626_add_columns_to_witness_inputs.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE witness_inputs ADD COLUMN status TEXT NOT NULL; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20220712093408_add_used_contracts_to_blocks.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE blocks DROP COLUMN used_contract_hashes; 2 | 3 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20220712093408_add_used_contracts_to_blocks.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE blocks ADD COLUMN used_contract_hashes JSONB NOT NULL; 2 | 3 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20220713090226_remove-priority-mode.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE blocks ADD COLUMN priority_ops_complexity NUMERIC(80) NOT NULL; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20220713090226_remove-priority-mode.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE blocks DROP COLUMN priority_ops_complexity; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20220729125750_add-contract-verification-started-at.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE contract_verification_requests 2 | DROP COLUMN IF EXISTS processing_started_at; 3 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20220729125750_add-contract-verification-started-at.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE contract_verification_requests 2 | ADD COLUMN IF NOT EXISTS processing_started_at TIMESTAMP; 3 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20220801131413_add_paymaster_data.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE transactions DROP COLUMN IF EXISTS paymaster; 2 | ALTER TABLE transactions DROP COLUMN IF EXISTS paymaster_input; 3 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20220801131413_add_paymaster_data.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE transactions ADD COLUMN IF NOT EXISTS paymaster BYTEA NOT NULL; 2 | ALTER TABLE transactions ADD COLUMN IF NOT EXISTS paymaster_input BYTEA NOT NULL; 3 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20220816141002_add_prover_jobs.down.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE prover_jobs; -------------------------------------------------------------------------------- /core/lib/dal/migrations/20220826100615_save_block_ergs_per_pubdata_limit.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE blocks DROP COLUMN IF EXISTS ergs_per_pubdata_limit; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20220826100615_save_block_ergs_per_pubdata_limit.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE blocks ADD COLUMN IF NOT EXISTS ergs_per_pubdata_limit BIGINT NOT NULL DEFAULT 0; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20220902124458_add_time_taken_column_in_witness_inputs.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE witness_inputs DROP COLUMN IF EXISTS time_taken; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20220902124458_add_time_taken_column_in_witness_inputs.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE witness_inputs ADD COLUMN IF NOT EXISTS time_taken TIME NOT NULL DEFAULT '00:00:00'; -------------------------------------------------------------------------------- /core/lib/dal/migrations/20220902190932_add_processing_started_at_to_witness_inputs.sql.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE witness_inputs 2 | DROP COLUMN IF EXISTS processing_started_at; 3 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20220902190932_add_processing_started_at_to_witness_inputs.sql.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE witness_inputs 2 | ADD COLUMN IF NOT EXISTS processing_started_at TIMESTAMP; 3 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20220904161256_add_time_taken_column_in_prover_jobs.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE prover_jobs DROP COLUMN IF EXISTS time_taken; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20220904161256_add_time_taken_column_in_prover_jobs.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE prover_jobs ADD COLUMN IF NOT EXISTS time_taken TIME NOT NULL DEFAULT '00:00:00'; -------------------------------------------------------------------------------- /core/lib/dal/migrations/20220908094615_add_error_field_to_queues.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE witness_inputs DROP COLUMN IF EXISTS error; 2 | ALTER TABLE prover_jobs DROP COLUMN IF EXISTS error; 3 | 4 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20220908094615_add_error_field_to_queues.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE witness_inputs ADD COLUMN IF NOT EXISTS error VARCHAR; 2 | ALTER TABLE prover_jobs ADD COLUMN IF NOT EXISTS error VARCHAR; 3 | 4 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20220908103955_verifier-compilers-versions.down.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE contract_verification_zksolc_versions; 2 | DROP TABLE contract_verification_solc_versions; 3 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20220908145203_remove-redundant-fields.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE transactions ADD column type TEXT; 2 | ALTER TABLE transactions ADD column fee_token BYTEA; 3 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20220908145203_remove-redundant-fields.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE transactions DROP column type; 2 | ALTER TABLE transactions DROP column fee_token; 3 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20220914102048_unique-blocknumber-for-witnesses.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE witness_inputs DROP CONSTRAINT unique_witnesses; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20220914102048_unique-blocknumber-for-witnesses.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE witness_inputs ADD CONSTRAINT unique_witnesses UNIQUE (l1_batch_number); 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20220915125943_l1_batch_tx_number.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE transactions DROP COLUMN l1_batch_tx_index; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20220915125943_l1_batch_tx_number.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE transactions ADD COLUMN l1_batch_tx_index INT; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20220930085018_add_proof_aggregations.down.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE IF EXISTS leaf_aggregation_witness_jobs; 2 | DROP TABLE IF EXISTS node_aggregation_witness_jobs; 3 | ALTER TABLE prover_jobs DELETE COLUMN aggregation_round; 4 | 5 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20221001090302_add_proof_result.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE prover_jobs DELETE COLUMN result; -------------------------------------------------------------------------------- /core/lib/dal/migrations/20221001090302_add_proof_result.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE prover_jobs ADD COLUMN result BYTEA; -------------------------------------------------------------------------------- /core/lib/dal/migrations/20221001131821_add_static_artifact_storage.down.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE static_artifact_storage; -------------------------------------------------------------------------------- /core/lib/dal/migrations/20221002190817_add_circuit_id_to_proofs.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE prover_jobs DELETE COLUMN sequence_number; -------------------------------------------------------------------------------- /core/lib/dal/migrations/20221002190817_add_circuit_id_to_proofs.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE prover_jobs ADD COLUMN IF NOT EXISTS sequence_number INT NOT NULL default 0; -------------------------------------------------------------------------------- /core/lib/dal/migrations/20221003090515_add-commitment-hash-fields.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE l1_batches DROP COLUMN aux_data_hash; 2 | ALTER TABLE l1_batches DROP COLUMN pass_through_data_hash; 3 | ALTER TABLE l1_batches DROP COLUMN meta_parameters_hash; 4 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20221003090515_add-commitment-hash-fields.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE l1_batches ADD COLUMN aux_data_hash BYTEA; 2 | ALTER TABLE l1_batches ADD COLUMN pass_through_data_hash BYTEA; 3 | ALTER TABLE l1_batches ADD COLUMN meta_parameters_hash BYTEA; 4 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20221004114549_add_scheduler_jobs_table.down.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE IF EXISTS scheduler_witness_jobs; -------------------------------------------------------------------------------- /core/lib/dal/migrations/20221010145858_remove_ergs_per_code_decommittment_word.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE l1_batches ADD COLUMN ergs_per_code_decommittment_word INT NOT NULL DEFAULT 0; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20221010145858_remove_ergs_per_code_decommittment_word.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE l1_batches DROP COLUMN ergs_per_code_decommittment_word; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20221013104735_add_aggregation_result_coords_to_scheduler_jobs.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE scheduler_witness_jobs DROP COLUMN aggregation_result_coords; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20221013104735_add_aggregation_result_coords_to_scheduler_jobs.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE scheduler_witness_jobs ADD COLUMN aggregation_result_coords BYTEA; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20221018114513_verification-requests-panic-messages.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE contract_verification_requests DROP COLUMN panic_message; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20221018114513_verification-requests-panic-messages.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE contract_verification_requests ADD COLUMN panic_message TEXT; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20221019112725_l2_to_l1_logs_table.down.sql: -------------------------------------------------------------------------------- 1 | DROP INDEX l2_to_l1_logs_tx_hash_index; 2 | DROP TABLE l2_to_l1_logs; 3 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20221031110209_miniblocks-hash-index.down.sql: -------------------------------------------------------------------------------- 1 | DROP INDEX miniblocks_hash; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20221031110209_miniblocks-hash-index.up.sql: -------------------------------------------------------------------------------- 1 | CREATE INDEX miniblocks_hash ON miniblocks USING hash (hash); 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20221109094807_block-skip-proof.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE l1_batches DROP COLUMN skip_proof; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20221109094807_block-skip-proof.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE l1_batches ADD COLUMN skip_proof BOOLEAN NOT NULL DEFAULT FALSE; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20221110094012_add_merkel_tree_paths_blob_url_in_witness_inputs.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE witness_inputs DROP COLUMN IF EXISTS merkel_tree_paths_blob_url; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20221110094012_add_merkel_tree_paths_blob_url_in_witness_inputs.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE witness_inputs ADD COLUMN IF NOT EXISTS merkel_tree_paths_blob_url TEXT; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20221110095052_add_circuit_input_blob_url_column_in_prover_jobs.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE prover_jobs DROP COLUMN IF EXISTS circuit_input_blob_url; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20221110095052_add_circuit_input_blob_url_column_in_prover_jobs.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE prover_jobs ADD COLUMN IF NOT EXISTS circuit_input_blob_url TEXT; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20221202102801_events-tx-initiator-address.down.sql: -------------------------------------------------------------------------------- 1 | DROP INDEX events_tx_initiator_address_idx; 2 | ALTER TABLE events DROP COLUMN tx_initiator_address BYTEA; 3 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20221215085757_add_composite_index_to_prover_jobs.down.sql: -------------------------------------------------------------------------------- 1 | DROP INDEX prover_jobs_composite_index; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20221215085757_add_composite_index_to_prover_jobs.up.sql: -------------------------------------------------------------------------------- 1 | CREATE UNIQUE INDEX prover_jobs_composite_index ON prover_jobs(l1_batch_number, aggregation_round, sequence_number); 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20221215094205_prover-job-identity.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE prover_jobs 2 | DROP COLUMN proccesed_by; -------------------------------------------------------------------------------- /core/lib/dal/migrations/20221215094205_prover-job-identity.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE prover_jobs 2 | ADD proccesed_by TEXT; -------------------------------------------------------------------------------- /core/lib/dal/migrations/20221222120017_add_index_to_reduce_load_in_prover_jobs.down.sql: -------------------------------------------------------------------------------- 1 | DROP index ix_prover_jobs_t1; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20221222120017_add_index_to_reduce_load_in_prover_jobs.up.sql: -------------------------------------------------------------------------------- 1 | create index if not exists ix_prover_jobs_t1 on prover_jobs (aggregation_round DESC, l1_batch_number ASC, id ASC) where status in ('queued', 'in_progress', 'failed'); 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20221229154428_add-bootloader-aa-code-hash.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE miniblocks DROP bootloader_code_hash; 2 | ALTER TABLE miniblocks DROP default_aa_code_hash; 3 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20221229154428_add-bootloader-aa-code-hash.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE miniblocks ADD bootloader_code_hash BYTEA; 2 | ALTER TABLE miniblocks ADD default_aa_code_hash BYTEA; 3 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20230104104142_add_gpu_prover_queue_table.down.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE IF EXISTS gpu_prover_queue; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20230105122559_protective_reads.down.sql: -------------------------------------------------------------------------------- 1 | DROP INDEX protective_reads_l1_batch_number_index; 2 | DROP TABLE protective_reads; 3 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20230112111801_initial_writes.down.sql: -------------------------------------------------------------------------------- 1 | DROP INDEX initial_writes_l1_batch_number_index; 2 | DROP TABLE initial_writes; 3 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20230113113154_add_storage_logs_index.down.sql: -------------------------------------------------------------------------------- 1 | DROP INDEX storage_logs_contract_address_tx_hash_idx; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20230117123627_add_queue_capacity_and_free_slots_in_gpu_prover_queue.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE gpu_prover_queue 2 | DROP COLUMN IF EXISTS queue_free_slots, 3 | DROP COLUMN IF EXISTS queue_capacity; 4 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20230117123627_add_queue_capacity_and_free_slots_in_gpu_prover_queue.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE gpu_prover_queue 2 | ADD COLUMN IF NOT EXISTS queue_free_slots INTEGER NOT NULL, 3 | ADD COLUMN IF NOT EXISTS queue_capacity INTEGER NOT NULL; 4 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20230119123216_drop_null_constraint_gpu_prover_queue.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE gpu_prover_queue ALTER COLUMN queue_capacity SET NOT NULL; 2 | ALTER TABLE gpu_prover_queue ALTER COLUMN queue_free_slots SET NOT NULL; 3 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20230119123216_drop_null_constraint_gpu_prover_queue.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE gpu_prover_queue ALTER COLUMN queue_capacity DROP NOT NULL; 2 | ALTER TABLE gpu_prover_queue ALTER COLUMN queue_free_slots DROP NOT NULL; 3 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20230119182427_l1_refunds.down.sql: -------------------------------------------------------------------------------- 1 | -- Add down migration script here 2 | 3 | ALTER TABLE transactions DROP COLUMN l1_tx_mint; 4 | ALTER TABLE transactions DROP COLUMN l1_tx_refund_recipient; 5 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20230119182427_l1_refunds.up.sql: -------------------------------------------------------------------------------- 1 | -- Add up migration script here 2 | 3 | ALTER TABLE transactions ADD COLUMN l1_tx_mint NUMERIC; 4 | ALTER TABLE transactions ADD COLUMN l1_tx_refund_recipient BYTEA; 5 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20230203102247_add_specialized_prover_group_id_in_gpu_prover_queue.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE gpu_prover_queue 2 | DROP COLUMN IF EXISTS specialized_prover_group_id; 3 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20230203102247_add_specialized_prover_group_id_in_gpu_prover_queue.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE gpu_prover_queue 2 | ADD COLUMN IF NOT EXISTS specialized_prover_group_id SMALLINT; 3 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20230215114053_verification-request-is-system.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE contract_verification_requests DROP COLUMN IF EXISTS is_system; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20230215114053_verification-request-is-system.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE contract_verification_requests 2 | ADD COLUMN IF NOT EXISTS is_system BOOLEAN NOT NULL DEFAULT FALSE; 3 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20230221112209_add_region_column_in_gpu_prover_queue.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE gpu_prover_queue 2 | DROP COLUMN IF EXISTS region; 3 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20230221112209_add_region_column_in_gpu_prover_queue.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE gpu_prover_queue 2 | ADD COLUMN IF NOT EXISTS region TEXT 3 | NOT NULL 4 | DEFAULT('prior to enabling multi-region'); 5 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20230228095320_add_circuit_type_status_index_in_prover_jobs.down.sql: -------------------------------------------------------------------------------- 1 | DROP INDEX IF EXISTS prover_jobs_circuit_type_and_status_index; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20230228095320_add_circuit_type_status_index_in_prover_jobs.up.sql: -------------------------------------------------------------------------------- 1 | CREATE INDEX IF NOT EXISTS prover_jobs_circuit_type_and_status_index ON prover_jobs (circuit_type, status); 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20230320195412_calls.down.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE call_traces; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20230320195412_calls.up.sql: -------------------------------------------------------------------------------- 1 | CREATE TABLE call_traces ( 2 | tx_hash BYTEA PRIMARY KEY, 3 | call_trace BYTEA NOT NULL, 4 | FOREIGN KEY (tx_hash) REFERENCES transactions (hash) ON DELETE CASCADE 5 | ); 6 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20230323110438_add_zone_num_gpu_column_in_gpu_prover_queue.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE gpu_prover_queue 2 | DROP COLUMN IF EXISTS zone, 3 | DROP COLUMN IF EXISTS num_gpu; 4 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20230323111121_add_zone_in_pk_of_gpu_prover_queue.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE gpu_prover_queue DROP CONSTRAINT IF EXISTS gpu_prover_unique_idx; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20230323111121_add_zone_in_pk_of_gpu_prover_queue.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE gpu_prover_queue ADD CONSTRAINT gpu_prover_unique_idx UNIQUE(instance_host, instance_port, region, zone); 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20230327173626_eth-txs-history-tx-hash-index.down.sql: -------------------------------------------------------------------------------- 1 | DROP INDEX IF EXISTS eth_txs_history_tx_hash_index; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20230420104112_add_events_address-block-index_index.down.sql: -------------------------------------------------------------------------------- 1 | DROP INDEX IF EXISTS events_address_block_event_index_in_block_index; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20230420104112_add_events_address-block-index_index.up.sql: -------------------------------------------------------------------------------- 1 | CREATE INDEX IF NOT EXISTS events_address_block_event_index_in_block_index ON events (address, miniblock_number, event_index_in_block); 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20230424115322_drop_stoarge_logs_dedup_table.up.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE IF EXISTS storage_logs_dedup; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20230525091429_events_transfer_indices_for_explorer.down.sql: -------------------------------------------------------------------------------- 1 | DROP INDEX IF EXISTS events_transfer_from; 2 | DROP INDEX IF EXISTS events_transfer_to; 3 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20230607131138_create_witness_inputs_fri_table.down.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE IF EXISTS witness_inputs_fri; -------------------------------------------------------------------------------- /core/lib/dal/migrations/20230607132716_create_prover_jobs_fri_table.down.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE IF EXISTS prover_jobs_fri; -------------------------------------------------------------------------------- /core/lib/dal/migrations/20230609133146_drop_contract_sources.up.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE IF EXISTS contract_sources; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20230612111554_drop_unnecessary_foreign_keys_post_prover_migration.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE witness_inputs ADD CONSTRAINT witness_inputs_l1_batch_number_fkey 2 | FOREIGN KEY (l1_batch_number) REFERENCES l1_batches (number); -------------------------------------------------------------------------------- /core/lib/dal/migrations/20230612111554_drop_unnecessary_foreign_keys_post_prover_migration.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE witness_inputs DROP CONSTRAINT witness_inputs_l1_batch_number_fkey; 2 | 3 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20230615142357_drop_l1_batches_constraint_from_witness_inputs_fri.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE witness_inputs_fri ADD CONSTRAINT witness_inputs_fri_l1_batch_number_fkey 2 | FOREIGN KEY (l1_batch_number) REFERENCES l1_batches (number); -------------------------------------------------------------------------------- /core/lib/dal/migrations/20230615142357_drop_l1_batches_constraint_from_witness_inputs_fri.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE witness_inputs_fri DROP CONSTRAINT witness_inputs_fri_l1_batch_number_fkey; 2 | 3 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20230616131252_add_leaf_aggregation_witness_jobs_fri.down.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE IF EXISTS witness_inputleaf_aggregation_witness_jobs_fris_fri; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20230619132736_add_node_aggregation_witness_jobs_fri_table.down.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE IF EXISTS node_aggregation_witness_jobs_fri; -------------------------------------------------------------------------------- /core/lib/dal/migrations/20230622100931_add_number_of_basic_circuits_in_leaf_agg_jobs_fri_table.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE leaf_aggregation_witness_jobs_fri DROP COLUMN IF EXISTS number_of_basic_circuits; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20230622100931_add_number_of_basic_circuits_in_leaf_agg_jobs_fri_table.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE leaf_aggregation_witness_jobs_fri ADD COLUMN IF NOT EXISTS number_of_basic_circuits INT; 2 | 3 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20230622142030_add_depth_in_prover_jobs_fri_table.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE prover_jobs_fri DROP COLUMN IF EXISTS depth; -------------------------------------------------------------------------------- /core/lib/dal/migrations/20230622142030_add_depth_in_prover_jobs_fri_table.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE prover_jobs_fri ADD COLUMN IF NOT EXISTS depth INT NOT NULL DEFAULT 0; -------------------------------------------------------------------------------- /core/lib/dal/migrations/20230627123428_add_scheduler_dependency_tracker_table.down.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE IF EXISTS scheduler_dependency_tracker_fri; -------------------------------------------------------------------------------- /core/lib/dal/migrations/20230627131556_create_scheduler_witness_jobs_fri_table.down.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE IF EXISTS scheduler_witness_jobs_fri; -------------------------------------------------------------------------------- /core/lib/dal/migrations/20230628091834_add_attempts_in_scheduler_witness_jobs_fri_table.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE scheduler_witness_jobs_fri drop COLUMN IF EXISTS attempts; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20230628091834_add_attempts_in_scheduler_witness_jobs_fri_table.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE scheduler_witness_jobs_fri ADD COLUMN IF NOT EXISTS attempts SMALLINT NOT NULL DEFAULT 0; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20230628113801_add_is_node_final_proof_column_in_prover_jobs_fri_table.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE prover_jobs_fri DROP COLUMN IF EXISTS is_node_final_proof; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20230628113801_add_is_node_final_proof_column_in_prover_jobs_fri_table.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE prover_jobs_fri ADD COLUMN IF NOT EXISTS is_node_final_proof BOOLEAN NOT NULL DEFAULT FALSE; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20230628120840_add_number_of_dependency_column_in_node_aggregations_fri_table.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE node_aggregation_witness_jobs_fri DROP COLUMN IF EXISTS number_of_dependent_jobs; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20230628120840_add_number_of_dependency_column_in_node_aggregations_fri_table.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE node_aggregation_witness_jobs_fri ADD COLUMN IF NOT EXISTS number_of_dependent_jobs INTEGER; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20230630095614_add_proof_blob_url_drop_proof_from_prover_jobs_fri.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE prover_jobs_fri ADD COLUMN IF NOT EXISTS proof BYTEA; 2 | ALTER TABLE prover_jobs_fri DROP COLUMN IF EXISTS proof_blob_url; 3 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20230630095614_add_proof_blob_url_drop_proof_from_prover_jobs_fri.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE prover_jobs_fri DROP COLUMN IF EXISTS proof; 2 | ALTER TABLE prover_jobs_fri ADD COLUMN IF NOT EXISTS proof_blob_url TEXT; 3 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20230706080351_add-enumeration-indices.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE initial_writes DROP COLUMN IF EXISTS index; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20230706080351_add-enumeration-indices.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE initial_writes ADD COLUMN IF NOT EXISTS index BIGINT; 2 | CREATE UNIQUE INDEX IF NOT EXISTS initial_writes_index_index ON initial_writes (index); 3 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20230717182755_pending_tx_index.down.sql: -------------------------------------------------------------------------------- 1 | DROP INDEX IF EXISTS pending_l1_batch_txs; 2 | CREATE INDEX IF NOT EXISTS transactions_l1_batch_number_idx ON transactions USING btree (l1_batch_number) 3 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20230807152355_virtual_blocks.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE miniblocks 2 | DROP COLUMN virtual_blocks; 3 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20230807152355_virtual_blocks.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE miniblocks 2 | ADD virtual_blocks BIGINT NOT NULL DEFAULT 0; 3 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20230810090211_add_proof_generation_details_table.down.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE IF EXISTS proof_generation_details; 2 | 3 | DROP INDEX IF EXISTS idx_proof_generation_details_status_prover_taken_at; 4 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20230816123036_create_table_gpu_prover_queue_fri.down.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE IF exists gpu_prover_queue_fri; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20230817101508_add_index_for_gpu_prover_queue_fri.down.sql: -------------------------------------------------------------------------------- 1 | DROP INDEX IF EXISTS gpu_prover_queue_fri_host_port_zone_idx; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20230817101508_add_index_for_gpu_prover_queue_fri.up.sql: -------------------------------------------------------------------------------- 1 | CREATE UNIQUE INDEX IF NOT EXISTS gpu_prover_queue_fri_host_port_zone_idx ON gpu_prover_queue_fri (instance_host, instance_port, zone); 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20230824105133_drop_protocol_versions_tx_fk.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE protocol_versions ADD CONSTRAINT protocol_versions_upgrade_tx_hash_fkey 2 | FOREIGN KEY (upgrade_tx_hash) REFERENCES transactions (hash); 3 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20230824105133_drop_protocol_versions_tx_fk.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE protocol_versions DROP CONSTRAINT IF EXISTS protocol_versions_upgrade_tx_hash_fkey; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20230831110448_add_prover_fri_protocol_versions_table.down.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE IF EXISTS prover_fri_protocol_versions; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20230906070159_miniblocks_pending_batch_index.down.sql: -------------------------------------------------------------------------------- 1 | DROP INDEX IF EXISTS miniblocks_pending_batch; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20230906070159_miniblocks_pending_batch_index.up.sql: -------------------------------------------------------------------------------- 1 | CREATE INDEX IF NOT EXISTS miniblocks_pending_batch ON miniblocks USING btree (number) INCLUDE (timestamp) 2 | WHERE l1_batch_number IS NULL; 3 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20230906090541_add_proof_compression_table.down.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE IF EXISTS proof_compression_jobs_fri; 2 | 3 | DROP INDEX IF EXISTS idx_proof_compression_jobs_fri_status_processing_attempts; 4 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20230911090548_add_index_for_proof_compressor_table.down.sql: -------------------------------------------------------------------------------- 1 | DROP INDEX IF EXISTS idx_proof_compressor_jobs_fri_queued_order; 2 | DROP INDEX IF EXISTS idx_witness_inputs_fri_queued_order; 3 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20230914150834_enum-indices-not-null.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE initial_writes ALTER COLUMN index DROP NOT NULL; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20230914150834_enum-indices-not-null.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE initial_writes ALTER COLUMN index SET NOT NULL; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20230918093855_remove_not_null_constraint_fri_proof_blob_url_proof_compression_jobs_fri.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE proof_compression_jobs_fri 2 | ALTER COLUMN fri_proof_blob_url SET NOT NULL; 3 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20230918093855_remove_not_null_constraint_fri_proof_blob_url_proof_compression_jobs_fri.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE proof_compression_jobs_fri 2 | ALTER COLUMN fri_proof_blob_url DROP NOT NULL; 3 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20231009073918_drop-prover_jobs_fri_l1_batch_number_fkey.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE prover_jobs_fri ADD CONSTRAINT prover_jobs_fri_l1_batch_number_fkey 2 | FOREIGN KEY (l1_batch_number) REFERENCES l1_batches (number); 3 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20231009073918_drop-prover_jobs_fri_l1_batch_number_fkey.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE prover_jobs_fri DROP CONSTRAINT IF EXISTS prover_jobs_fri_l1_batch_number_fkey; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20231013085524_boojum-block-commitments.down.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE IF EXISTS commitments; 2 | DROP TABLE IF EXISTS events_queue; 3 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20231013163109_create_snapshots_table.down.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE IF EXISTS snapshots; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20231018205126_l1_batches_boojum_fields.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE l1_batches 2 | DROP COLUMN IF EXISTS system_logs; 3 | 4 | ALTER TABLE l1_batches 5 | DROP COLUMN IF EXISTS compressed_state_diffs; 6 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20231019125310_storage-refunds.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE l1_batches 2 | DROP COLUMN IF EXISTS storage_refunds; 3 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20231019125310_storage-refunds.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE l1_batches 2 | ADD COLUMN IF NOT EXISTS storage_refunds BIGINT[]; 3 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20231102144901_add_consensus_fields_for_miniblocks.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE miniblocks 2 | DROP COLUMN IF EXISTS consensus; 3 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20231102144901_add_consensus_fields_for_miniblocks.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE miniblocks 2 | ADD COLUMN consensus JSONB NULL; 3 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20231117091340_add-index-for-prover-jobs-fri-queueing.down.sql: -------------------------------------------------------------------------------- 1 | DROP INDEX idx_prover_jobs_fri_queued_order2; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20231128123456_create_consensus_replica_state_table.down.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE consensus_replica_state; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20231213192041_snapshot-recovery.down.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE IF EXISTS snapshot_recovery; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20231225083442_add-pub-data-input.down.sql: -------------------------------------------------------------------------------- 1 | ALTER table l1_batches DROP COLUMN pubdata_input; -------------------------------------------------------------------------------- /core/lib/dal/migrations/20231225083442_add-pub-data-input.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE l1_batches ADD COLUMN pubdata_input BYTEA; -------------------------------------------------------------------------------- /core/lib/dal/migrations/20231229181653_fair_pubdata_price.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE miniblocks DROP COLUMN fair_pubdata_price; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20231229181653_fair_pubdata_price.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE miniblocks 2 | ADD COLUMN IF NOT EXISTS fair_pubdata_price BIGINT; 3 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20240103123456_move_consensus_fields_to_new_table.down.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE miniblocks_consensus; 2 | ALTER TABLE miniblocks ADD COLUMN consensus JSONB NULL; 3 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20240103125908_remove_old_prover_subsystems.up.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE IF EXISTS gpu_prover_queue; 2 | 3 | DROP TABLE IF EXISTS prover_jobs; 4 | 5 | DROP TABLE IF EXISTS prover_protocol_versions; 6 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20240104121833_l1-batch-predicted-circuits.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE l1_batches 2 | DROP COLUMN IF EXISTS predicted_circuits; 3 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20240104121833_l1-batch-predicted-circuits.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE l1_batches 2 | ADD COLUMN IF NOT EXISTS predicted_circuits INT; 3 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20240110085604_add-l1-batch-circuit-statistic.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE l1_batches 2 | DROP COLUMN IF EXISTS predicted_circuits_by_type; 3 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20240110085604_add-l1-batch-circuit-statistic.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE l1_batches 2 | ADD COLUMN IF NOT EXISTS predicted_circuits_by_type JSONB; 3 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20240126114931_add-l1_batches-commitment-index.down.sql: -------------------------------------------------------------------------------- 1 | DROP INDEX IF EXISTS l1_batches_commitment; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20240126114931_add-l1_batches-commitment-index.up.sql: -------------------------------------------------------------------------------- 1 | CREATE INDEX IF NOT EXISTS l1_batches_commitment ON l1_batches (commitment); 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20240129133815_revert_removing_snapshot_recovery_columns.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE snapshot_recovery 2 | DROP COLUMN IF EXISTS last_finished_chunk_id, 3 | DROP COLUMN IF EXISTS total_chunk_count; 4 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20240131123456_add_consensus_fields_for_miniblocks.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE miniblocks 2 | DROP COLUMN IF EXISTS consensus; 3 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20240131123456_add_consensus_fields_for_miniblocks.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE miniblocks 2 | ADD COLUMN consensus JSONB NULL; 3 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20240202150009_transaction_batch_index.down.sql: -------------------------------------------------------------------------------- 1 | DROP INDEX IF EXISTS transactions_l1_batch_number_idx; 2 | DROP INDEX IF EXISTS aggregated_proof_from_l1_batch_index; 3 | DROP INDEX IF EXISTS aggregated_proof_to_l1_batch_index; -------------------------------------------------------------------------------- /core/lib/dal/migrations/20240204153050_add-miniblocks-l1-batch-index.down.sql: -------------------------------------------------------------------------------- 1 | drop index ix_miniblocks_t2; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20240204153050_add-miniblocks-l1-batch-index.up.sql: -------------------------------------------------------------------------------- 1 | create index if not exists ix_miniblocks_t2 2 | on miniblocks (l1_batch_number, number); 3 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20240205123456_add_genesis_to_consensus_replica_state.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE consensus_replica_state DROP COLUMN genesis JSONB; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20240205123456_add_genesis_to_consensus_replica_state.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE consensus_replica_state ADD genesis JSONB; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20240221154502_add-from-addr-to-eth-txs.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE eth_txs DROP COLUMN from_addr; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20240221154502_add-from-addr-to-eth-txs.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE eth_txs ADD COLUMN from_addr BYTEA; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20240221155945_add_force_evmla_to_contract_verification_req.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE contract_verification_requests DROP COLUMN force_evmla; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20240221155945_add_force_evmla_to_contract_verification_req.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE contract_verification_requests ADD COLUMN IF NOT EXISTS force_evmla BOOLEAN NOT NULL DEFAULT false; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20240228142549_eth_txs_add_4844_blob_sidecar.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE eth_txs_history DROP COLUMN blob_base_fee_per_gas; 2 | ALTER TABLE eth_txs DROP COLUMN blob_sidecar; 3 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20240228142549_eth_txs_add_4844_blob_sidecar.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE eth_txs_history ADD COLUMN blob_base_fee_per_gas BIGINT; 2 | ALTER TABLE eth_txs ADD COLUMN blob_sidecar BYTEA; 3 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20240306155535_remove_obsolete_indexes.up.sql: -------------------------------------------------------------------------------- 1 | DROP INDEX IF EXISTS transactions_contract_address_idx; 2 | DROP INDEX IF EXISTS events_tx_initiator_address; 3 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20240313090651_events_queue_bytea_column.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE events_queue DROP COLUMN IF EXISTS serialized_events_queue_bytea; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20240313090651_events_queue_bytea_column.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE events_queue ADD COLUMN IF NOT EXISTS serialized_events_queue_bytea BYTEA; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20240315132330_add_version_column_to_snapshots.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE snapshots 2 | DROP COLUMN version; 3 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20240315132330_add_version_column_to_snapshots.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE snapshots 2 | ADD COLUMN version INT NOT NULL DEFAULT 0; 3 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20240315172816_drop_not_null_verifier.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE protocol_versions 2 | ALTER COLUMN verifier_address SET NOT NULL; 3 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20240315172816_drop_not_null_verifier.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE protocol_versions 2 | ALTER COLUMN verifier_address DROP NOT NULL; 3 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20240320173835_consistency-checker-cursor.down.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE consistency_checker_info; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20240401105036_block-gas-limit.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE miniblocks DROP COLUMN gas_limit; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20240401105036_block-gas-limit.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE miniblocks ADD COLUMN gas_limit BIGINT; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20240403174704_pubdata_costs.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE l1_batches 2 | DROP COLUMN IF EXISTS pubdata_costs; 3 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20240403174704_pubdata_costs.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE l1_batches 2 | ADD COLUMN IF NOT EXISTS pubdata_costs BIGINT[]; 3 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20240409102923_drop_l1_batches_fee_account_address.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE l1_batches 2 | ADD COLUMN IF NOT EXISTS fee_account_address BYTEA DEFAULT '\x0000000000000000000000000000000000000000'::bytea; 3 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20240409102923_drop_l1_batches_fee_account_address.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE l1_batches DROP COLUMN IF EXISTS fee_account_address; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20240415161211_drop_miniblock_constraints.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE events 2 | ADD FOREIGN KEY (miniblock_number) REFERENCES miniblocks; 3 | ALTER TABLE l2_to_l1_logs 4 | ADD FOREIGN KEY (miniblock_number) REFERENCES miniblocks; 5 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20240415161211_drop_miniblock_constraints.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE events DROP CONSTRAINT IF EXISTS events_miniblock_number_fkey; 2 | ALTER TABLE l2_to_l1_logs DROP CONSTRAINT IF EXISTS l2_to_l1_logs_miniblock_number_fkey; 3 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20240513155728_l1_batches_add_tree_input.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE l1_batches DROP COLUMN IF EXISTS tree_writes; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20240513155728_l1_batches_add_tree_input.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE l1_batches ADD COLUMN IF NOT EXISTS tree_writes BYTEA; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20240522081114_create_data_availability_table.down.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE IF EXISTS data_availability; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20240522123456_remove_consensus_fields_for_miniblocks.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE miniblocks 2 | ADD COLUMN consensus JSONB NULL; 3 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20240522123456_remove_consensus_fields_for_miniblocks.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE miniblocks 2 | DROP COLUMN IF EXISTS consensus; 3 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20240522215934_add_vm_runner_protective_reads_table.down.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE IF EXISTS vm_runner_protective_reads; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20240611121747_add_base_token_ratio_table.down.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE IF EXISTS base_token_ratios; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20240617103351_make_key_preimage_nullable.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE storage_logs 2 | ALTER COLUMN address SET NOT NULL, 3 | ALTER COLUMN key SET NOT NULL; 4 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20240617103351_make_key_preimage_nullable.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE storage_logs 2 | ALTER COLUMN address DROP NOT NULL, 3 | ALTER COLUMN key DROP NOT NULL; 4 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20240619060210_make_storage_logs_tx_hash_nullable.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE storage_logs ALTER COLUMN tx_hash SET NOT NULL; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20240619060210_make_storage_logs_tx_hash_nullable.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE storage_logs ALTER COLUMN tx_hash DROP NOT NULL; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20240619143458_add_vm_run_data_blob_url_column.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE proof_generation_details DROP COLUMN IF EXISTS vm_run_data_blob_url; 2 | DROP TABLE IF EXISTS vm_runner_bwip; 3 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20240627142548_l1_batches_consensus.down.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE l1_batches_consensus; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20240705164305_protective_reads_add_processing_started_at.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE vm_runner_protective_reads DROP COLUMN IF EXISTS processing_started_at; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20240705164305_protective_reads_add_processing_started_at.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE vm_runner_protective_reads ADD COLUMN IF NOT EXISTS processing_started_at TIME; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20240708152005_bwip_add_processing_started_at.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE vm_runner_bwip DROP COLUMN IF EXISTS processing_started_at; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20240708152005_bwip_add_processing_started_at.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE vm_runner_bwip ADD COLUMN IF NOT EXISTS processing_started_at TIME; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20240708161016_remove-not-null-proof-gen-data-constraint.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE proof_generation_details ALTER COLUMN proof_gen_data_blob_url SET NOT NULL; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20240708161016_remove-not-null-proof-gen-data-constraint.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE proof_generation_details ALTER COLUMN proof_gen_data_blob_url DROP NOT NULL; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20240803083814_add_is_gateway_column_to_eth_txs.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE eth_txs DROP COLUMN is_gateway; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20240803083814_add_is_gateway_column_to_eth_txs.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE eth_txs ADD COLUMN is_gateway BOOLEAN NOT NULL DEFAULT FALSE; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20240809130434_add-block-logs-bloom.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE miniblocks 2 | DROP COLUMN IF EXISTS logs_bloom; 3 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20240809130434_add-block-logs-bloom.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE miniblocks 2 | ADD COLUMN IF NOT EXISTS logs_bloom BYTEA; 3 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20240819150019_add_chain_id_to_eth_txs.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE eth_txs DROP COLUMN chain_id; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20240819150019_add_chain_id_to_eth_txs.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE eth_txs ADD COLUMN chain_id BIGINT; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20240828130000_tee_unpicked_status.down.sql: -------------------------------------------------------------------------------- 1 | UPDATE tee_proof_generation_details 2 | SET status = 'ready_to_be_proven' 3 | WHERE status = 'unpicked'; 4 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20240828130000_tee_unpicked_status.up.sql: -------------------------------------------------------------------------------- 1 | UPDATE tee_proof_generation_details 2 | SET status = 'unpicked' 3 | WHERE status = 'ready_to_be_proven'; 4 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20240829123456_add_l1_batches_consensus_committees.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE consensus_replica_state DROP COLUMN global_config; 2 | 3 | DROP TABLE l1_batches_consensus_committees; 4 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20240910112120_unsealed_batches_in_db.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE l1_batches 2 | RENAME COLUMN is_sealed TO is_finished; 3 | ALTER table l1_batches 4 | DROP COLUMN fair_pubdata_price, 5 | DROP COLUMN fee_address; 6 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20240912085550_add_eth_watcher_progress_table.down.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE IF EXISTS processed_events; 2 | 3 | DROP TYPE IF EXISTS event_type; 4 | 5 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20240930110000_tee_add_permanently_ignored_state.down.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/core/lib/dal/migrations/20240930110000_tee_add_permanently_ignored_state.down.sql -------------------------------------------------------------------------------- /core/lib/dal/migrations/20241001110000_remove_tee_verifier_input_producer_job.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE tee_proof_generation_details DROP CONSTRAINT tee_proof_generation_details_l1_batch_number_fkey; 2 | 3 | DROP TABLE IF EXISTS tee_verifier_input_producer_jobs; 4 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20241008073940_add_block_timestamp_asserter.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE transactions 2 | DROP COLUMN timestamp_asserter_range_start, 3 | DROP COLUMN timestamp_asserter_range_end; 4 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20241008073940_add_block_timestamp_asserter.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE transactions 2 | ADD COLUMN timestamp_asserter_range_start TIMESTAMP DEFAULT NULL, 3 | ADD COLUMN timestamp_asserter_range_end TIMESTAMP DEFAULT NULL; 4 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20241011081834_batch_chain_merkle_path.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE l1_batches 2 | DROP COLUMN batch_chain_merkle_path BYTEA; 3 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20241106093512_make_zk_compiler_version_nullable.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE contract_verification_requests 2 | ALTER COLUMN zk_compiler_version SET NOT NULL; 3 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20241106093512_make_zk_compiler_version_nullable.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE contract_verification_requests 2 | ALTER COLUMN zk_compiler_version DROP NOT NULL; 3 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20241108051505_sealed_at.down.sql: -------------------------------------------------------------------------------- 1 | -- Add down migration script here 2 | ALTER TABLE l1_batches DROP COLUMN IF EXISTS sealed_at; 3 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20241108051505_sealed_at.up.sql: -------------------------------------------------------------------------------- 1 | -- add a sealed_at column for metrics 2 | ALTER TABLE l1_batches ADD COLUMN sealed_at TIMESTAMP; 3 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20241112120944_add_batch_root_hash_to_pruning_logs.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE pruning_log 2 | DROP COLUMN pruned_l1_batch_root_hash; 3 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20241112120944_add_batch_root_hash_to_pruning_logs.up.sql: -------------------------------------------------------------------------------- 1 | -- nullable for backward compatibility 2 | ALTER TABLE pruning_log 3 | ADD COLUMN pruned_l1_batch_root_hash BYTEA DEFAULT NULL; 4 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20241118113804_add_flonk_verifier_vk_hash.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE protocol_patches 2 | DROP COLUMN fflonk_snark_wrapper_vk_hash; 3 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20241118113804_add_flonk_verifier_vk_hash.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE protocol_patches 2 | ADD COLUMN fflonk_snark_wrapper_vk_hash BYTEA DEFAULT NULL; 3 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20241121142103_drop_predicted_gas_cost_not_null.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE eth_txs 2 | ALTER COLUMN predicted_gas_cost SET NOT NULL; 3 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20241121142103_drop_predicted_gas_cost_not_null.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE eth_txs 2 | ALTER COLUMN predicted_gas_cost DROP NOT NULL; 3 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20241212121618_add_type_column_to_data_availability.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE data_availability DROP COLUMN IF EXISTS client_type; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20241212121618_add_type_column_to_data_availability.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE data_availability ADD COLUMN client_type TEXT; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20241226161705_add_ratio_timestamp_index.down.sql: -------------------------------------------------------------------------------- 1 | DROP INDEX IF EXISTS base_token_ratios_ratio_timestamp_idx; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20241226161705_add_ratio_timestamp_index.up.sql: -------------------------------------------------------------------------------- 1 | CREATE INDEX IF NOT EXISTS base_token_ratios_ratio_timestamp_idx ON base_token_ratios (ratio_timestamp); 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20241812144402_create_index_data_availability.sql: -------------------------------------------------------------------------------- 1 | CREATE INDEX idx_blob_id_l1_batch_number ON data_availability (blob_id, l1_batch_number); 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20250130233500_data_availability_add_l2_validator.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE data_availability DROP COLUMN IF EXISTS l2_da_validator_address; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20250130233500_data_availability_add_l2_validator.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE data_availability ADD COLUMN l2_da_validator_address BYTEA; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20250210132453_remove_tx_initiator_address_idx.down.sql: -------------------------------------------------------------------------------- 1 | CREATE INDEX events_tx_initiator_address_idx ON events (tx_initiator_address); 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20250210132453_remove_tx_initiator_address_idx.up.sql: -------------------------------------------------------------------------------- 1 | DROP INDEX IF EXISTS events_tx_initiator_address_idx; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20250211071416_contract-verifier-evm-request.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE contract_verification_requests DROP COLUMN evm_specific; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20250211071416_contract-verifier-evm-request.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE contract_verification_requests ADD COLUMN evm_specific JSONB; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20250218134333_server_notification.down.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE IF EXISTS server_notifications; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20250314155250_consensus_versioning.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE miniblocks_consensus ALTER COLUMN certificate SET NOT NULL; 2 | ALTER TABLE miniblocks_consensus DROP COLUMN versioned_certificate; -------------------------------------------------------------------------------- /core/lib/dal/migrations/20250314155250_consensus_versioning.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE miniblocks_consensus ADD COLUMN versioned_certificate JSONB NULL; 2 | ALTER TABLE miniblocks_consensus ALTER COLUMN certificate DROP NOT NULL; 3 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20250321121118_requeue_failed_etherscan_verifications.down.sql: -------------------------------------------------------------------------------- 1 | -- Add down migration script here 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20250327161337_add_consensus_committees.down.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE consensus_committees; 2 | ALTER TABLE consensus_replica_state ADD COLUMN genesis JSONB; -------------------------------------------------------------------------------- /core/lib/dal/migrations/20250327161337_add_consensus_committees.up.sql: -------------------------------------------------------------------------------- 1 | CREATE TABLE consensus_committees ( 2 | active_at_block BIGINT PRIMARY KEY, 3 | validators JSONB NOT NULL 4 | ); 5 | ALTER TABLE consensus_replica_state DROP COLUMN genesis; -------------------------------------------------------------------------------- /core/lib/dal/migrations/20250331094929_eth_txs_max_gas_per_pubdata.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE eth_txs_history DROP COLUMN max_gas_per_pubdata; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20250331094929_eth_txs_max_gas_per_pubdata.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE eth_txs_history ADD COLUMN max_gas_per_pubdata BIGINT; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20250401132856_predicted_gas_in_eth_tx_history.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE eth_txs_history DROP COLUMN predicted_gas_limit; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20250401132856_predicted_gas_in_eth_tx_history.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE eth_txs_history ADD COLUMN predicted_gas_limit BIGINT; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20250402131932_add_dispatch_request_id.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE data_availability DROP COLUMN IF EXISTS dispatch_request_id; 2 | ALTER TABLE data_availability ALTER COLUMN blob_id SET NOT NULL DEFAULT ''; 3 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20250402131932_add_dispatch_request_id.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE data_availability ADD COLUMN dispatch_request_id TEXT NOT NULL DEFAULT ''; 2 | ALTER TABLE data_availability ALTER COLUMN blob_id DROP NOT NULL; 3 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20250418074531_eth_txs_history_submit_success.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE eth_txs_history 2 | DROP COLUMN sent_successfully; 3 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20250418074531_eth_txs_history_submit_success.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE eth_txs_history 2 | ADD COLUMN sent_successfully BOOLEAN NOT NULL DEFAULT TRUE; 3 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20250425113231_drop_ix_initial_writes_t1.down.sql: -------------------------------------------------------------------------------- 1 | CREATE INDEX ix_initial_writes_t1 2 | ON initial_writes (hashed_key) include (l1_batch_number); 3 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20250425113231_drop_ix_initial_writes_t1.up.sql: -------------------------------------------------------------------------------- 1 | DROP INDEX IF EXISTS ix_initial_writes_t1; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20250514234600_remove_consensus_committees.up.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE l1_batches_consensus_committees; 2 | DROP TABLE consensus_committees; -------------------------------------------------------------------------------- /core/lib/dal/migrations/20250520171002_requeue_etherscan_failed_requests.down.sql: -------------------------------------------------------------------------------- 1 | -- Add down migration script here 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20250521111307_fast-finality.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE eth_txs DROP COLUMN finality_status; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20250624104515_add_l1_batch_pubdata_limit.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE l1_batches DROP COLUMN pubdata_limit; 2 | -------------------------------------------------------------------------------- /core/lib/dal/migrations/20250624104515_add_l1_batch_pubdata_limit.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE l1_batches ADD COLUMN pubdata_limit BIGINT; 2 | -------------------------------------------------------------------------------- /core/lib/dal/src/consensus/proto/mod.rs: -------------------------------------------------------------------------------- 1 | #![allow(warnings)] 2 | include!(concat!(env!("OUT_DIR"), "/src/consensus/proto/gen.rs")); 3 | -------------------------------------------------------------------------------- /core/lib/dal/src/models/server_notification.rs: -------------------------------------------------------------------------------- 1 | use zksync_types::{L1BlockNumber, H256}; 2 | 3 | pub struct ServerNotification { 4 | pub l1_block_number: L1BlockNumber, 5 | pub main_topic: H256, 6 | } 7 | -------------------------------------------------------------------------------- /core/lib/instrument/src/lib.rs: -------------------------------------------------------------------------------- 1 | //! General-purpose instrumentation used by ZKsync libraries. 2 | 3 | pub mod alloc; 4 | pub mod filter; 5 | -------------------------------------------------------------------------------- /core/lib/l1_contract_interface/src/i_executor/commit/kzg/mod.rs: -------------------------------------------------------------------------------- 1 | pub use kzg::{pubdata_to_blob_commitments, KzgInfo, ZK_SYNC_BYTES_PER_BLOB}; 2 | -------------------------------------------------------------------------------- /core/lib/l1_contract_interface/src/i_executor/commit/mod.rs: -------------------------------------------------------------------------------- 1 | pub mod kzg; 2 | -------------------------------------------------------------------------------- /core/lib/l1_contract_interface/src/i_executor/mod.rs: -------------------------------------------------------------------------------- 1 | //! Different interfaces exposed by the `IExecutor.sol`. 2 | 3 | pub mod commit; 4 | pub mod methods; 5 | pub mod structures; 6 | -------------------------------------------------------------------------------- /core/lib/mempool/src/lib.rs: -------------------------------------------------------------------------------- 1 | mod mempool_store; 2 | #[cfg(test)] 3 | mod tests; 4 | mod types; 5 | 6 | pub use crate::{ 7 | mempool_store::{MempoolInfo, MempoolStats, MempoolStore}, 8 | types::{AdvanceInput, L2TxFilter}, 9 | }; 10 | -------------------------------------------------------------------------------- /core/lib/merkle_tree/tests/integration/main.rs: -------------------------------------------------------------------------------- 1 | //! Integration tests for the Merkle tree. 2 | 3 | mod common; 4 | mod consistency; 5 | mod domain; 6 | mod merkle_tree; 7 | mod recovery; 8 | -------------------------------------------------------------------------------- /core/lib/multivm/src/tracers/dynamic/mod.rs: -------------------------------------------------------------------------------- 1 | pub mod vm_1_3_3; 2 | pub mod vm_1_4_0; 3 | pub mod vm_1_4_1; 4 | pub mod vm_1_5_2; 5 | -------------------------------------------------------------------------------- /core/lib/multivm/src/versions/vm_1_4_1/bootloader_state/mod.rs: -------------------------------------------------------------------------------- 1 | mod l2_block; 2 | mod snapshot; 3 | mod state; 4 | mod tx; 5 | 6 | pub(crate) mod utils; 7 | pub(crate) use snapshot::BootloaderStateSnapshot; 8 | pub use state::BootloaderState; 9 | -------------------------------------------------------------------------------- /core/lib/multivm/src/versions/vm_1_4_1/implementation/mod.rs: -------------------------------------------------------------------------------- 1 | mod bytecode; 2 | mod execution; 3 | mod gas; 4 | mod logs; 5 | mod snapshots; 6 | mod statistics; 7 | mod tx; 8 | -------------------------------------------------------------------------------- /core/lib/multivm/src/versions/vm_1_4_1/oracles/mod.rs: -------------------------------------------------------------------------------- 1 | pub(crate) mod storage; 2 | -------------------------------------------------------------------------------- /core/lib/multivm/src/versions/vm_1_4_1/types/mod.rs: -------------------------------------------------------------------------------- 1 | pub(crate) mod internals; 2 | mod l1_batch; 3 | -------------------------------------------------------------------------------- /core/lib/multivm/src/versions/vm_1_4_1/utils/mod.rs: -------------------------------------------------------------------------------- 1 | /// Utility functions for the VM. 2 | pub mod fee; 3 | pub mod l2_blocks; 4 | pub(crate) mod logs; 5 | pub mod overhead; 6 | pub mod transaction_encoding; 7 | -------------------------------------------------------------------------------- /core/lib/multivm/src/versions/vm_1_4_2/bootloader_state/mod.rs: -------------------------------------------------------------------------------- 1 | mod l2_block; 2 | mod snapshot; 3 | mod state; 4 | mod tx; 5 | 6 | pub(crate) mod utils; 7 | pub(crate) use snapshot::BootloaderStateSnapshot; 8 | pub use state::BootloaderState; 9 | -------------------------------------------------------------------------------- /core/lib/multivm/src/versions/vm_1_4_2/implementation/mod.rs: -------------------------------------------------------------------------------- 1 | mod bytecode; 2 | mod execution; 3 | mod gas; 4 | mod logs; 5 | mod snapshots; 6 | mod statistics; 7 | mod tx; 8 | -------------------------------------------------------------------------------- /core/lib/multivm/src/versions/vm_1_4_2/oracles/mod.rs: -------------------------------------------------------------------------------- 1 | pub(crate) mod storage; 2 | -------------------------------------------------------------------------------- /core/lib/multivm/src/versions/vm_1_4_2/types/mod.rs: -------------------------------------------------------------------------------- 1 | pub(crate) mod internals; 2 | mod l1_batch; 3 | -------------------------------------------------------------------------------- /core/lib/multivm/src/versions/vm_1_4_2/utils/mod.rs: -------------------------------------------------------------------------------- 1 | /// Utility functions for the VM. 2 | pub mod fee; 3 | pub mod l2_blocks; 4 | pub(crate) mod logs; 5 | pub mod overhead; 6 | pub mod transaction_encoding; 7 | -------------------------------------------------------------------------------- /core/lib/multivm/src/versions/vm_boojum_integration/bootloader_state/mod.rs: -------------------------------------------------------------------------------- 1 | mod l2_block; 2 | mod snapshot; 3 | mod state; 4 | mod tx; 5 | 6 | pub(crate) mod utils; 7 | pub(crate) use snapshot::BootloaderStateSnapshot; 8 | pub use state::BootloaderState; 9 | -------------------------------------------------------------------------------- /core/lib/multivm/src/versions/vm_boojum_integration/implementation/mod.rs: -------------------------------------------------------------------------------- 1 | mod bytecode; 2 | mod execution; 3 | mod gas; 4 | mod logs; 5 | mod snapshots; 6 | mod statistics; 7 | mod tx; 8 | -------------------------------------------------------------------------------- /core/lib/multivm/src/versions/vm_boojum_integration/oracles/mod.rs: -------------------------------------------------------------------------------- 1 | pub(crate) mod storage; 2 | -------------------------------------------------------------------------------- /core/lib/multivm/src/versions/vm_boojum_integration/types/mod.rs: -------------------------------------------------------------------------------- 1 | pub(crate) mod internals; 2 | mod l1_batch; 3 | -------------------------------------------------------------------------------- /core/lib/multivm/src/versions/vm_boojum_integration/utils/mod.rs: -------------------------------------------------------------------------------- 1 | /// Utility functions for the VM. 2 | pub mod fee; 3 | pub mod l2_blocks; 4 | pub(crate) mod logs; 5 | pub mod overhead; 6 | pub mod transaction_encoding; 7 | -------------------------------------------------------------------------------- /core/lib/multivm/src/versions/vm_fast/tests/block_tip.rs: -------------------------------------------------------------------------------- 1 | use crate::{versions::testonly::block_tip::test_dry_run_upper_bound, vm_fast::Vm}; 2 | 3 | #[test] 4 | fn dry_run_upper_bound() { 5 | test_dry_run_upper_bound::<Vm<_>>(); 6 | } 7 | -------------------------------------------------------------------------------- /core/lib/multivm/src/versions/vm_fast/tests/bytecode_publishing.rs: -------------------------------------------------------------------------------- 1 | use crate::{versions::testonly::bytecode_publishing::test_bytecode_publishing, vm_fast::Vm}; 2 | 3 | #[test] 4 | fn bytecode_publishing() { 5 | test_bytecode_publishing::<Vm<_>>(); 6 | } 7 | -------------------------------------------------------------------------------- /core/lib/multivm/src/versions/vm_fast/tests/circuits.rs: -------------------------------------------------------------------------------- 1 | use crate::{versions::testonly::circuits::test_circuits, vm_fast::Vm}; 2 | 3 | #[test] 4 | fn circuits() { 5 | test_circuits::<Vm<_>>(); 6 | } 7 | -------------------------------------------------------------------------------- /core/lib/multivm/src/versions/vm_fast/tests/gas_limit.rs: -------------------------------------------------------------------------------- 1 | use crate::{versions::testonly::gas_limit::test_tx_gas_limit_offset, vm_fast::Vm}; 2 | 3 | #[test] 4 | fn tx_gas_limit_offset() { 5 | test_tx_gas_limit_offset::<Vm<_>>(); 6 | } 7 | -------------------------------------------------------------------------------- /core/lib/multivm/src/versions/vm_fast/tests/nonce_holder.rs: -------------------------------------------------------------------------------- 1 | use crate::{versions::testonly::nonce_holder::test_nonce_holder, vm_fast::Vm}; 2 | 3 | #[test] 4 | fn nonce_holder() { 5 | test_nonce_holder::<Vm<_>>(); 6 | } 7 | -------------------------------------------------------------------------------- /core/lib/multivm/src/versions/vm_fast/tests/require_eip712.rs: -------------------------------------------------------------------------------- 1 | use crate::{versions::testonly::require_eip712::test_require_eip712, vm_fast::Vm}; 2 | 3 | #[test] 4 | fn require_eip712() { 5 | test_require_eip712::<Vm<_>>(); 6 | } 7 | -------------------------------------------------------------------------------- /core/lib/multivm/src/versions/vm_fast/tests/secp256r1.rs: -------------------------------------------------------------------------------- 1 | use crate::{versions::testonly::secp256r1::test_secp256r1, vm_fast::Vm}; 2 | 3 | #[test] 4 | fn secp256r1() { 5 | test_secp256r1::<Vm<_>>(); 6 | } 7 | -------------------------------------------------------------------------------- /core/lib/multivm/src/versions/vm_latest/implementation/mod.rs: -------------------------------------------------------------------------------- 1 | mod bytecode; 2 | mod execution; 3 | mod gas; 4 | mod logs; 5 | mod snapshots; 6 | mod statistics; 7 | mod tx; 8 | -------------------------------------------------------------------------------- /core/lib/multivm/src/versions/vm_latest/oracles/mod.rs: -------------------------------------------------------------------------------- 1 | pub(crate) mod storage; 2 | -------------------------------------------------------------------------------- /core/lib/multivm/src/versions/vm_m6/fuzz/.gitignore: -------------------------------------------------------------------------------- 1 | target 2 | corpus 3 | artifacts 4 | coverage 5 | -------------------------------------------------------------------------------- /core/lib/multivm/src/versions/vm_m6/fuzz/compare.sh: -------------------------------------------------------------------------------- 1 | gdb ./bad --command=show_cycle.gdb -ex "show_cycle $1" > badout 2 | gdb ./good --command=show_cycle.gdb -ex "show_cycle $1" > goodout 3 | delta goodout badout --max-line-length 100000 4 | -------------------------------------------------------------------------------- /core/lib/multivm/src/versions/vm_m6/fuzz/fuzz.sh: -------------------------------------------------------------------------------- 1 | cargo +nightly fuzz run --no-cfg-fuzzing --strip-dead-code --sanitizer none --release deploy_transaction 2 | -------------------------------------------------------------------------------- /core/lib/multivm/src/versions/vm_m6/fuzz/show_cycle.gdb: -------------------------------------------------------------------------------- 1 | set pagination off 2 | 3 | define show_cycle 4 | break cycle.rs:395 if self.local_state.monotonic_cycle_counter == $arg0 5 | run 6 | p self.local_state.registers 7 | quit 8 | end 9 | -------------------------------------------------------------------------------- /core/lib/multivm/src/versions/vm_refunds_enhancement/bootloader_state/mod.rs: -------------------------------------------------------------------------------- 1 | mod l2_block; 2 | mod snapshot; 3 | mod state; 4 | mod tx; 5 | 6 | pub(crate) mod utils; 7 | pub(crate) use snapshot::BootloaderStateSnapshot; 8 | pub use state::BootloaderState; 9 | -------------------------------------------------------------------------------- /core/lib/multivm/src/versions/vm_refunds_enhancement/implementation/mod.rs: -------------------------------------------------------------------------------- 1 | mod bytecode; 2 | mod execution; 3 | mod gas; 4 | mod logs; 5 | mod snapshots; 6 | mod statistics; 7 | mod tx; 8 | -------------------------------------------------------------------------------- /core/lib/multivm/src/versions/vm_refunds_enhancement/oracles/mod.rs: -------------------------------------------------------------------------------- 1 | pub(crate) mod storage; 2 | -------------------------------------------------------------------------------- /core/lib/multivm/src/versions/vm_refunds_enhancement/types/mod.rs: -------------------------------------------------------------------------------- 1 | pub(crate) mod internals; 2 | mod l1_batch; 3 | -------------------------------------------------------------------------------- /core/lib/multivm/src/versions/vm_refunds_enhancement/utils/mod.rs: -------------------------------------------------------------------------------- 1 | /// Utility functions for the VM. 2 | pub mod fee; 3 | pub mod l2_blocks; 4 | pub mod logs; 5 | pub mod overhead; 6 | pub mod transaction_encoding; 7 | -------------------------------------------------------------------------------- /core/lib/multivm/src/versions/vm_virtual_blocks/bootloader_state/mod.rs: -------------------------------------------------------------------------------- 1 | mod l2_block; 2 | mod snapshot; 3 | mod state; 4 | mod tx; 5 | 6 | pub(crate) mod utils; 7 | pub(crate) use snapshot::BootloaderStateSnapshot; 8 | pub use state::BootloaderState; 9 | -------------------------------------------------------------------------------- /core/lib/multivm/src/versions/vm_virtual_blocks/implementation/mod.rs: -------------------------------------------------------------------------------- 1 | mod bytecode; 2 | mod execution; 3 | mod gas; 4 | mod logs; 5 | mod snapshots; 6 | mod statistics; 7 | mod tx; 8 | -------------------------------------------------------------------------------- /core/lib/multivm/src/versions/vm_virtual_blocks/types/mod.rs: -------------------------------------------------------------------------------- 1 | pub(crate) mod internals; 2 | pub(crate) mod l1_batch_env; 3 | -------------------------------------------------------------------------------- /core/lib/multivm/src/versions/vm_virtual_blocks/utils/mod.rs: -------------------------------------------------------------------------------- 1 | /// Utility functions for the VM. 2 | pub mod fee; 3 | pub mod l2_blocks; 4 | pub mod logs; 5 | pub mod overhead; 6 | pub mod transaction_encoding; 7 | -------------------------------------------------------------------------------- /core/lib/node_framework/tests/ui/incorrect/01_from_context_task.stderr: -------------------------------------------------------------------------------- 1 | error: `task` attribute is not allowed in `FromContext` macro 2 | --> tests/ui/incorrect/01_from_context_task.rs:31:5 3 | | 4 | 31 | _field_2: TaskA, 5 | | ^^^^^^^^ 6 | -------------------------------------------------------------------------------- /core/lib/object_store/examples/credentials.example: -------------------------------------------------------------------------------- 1 | [default] 2 | aws_access_key_id = <Your access key> 3 | aws_secret_access_key = <Your secret key> 4 | -------------------------------------------------------------------------------- /core/lib/prover_interface/tests/l1_batch_proof_1_0_24_0.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/core/lib/prover_interface/tests/l1_batch_proof_1_0_24_0.bin -------------------------------------------------------------------------------- /core/lib/prover_interface/tests/l1_batch_proof_1_0_27_0.cbor: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/core/lib/prover_interface/tests/l1_batch_proof_1_0_27_0.cbor -------------------------------------------------------------------------------- /core/lib/prover_interface/tests/snapshots/prepare-basic-circuits-job-full.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/core/lib/prover_interface/tests/snapshots/prepare-basic-circuits-job-full.bin -------------------------------------------------------------------------------- /core/lib/state/src/cache/mod.rs: -------------------------------------------------------------------------------- 1 | //! Generic cache abstraction used by storage implementations. 2 | 3 | pub mod lru_cache; 4 | mod metrics; 5 | pub mod sequential_cache; 6 | 7 | type MokaBase<K, V> = mini_moka::sync::Cache<K, V>; 8 | -------------------------------------------------------------------------------- /core/lib/storage/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod db; 2 | mod metrics; 3 | 4 | pub use db::{RocksDB, RocksDBOptions, StalledWritesRetries, WeakRocksDB}; 5 | pub use rocksdb; 6 | -------------------------------------------------------------------------------- /core/lib/test_contracts/contract-libs/l1-contracts: -------------------------------------------------------------------------------- 1 | ../../../../contracts/l1-contracts -------------------------------------------------------------------------------- /core/lib/test_contracts/contract-libs/openzeppelin-contracts-upgradeable-v4: -------------------------------------------------------------------------------- 1 | ../../../../contracts/l1-contracts/lib/openzeppelin-contracts-upgradeable-v4 -------------------------------------------------------------------------------- /core/lib/test_contracts/contract-libs/openzeppelin-contracts-v4: -------------------------------------------------------------------------------- 1 | ../../../../contracts/l1-contracts/lib/openzeppelin-contracts-v4 -------------------------------------------------------------------------------- /core/lib/types/rustfmt.toml: -------------------------------------------------------------------------------- 1 | merge_derives = false 2 | -------------------------------------------------------------------------------- /core/lib/types/src/contract_verification/mod.rs: -------------------------------------------------------------------------------- 1 | pub mod api; 2 | pub mod contract_identifier; 3 | pub mod etherscan; 4 | -------------------------------------------------------------------------------- /core/lib/types/src/helpers.rs: -------------------------------------------------------------------------------- 1 | use std::time::SystemTime; 2 | 3 | pub fn unix_timestamp_ms() -> u64 { 4 | SystemTime::now() 5 | .duration_since(SystemTime::UNIX_EPOCH) 6 | .unwrap() 7 | .as_millis() as u64 8 | } 9 | -------------------------------------------------------------------------------- /core/lib/types/src/proto/mod.rs: -------------------------------------------------------------------------------- 1 | #![allow(warnings)] 2 | 3 | include!(concat!(env!("OUT_DIR"), "/src/proto/gen.rs")); 4 | -------------------------------------------------------------------------------- /core/lib/utils/src/lib.rs: -------------------------------------------------------------------------------- 1 | //! Various helpers used in the ZKsync stack. 2 | 3 | pub mod env; 4 | pub mod panic_extractor; 5 | -------------------------------------------------------------------------------- /core/lib/vlog/src/node/mod.rs: -------------------------------------------------------------------------------- 1 | //! Dependency injection for observability. 2 | 3 | pub use self::{prometheus_exporter::PrometheusExporterLayer, sigint::SigintHandlerLayer}; 4 | 5 | mod prometheus_exporter; 6 | mod sigint; 7 | -------------------------------------------------------------------------------- /core/lib/vm_interface/src/types/mod.rs: -------------------------------------------------------------------------------- 1 | pub(crate) mod errors; 2 | pub(crate) mod inputs; 3 | pub(crate) mod outputs; 4 | pub mod tracer; 5 | -------------------------------------------------------------------------------- /core/lib/vm_interface/src/types/outputs/bytecode.rs: -------------------------------------------------------------------------------- 1 | #[derive(Debug, Clone, PartialEq, Eq)] 2 | pub struct CompressedBytecodeInfo { 3 | pub original: Vec<u8>, 4 | pub compressed: Vec<u8>, 5 | } 6 | -------------------------------------------------------------------------------- /core/lib/vm_interface/src/types/outputs/l2_block.rs: -------------------------------------------------------------------------------- 1 | use zksync_types::H256; 2 | 3 | #[derive(Debug)] 4 | pub struct L2Block { 5 | pub number: u32, 6 | pub timestamp: u64, 7 | pub hash: H256, 8 | } 9 | -------------------------------------------------------------------------------- /core/node/api_server/README.md: -------------------------------------------------------------------------------- 1 | # `zksync_node_api_server` 2 | 3 | Implementation of Web3 API used by ZK Stack nodes. 4 | -------------------------------------------------------------------------------- /core/node/api_server/src/web3/backend_jsonrpsee/namespaces/mod.rs: -------------------------------------------------------------------------------- 1 | pub mod debug; 2 | pub mod en; 3 | pub mod eth; 4 | pub mod net; 5 | pub mod snapshots; 6 | pub mod unstable; 7 | pub mod web3; 8 | pub mod zks; 9 | -------------------------------------------------------------------------------- /core/node/block_reverter/README.md: -------------------------------------------------------------------------------- 1 | # ZKsync Era Block reverter 2 | 3 | This crate contains functionality for rolling back state of a ZKsync Era node and reverting committed L1 batches on 4 | Ethereum. 5 | -------------------------------------------------------------------------------- /core/node/commitment_generator/README.md: -------------------------------------------------------------------------------- 1 | # ZKsync Era commitment generator 2 | 3 | This crate contains an implementation of the ZKsync Era commitment generator component, which is responsible for the 4 | calculation commitment info for L1 batches. 5 | -------------------------------------------------------------------------------- /core/node/consensus/README.md: -------------------------------------------------------------------------------- 1 | # `zksync_node_consensus` 2 | 3 | Set of components that add the support of consensus to the ZK Stack. 4 | -------------------------------------------------------------------------------- /core/node/consensus/src/node/mod.rs: -------------------------------------------------------------------------------- 1 | pub use self::{external_node::ExternalNodeConsensusLayer, main_node::MainNodeConsensusLayer}; 2 | 3 | mod external_node; 4 | mod main_node; 5 | -------------------------------------------------------------------------------- /core/node/consistency_checker/README.md: -------------------------------------------------------------------------------- 1 | # `zksync_consistency_checker` 2 | 3 | Component responsible for ensuring consistency between a local and remote instance of ZK Stack. 4 | -------------------------------------------------------------------------------- /core/node/contract_verification_server/README.md: -------------------------------------------------------------------------------- 1 | # `zksync_contract_verification_server` 2 | 3 | Implementation of the backend used for contract verification. 4 | -------------------------------------------------------------------------------- /core/node/da_clients/src/avail/mod.rs: -------------------------------------------------------------------------------- 1 | mod client; 2 | mod sdk; 3 | 4 | pub use self::client::AvailClient; 5 | -------------------------------------------------------------------------------- /core/node/da_clients/src/eigen/mod.rs: -------------------------------------------------------------------------------- 1 | mod client; 2 | 3 | pub use self::client::EigenDAClient; 4 | -------------------------------------------------------------------------------- /core/node/da_clients/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod avail; 2 | pub mod celestia; 3 | pub mod eigen; 4 | pub mod no_da; 5 | pub mod node; 6 | pub mod object_store; 7 | mod utils; 8 | -------------------------------------------------------------------------------- /core/node/da_clients/src/test_data/l1_batch_123_pubdata.gzip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/core/node/da_clients/src/test_data/l1_batch_123_pubdata.gzip -------------------------------------------------------------------------------- /core/node/da_dispatcher/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub use self::da_dispatcher::DataAvailabilityDispatcher; 2 | 3 | mod da_dispatcher; 4 | mod metrics; 5 | pub mod node; 6 | -------------------------------------------------------------------------------- /core/node/eth_sender/src/node/mod.rs: -------------------------------------------------------------------------------- 1 | pub use self::{aggregator::EthTxAggregatorLayer, manager::EthTxManagerLayer}; 2 | 3 | mod aggregator; 4 | mod manager; 5 | -------------------------------------------------------------------------------- /core/node/fee_model/README.md: -------------------------------------------------------------------------------- 1 | # `zksync_node_fee_model` 2 | 3 | Abstractions and implementations for ZK Stack fee models. 4 | -------------------------------------------------------------------------------- /core/node/genesis/README.md: -------------------------------------------------------------------------------- 1 | # `zksync_node_genesis` 2 | 3 | Utilities to create Genesis block in ZK Stack chains. 4 | -------------------------------------------------------------------------------- /core/node/house_keeper/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod blocks_state_reporter; 2 | mod metrics; 3 | pub mod node; 4 | pub mod periodic_job; 5 | -------------------------------------------------------------------------------- /core/node/node_storage_init/README.md: -------------------------------------------------------------------------------- 1 | # `zksync_node_storage_init` 2 | 3 | A set of actions to ensure that any Node has initialized storage and can start running. 4 | 5 | This includes genesis, but not limited to it, and may involve other steps. 6 | -------------------------------------------------------------------------------- /core/node/node_storage_init/src/main_node/mod.rs: -------------------------------------------------------------------------------- 1 | pub use self::genesis::MainNodeGenesis; 2 | 3 | mod genesis; 4 | -------------------------------------------------------------------------------- /core/node/node_sync/README.md: -------------------------------------------------------------------------------- 1 | # `zksync_node_sync` 2 | 3 | A set of primitives and components that enable synchronization of ZK Stack nodes replicas. 4 | -------------------------------------------------------------------------------- /core/node/proof_data_handler/README.md: -------------------------------------------------------------------------------- 1 | # ZKsync Era Proof data handler 2 | 3 | This crate contains functionality for sending proof-related info from `Server` to `Prover` and back. 4 | -------------------------------------------------------------------------------- /core/node/reorg_detector/README.md: -------------------------------------------------------------------------------- 1 | # `zksync_reorg_detector` 2 | 3 | A component to detect divergencies between local and remote instances of ZK Stack node. 4 | -------------------------------------------------------------------------------- /core/node/shared_metrics/README.md: -------------------------------------------------------------------------------- 1 | # ZKsync Era shared metrics 2 | 3 | This crate contains the definitions of various metrics that are shared among different ZKsync Era components. 4 | -------------------------------------------------------------------------------- /core/node/tee_proof_data_handler/README.md: -------------------------------------------------------------------------------- 1 | # ZKsync Era TEE Proof data handler 2 | 3 | This crate contains functionality for sending TEE proof-related info from `Server` to `TEE Prover` and back. 4 | -------------------------------------------------------------------------------- /core/tests/highlevel-test-tools/src/chain-types.ts: -------------------------------------------------------------------------------- 1 | import { type ChainType } from './create-chain'; 2 | 3 | export const TESTED_CHAIN_TYPE = process.env.TESTED_CHAIN_TYPE as ChainType; 4 | -------------------------------------------------------------------------------- /core/tests/loadnext/src/sdk/abi/IL1Bridge.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/core/tests/loadnext/src/sdk/abi/IL1Bridge.json -------------------------------------------------------------------------------- /core/tests/recovery-test/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "target": "es2020", 4 | "module": "commonjs", 5 | "strict": true, 6 | "esModuleInterop": true, 7 | "skipLibCheck": true 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /core/tests/ts-integration/.gitignore: -------------------------------------------------------------------------------- 1 | # We don't want to ignore `cache` dirs globally since it can be used as a name of Rust modules etc. 2 | cache/ 3 | -------------------------------------------------------------------------------- /core/tests/ts-integration/contracts/README.md: -------------------------------------------------------------------------------- 1 | # Contracts test data 2 | 3 | This folder contains data for contracts that are being used for testing to check the correctness of the smart contract 4 | flow in ZKsync. 5 | -------------------------------------------------------------------------------- /core/tests/ts-integration/contracts/create/Foo.sol: -------------------------------------------------------------------------------- 1 | // SPDX-License-Identifier: MIT 2 | 3 | pragma solidity >=0.8.1; 4 | pragma abicoder v2; 5 | 6 | contract Foo { 7 | string public name = "Foo"; 8 | } 9 | -------------------------------------------------------------------------------- /core/tests/ts-integration/contracts/events/sample-calldata: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/core/tests/ts-integration/contracts/events/sample-calldata -------------------------------------------------------------------------------- /core/tests/ts-integration/contracts/inner-outer/inner.sol: -------------------------------------------------------------------------------- 1 | pragma solidity ^0.8.0; 2 | 3 | contract Inner { 4 | uint256 public value; 5 | 6 | constructor(uint256 _value) { 7 | value = _value; 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /core/tests/ts-integration/contracts/yul/Empty.yul: -------------------------------------------------------------------------------- 1 | object "Empty" { 2 | code { 3 | mstore(0, 0) 4 | return(0, 32) 5 | } 6 | object "Empty_deployed" { 7 | code { } 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /core/tests/ts-integration/src/matchers/fail.ts: -------------------------------------------------------------------------------- 1 | export function fail(_: any, message: string) { 2 | return { 3 | pass: false, 4 | message: () => (message ? message : 'fails by .fail() assertion') 5 | }; 6 | } 7 | -------------------------------------------------------------------------------- /core/tests/upgrade-test/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "target": "es2020", 4 | "module": "commonjs", 5 | "strict": true, 6 | "esModuleInterop": true, 7 | "skipLibCheck": true 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /core/tests/vm-benchmark/.gitignore: -------------------------------------------------------------------------------- 1 | perf.data 2 | perf.data.old 3 | perfbench.script 4 | -------------------------------------------------------------------------------- /core/tests/vm-benchmark/perf.sh: -------------------------------------------------------------------------------- 1 | cargo build --profile perf && 2 | perf record -F999 --call-graph dwarf,65528 ../../../target/perf/vm-benchmark $1 && 3 | perf script -F +pid > perfbench.script 4 | -------------------------------------------------------------------------------- /core/tests/vm-benchmark/src/bytecodes/access_memory: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/core/tests/vm-benchmark/src/bytecodes/access_memory -------------------------------------------------------------------------------- /core/tests/vm-benchmark/src/bytecodes/call_far: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/core/tests/vm-benchmark/src/bytecodes/call_far -------------------------------------------------------------------------------- /core/tests/vm-benchmark/src/bytecodes/decode_shl_sub: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/core/tests/vm-benchmark/src/bytecodes/decode_shl_sub -------------------------------------------------------------------------------- /core/tests/vm-benchmark/src/bytecodes/deploy_simple_contract: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/core/tests/vm-benchmark/src/bytecodes/deploy_simple_contract -------------------------------------------------------------------------------- /core/tests/vm-benchmark/src/bytecodes/event_spam: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/core/tests/vm-benchmark/src/bytecodes/event_spam -------------------------------------------------------------------------------- /core/tests/vm-benchmark/src/bytecodes/finish_eventful_frames: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/core/tests/vm-benchmark/src/bytecodes/finish_eventful_frames -------------------------------------------------------------------------------- /core/tests/vm-benchmark/src/bytecodes/heap_read_write: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/core/tests/vm-benchmark/src/bytecodes/heap_read_write -------------------------------------------------------------------------------- /core/tests/vm-benchmark/src/bytecodes/slot_hash_collision: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/core/tests/vm-benchmark/src/bytecodes/slot_hash_collision -------------------------------------------------------------------------------- /core/tests/vm-benchmark/src/bytecodes/write_and_decode: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/core/tests/vm-benchmark/src/bytecodes/write_and_decode -------------------------------------------------------------------------------- /docker/external-node/entrypoint.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | set -e 4 | 5 | # Prepare the database if it's not ready. No-op if the DB is prepared. 6 | sqlx database setup 7 | # Run the external node. 8 | exec zksync_external_node "$@" 9 | -------------------------------------------------------------------------------- /docker/runtime-base/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM debian:bookworm-slim 2 | 3 | RUN apt-get update && \ 4 | apt-get install -y \ 5 | curl \ 6 | libpq5 \ 7 | ca-certificates \ 8 | && \ 9 | rm -rf /var/lib/apt/lists/* 10 | -------------------------------------------------------------------------------- /docs/.gitignore: -------------------------------------------------------------------------------- 1 | book 2 | -------------------------------------------------------------------------------- /docs/src/guides/external-node/README.md: -------------------------------------------------------------------------------- 1 | # External node 2 | -------------------------------------------------------------------------------- /docs/src/guides/external-node/docker-compose-examples/configs/generate_secrets.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | if [ ! -s $1 ]; then 4 | /usr/bin/zksync_external_node generate-secrets > $1 5 | fi 6 | -------------------------------------------------------------------------------- /docs/src/guides/external-node/docker-compose-examples/configs/mainnet_consensus_config.yaml: -------------------------------------------------------------------------------- 1 | server_addr: '0.0.0.0:3054' 2 | public_addr: '127.0.0.1:3054' 3 | debug_page_addr: '0.0.0.0:5000' 4 | max_payload_size: 5000000 5 | gossip_dynamic_inbound_limit: 100 6 | -------------------------------------------------------------------------------- /docs/src/guides/external-node/docker-compose-examples/configs/testnet_consensus_config.yaml: -------------------------------------------------------------------------------- 1 | server_addr: '0.0.0.0:3054' 2 | public_addr: '127.0.0.1:3054' 3 | debug_page_addr: '0.0.0.0:5000' 4 | max_payload_size: 5000000 5 | gossip_dynamic_inbound_limit: 100 6 | -------------------------------------------------------------------------------- /docs/src/guides/external-node/prepared_configs/mainnet_consensus_config.yaml: -------------------------------------------------------------------------------- 1 | server_addr: '0.0.0.0:3054' 2 | public_addr: '<your public IP goes here>:3054' 3 | max_payload_size: 5000000 4 | gossip_dynamic_inbound_limit: 100 5 | -------------------------------------------------------------------------------- /docs/src/guides/external-node/prepared_configs/testnet_consensus_config.yaml: -------------------------------------------------------------------------------- 1 | server_addr: '0.0.0.0:3054' 2 | public_addr: '<your public IP goes here>:3054' 3 | max_payload_size: 5000000 4 | gossip_dynamic_inbound_limit: 100 5 | -------------------------------------------------------------------------------- /docs/src/misc/contributors.md: -------------------------------------------------------------------------------- 1 | # Contributors 2 | -------------------------------------------------------------------------------- /docs/src/specs/contracts/bridging/asset_router_and_ntv/img/bridge_contracts.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/docs/src/specs/contracts/bridging/asset_router_and_ntv/img/bridge_contracts.png -------------------------------------------------------------------------------- /docs/src/specs/contracts/bridging/interop/img/aliased_account.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/docs/src/specs/contracts/bridging/interop/img/aliased_account.png -------------------------------------------------------------------------------- /docs/src/specs/contracts/bridging/interop/img/automatic_exec.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/docs/src/specs/contracts/bridging/interop/img/automatic_exec.png -------------------------------------------------------------------------------- /docs/src/specs/contracts/bridging/interop/img/automatic_exec3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/docs/src/specs/contracts/bridging/interop/img/automatic_exec3.png -------------------------------------------------------------------------------- /docs/src/specs/contracts/bridging/interop/img/automatic_exec_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/docs/src/specs/contracts/bridging/interop/img/automatic_exec_2.png -------------------------------------------------------------------------------- /docs/src/specs/contracts/bridging/interop/img/gateway_chains.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/docs/src/specs/contracts/bridging/interop/img/gateway_chains.png -------------------------------------------------------------------------------- /docs/src/specs/contracts/bridging/interop/img/level_bundle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/docs/src/specs/contracts/bridging/interop/img/level_bundle.png -------------------------------------------------------------------------------- /docs/src/specs/contracts/bridging/interop/img/level_call.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/docs/src/specs/contracts/bridging/interop/img/level_call.png -------------------------------------------------------------------------------- /docs/src/specs/contracts/bridging/interop/img/level_msg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/docs/src/specs/contracts/bridging/interop/img/level_msg.png -------------------------------------------------------------------------------- /docs/src/specs/contracts/bridging/interop/img/level_trigger.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/docs/src/specs/contracts/bridging/interop/img/level_trigger.png -------------------------------------------------------------------------------- /docs/src/specs/contracts/bridging/interop/img/levels.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/docs/src/specs/contracts/bridging/interop/img/levels.png -------------------------------------------------------------------------------- /docs/src/specs/contracts/bridging/interop/img/merkle_chain_root.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/docs/src/specs/contracts/bridging/interop/img/merkle_chain_root.png -------------------------------------------------------------------------------- /docs/src/specs/contracts/bridging/interop/img/merkle_message_root.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/docs/src/specs/contracts/bridging/interop/img/merkle_message_root.png -------------------------------------------------------------------------------- /docs/src/specs/contracts/bridging/interop/img/merkle_proof.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/docs/src/specs/contracts/bridging/interop/img/merkle_proof.png -------------------------------------------------------------------------------- /docs/src/specs/contracts/bridging/interop/img/reexecute.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/docs/src/specs/contracts/bridging/interop/img/reexecute.png -------------------------------------------------------------------------------- /docs/src/specs/contracts/bridging/interop/img/trigger.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/docs/src/specs/contracts/bridging/interop/img/trigger.png -------------------------------------------------------------------------------- /docs/src/specs/contracts/bridging/interop/img/trigger_paymaster.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/docs/src/specs/contracts/bridging/interop/img/trigger_paymaster.png -------------------------------------------------------------------------------- /docs/src/specs/contracts/bridging/interop/img/verify_interop_msg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/docs/src/specs/contracts/bridging/interop/img/verify_interop_msg.png -------------------------------------------------------------------------------- /docs/src/specs/contracts/bridging/interop/img/waiting_for_ride.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/docs/src/specs/contracts/bridging/interop/img/waiting_for_ride.png -------------------------------------------------------------------------------- /docs/src/specs/contracts/chain_management/img/create_new_chain.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/docs/src/specs/contracts/chain_management/img/create_new_chain.png -------------------------------------------------------------------------------- /docs/src/specs/contracts/chain_management/img/ecosystem_architecture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/docs/src/specs/contracts/chain_management/img/ecosystem_architecture.png -------------------------------------------------------------------------------- /docs/src/specs/contracts/consensus/README.md: -------------------------------------------------------------------------------- 1 | # Consensus 2 | 3 | - [Consensus Registry](./consensus-registry.md) -------------------------------------------------------------------------------- /docs/src/specs/contracts/gateway/img/ctm_gw_registration.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/docs/src/specs/contracts/gateway/img/ctm_gw_registration.png -------------------------------------------------------------------------------- /docs/src/specs/contracts/gateway/img/ecosystem_architecture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/docs/src/specs/contracts/gateway/img/ecosystem_architecture.png -------------------------------------------------------------------------------- /docs/src/specs/contracts/gateway/img/l1_gw_l2_messaging.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/docs/src/specs/contracts/gateway/img/l1_gw_l2_messaging.png -------------------------------------------------------------------------------- /docs/src/specs/contracts/gateway/img/l1_l2_messaging.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/docs/src/specs/contracts/gateway/img/l1_l2_messaging.png -------------------------------------------------------------------------------- /docs/src/specs/contracts/gateway/img/migrate_from_gw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/docs/src/specs/contracts/gateway/img/migrate_from_gw.png -------------------------------------------------------------------------------- /docs/src/specs/contracts/gateway/img/migrate_to_gw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/docs/src/specs/contracts/gateway/img/migrate_to_gw.png -------------------------------------------------------------------------------- /docs/src/specs/contracts/gateway/img/nested_l2_gw_l1_messaging.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/docs/src/specs/contracts/gateway/img/nested_l2_gw_l1_messaging.png -------------------------------------------------------------------------------- /docs/src/specs/contracts/gateway/img/new_bridging_contracts.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/docs/src/specs/contracts/gateway/img/new_bridging_contracts.png -------------------------------------------------------------------------------- /docs/src/specs/contracts/img/message_root.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/docs/src/specs/contracts/img/message_root.png -------------------------------------------------------------------------------- /docs/src/specs/contracts/img/reading_order.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/docs/src/specs/contracts/img/reading_order.png -------------------------------------------------------------------------------- /docs/src/specs/contracts/interop/examples/README.md: -------------------------------------------------------------------------------- 1 | # Interop Examples 2 | 3 | Here, the examples of applying the interop can be found. As we add more functionality, the section will grow. 4 | 5 | - [Cross chain message](./cross_chain_message.md) -------------------------------------------------------------------------------- /docs/src/specs/contracts/interop/img/level_msg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/docs/src/specs/contracts/interop/img/level_msg.png -------------------------------------------------------------------------------- /docs/src/specs/contracts/interop/img/msg_flow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/docs/src/specs/contracts/interop/img/msg_flow.png -------------------------------------------------------------------------------- /docs/src/specs/contracts/interop/img/verify_interop_msg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/docs/src/specs/contracts/interop/img/verify_interop_msg.png -------------------------------------------------------------------------------- /docs/src/specs/contracts/settlement_contracts/data_availability/img/custom_da.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/docs/src/specs/contracts/settlement_contracts/data_availability/img/custom_da.png -------------------------------------------------------------------------------- /docs/src/specs/contracts/settlement_contracts/img/Diamond-scheme.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/docs/src/specs/contracts/settlement_contracts/img/Diamond-scheme.png -------------------------------------------------------------------------------- /docs/src/specs/contracts/settlement_contracts/priority_queue/img/PQ1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/docs/src/specs/contracts/settlement_contracts/priority_queue/img/PQ1.png -------------------------------------------------------------------------------- /docs/src/specs/contracts/settlement_contracts/priority_queue/img/PQ2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/docs/src/specs/contracts/settlement_contracts/priority_queue/img/PQ2.png -------------------------------------------------------------------------------- /docs/src/specs/contracts/settlement_contracts/priority_queue/img/PQ3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/docs/src/specs/contracts/settlement_contracts/priority_queue/img/PQ3.png -------------------------------------------------------------------------------- /docs/src/specs/era_vm_specification/EraVM_formal_specification.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/docs/src/specs/era_vm_specification/EraVM_formal_specification.pdf -------------------------------------------------------------------------------- /docs/src/specs/era_vm_specification/README.md: -------------------------------------------------------------------------------- 1 | # Era VM 2 | 3 | - [VM primer](./zkSync_era_virtual_machine_primer.md) 4 | -------------------------------------------------------------------------------- /docs/src/specs/era_vm_specification/compiler/instructions/README.md: -------------------------------------------------------------------------------- 1 | # Instructions 2 | 3 | - [Overview](./overview.md) 4 | - [Yul](./yul.md) 5 | - [EVMLA](./evmla.md) 6 | - [EVM](./evm/README.md) 7 | - [Extensions](./extensions/README.md) 8 | -------------------------------------------------------------------------------- /docs/src/specs/era_vm_specification/compiler/instructions/extensions/README.md: -------------------------------------------------------------------------------- 1 | # Extensions 2 | 3 | - [Overview](./overview.md) 4 | - [Call](./call.md) 5 | - [Verbatim](./verbatim.md) 6 | -------------------------------------------------------------------------------- /docs/src/specs/era_vm_specification/img/arch-overview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/docs/src/specs/era_vm_specification/img/arch-overview.png -------------------------------------------------------------------------------- /docs/src/specs/era_vm_specification/img/arithmetic_opcode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/docs/src/specs/era_vm_specification/img/arithmetic_opcode.png -------------------------------------------------------------------------------- /docs/src/specs/img/L2_Components.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/docs/src/specs/img/L2_Components.png -------------------------------------------------------------------------------- /docs/src/specs/img/diamondProxy.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/docs/src/specs/img/diamondProxy.jpg -------------------------------------------------------------------------------- /docs/src/specs/img/governance.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/docs/src/specs/img/governance.jpg -------------------------------------------------------------------------------- /docs/src/specs/img/zk-the-collective-action.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/docs/src/specs/img/zk-the-collective-action.jpeg -------------------------------------------------------------------------------- /docs/src/specs/prover/circuits/img/diagram.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/docs/src/specs/prover/circuits/img/diagram.png -------------------------------------------------------------------------------- /docs/src/specs/prover/circuits/img/flowchart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/docs/src/specs/prover/circuits/img/flowchart.png -------------------------------------------------------------------------------- /docs/src/specs/prover/circuits/img/image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/docs/src/specs/prover/circuits/img/image.png -------------------------------------------------------------------------------- /docs/src/specs/prover/img/boojum_function_check_if_satisfied/Check_if_satisfied.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/docs/src/specs/prover/img/boojum_function_check_if_satisfied/Check_if_satisfied.png -------------------------------------------------------------------------------- /docs/src/specs/prover/img/circuit_testing/Contest(10).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/docs/src/specs/prover/img/circuit_testing/Contest(10).png -------------------------------------------------------------------------------- /docs/src/specs/prover/img/circuit_testing/Contest(11).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/docs/src/specs/prover/img/circuit_testing/Contest(11).png -------------------------------------------------------------------------------- /docs/src/specs/prover/img/circuit_testing/Contest(12).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/docs/src/specs/prover/img/circuit_testing/Contest(12).png -------------------------------------------------------------------------------- /docs/src/specs/prover/img/circuit_testing/Contest(4).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/docs/src/specs/prover/img/circuit_testing/Contest(4).png -------------------------------------------------------------------------------- /docs/src/specs/prover/img/circuit_testing/Contest(5).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/docs/src/specs/prover/img/circuit_testing/Contest(5).png -------------------------------------------------------------------------------- /docs/src/specs/prover/img/circuit_testing/Contest(6).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/docs/src/specs/prover/img/circuit_testing/Contest(6).png -------------------------------------------------------------------------------- /docs/src/specs/prover/img/circuit_testing/Contest(7).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/docs/src/specs/prover/img/circuit_testing/Contest(7).png -------------------------------------------------------------------------------- /docs/src/specs/prover/img/circuit_testing/Contest(8).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/docs/src/specs/prover/img/circuit_testing/Contest(8).png -------------------------------------------------------------------------------- /docs/src/specs/prover/img/circuit_testing/Contest(9).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/docs/src/specs/prover/img/circuit_testing/Contest(9).png -------------------------------------------------------------------------------- /docs/src/specs/prover/img/intro_to_zkSync’s_ZK/circuit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/docs/src/specs/prover/img/intro_to_zkSync’s_ZK/circuit.png -------------------------------------------------------------------------------- /docs/src/specs/upgrade_history/gateway_upgrade/README.md: -------------------------------------------------------------------------------- 1 | # Upgrade history 2 | 3 | - [Gateway upgrade diff](./gateway_diff_review.md) 4 | - [Gateway upgrade process](./upgrade_process_no_gateway_chain.md) 5 | -------------------------------------------------------------------------------- /docs/theme/head.hbs: -------------------------------------------------------------------------------- 1 | <script src="https://cdn.jsdelivr.net/npm/mermaid@11/dist/mermaid.min.js"></script> 2 | -------------------------------------------------------------------------------- /eraLogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/eraLogo.png -------------------------------------------------------------------------------- /etc/env/base/contract_verifier.toml: -------------------------------------------------------------------------------- 1 | [contract_verifier] 2 | compilation_timeout = 30 3 | prometheus_port = 3314 4 | port = 3070 5 | -------------------------------------------------------------------------------- /etc/env/base/eth_client.toml: -------------------------------------------------------------------------------- 1 | [eth_client] 2 | chain_id = 9 3 | # Addresses of the Ethereum node API, separated by comma 4 | web3_url = "http://127.0.0.1:8545" 5 | -------------------------------------------------------------------------------- /etc/env/base/eth_watch.toml: -------------------------------------------------------------------------------- 1 | [eth_watch] 2 | # Amount of confirmations for the priority operation to be processed. 3 | confirmations_for_eth_event=0 4 | # How often we want to poll the Ethereum node. 5 | eth_node_poll_interval=300 6 | -------------------------------------------------------------------------------- /etc/env/base/external_proof_integration_api.toml: -------------------------------------------------------------------------------- 1 | [external_proof_integration_api] 2 | http_port = 3073 3 | -------------------------------------------------------------------------------- /etc/env/base/fri_prover_gateway.toml: -------------------------------------------------------------------------------- 1 | [fri_prover_gateway] 2 | api_url="http://127.0.0.1:3320" 3 | api_poll_duration_secs=15 4 | prometheus_listener_port=3314 5 | prometheus_pushgateway_url="http://127.0.0.1:9091" 6 | prometheus_push_interval_ms=100 7 | -------------------------------------------------------------------------------- /etc/env/base/house_keeper.toml: -------------------------------------------------------------------------------- 1 | [house_keeper] 2 | l1_batch_metrics_reporting_interval_ms = 10000 3 | -------------------------------------------------------------------------------- /etc/env/base/nfs.toml: -------------------------------------------------------------------------------- 1 | [nfs] 2 | setup_key_mount_path="/home/setup_keys/" 3 | -------------------------------------------------------------------------------- /etc/env/base/proof_data_handler.toml: -------------------------------------------------------------------------------- 1 | [proof_data_handler] 2 | http_port = 3320 3 | proof_generation_timeout_in_secs = 18000 4 | -------------------------------------------------------------------------------- /etc/env/base/tee_proof_data_handler.toml: -------------------------------------------------------------------------------- 1 | [tee_proof_data_handler] 2 | http_port = 4320 3 | proof_generation_timeout_in_secs = 60 4 | batch_permanently_ignored_timeout_in_hours = 240 5 | -------------------------------------------------------------------------------- /etc/env/configs/dev.toml: -------------------------------------------------------------------------------- 1 | __imports__ = [ "base", "l1-inits/.init.env", "l2-inits/dev.init.env" ] 2 | 3 | ETH_SENDER_SENDER_PUBDATA_SENDING_MODE = "Blobs" 4 | -------------------------------------------------------------------------------- /etc/env/configs/ext-node-validium.toml: -------------------------------------------------------------------------------- 1 | __imports__ = [ "configs/ext-node.toml" ] 2 | 3 | [en] 4 | l1_batch_commit_data_generator_mode="Validium" 5 | 6 | [_metadata] 7 | base=["ext-node.toml"] 8 | -------------------------------------------------------------------------------- /etc/env/en_consensus_secrets.yaml: -------------------------------------------------------------------------------- 1 | # 'node:public:ed25519:2621c2ae111901d4a9b46e96e64f71282b9209fc6b5e4df3d4208d3de28a482d' 2 | node_key: "node:secret:ed25519:19bc1ddd9fd2921d1b919e7dcfa465babdcf61a60a21e5df9b3f105bd9cfcb2c" -------------------------------------------------------------------------------- /etc/env/file_based/external_node.yaml: -------------------------------------------------------------------------------- 1 | l1_chain_id: 9 2 | l2_chain_id: 270 3 | 4 | main_node_url: http://localhost:3050 5 | main_node_rate_limit_rps: 1000 6 | -------------------------------------------------------------------------------- /etc/env/file_based/overrides/gateway.yaml: -------------------------------------------------------------------------------- 1 | eth: 2 | sender: 3 | precommit_params: 4 | deadline_sec: 10 5 | l2_blocks_to_aggregate: 5 6 | -------------------------------------------------------------------------------- /etc/env/file_based/overrides/only_real_proofs.yaml: -------------------------------------------------------------------------------- 1 | eth: 2 | sender: 3 | proof_sending_mode: ONLY_REAL_PROOFS 4 | -------------------------------------------------------------------------------- /etc/env/file_based/overrides/tests/integration.yaml: -------------------------------------------------------------------------------- 1 | experimental_vm: 2 | # Use the shadow VM mode everywhere to catch divergences as early as possible 3 | state_keeper_fast_vm_mode: SHADOW 4 | api_fast_vm_mode: SHADOW 5 | -------------------------------------------------------------------------------- /etc/env/file_based/overrides/tests/loadtest-old.yaml: -------------------------------------------------------------------------------- 1 | db: 2 | merkle_tree: 3 | mode: LIGHTWEIGHT 4 | experimental_vm: 5 | state_keeper_fast_vm_mode: OLD 6 | api_fast_vm_mode: OLD 7 | mempool: 8 | delay_interval: 50 9 | -------------------------------------------------------------------------------- /etc/env/l2-inits/mainnet.init.env: -------------------------------------------------------------------------------- 1 | CONTRACTS_L2_SHARED_BRIDGE_IMPL_ADDR=0x470afaacce2acdaefcc662419b74c79d76c914ae 2 | -------------------------------------------------------------------------------- /etc/env/l2-inits/stage-proofs.init.env: -------------------------------------------------------------------------------- 1 | CONTRACTS_L2_SHARED_BRIDGE_IMPL_ADDR=0x16ef518222299b363519c39e5471487bcc243fe4 2 | -------------------------------------------------------------------------------- /etc/env/l2-inits/stage.init.env: -------------------------------------------------------------------------------- 1 | CONTRACTS_L2_SHARED_BRIDGE_IMPL_ADDR=0xce0a8c005a73e35d95cec41a9e8b75668470fb8f 2 | -------------------------------------------------------------------------------- /etc/env/l2-inits/testnet.init.env: -------------------------------------------------------------------------------- 1 | CONTRACTS_L2_SHARED_BRIDGE_IMPL_ADDR=0xf25a793eda9e961db8b56dc0aae77fc8c958dd40 2 | -------------------------------------------------------------------------------- /etc/multivm_bootloaders/vm_1_3_2/commit: -------------------------------------------------------------------------------- 1 | 663fede669db3ba66f0941985db304e8bca881e4 2 | -------------------------------------------------------------------------------- /etc/multivm_bootloaders/vm_1_3_2/fee_estimate.yul/fee_estimate.yul.zbin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/etc/multivm_bootloaders/vm_1_3_2/fee_estimate.yul/fee_estimate.yul.zbin -------------------------------------------------------------------------------- /etc/multivm_bootloaders/vm_1_3_2/gas_test.yul/gas_test.yul.zbin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/etc/multivm_bootloaders/vm_1_3_2/gas_test.yul/gas_test.yul.zbin -------------------------------------------------------------------------------- /etc/multivm_bootloaders/vm_1_3_2/playground_block.yul/playground_block.yul.zbin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/etc/multivm_bootloaders/vm_1_3_2/playground_block.yul/playground_block.yul.zbin -------------------------------------------------------------------------------- /etc/multivm_bootloaders/vm_1_3_2/proved_block.yul/proved_block.yul.zbin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/etc/multivm_bootloaders/vm_1_3_2/proved_block.yul/proved_block.yul.zbin -------------------------------------------------------------------------------- /etc/multivm_bootloaders/vm_1_4_1/fee_estimate.yul/fee_estimate.yul.zbin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/etc/multivm_bootloaders/vm_1_4_1/fee_estimate.yul/fee_estimate.yul.zbin -------------------------------------------------------------------------------- /etc/multivm_bootloaders/vm_1_4_1/gas_test.yul/gas_test.yul.zbin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/etc/multivm_bootloaders/vm_1_4_1/gas_test.yul/gas_test.yul.zbin -------------------------------------------------------------------------------- /etc/multivm_bootloaders/vm_1_4_1/playground_batch.yul/playground_batch.yul.zbin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/etc/multivm_bootloaders/vm_1_4_1/playground_batch.yul/playground_batch.yul.zbin -------------------------------------------------------------------------------- /etc/multivm_bootloaders/vm_1_4_1/proved_batch.yul/proved_batch.yul.zbin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/etc/multivm_bootloaders/vm_1_4_1/proved_batch.yul/proved_batch.yul.zbin -------------------------------------------------------------------------------- /etc/multivm_bootloaders/vm_1_4_2/fee_estimate.yul/fee_estimate.yul.zbin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/etc/multivm_bootloaders/vm_1_4_2/fee_estimate.yul/fee_estimate.yul.zbin -------------------------------------------------------------------------------- /etc/multivm_bootloaders/vm_1_4_2/gas_test.yul/gas_test.yul.zbin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/etc/multivm_bootloaders/vm_1_4_2/gas_test.yul/gas_test.yul.zbin -------------------------------------------------------------------------------- /etc/multivm_bootloaders/vm_1_4_2/playground_batch.yul/playground_batch.yul.zbin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/etc/multivm_bootloaders/vm_1_4_2/playground_batch.yul/playground_batch.yul.zbin -------------------------------------------------------------------------------- /etc/multivm_bootloaders/vm_1_4_2/proved_batch.yul/proved_batch.yul.zbin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/etc/multivm_bootloaders/vm_1_4_2/proved_batch.yul/proved_batch.yul.zbin -------------------------------------------------------------------------------- /etc/multivm_bootloaders/vm_1_5_0_increased_memory/gas_test.yul/gas_test.yul.zbin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/etc/multivm_bootloaders/vm_1_5_0_increased_memory/gas_test.yul/gas_test.yul.zbin -------------------------------------------------------------------------------- /etc/multivm_bootloaders/vm_1_5_0_small_memory/fee_estimate.yul/fee_estimate.yul.zbin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/etc/multivm_bootloaders/vm_1_5_0_small_memory/fee_estimate.yul/fee_estimate.yul.zbin -------------------------------------------------------------------------------- /etc/multivm_bootloaders/vm_1_5_0_small_memory/gas_test.yul/gas_test.yul.zbin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/etc/multivm_bootloaders/vm_1_5_0_small_memory/gas_test.yul/gas_test.yul.zbin -------------------------------------------------------------------------------- /etc/multivm_bootloaders/vm_1_5_0_small_memory/proved_batch.yul/proved_batch.yul.zbin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/etc/multivm_bootloaders/vm_1_5_0_small_memory/proved_batch.yul/proved_batch.yul.zbin -------------------------------------------------------------------------------- /etc/multivm_bootloaders/vm_boojum_integration/commit: -------------------------------------------------------------------------------- 1 | ef5e5f7a7ddbf887bfb93c32b633a15c6f604196 2 | -------------------------------------------------------------------------------- /etc/multivm_bootloaders/vm_boojum_integration/fee_estimate.yul/fee_estimate.yul.zbin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/etc/multivm_bootloaders/vm_boojum_integration/fee_estimate.yul/fee_estimate.yul.zbin -------------------------------------------------------------------------------- /etc/multivm_bootloaders/vm_boojum_integration/gas_test.yul/gas_test.yul.zbin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/etc/multivm_bootloaders/vm_boojum_integration/gas_test.yul/gas_test.yul.zbin -------------------------------------------------------------------------------- /etc/multivm_bootloaders/vm_boojum_integration/proved_batch.yul/proved_batch.yul.zbin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/etc/multivm_bootloaders/vm_boojum_integration/proved_batch.yul/proved_batch.yul.zbin -------------------------------------------------------------------------------- /etc/multivm_bootloaders/vm_evm_emulator/commit: -------------------------------------------------------------------------------- 1 | ae55c8068a9a67c85d7058da4660096d4387cb70 2 | -------------------------------------------------------------------------------- /etc/multivm_bootloaders/vm_evm_emulator/fee_estimate.yul/fee_estimate.yul.zbin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/etc/multivm_bootloaders/vm_evm_emulator/fee_estimate.yul/fee_estimate.yul.zbin -------------------------------------------------------------------------------- /etc/multivm_bootloaders/vm_evm_emulator/gas_test.yul/gas_test.yul.zbin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/etc/multivm_bootloaders/vm_evm_emulator/gas_test.yul/gas_test.yul.zbin -------------------------------------------------------------------------------- /etc/multivm_bootloaders/vm_evm_emulator/proved_batch.yul/proved_batch.yul.zbin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/etc/multivm_bootloaders/vm_evm_emulator/proved_batch.yul/proved_batch.yul.zbin -------------------------------------------------------------------------------- /etc/multivm_bootloaders/vm_gateway/commit: -------------------------------------------------------------------------------- 1 | 16dedf6d77695ce00f81fce35a3066381b97fca1 2 | -------------------------------------------------------------------------------- /etc/multivm_bootloaders/vm_gateway/fee_estimate.yul/fee_estimate.yul.zbin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/etc/multivm_bootloaders/vm_gateway/fee_estimate.yul/fee_estimate.yul.zbin -------------------------------------------------------------------------------- /etc/multivm_bootloaders/vm_gateway/gas_test.yul/gas_test.yul.zbin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/etc/multivm_bootloaders/vm_gateway/gas_test.yul/gas_test.yul.zbin -------------------------------------------------------------------------------- /etc/multivm_bootloaders/vm_gateway/playground_batch.yul/playground_batch.yul.zbin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/etc/multivm_bootloaders/vm_gateway/playground_batch.yul/playground_batch.yul.zbin -------------------------------------------------------------------------------- /etc/multivm_bootloaders/vm_gateway/proved_batch.yul/proved_batch.yul.zbin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/etc/multivm_bootloaders/vm_gateway/proved_batch.yul/proved_batch.yul.zbin -------------------------------------------------------------------------------- /etc/multivm_bootloaders/vm_precompiles/commit: -------------------------------------------------------------------------------- 1 | 92f5de40719e5bc2694d36e54aa40e170c9b8456 -------------------------------------------------------------------------------- /etc/multivm_bootloaders/vm_precompiles/fee_estimate.yul/Bootloader.zbin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/etc/multivm_bootloaders/vm_precompiles/fee_estimate.yul/Bootloader.zbin -------------------------------------------------------------------------------- /etc/multivm_bootloaders/vm_precompiles/gas_test.yul/Bootloader.zbin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/etc/multivm_bootloaders/vm_precompiles/gas_test.yul/Bootloader.zbin -------------------------------------------------------------------------------- /etc/multivm_bootloaders/vm_precompiles/playground_batch.yul/Bootloader.zbin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/etc/multivm_bootloaders/vm_precompiles/playground_batch.yul/Bootloader.zbin -------------------------------------------------------------------------------- /etc/multivm_bootloaders/vm_precompiles/proved_batch.yul/Bootloader.zbin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/etc/multivm_bootloaders/vm_precompiles/proved_batch.yul/Bootloader.zbin -------------------------------------------------------------------------------- /etc/multivm_bootloaders/vm_protocol_defense/fee_estimate.yul/fee_estimate.yul.zbin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/etc/multivm_bootloaders/vm_protocol_defense/fee_estimate.yul/fee_estimate.yul.zbin -------------------------------------------------------------------------------- /etc/multivm_bootloaders/vm_protocol_defense/gas_test.yul/gas_test.yul.zbin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/etc/multivm_bootloaders/vm_protocol_defense/gas_test.yul/gas_test.yul.zbin -------------------------------------------------------------------------------- /etc/multivm_bootloaders/vm_protocol_defense/proved_batch.yul/proved_batch.yul.zbin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/etc/multivm_bootloaders/vm_protocol_defense/proved_batch.yul/proved_batch.yul.zbin -------------------------------------------------------------------------------- /etc/multivm_bootloaders/vm_remove_allowlist/commit: -------------------------------------------------------------------------------- 1 | fa45ef1d2b04c640395ec1f34f76ef03f8d19849 2 | -------------------------------------------------------------------------------- /etc/multivm_bootloaders/vm_remove_allowlist/fee_estimate.yul/fee_estimate.yul.zbin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/etc/multivm_bootloaders/vm_remove_allowlist/fee_estimate.yul/fee_estimate.yul.zbin -------------------------------------------------------------------------------- /etc/multivm_bootloaders/vm_remove_allowlist/gas_test.yul/gas_test.yul.zbin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/etc/multivm_bootloaders/vm_remove_allowlist/gas_test.yul/gas_test.yul.zbin -------------------------------------------------------------------------------- /etc/multivm_bootloaders/vm_remove_allowlist/proved_batch.yul/proved_batch.yul.zbin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/etc/multivm_bootloaders/vm_remove_allowlist/proved_batch.yul/proved_batch.yul.zbin -------------------------------------------------------------------------------- /etc/multivm_bootloaders/vm_virtual_blocks/commit: -------------------------------------------------------------------------------- 1 | 7381458849b42b4860c5bdc3e45f57e967022095 2 | -------------------------------------------------------------------------------- /etc/multivm_bootloaders/vm_virtual_blocks/fee_estimate.yul/fee_estimate.yul.zbin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/etc/multivm_bootloaders/vm_virtual_blocks/fee_estimate.yul/fee_estimate.yul.zbin -------------------------------------------------------------------------------- /etc/multivm_bootloaders/vm_virtual_blocks/gas_test.yul/gas_test.yul.zbin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/etc/multivm_bootloaders/vm_virtual_blocks/gas_test.yul/gas_test.yul.zbin -------------------------------------------------------------------------------- /etc/multivm_bootloaders/vm_virtual_blocks/proved_batch.yul/proved_batch.yul.zbin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/etc/multivm_bootloaders/vm_virtual_blocks/proved_batch.yul/proved_batch.yul.zbin -------------------------------------------------------------------------------- /etc/multivm_bootloaders/vm_virtual_blocks_finish_upgrade_fix/commit: -------------------------------------------------------------------------------- 1 | de404a390af2aa37ad23b2a543c5f1b408ca84bf 2 | -------------------------------------------------------------------------------- /etc/pliconfig: -------------------------------------------------------------------------------- 1 | PLI__DB_URL=postgres://postgres:notsecurepassword@localhost/prover_local 2 | -------------------------------------------------------------------------------- /etc/prover-test-data/proof.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/etc/prover-test-data/proof.bin -------------------------------------------------------------------------------- /etc/selector-generator-data/README.md: -------------------------------------------------------------------------------- 1 | # List of selectors from our contracts 2 | 3 | To regenerate the list, please use the selector_generator tool from core/bin directory. 4 | -------------------------------------------------------------------------------- /etc/test_config/.gitignore: -------------------------------------------------------------------------------- 1 | volatile/* 2 | !volatile/.empty 3 | -------------------------------------------------------------------------------- /etc/test_config/constant/api.json: -------------------------------------------------------------------------------- 1 | { 2 | "rest_api_url": "http://127.0.0.1:3001" 3 | } 4 | -------------------------------------------------------------------------------- /etc/test_config/volatile/.empty: -------------------------------------------------------------------------------- 1 | # Empty file just so the folder is committed into the repository. 2 | # This directory will be filled by scripts. 3 | -------------------------------------------------------------------------------- /etc/thread: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/etc/thread -------------------------------------------------------------------------------- /etc/upgrades/1692195639-upgrade-system/common.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "upgrade-system", 3 | "creationTimestamp": 1692195639, 4 | "protocolVersion": "12" 5 | } -------------------------------------------------------------------------------- /etc/upgrades/1693318788-virtual-block-timestamp/common.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "virtual-block-timestamp", 3 | "creationTimestamp": 1693318788, 4 | "protocolVersion": "13" 5 | } -------------------------------------------------------------------------------- /etc/upgrades/1693905748-virtual-block-timestamp-fixed/common.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "virtual-block-timestamp-fixed", 3 | "creationTimestamp": 1693905748, 4 | "protocolVersion": "14" 5 | } -------------------------------------------------------------------------------- /etc/upgrades/1695203585-missing-constraint-in-circuit/common.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "missing-constraint-in-circuit", 3 | "creationTimestamp": 1695203585, 4 | "protocolVersion": "15" 5 | } -------------------------------------------------------------------------------- /etc/upgrades/1696936385-refunds-enhancement/common.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "refunds-enhancement", 3 | "creationTimestamp": 1696936385, 4 | "protocolVersion": "16" 5 | } 6 | -------------------------------------------------------------------------------- /etc/upgrades/1698390925-c4-circuit-fixes/common.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "circuit-fixes", 3 | "creationTimestamp": 1698390925, 4 | "protocolVersion": "17" 5 | } -------------------------------------------------------------------------------- /etc/upgrades/1699353977-boojum/common.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "boojum", 3 | "creationTimestamp": 1699353977, 4 | "protocolVersion": "18" 5 | } -------------------------------------------------------------------------------- /etc/upgrades/1702392522-allowlist-removal/common.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "allowlist-removal", 3 | "creationTimestamp": 1702392522, 4 | "protocolVersion": "19" 5 | } -------------------------------------------------------------------------------- /etc/upgrades/1705556759-fee-model-and-1.4.1/common.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "fee-model-and-1.4.1", 3 | "creationTimestamp": 1705556759, 4 | "protocolVersion": "20" 5 | } -------------------------------------------------------------------------------- /etc/upgrades/1709067445-protodanksharding/common.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "protodanksharding", 3 | "creationTimestamp": 1709067445, 4 | "protocolVersion": "21" 5 | } -------------------------------------------------------------------------------- /etc/upgrades/1709067445-protodanksharding/mainnet2/crypto.json: -------------------------------------------------------------------------------- 1 | { 2 | "verifier": { 3 | "address": "0xdd9C826196cf3510B040A8784D85aE36674c7Ed2", 4 | "txHash": "0x0000000000000000000000000000000000000000000000000000000000000000" 5 | } 6 | } -------------------------------------------------------------------------------- /etc/upgrades/1709067445-protodanksharding/stage2/crypto.json: -------------------------------------------------------------------------------- 1 | { 2 | "verifier": { 3 | "address": "0xdd9C826196cf3510B040A8784D85aE36674c7Ed2", 4 | "txHash": "0x6b79aa6df9a227c25f55158c79a106faca8aebb6907430e5d59fb6601c1b16de" 5 | } 6 | } -------------------------------------------------------------------------------- /etc/upgrades/1709067445-protodanksharding/testnet-sepolia/crypto.json: -------------------------------------------------------------------------------- 1 | { 2 | "verifier": { 3 | "address": "0xdd9C826196cf3510B040A8784D85aE36674c7Ed2", 4 | "txHash": "0x0000000000000000000000000000000000000000000000000000000000000000" 5 | } 6 | } -------------------------------------------------------------------------------- /etc/upgrades/1709067445-protodanksharding/testnet2/crypto.json: -------------------------------------------------------------------------------- 1 | { 2 | "verifier": { 3 | "address": "0xdd9C826196cf3510B040A8784D85aE36674c7Ed2", 4 | "txHash": "0x8a867edfc18c8dcb6db4dbeb123520539b6c4d7690118cd6bbf38c7086d800d1" 5 | } 6 | } -------------------------------------------------------------------------------- /etc/upgrades/1710255954-v1.4.2-enchancement/common.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "v1.4.2-enchancement", 3 | "creationTimestamp": 1710255954, 4 | "protocolVersion": "22" 5 | } -------------------------------------------------------------------------------- /etc/upgrades/1711451944-hyperchain-upgrade/common.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "hyperchain-upgrade", 3 | "creationTimestamp": 1711451944, 4 | "protocolVersion": "0.24.1" 5 | } -------------------------------------------------------------------------------- /etc/upgrades/1720794961-decentralize-governance/common.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "decentralize-governance", 3 | "creationTimestamp": 1720794961, 4 | "protocolVersion": "0.24.2" 5 | } -------------------------------------------------------------------------------- /etc/upgrades/1728066632-protocol-defense/common.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "protocol-defense", 3 | "creationTimestamp": 1728066632, 4 | "protocolVersion": "0.25.0" 5 | } -------------------------------------------------------------------------------- /etc/upgrades/1728066632-protocol-defense/stage/crypto.json: -------------------------------------------------------------------------------- 1 | { 2 | "verifier": { 3 | "address": "0x06aa7a7B07108F7C5539645e32DD5c21cBF9EB66", 4 | "txHash": "0x1e14eaa49a225d6707016cb7525ba3839e9589c0a85307105d1036133ce6c319" 5 | } 6 | } -------------------------------------------------------------------------------- /etc/utils/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /infrastructure/protocol-upgrade/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /private-rpc/src/db/index.ts: -------------------------------------------------------------------------------- 1 | import 'dotenv/config'; 2 | import { drizzle } from 'drizzle-orm/node-postgres'; 3 | import { env } from '@/env'; 4 | 5 | export const db = drizzle(env.DATABASE_URL); 6 | export type DB = typeof db; 7 | -------------------------------------------------------------------------------- /private-rpc/src/permissions/index.ts: -------------------------------------------------------------------------------- 1 | import { Authorizer } from '@/permissions/authorizer'; 2 | 3 | export const authorizer = new Authorizer(); 4 | authorizer.reloadFromEnv(); 5 | -------------------------------------------------------------------------------- /private-rpc/src/routes/health-routes.ts: -------------------------------------------------------------------------------- 1 | import { WebServer } from '@/build-app'; 2 | 3 | export function healthRoutes(app: WebServer) { 4 | app.get('/', async (_req, reply) => { 5 | return reply.send({ ok: true }); 6 | }); 7 | } 8 | -------------------------------------------------------------------------------- /private-rpc/src/schemas/hex.ts: -------------------------------------------------------------------------------- 1 | import { Hex } from 'viem'; 2 | import { z } from 'zod'; 3 | 4 | export const hexSchema = z 5 | .string() 6 | .regex(/^0x[0-9a-fA-F]*$/) 7 | .transform((hex) => hex as Hex); 8 | -------------------------------------------------------------------------------- /prover/crates/bin/circuit_prover/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub use metrics::PROVER_BINARY_METRICS; 2 | pub use types::{FinalizationHintsCache, SetupDataCache}; 3 | 4 | mod metrics; 5 | mod types; 6 | -------------------------------------------------------------------------------- /prover/crates/bin/proof_fri_compressor/README.md: -------------------------------------------------------------------------------- 1 | # FRI compressor 2 | 3 | Used to compress FRI proof to Bellman proof that gets sent to L1. 4 | 5 | ## running 6 | 7 | `zk f cargo +nightly-2024-09-01 run --release --bin zksync_proof_fri_compressor` 8 | -------------------------------------------------------------------------------- /prover/crates/bin/prover_autoscaler/src/global/mod.rs: -------------------------------------------------------------------------------- 1 | pub mod manager; 2 | pub mod queuer; 3 | pub mod scaler; 4 | pub mod watcher; 5 | -------------------------------------------------------------------------------- /prover/crates/bin/prover_autoscaler/src/k8s/mod.rs: -------------------------------------------------------------------------------- 1 | pub use scaler::Scaler; 2 | pub use watcher::Watcher; 3 | 4 | mod scaler; 5 | mod watcher; 6 | -------------------------------------------------------------------------------- /prover/crates/bin/prover_cli/src/examples/pliconfig: -------------------------------------------------------------------------------- 1 | ### PLI__DB_URL: full URL for connecting to the prover DB 2 | PLI__DB_URL=postgres://postgres:notsecurepassword@localhost/prover_local_default_from_env 3 | -------------------------------------------------------------------------------- /prover/crates/bin/prover_cli/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod cli; 2 | pub mod commands; 3 | pub mod config; 4 | pub mod helper; 5 | -------------------------------------------------------------------------------- /prover/crates/bin/prover_version/src/main.rs: -------------------------------------------------------------------------------- 1 | use zksync_prover_fri_types::PROVER_PROTOCOL_SEMANTIC_VERSION; 2 | 3 | fn main() { 4 | println!("{}", PROVER_PROTOCOL_SEMANTIC_VERSION); 5 | } 6 | -------------------------------------------------------------------------------- /prover/crates/bin/witness_generator/src/lib.rs: -------------------------------------------------------------------------------- 1 | #![allow(incomplete_features)] // We have to use generic const exprs. 2 | #![feature(generic_const_exprs)] 3 | 4 | pub mod metrics; 5 | -------------------------------------------------------------------------------- /prover/crates/lib/circuit_prover_service/src/types/mod.rs: -------------------------------------------------------------------------------- 1 | pub mod circuit_prover_payload; 2 | pub mod circuit_wrapper; 3 | pub mod setup_data; 4 | pub mod witness_vector_generator_execution_output; 5 | pub mod witness_vector_generator_payload; 6 | -------------------------------------------------------------------------------- /prover/crates/lib/prover_dal/migrations/20240403070124_add_archived_at_column_to_prover_queue_archive.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE gpu_prover_queue_fri_archive 2 | DROP COLUMN IF EXISTS archived_at; 3 | -------------------------------------------------------------------------------- /prover/crates/lib/prover_dal/migrations/20240403070124_add_archived_at_column_to_prover_queue_archive.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE gpu_prover_queue_fri_archive 2 | ADD COLUMN archived_at TIMESTAMP DEFAULT NULL; 3 | -------------------------------------------------------------------------------- /prover/crates/lib/prover_dal/migrations/20240613111518_make_number_of_final_node_jobs_mandatory.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE recursion_tip_witness_jobs_fri ALTER COLUMN number_of_final_node_jobs DROP NOT NULL; 2 | -------------------------------------------------------------------------------- /prover/crates/lib/prover_dal/migrations/20240613111518_make_number_of_final_node_jobs_mandatory.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE recursion_tip_witness_jobs_fri ALTER COLUMN number_of_final_node_jobs SET NOT NULL; 2 | -------------------------------------------------------------------------------- /prover/crates/lib/prover_dal/migrations/20240703113903_add-vm_run_data-column.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE witness_inputs_fri DROP COLUMN IF EXISTS witness_inputs_blob_url; 2 | -------------------------------------------------------------------------------- /prover/crates/lib/prover_dal/migrations/20240703113903_add-vm_run_data-column.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE witness_inputs_fri ADD COLUMN IF NOT EXISTS witness_inputs_blob_url TEXT DEFAULT NULL; 2 | -------------------------------------------------------------------------------- /prover/crates/lib/prover_dal/migrations/20241120092231_add_fflonk_snark_wrapper_vk_hash.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE prover_fri_protocol_versions 2 | DROP COLUMN fflonk_snark_wrapper_vk_hash; 3 | -------------------------------------------------------------------------------- /prover/crates/lib/prover_dal/migrations/20241120092231_add_fflonk_snark_wrapper_vk_hash.up.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE prover_fri_protocol_versions 2 | ADD COLUMN fflonk_snark_wrapper_vk_hash BYTEA DEFAULT NULL; 3 | -------------------------------------------------------------------------------- /prover/crates/lib/prover_dal/migrations/20250319105631_remove_gpu_prover_table.up.sql: -------------------------------------------------------------------------------- 1 | -- Removes table needed for communication of old wvg to prover over sockets. 2 | DROP TABLE gpu_prover_queue_fri; 3 | -------------------------------------------------------------------------------- /prover/crates/lib/prover_fri_types/README.md: -------------------------------------------------------------------------------- 1 | # FRI Prover types 2 | 3 | Lib contains types used by FRI prover and shared among 4 | 5 | - FRI prover 6 | - witness generator 7 | - vk and setup data generator 8 | - witness vector generator 9 | -------------------------------------------------------------------------------- /prover/crates/lib/prover_job_processor/src/task_wiring/task.rs: -------------------------------------------------------------------------------- 1 | use async_trait::async_trait; 2 | 3 | /// Convenience trait to tie together all task wrappers. 4 | #[async_trait] 5 | pub trait Task { 6 | async fn run(mut self) -> anyhow::Result<()>; 7 | } 8 | -------------------------------------------------------------------------------- /prover/data/keys/compression_wrapper_setup_data.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/prover/data/keys/compression_wrapper_setup_data.bin -------------------------------------------------------------------------------- /prover/data/keys/finalization_hints_basic_1.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/prover/data/keys/finalization_hints_basic_1.bin -------------------------------------------------------------------------------- /prover/data/keys/finalization_hints_basic_10.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/prover/data/keys/finalization_hints_basic_10.bin -------------------------------------------------------------------------------- /prover/data/keys/finalization_hints_basic_11.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/prover/data/keys/finalization_hints_basic_11.bin -------------------------------------------------------------------------------- /prover/data/keys/finalization_hints_basic_12.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/prover/data/keys/finalization_hints_basic_12.bin -------------------------------------------------------------------------------- /prover/data/keys/finalization_hints_basic_13.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/prover/data/keys/finalization_hints_basic_13.bin -------------------------------------------------------------------------------- /prover/data/keys/finalization_hints_basic_14.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/prover/data/keys/finalization_hints_basic_14.bin -------------------------------------------------------------------------------- /prover/data/keys/finalization_hints_basic_15.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/prover/data/keys/finalization_hints_basic_15.bin -------------------------------------------------------------------------------- /prover/data/keys/finalization_hints_basic_16.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/prover/data/keys/finalization_hints_basic_16.bin -------------------------------------------------------------------------------- /prover/data/keys/finalization_hints_basic_17.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/prover/data/keys/finalization_hints_basic_17.bin -------------------------------------------------------------------------------- /prover/data/keys/finalization_hints_basic_18.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/prover/data/keys/finalization_hints_basic_18.bin -------------------------------------------------------------------------------- /prover/data/keys/finalization_hints_basic_19.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/prover/data/keys/finalization_hints_basic_19.bin -------------------------------------------------------------------------------- /prover/data/keys/finalization_hints_basic_2.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/prover/data/keys/finalization_hints_basic_2.bin -------------------------------------------------------------------------------- /prover/data/keys/finalization_hints_basic_255.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/prover/data/keys/finalization_hints_basic_255.bin -------------------------------------------------------------------------------- /prover/data/keys/finalization_hints_basic_3.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/prover/data/keys/finalization_hints_basic_3.bin -------------------------------------------------------------------------------- /prover/data/keys/finalization_hints_basic_4.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/prover/data/keys/finalization_hints_basic_4.bin -------------------------------------------------------------------------------- /prover/data/keys/finalization_hints_basic_5.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/prover/data/keys/finalization_hints_basic_5.bin -------------------------------------------------------------------------------- /prover/data/keys/finalization_hints_basic_6.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/prover/data/keys/finalization_hints_basic_6.bin -------------------------------------------------------------------------------- /prover/data/keys/finalization_hints_basic_7.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/prover/data/keys/finalization_hints_basic_7.bin -------------------------------------------------------------------------------- /prover/data/keys/finalization_hints_basic_8.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/prover/data/keys/finalization_hints_basic_8.bin -------------------------------------------------------------------------------- /prover/data/keys/finalization_hints_basic_9.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/prover/data/keys/finalization_hints_basic_9.bin -------------------------------------------------------------------------------- /prover/data/keys/finalization_hints_leaf_10.bin: -------------------------------------------------------------------------------- 1 | ������������������������������WN�������������������������������������������������������������������������������� -------------------------------------------------------------------------------- /prover/data/keys/finalization_hints_leaf_11.bin: -------------------------------------------------------------------------------- 1 | ������������������������������aK�������������������������������������������������������������������������������� -------------------------------------------------------------------------------- /prover/data/keys/finalization_hints_leaf_12.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/prover/data/keys/finalization_hints_leaf_12.bin -------------------------------------------------------------------------------- /prover/data/keys/finalization_hints_leaf_13.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/prover/data/keys/finalization_hints_leaf_13.bin -------------------------------------------------------------------------------- /prover/data/keys/finalization_hints_leaf_14.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/prover/data/keys/finalization_hints_leaf_14.bin -------------------------------------------------------------------------------- /prover/data/keys/finalization_hints_leaf_15.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/prover/data/keys/finalization_hints_leaf_15.bin -------------------------------------------------------------------------------- /prover/data/keys/finalization_hints_leaf_16.bin: -------------------------------------------------------------------------------- 1 | ������������������������������aK�������������������������������������������������������������������������������� -------------------------------------------------------------------------------- /prover/data/keys/finalization_hints_leaf_17.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/prover/data/keys/finalization_hints_leaf_17.bin -------------------------------------------------------------------------------- /prover/data/keys/finalization_hints_leaf_18.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/prover/data/keys/finalization_hints_leaf_18.bin -------------------------------------------------------------------------------- /prover/data/keys/finalization_hints_leaf_19.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/prover/data/keys/finalization_hints_leaf_19.bin -------------------------------------------------------------------------------- /prover/data/keys/finalization_hints_leaf_20.bin: -------------------------------------------------------------------------------- 1 | ������������������������������ع�������������������������������������������������������������������������������� -------------------------------------------------------------------------------- /prover/data/keys/finalization_hints_leaf_21.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/prover/data/keys/finalization_hints_leaf_21.bin -------------------------------------------------------------------------------- /prover/data/keys/finalization_hints_leaf_22.bin: -------------------------------------------------------------------------------- 1 | ������������������������������+X�������������������������������������������������������������������������������� -------------------------------------------------------------------------------- /prover/data/keys/finalization_hints_leaf_3.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/prover/data/keys/finalization_hints_leaf_3.bin -------------------------------------------------------------------------------- /prover/data/keys/finalization_hints_leaf_4.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/prover/data/keys/finalization_hints_leaf_4.bin -------------------------------------------------------------------------------- /prover/data/keys/finalization_hints_leaf_5.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/prover/data/keys/finalization_hints_leaf_5.bin -------------------------------------------------------------------------------- /prover/data/keys/finalization_hints_leaf_6.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/prover/data/keys/finalization_hints_leaf_6.bin -------------------------------------------------------------------------------- /prover/data/keys/finalization_hints_leaf_7.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/prover/data/keys/finalization_hints_leaf_7.bin -------------------------------------------------------------------------------- /prover/data/keys/finalization_hints_leaf_8.bin: -------------------------------------------------------------------------------- 1 | ������������������������������\l�������������������������������������������������������������������������������� -------------------------------------------------------------------------------- /prover/data/keys/finalization_hints_leaf_9.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/prover/data/keys/finalization_hints_leaf_9.bin -------------------------------------------------------------------------------- /prover/data/keys/finalization_hints_node.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/prover/data/keys/finalization_hints_node.bin -------------------------------------------------------------------------------- /prover/data/keys/finalization_hints_recursion_tip.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/prover/data/keys/finalization_hints_recursion_tip.bin -------------------------------------------------------------------------------- /prover/data/keys/finalization_hints_scheduler.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-era/0463de49e69fb87852dfbbcace0f65cb5011a628/prover/data/keys/finalization_hints_scheduler.bin -------------------------------------------------------------------------------- /prover/docs/.gitignore: -------------------------------------------------------------------------------- 1 | book 2 | -------------------------------------------------------------------------------- /prover/docs/theme/head.hbs: -------------------------------------------------------------------------------- 1 | <script src="https://cdn.jsdelivr.net/npm/mermaid@11/dist/mermaid.min.js"></script> 2 | -------------------------------------------------------------------------------- /prover/rust-toolchain: -------------------------------------------------------------------------------- 1 | [toolchain] 2 | channel = "nightly-2025-03-19" 3 | -------------------------------------------------------------------------------- /prover/setup-data-gpu-keys.json: -------------------------------------------------------------------------------- 1 | { 2 | "us": "gs://matterlabs-setup-data-us/d6095b8-gpu/", 3 | "europe": "gs://matterlabs-setup-data-europe/d6095b8-gpu/", 4 | "asia": "gs://matterlabs-setup-data-asia/d6095b8-gpu/" 5 | } 6 | -------------------------------------------------------------------------------- /rust-toolchain: -------------------------------------------------------------------------------- 1 | [toolchain] 2 | channel = "nightly-2025-03-19" 3 | -------------------------------------------------------------------------------- /zkstack_cli/crates/common/src/term/mod.rs: -------------------------------------------------------------------------------- 1 | pub mod error; 2 | pub mod logger; 3 | pub mod spinner; 4 | -------------------------------------------------------------------------------- /zkstack_cli/crates/config/src/forge_interface/deploy_ecosystem/mod.rs: -------------------------------------------------------------------------------- 1 | pub mod input; 2 | pub mod output; 3 | -------------------------------------------------------------------------------- /zkstack_cli/crates/config/src/forge_interface/deploy_gateway_tx_filterer/mod.rs: -------------------------------------------------------------------------------- 1 | pub mod input; 2 | pub mod output; 3 | -------------------------------------------------------------------------------- /zkstack_cli/crates/config/src/forge_interface/deploy_l2_contracts/mod.rs: -------------------------------------------------------------------------------- 1 | pub mod input; 2 | pub mod output; 3 | -------------------------------------------------------------------------------- /zkstack_cli/crates/config/src/forge_interface/gateway_chain_upgrade/mod.rs: -------------------------------------------------------------------------------- 1 | pub mod input; 2 | pub mod output; 3 | -------------------------------------------------------------------------------- /zkstack_cli/crates/config/src/forge_interface/gateway_ecosystem_upgrade/mod.rs: -------------------------------------------------------------------------------- 1 | pub mod input; 2 | pub mod output; 3 | -------------------------------------------------------------------------------- /zkstack_cli/crates/config/src/forge_interface/gateway_vote_preparation/mod.rs: -------------------------------------------------------------------------------- 1 | pub mod input; 2 | pub mod output; 3 | -------------------------------------------------------------------------------- /zkstack_cli/crates/config/src/forge_interface/register_chain/mod.rs: -------------------------------------------------------------------------------- 1 | pub mod input; 2 | pub mod output; 3 | -------------------------------------------------------------------------------- /zkstack_cli/crates/zkstack/src/commands/args/mod.rs: -------------------------------------------------------------------------------- 1 | pub use self::{autocomplete::*, containers::*, run_server::*, update::*, wait::*}; 2 | 3 | mod autocomplete; 4 | mod containers; 5 | mod run_server; 6 | mod update; 7 | mod wait; 8 | -------------------------------------------------------------------------------- /zkstack_cli/crates/zkstack/src/commands/chain/args/mod.rs: -------------------------------------------------------------------------------- 1 | pub mod build_transactions; 2 | pub mod create; 3 | pub mod genesis; 4 | pub mod init; 5 | pub mod set_pubdata_pricing_mode; 6 | -------------------------------------------------------------------------------- /zkstack_cli/crates/zkstack/src/commands/contract_verifier/args/mod.rs: -------------------------------------------------------------------------------- 1 | pub mod init; 2 | pub mod releases; 3 | -------------------------------------------------------------------------------- /zkstack_cli/crates/zkstack/src/commands/dev/commands/prover/args/mod.rs: -------------------------------------------------------------------------------- 1 | pub mod insert_batch; 2 | pub mod insert_version; 3 | -------------------------------------------------------------------------------- /zkstack_cli/crates/zkstack/src/commands/dev/commands/test/args/mod.rs: -------------------------------------------------------------------------------- 1 | pub mod fees; 2 | pub mod gateway_migration; 3 | pub mod integration; 4 | pub mod recovery; 5 | pub mod revert; 6 | pub mod rust; 7 | pub mod upgrade; 8 | -------------------------------------------------------------------------------- /zkstack_cli/crates/zkstack/src/commands/dev/consts.rs: -------------------------------------------------------------------------------- 1 | pub const DEFAULT_UNSIGNED_TRANSACTIONS_DIR: &str = "transactions"; 2 | -------------------------------------------------------------------------------- /zkstack_cli/crates/zkstack/src/commands/ecosystem/args/mod.rs: -------------------------------------------------------------------------------- 1 | pub mod build_transactions; 2 | pub mod change_default; 3 | pub mod create; 4 | pub mod gateway_upgrade; 5 | pub mod init; 6 | -------------------------------------------------------------------------------- /zkstack_cli/crates/zkstack/src/commands/external_node/args/mod.rs: -------------------------------------------------------------------------------- 1 | pub mod prepare_configs; 2 | pub mod run; 3 | -------------------------------------------------------------------------------- /zkstack_cli/crates/zkstack/src/commands/prover/args/mod.rs: -------------------------------------------------------------------------------- 1 | pub mod compressor_keys; 2 | pub mod init; 3 | pub mod init_bellman_cuda; 4 | pub mod run; 5 | pub mod setup_keys; 6 | -------------------------------------------------------------------------------- /zkstack_cli/crates/zkstack/src/utils/mod.rs: -------------------------------------------------------------------------------- 1 | pub mod addresses; 2 | pub mod consensus; 3 | pub mod forge; 4 | pub mod link_to_code; 5 | pub mod ports; 6 | pub mod rocks_db; 7 | -------------------------------------------------------------------------------- /zkstack_cli/rust-toolchain: -------------------------------------------------------------------------------- 1 | [toolchain] 2 | channel = "nightly-2025-03-19" 3 | --------------------------------------------------------------------------------