Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update from upstream #226

Merged
merged 359 commits into from
Jul 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
359 commits
Select commit Hold shift + click to select a range
f179681
docs: fix SQLx CLI installation (#2133)
matias-gonz Jun 3, 2024
927d842
feat(node-framework): Add Main Node Client layer (#2132)
AnastasiiaVashchuk Jun 4, 2024
3e7cbe4
chore(main): release prover 14.5.0 (#2109)
zksync-era-bot Jun 4, 2024
af39ca3
refactor(en): Fetch old l1 batch hashes from L1 – metrics (#2131)
slowli Jun 4, 2024
1402dd0
feat(vm-runner): shadow protective reads using VM runner (#2017)
itegulov Jun 4, 2024
49198f6
fix(en): Remove L1 client health check (#2136)
slowli Jun 4, 2024
095bc24
chore: Move l1 contracts foundry (#2120)
matias-gonz Jun 4, 2024
5554660
refactor: Deprecated eth_block, eth_hash and deadline_block in Transa…
pompon0 Jun 4, 2024
2b8d9a3
docs: update post-boojum and 4844-related docs (#2117)
dimazhornyk Jun 4, 2024
0329ed6
chore: save l2 l1 logs only if there are some (#2139)
perekopskiy Jun 4, 2024
ac61fed
feat(en): Allow recovery from specific snapshot (#2137)
slowli Jun 5, 2024
9e39f13
feat!: updated boojum and nightly rust compiler (#2126)
mm-zk Jun 5, 2024
38fdfe0
fix(en): Fix transient error detection in consistency checker (#2140)
slowli Jun 5, 2024
006ea16
chore(docs): Fix healthcheck command in EN docker-compose example (#2…
hatemosphere Jun 5, 2024
b1ad01b
feat: added debug_proof to prover_cli (#2052)
mm-zk Jun 5, 2024
351e13d
feat: Added workflow dispatch to zk-environment, to allow building te…
mm-zk Jun 5, 2024
5c03964
refactor(object-store): Refactor object store to fit into node framew…
slowli Jun 5, 2024
800b8f4
feat(api): Rework zks_getProtocolVersion (#2146)
perekopskiy Jun 5, 2024
dde0fc4
feat: Add metrics for transaction execution result in state keeper (#…
AnastasiiaVashchuk Jun 5, 2024
6c726eb
chore: add historical verification keys for 0.24.1 and 0.24.0 (#2144)
mm-zk Jun 5, 2024
4ab4922
feat(toolbox): add zk_toolbox ci (#1985)
aon Jun 5, 2024
b08a667
perf(en): Parallelize persistence and chunk processing during tree re…
slowli Jun 6, 2024
f666717
fix(vm-runner): add config value for the first processed batch (#2158)
itegulov Jun 6, 2024
fe7e9c4
refactor: Added intermediate representations for rlp structs (#2143)
pompon0 Jun 6, 2024
adde8a5
chore: Update README.md (#2156)
alexanderblv Jun 6, 2024
89c8cac
feat: faster & cleaner VK generation (#2084)
mm-zk Jun 6, 2024
bad5a6c
feat(node): Move some stuff around (#2151)
popzxc Jun 6, 2024
81ffc6a
feat(prover): Add file based config for fri prover gateway (#2150)
matias-gonz Jun 6, 2024
24b8f93
feat(prover): file based configs for witness generator (#2161)
matias-gonz Jun 6, 2024
e5daf8e
fix(prover): config (#2165)
Deniallugo Jun 6, 2024
500d462
chore: upgrade calldata (#2159)
kelemeno Jun 6, 2024
0cad504
fix(eth-sender): etter error handling in eth-sender (#2163)
tomg10 Jun 6, 2024
253cc83
chore: more upgrade data related to params (#2166)
kelemeno Jun 6, 2024
6c6e65c
feat(object-store): Allow caching object store objects locally (#2153)
slowli Jun 7, 2024
79fcf59
refactor(prover): Add config package (#2167)
matias-gonz Jun 7, 2024
8468716
feat(contract-verifier): Add zkVM solc 1.0.1 (#2180)
perekopskiy Jun 7, 2024
551cdc2
fix(config): Fix object store (#2183)
Deniallugo Jun 7, 2024
3e72364
feat(sync-layer): adapt MiniMerkleTree to manage priority queue (#2068)
ly0va Jun 7, 2024
70eb588
fix(ci): Run_retried instead of curl --retry (#2162)
tomg10 Jun 7, 2024
1e18af2
fix(prover_cli): Fix the issues with `home` path (#2104)
ColoCarletti Jun 7, 2024
214f981
fix(prover_cli): Fix delete command (#2119)
ColoCarletti Jun 7, 2024
9bcdabc
fix(config): Split object stores (#2187)
Deniallugo Jun 7, 2024
93315ba
fix(api): Fix getting pending block (#2186)
slowli Jun 7, 2024
9e2d187
fix(config): Add necessary config (#2190)
Deniallugo Jun 7, 2024
6609397
chore: removed consensus column from the miniblocks table (#2020)
pompon0 Jun 8, 2024
3a86bda
test(api): Fix latency of API server unit tests (#2188)
slowli Jun 10, 2024
4c18755
perf(pruning): Use more efficient query to delete past storage logs (…
slowli Jun 10, 2024
06ec5f3
fix(db): Optimize `get_l2_blocks_to_execute_for_l1_batch` (#2199)
perekopskiy Jun 11, 2024
6d6b57e
chore(eth-sender): refactor of eth-sender gas fees (#2085)
tomg10 Jun 11, 2024
8c71733
feat(contract-verifier): Add zksolc v1.5.0 (#2201)
perekopskiy Jun 11, 2024
3538e9c
fix(eth-sender): Don't resend already sent transactions in the same b…
tomg10 Jun 11, 2024
b43a881
chore(vm-runner): check stop receiver in VM runner main loop (#2209)
itegulov Jun 11, 2024
0a12c52
fix: Treat 502s and 503s as transient for GCS OS (#2202)
EmilLuta Jun 11, 2024
dd154f3
feat(vm-runner): add basic metrics (#2203)
itegulov Jun 11, 2024
20da566
fix(en): Fix reorg detection in presence of tree data fetcher (#2197)
slowli Jun 12, 2024
c3b9c38
feat(merkle-tree): Rework tree rollback (#2207)
slowli Jun 12, 2024
eca98cc
feat(proof_data_handler): add new endpoints to the TEE prover interfa…
pbeza Jun 12, 2024
1cb0887
chore(nix): update flake to support new rust toolchain (#2211)
haraldh Jun 12, 2024
00c4cca
fix(api): Fix transaction methods for pruned transactions (#2168)
slowli Jun 12, 2024
8427cdd
revert(pruning): Revert pruning query (#2220)
slowli Jun 12, 2024
560074f
chore(eth-sender): extact abstract l1 interface and all fee-related c…
tomg10 Jun 12, 2024
836473f
chore: Add more state keeper metrics (#2221)
perekopskiy Jun 12, 2024
f529a45
chore: fixed consensus error logging (#2219)
pompon0 Jun 12, 2024
7d2e12d
feat: support debugging of recursive circuits in prover_cli (#2217)
mm-zk Jun 12, 2024
1e48cd9
feat(state-keeper): More state keeper metrics (#2224)
perekopskiy Jun 12, 2024
2dcb566
chore(zk_toolbox): Update msg_address_doesnt_have_enough_money_prompt…
matias-gonz Jun 12, 2024
a00317d
fix: disable localhost wallets on external network interaction (#2212)
aon Jun 12, 2024
64cb269
fix(dal): Fix contract_address field in getTransactionRecipt (#2223)
AnastasiiaVashchuk Jun 13, 2024
6cc5455
feat: verification of L1Batch witness (BFT-471) (#2019)
pompon0 Jun 13, 2024
f967e6d
feat(state-keeper): Add metric for l2 block seal reason (#2229)
perekopskiy Jun 13, 2024
227e101
revert: verification of L1Batch witness (BFT-471) (#2230)
pompon0 Jun 13, 2024
2488a76
fix(prover): Disallow state changes from successful (#2233)
EmilLuta Jun 13, 2024
3517ffe
docs: update URLs related to zkSync docs (#2176)
itsacoyote Jun 13, 2024
dbcf3c6
feat: verification of L1Batch witness (BFT-471) - attempt 2 (#2232)
pompon0 Jun 14, 2024
ad4b26f
chore(main): release prover 15.0.0 (#2145)
zksync-era-bot Jun 14, 2024
5696564
chore: remove some false positive clippy allows (#2239)
itegulov Jun 14, 2024
3889794
fix(vm-runner): make `last_ready_batch` account for `first_processed_…
itegulov Jun 14, 2024
7c8e24c
perf(db): Improve storage switching for state keeper cache (#2234)
slowli Jun 14, 2024
2f6cd41
fix(object-store): Consider more GCS errors transient (#2246)
slowli Jun 17, 2024
3f521ac
fix: zk-toolbox integration tests ci (#2226)
aon Jun 17, 2024
d712874
chore: lower function selector log level (#2251)
itegulov Jun 17, 2024
3cad74e
feat(ci): add retried rust toolchain installatoin (#2249)
tomg10 Jun 17, 2024
6c49a50
fix(vm): Update `decommitted_code_hashes` in `prepare_to_decommit` (#…
perekopskiy Jun 17, 2024
63be1f3
chore: move contract verifier logic to lib (#2240)
AntonD3 Jun 17, 2024
f1d9f03
fix(zk_toolbox): Show balance (#2254)
Deniallugo Jun 17, 2024
2f528ec
feat(zk_toolbox): Use docker compose instead of docker-compose (#2195)
matias-gonz Jun 18, 2024
db8e71b
fix(prover_cli): Remove outdated fix for circuit id in node wg (#2248)
ColoCarletti Jun 18, 2024
63efb2e
feat(contract-verifier): Adjust contract verifier for zksolc 1.5.0 (#…
perekopskiy Jun 18, 2024
26f2010
fix(zk_toolbox): Use the same l2 address for shared and erc20 bridge …
Deniallugo Jun 18, 2024
f05b0ae
feat(eth-sender): fix for missing eth_txs_history entries (#2236)
tomg10 Jun 18, 2024
2dac846
fix(node_framework): Run gas adjuster task only if necessary (#2266)
popzxc Jun 19, 2024
40e0a95
feat(zk_toolbox): Add prover generate-sk command (#2222)
matias-gonz Jun 19, 2024
496e6c1
fix(nix): make devShells.default `pure` again (#2269)
haraldh Jun 19, 2024
0d51cd6
feat: Expose fair_pubdata_price for blocks and batches (#2244)
mm-zk Jun 19, 2024
9cc757a
refactor(en): Fetch old L1 batch hashes from L1 – improve metrics / l…
slowli Jun 19, 2024
cb6a6c8
feat: upgraded encoding of transactions in consensus Payload. (#2245)
pompon0 Jun 19, 2024
7842bc4
feat(node): Port (most of) Node to the Node Framework (#2196)
popzxc Jun 19, 2024
3ee34be
perf(db): Try yet another storage log pruning approach (#2268)
slowli Jun 19, 2024
0b4104d
feat: change `zkSync` occurences to `ZKsync` (#2227)
maciekzygmunt Jun 19, 2024
c828217
chore: bumped curve25519 (#2274)
pompon0 Jun 19, 2024
440f2a7
fix(prover_cli): Fix Minor Bugs in Prover CLI (#2264)
ColoCarletti Jun 19, 2024
15bb71e
fix(vm): fix insertion to `decommitted_code_hashes` (#2275)
perekopskiy Jun 19, 2024
2c0a00a
feat(tee_verifier_input_producer): use `FactoryDepsDal::get_factory_d…
haraldh Jun 19, 2024
05c6f35
fix: prover Cargo.lock (#2280)
joonazan Jun 19, 2024
3bf8966
chore: use simple StorageLog struct instead of LogQuery when possible…
joonazan Jun 19, 2024
7f4e6ac
refactor(db): Combine storage log pruning into single query (#2279)
slowli Jun 19, 2024
f7f5447
ci: Add ci-for-common as required for check to succeed (#2281)
yorik Jun 19, 2024
f851615
feat(prover): Add file based config for prover fri (#2184)
matias-gonz Jun 20, 2024
0a38891
feat: Remove initialize_components function (#2284)
popzxc Jun 20, 2024
d5e8e9b
feat(api): Add new `l1_committed` block tag (#2282)
AnastasiiaVashchuk Jun 20, 2024
7bd8f27
fix(pruning): Check pruning in metadata calculator (#2286)
slowli Jun 20, 2024
3f88b8d
fix(ci): missing run-retried for rust installation (#2277)
tomg10 Jun 20, 2024
dd2c941
refactor(db): Improve storage logs pruning query – add block conditio…
slowli Jun 20, 2024
619a525
feat(docs): Pruning and Snapshots recovery basic docs (#2265)
tomg10 Jun 20, 2024
f4aff94
feat(ci): remove spellcheck (#2243)
tomg10 Jun 20, 2024
06c287b
feat(docs): Add documentation for subset of wiring layer implementati…
AnastasiiaVashchuk Jun 21, 2024
c2412cf
fix(db): Fix `insert_proof_generation_details()` (#2291)
slowli Jun 21, 2024
e467028
refactor(pruning): Improve pruning metrics and logs (#2297)
slowli Jun 21, 2024
6fd4258
chore: bumped curve25519 (#2299)
popzxc Jun 21, 2024
9303142
feat: Use info log level for crates named zksync_* by default (#2296)
popzxc Jun 21, 2024
682a214
feat(init): Update init scripts (#2301)
Deniallugo Jun 21, 2024
36d2eb6
feat(vm-runner): add protective reads persistence flag for state keep…
itegulov Jun 24, 2024
67411fd
chore(release): Release As: 24.8.0 (#2308)
perekopskiy Jun 24, 2024
8861f29
feat: Make all core workspace crate names start with zksync_ (#2294)
popzxc Jun 24, 2024
9080452
chore(main): release core 24.8.0 (#2135)
zksync-era-bot Jun 24, 2024
a61f273
fix(zk_toolbox): Use slug crate instead of self written function (#2309)
Deniallugo Jun 24, 2024
31a1a04
fix(eth-sender): confirm eth-txs in order of their creation (#2310)
tomg10 Jun 24, 2024
4e9f724
chore: remove release override (#2313)
perekopskiy Jun 24, 2024
b4327b6
docs(pruning): Improve pruning and snapshot recovery docs (#2311)
slowli Jun 24, 2024
627aab9
feat(eth-sender): separate gas calculations for blobs transactions (#…
tomg10 Jun 24, 2024
2b2c790
feat(node_framework): Support shutdown hooks + more (#2293)
popzxc Jun 25, 2024
c147b0c
feat(metadata-calculator): option to use VM runner for protective rea…
itegulov Jun 25, 2024
7b3877f
feat(node_framework): Document implementations (#2319)
popzxc Jun 25, 2024
408393c
fix(merkle-tree): Change `LazyAsyncTreeReader::wait()` signature (#2314)
slowli Jun 25, 2024
c4f7b92
refactor: Remove `metrics` dependencies from workspace (#2320)
slowli Jun 25, 2024
7940fa3
feat(en): file based configs for en (#2110)
Deniallugo Jun 25, 2024
8b1fbab
feat(docs): Quickstart pruning mention (#2324)
tomg10 Jun 25, 2024
298a97e
feat(node_framework): Unify Task types + misc improvements (#2325)
popzxc Jun 26, 2024
061097d
chore: documentation about docker (#2328)
mm-zk Jun 26, 2024
6384cad
feat(zk toolbox): External node support (#2287)
Deniallugo Jun 26, 2024
ef75292
fix(eth-sender): revert commit changing which type of txs we resend f…
tomg10 Jun 26, 2024
85386d3
fix(object-store): Consider some token source errors transient (#2331)
slowli Jun 27, 2024
9985c26
feat(gas_adjuster): Use eth_feeHistory for both base fee and blobs (#…
popzxc Jun 27, 2024
287958d
feat(eth-sender): Add transient ethereum gateway errors metric (#2323)
tomg10 Jun 27, 2024
e03a929
feat(en): Unify snapshot recovery and recovery from L1 (#2256)
slowli Jun 27, 2024
f86eb13
feat(prover): Add file based config for witness vector generator (#2337)
matias-gonz Jun 27, 2024
c9ad002
feat: add revert tests to zk_toolbox (#2317)
aon Jun 27, 2024
3d047ea
feat: Adding unstable RPC endpoint to return the execution_info (#2332)
mm-zk Jun 27, 2024
4f77439
refactor(dal): Deprecate l1_batches.l2_to_l1_logs (#2175)
AnastasiiaVashchuk Jun 28, 2024
9bbdf22
feat(contract-verifier): Add new compilers (#2346)
perekopskiy Jun 28, 2024
3a8fed4
feat(zk-toolbox): Deploy custom token (#2329)
Deniallugo Jun 28, 2024
f508ac1
feat(zk_toolbox): Dev command (#2347)
Deniallugo Jun 28, 2024
abc4256
feat: consensus support for pruning (BFT-473) (#2334)
pompon0 Jun 28, 2024
0619ecc
feat(eth-sender): handle transactions for different operators separat…
tomg10 Jun 28, 2024
70b3a8a
fix(merkle-tree): Fix chunk recovery reporting during tree recovery (…
slowli Jun 28, 2024
159af3c
feat(zk_toolbox): Add prover init command (#2298)
matias-gonz Jun 28, 2024
1d6f87d
feat(prover): Add file based config for compressor (#2353)
matias-gonz Jun 28, 2024
6c308d2
chore: update smart contracts (#2354)
Deniallugo Jun 28, 2024
610a7cf
feat(snapshots_applier): Add a method to check whether snapshot recov…
popzxc Jul 1, 2024
76508c4
fix(proof_compressor): Fix backward compatibility (#2356)
Deniallugo Jul 1, 2024
7dabdbf
chore: Bump networking deps (#2349)
popzxc Jul 1, 2024
34f2a45
feat(node_framework): Implement FromContext and IntoContext derive ma…
popzxc Jul 1, 2024
29671c8
feat(zk_toolbox): use low level command for running verbose command" …
Deniallugo Jul 1, 2024
2dd35dd
chore(zk_toolbox): satisfy clippy (#2359)
Deniallugo Jul 1, 2024
107e1a7
refactor: Rename consensus tasks and split storage (BFT-476) (#2357)
aakoshh Jul 1, 2024
404ceb9
fix(db): Fix / extend transaction isolation levels (#2350)
slowli Jul 2, 2024
e67ec5d
revert: "refactor: Rename consensus tasks and split storage (BFT-476)…
popzxc Jul 2, 2024
65973cc
fix: Add EmilLuta to codeowners (#2368)
EmilLuta Jul 2, 2024
45c7a0a
feat(contract-verifier): Add vyper 1.5.2 (#2367)
perekopskiy Jul 2, 2024
fe03d0e
feat: Validium with DA (#2010)
dimazhornyk Jul 2, 2024
fe65319
feat(prover): Add prover_cli stats command (#2362)
EmilLuta Jul 2, 2024
b0e72c9
feat(prover): Add file based config support for vk-setup-data-generat…
matias-gonz Jul 2, 2024
81c8f53
refactor: Rename consensus tasks and split storage (BFT-476) (#2366)
aakoshh Jul 2, 2024
9c6bf29
chore(tests): zksync-ethers v6 (#2012)
benceharomi Jul 3, 2024
39709f5
feat: Base Token Fundamentals (#2204)
shahar4 Jul 3, 2024
d5935c7
fix(merkle-tree): Fix connection timeouts during tree pruning (#2372)
slowli Jul 3, 2024
f8df34d
feat(tee): TEE Prover Gateway (#2333)
pbeza Jul 3, 2024
256a43c
feat(api): Retry `read_value` (#2352)
perekopskiy Jul 4, 2024
2ec494b
fix(config): Implement proper tests (#2381)
Deniallugo Jul 4, 2024
217a4ba
refactor(vm-runner): simplify last processed batch query (#2373)
itegulov Jul 5, 2024
6153e99
feat(tee): add Prometheus metrics to the TEE Prover (#2386)
pbeza Jul 5, 2024
2c8cf35
feat: snark proof is already verified inside wrap_proof function (#1903)
olesHolem Jul 5, 2024
75bdfcc
feat: BWIP (#2258)
Artemka374 Jul 5, 2024
53b34e4
fix(docs): Update nodejs and sqlx version (#2392)
Deniallugo Jul 5, 2024
c6c3f96
refactor(prover): Minor improvements in prover workspace (#2393)
popzxc Jul 5, 2024
275a333
feat(vm-runner): make vm runner report time taken (#2369)
itegulov Jul 8, 2024
52a4680
feat(zk_toolbox): Clean command (#2387)
Deniallugo Jul 8, 2024
f2f4056
feat(node-framework): New wiring interface (#2384)
popzxc Jul 8, 2024
4221155
fix(vm-runner): change `processing_started_at` column type to `timest…
itegulov Jul 8, 2024
e652e4d
feat: Remove cached commitments, add BWIP to docs (#2400)
Artemka374 Jul 8, 2024
50422b8
feat: add block timestamp to `eth_getLogs` (#2374)
ischasny Jul 8, 2024
312defe
fix(tee): Introduce a 1 second delay in the batch poll (#2398)
pbeza Jul 8, 2024
6a89ca0
fix(eth-sender): fix query returning inflight txs (#2404)
tomg10 Jul 8, 2024
e5e0473
feat(zk_toolbox): resume functionality (#2376)
Deniallugo Jul 8, 2024
d0e1add
feat(prover): Add prometheus port to witness generator config (#2385)
matias-gonz Jul 8, 2024
948b532
fix(eth-sender): missing fix in second query calculating txs unsent t…
tomg10 Jul 9, 2024
8099ab0
fix: BWIP race condition (#2405)
Artemka374 Jul 9, 2024
e9d63db
fix(api): fix log timestamp format (#2407)
perekopskiy Jul 9, 2024
087a3c4
fix(erc20-test): only approving baseToken allowance when needed (#2379)
benceharomi Jul 9, 2024
598ef7b
feat(zk_toolbox): Add prover run (#2272)
matias-gonz Jul 9, 2024
fb4d700
feat(base-token): Base token price ratio cache update frequency confi…
cytadela8 Jul 9, 2024
27fabaf
feat: Switch to using crates.io deps (#2409)
popzxc Jul 9, 2024
8ea9791
feat: Unify and port node storage initialization (#2363)
popzxc Jul 9, 2024
5886b8d
feat: L1 batch QC database (BFT-476) (#2340)
aakoshh Jul 9, 2024
9f255c0
feat: Minimal External API Fetcher (#2383)
shahar4 Jul 9, 2024
200bc82
feat(config): Make getaway_url optional (#2412)
Deniallugo Jul 9, 2024
04fcbe1
feat(zk-toolbox): Add ecosystems (#2413)
Deniallugo Jul 9, 2024
a040f09
fix: Fix rustls setup for jsonrpsee clients (#2417)
popzxc Jul 10, 2024
f4410e3
feat(contract-verifier): Add file based config for contract verifier …
matias-gonz Jul 10, 2024
e0975db
feat: add zksync_tee_prover and container to nix (#2403)
haraldh Jul 10, 2024
a33c80c
chore(main): release prover 15.1.0 (#2261)
zksync-era-bot Jul 10, 2024
ca064e4
fix(ts-integration): add missing await (#2421)
tomg10 Jul 10, 2024
9cdee2c
chore(main): release core 24.9.0 (#2312)
zksync-era-bot Jul 10, 2024
a7bcf5d
fix(eth-sender): add bump of min 10% when resending txs to avoid "rep…
tomg10 Jul 10, 2024
1ecab0d
chore: Fix a few warnings (#2396)
popzxc Jul 10, 2024
ab699db
feat: L1 batch signing (BFT-474) (#2414)
aakoshh Jul 10, 2024
41c535a
feat: Add blob size metrics (#2411)
Artemka374 Jul 11, 2024
1dffae9
feat(prover)!: Bump prover protocol patch (#2428)
perekopskiy Jul 11, 2024
b0cd078
chore(main): release prover 16.0.0 (#2426)
zksync-era-bot Jul 11, 2024
192f2a3
feat(eth-sender): add early return in sending new transactions to not…
tomg10 Jul 11, 2024
ce43c42
feat(zk_toolbox): Small adjustment for zk toolbox (#2424)
Deniallugo Jul 11, 2024
5a48e10
feat(eth-watch): Integrate decentralized upgrades (#2401)
perekopskiy Jul 11, 2024
ca4cb3c
fix: Set attesters in Connection::adjust_genesis (BFT-489) (#2429)
aakoshh Jul 11, 2024
0957119
feat(zk_toolbox): Allow toolbox find Zkstack.yaml in parent dirs (#2430)
Deniallugo Jul 12, 2024
0cee530
feat(en): Switch EN to use node framework (#2427)
popzxc Jul 12, 2024
9fe1839
fix(prover): Bump protocol version to 0.24.2 on init (#2435)
EmilLuta Jul 12, 2024
6cc3f17
chore: Prepare 0.1.0 release (#2434)
popzxc Jul 12, 2024
d10a24b
feat(zk_toolbox): Add contract verifier support for zk toolbox (#2420)
matias-gonz Jul 12, 2024
3393a4d
test: Log whether we have attester key (#2437)
aakoshh Jul 13, 2024
d6bc776
ci: add actions to push the `zksync-tee-prover-azure` container (#2433)
haraldh Jul 14, 2024
56119d7
fix: impossible to run zk_inception containers command (#2443)
manuelmauro Jul 17, 2024
a8e5bde
chore: Make eth_tx_manager logs less verbose (#2449)
popzxc Jul 22, 2024
4977818
chore: fix cargo deny check (#2450)
itegulov Jul 22, 2024
62c3326
refactor(prover_fri_gateway): Refactor gateway structures (#2451)
popzxc Jul 22, 2024
c9da549
feat(prover): Make it possible to run prover out of GCP (#2448)
popzxc Jul 22, 2024
55aabff
chore: Publish fix-ups (#2445)
popzxc Jul 22, 2024
ce62dde
chore(main): release core 24.10.0 (#2423)
zksync-era-bot Jul 22, 2024
2025f3c
fix(workflow): Fix build-docker-from-tag.yml (#2454)
RomanBrodetski Jul 22, 2024
b61a144
refactor: Change prover workspace hierarchy (#2453)
popzxc Jul 22, 2024
761bda1
feat: add state override for gas estimates (#1358)
aon Jul 22, 2024
0a12cc9
ci: Remove version tag without Prover Protocol Version for all prover…
yorik Jul 22, 2024
c5650a4
feat: added consensus_config to general config (#2462)
pompon0 Jul 22, 2024
990676c
feat: remove leftovers after BWIP (#2456)
Artemka374 Jul 23, 2024
3fbbee1
feat: add revert tests (external node) to zk_toolbox (#2408)
manuelmauro Jul 23, 2024
6ce0b50
ci: Fix prover-fri-gpu-gar build (#2465)
yorik Jul 23, 2024
d8851c8
fix(prover): BWG optimizations (#2469)
EmilLuta Jul 23, 2024
9861415
feat: added key generation command to EN (#2461)
pompon0 Jul 23, 2024
5eab94c
chore(main): release core 24.11.0 (#2459)
zksync-era-bot Jul 24, 2024
8cf8fc7
refactor(api): Brush up VM storage overrides (#2463)
slowli Jul 24, 2024
513b56e
chore(main): release prover 16.1.0 (#2452)
zksync-era-bot Jul 24, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 3 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ keys/setup
!Cargo.toml
!contracts/
!setup_2\^26.key
!setup_2\^24.key
# It's required to remove .git from contracts,
# otherwise yarn tries to use .git parent directory that
# doesn't exist.
Expand All @@ -38,10 +39,11 @@ contracts/.git
!etc/multivm_bootloaders
!cargo
!bellman-cuda
!prover/vk_setup_data_generator_server_fri/data/
!prover/crates/bin/vk_setup_data_generator_server_fri/data/
!.github/release-please/manifest.json

!etc/env/file_based
!etc/env/dev.toml
!etc/env/consensus_secrets.yaml
!etc/env/consensus_config.yaml
!rust-toolchain
1 change: 0 additions & 1 deletion .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,3 @@
- [ ] Tests for the changes have been added / updated.
- [ ] Documentation comments have been added / updated.
- [ ] Code has been formatted via `zk fmt` and `zk lint`.
- [ ] Spellcheck has been run via `zk spellcheck`.
4 changes: 2 additions & 2 deletions .github/release-please/manifest.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"core": "24.2.0",
"prover": "14.1.1"
"core": "24.11.0",
"prover": "16.1.0"
}
32 changes: 17 additions & 15 deletions .github/workflows/build-contract-verifier-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@ jobs:
runs-on: ${{ fromJSON('["matterlabs-ci-runner", "matterlabs-ci-runner-arm"]')[contains(matrix.platforms, 'arm')] }}
strategy:
matrix:
components:
- contract-verifier
- verified-sources-fetcher
platforms:
- linux/amd64
components:
- contract-verifier
- verified-sources-fetcher
platforms:
- linux/amd64

steps:
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4
with:
submodules: "recursive"

Expand All @@ -57,7 +57,7 @@ jobs:
filtered_tag=""
while [ true ]; do
echo "Page: $page"
tags=$(curl -s -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" -H "Accept: application/vnd.github+json" \
tags=$(run_retried curl -s -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" -H "Accept: application/vnd.github+json" \
"https://api.github.com/repos/matter-labs/era-contracts/tags?per_page=100&page=${page}" | jq .)
if [ $(jq length <<<"$tags") -eq 0 ]; then
echo "No tag found on all pages."
Expand All @@ -73,9 +73,9 @@ jobs:
done
echo "Contracts tag is: ${filtered_tag}"
mkdir -p ./contracts
curl --retry 5 -s -LO https://github.com/matter-labs/era-contracts/releases/download/${filtered_tag}/l1-contracts.tar.gz
curl --retry 5 -s -LO https://github.com/matter-labs/era-contracts/releases/download/${filtered_tag}/l2-contracts.tar.gz
curl --retry 5 -s -LO https://github.com/matter-labs/era-contracts/releases/download/${filtered_tag}/system-contracts.tar.gz
run_retried curl -s -LO https://github.com/matter-labs/era-contracts/releases/download/${filtered_tag}/l1-contracts.tar.gz
run_retried curl -s -LO https://github.com/matter-labs/era-contracts/releases/download/${filtered_tag}/l2-contracts.tar.gz
run_retried curl -s -LO https://github.com/matter-labs/era-contracts/releases/download/${filtered_tag}/system-contracts.tar.gz
tar -C ./contracts -zxf l1-contracts.tar.gz
tar -C ./contracts -zxf l2-contracts.tar.gz
tar -C ./contracts -zxf system-contracts.tar.gz
Expand All @@ -102,7 +102,9 @@ jobs:
run: |
echo "IMAGE_TAG_SUFFIX=${{ env.IMAGE_TAG_SUFFIX }}" >> .env
mkdir -p ./volumes/postgres
run_retried docker compose pull zk postgres
docker compose up -d zk postgres
ci_run pre_download_compilers.sh
ci_run sccache --start-server

- name: init
Expand All @@ -113,7 +115,7 @@ jobs:
ci_run git config --global --add safe.directory /usr/src/zksync/contracts
ci_run zk || true
ci_run yarn zk build
ci_run curl --retry 5 -LO https://storage.googleapis.com/matterlabs-setup-keys-us/setup-keys/setup_2\^26.key
ci_run run_retried curl -LO https://storage.googleapis.com/matterlabs-setup-keys-us/setup-keys/setup_2\^26.key

- name: build contracts
if: env.BUILD_CONTRACTS == 'true'
Expand All @@ -136,14 +138,14 @@ jobs:
COMPONENT: ${{ matrix.components }}
PLATFORM: ${{ matrix.platforms }}
run: |
ci_run rustup default nightly-2023-08-21
ci_run run_retried rustup default nightly-2024-05-07
platform=$(echo $PLATFORM | tr '/' '-')
ci_run zk docker $DOCKER_ACTION --custom-tag=${IMAGE_TAG_SUFFIX} --platform=${PLATFORM} $COMPONENT
- name: Show sccache stats
if: always()
run: |
ci_run sccache --show-stats
ci_run cat /tmp/sccache_log.txt
ci_run sccache --show-stats || true
ci_run cat /tmp/sccache_log.txt || true

create_manifest:
name: Create release manifest
Expand All @@ -160,7 +162,7 @@ jobs:
env:
IMAGE_TAG_SUFFIX: ${{ inputs.image_tag_suffix }}
steps:
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4

- name: login to Docker registries
run: |
Expand Down
40 changes: 21 additions & 19 deletions .github/workflows/build-core-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,18 +36,18 @@ jobs:
runs-on: ${{ fromJSON('["matterlabs-ci-runner", "matterlabs-ci-runner-arm"]')[contains(matrix.platforms, 'arm')] }}
strategy:
matrix:
components:
- server-v2
- external-node
- snapshots-creator
platforms:
- linux/amd64
include:
- components: external-node
platforms: linux/arm64
components:
- server-v2
- external-node
- snapshots-creator
platforms:
- linux/amd64
include:
- components: external-node
platforms: linux/arm64

steps:
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4
with:
submodules: "recursive"

Expand All @@ -66,7 +66,7 @@ jobs:
filtered_tag=""
while [ true ]; do
echo "Page: $page"
tags=$(curl -s -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" -H "Accept: application/vnd.github+json" \
tags=$(run_retried curl -s -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" -H "Accept: application/vnd.github+json" \
"https://api.github.com/repos/matter-labs/era-contracts/tags?per_page=100&page=${page}" | jq .)
if [ $(jq length <<<"$tags") -eq 0 ]; then
echo "No tag found on all pages."
Expand All @@ -82,9 +82,9 @@ jobs:
done
echo "Contracts tag is: ${filtered_tag}"
mkdir -p ./contracts
curl --retry 5 -s -LO https://github.com/matter-labs/era-contracts/releases/download/${filtered_tag}/l1-contracts.tar.gz
curl --retry 5 -s -LO https://github.com/matter-labs/era-contracts/releases/download/${filtered_tag}/l2-contracts.tar.gz
curl --retry 5 -s -LO https://github.com/matter-labs/era-contracts/releases/download/${filtered_tag}/system-contracts.tar.gz
run_retried curl -s -LO https://github.com/matter-labs/era-contracts/releases/download/${filtered_tag}/l1-contracts.tar.gz
run_retried curl -s -LO https://github.com/matter-labs/era-contracts/releases/download/${filtered_tag}/l2-contracts.tar.gz
run_retried curl -s -LO https://github.com/matter-labs/era-contracts/releases/download/${filtered_tag}/system-contracts.tar.gz
tar -C ./contracts -zxf l1-contracts.tar.gz
tar -C ./contracts -zxf l2-contracts.tar.gz
tar -C ./contracts -zxf system-contracts.tar.gz
Expand All @@ -111,7 +111,9 @@ jobs:
run: |
echo "IMAGE_TAG_SUFFIX=${{ env.IMAGE_TAG_SUFFIX }}" >> .env
mkdir -p ./volumes/postgres
run_retried docker compose pull zk postgres
docker compose up -d zk postgres
ci_run pre_download_compilers.sh
ci_run sccache --start-server

- name: init
Expand All @@ -122,7 +124,7 @@ jobs:
ci_run git config --global --add safe.directory /usr/src/zksync/contracts
ci_run zk || true
ci_run yarn zk build
ci_run curl --retry 5 -LO https://storage.googleapis.com/matterlabs-setup-keys-us/setup-keys/setup_2\^26.key
ci_run run_retried curl -LO https://storage.googleapis.com/matterlabs-setup-keys-us/setup-keys/setup_2\^26.key

- name: build contracts
if: env.BUILD_CONTRACTS == 'true'
Expand All @@ -145,14 +147,14 @@ jobs:
COMPONENT: ${{ matrix.components }}
PLATFORM: ${{ matrix.platforms }}
run: |
ci_run rustup default nightly-2023-08-21
ci_run run_retried rustup default nightly-2024-05-07
platform=$(echo $PLATFORM | tr '/' '-')
ci_run zk docker $DOCKER_ACTION --custom-tag=${IMAGE_TAG_SUFFIX} --platform=${PLATFORM} $COMPONENT
- name: Show sccache stats
if: always()
run: |
ci_run sccache --show-stats
ci_run cat /tmp/sccache_log.txt
ci_run sccache --show-stats || true
ci_run cat /tmp/sccache_log.txt || true

create_manifest:
name: Create release manifest
Expand All @@ -172,7 +174,7 @@ jobs:
env:
IMAGE_TAG_SUFFIX: ${{ inputs.image_tag_suffix }}${{ (inputs.en_alpha_release && matrix.component.name == 'external-node') && '-alpha' || '' }}
steps:
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4

- name: login to Docker registries
run: |
Expand Down
17 changes: 15 additions & 2 deletions .github/workflows/build-docker-from-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
prover_fri_cpu_key_id: ${{ steps.extract-prover-fri-setup-key-ids.outputs.cpu_short_commit_sha }}
prover_fri_gpu_key_id: ${{ steps.extract-prover-fri-setup-key-ids.outputs.gpu_short_commit_sha }}
steps:
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4
- name: Generate output with git tag
id: set
run: |
Expand Down Expand Up @@ -59,9 +59,21 @@ jobs:
image_tag_suffix: ${{ needs.setup.outputs.image_tag_suffix }}
en_alpha_release: true

build-push-tee-prover-images:
name: Build and push images
needs: [setup]
uses: ./.github/workflows/build-tee-prover-template.yml
if: contains(github.ref_name, 'core')
secrets:
DOCKERHUB_USER: ${{ secrets.DOCKERHUB_USER }}
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
ATTIC_TOKEN: ${{ secrets.ATTIC_TOKEN }}
with:
image_tag_suffix: ${{ needs.setup.outputs.image_tag_suffix }}

build-push-contract-verifier:
name: Build and push image
needs: [ setup ]
needs: [setup]
uses: ./.github/workflows/build-contract-verifier-template.yml
if: contains(github.ref_name, 'contract_verifier')
secrets:
Expand Down Expand Up @@ -92,3 +104,4 @@ jobs:
with:
setup_keys_id: ${{ needs.setup.outputs.prover_fri_gpu_key_id }}
image_tag_suffix: ${{ needs.setup.outputs.image_tag_suffix }}
protocol_version: ${{ needs.build-push-prover-images.outputs.protocol_version }}
3 changes: 2 additions & 1 deletion .github/workflows/build-local-node-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
name: Local Node - Build and Push Docker Image
runs-on: [matterlabs-ci-runner]
steps:
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4
with:
submodules: "recursive"

Expand Down Expand Up @@ -51,6 +51,7 @@ jobs:
- name: start-services
run: |
mkdir -p ./volumes/postgres
run_retried docker compose pull zk postgres
docker compose up -d zk postgres

- name: init
Expand Down
18 changes: 11 additions & 7 deletions .github/workflows/build-prover-fri-gpu-gar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,17 @@ on:
description: "Commit sha for downloading setup data from bucket dir"
required: true
type: string
protocol_version:
description: "Protocol version to be included in the images tag"
required: true
type: string

jobs:
build-gar-prover-fri-gpu:
name: Build prover FRI GPU GAR
runs-on: [matterlabs-ci-runner]
steps:
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4
with:
submodules: "recursive"

Expand All @@ -40,10 +44,10 @@ jobs:
with:
context: docker/prover-gpu-fri-gar
build-args: |
PROVER_IMAGE=${{ inputs.image_tag_suffix }}
PROVER_IMAGE=${{ inputs.protocol_version }}-${{ inputs.image_tag_suffix }}
push: true
tags: |
us-docker.pkg.dev/matterlabs-infra/matterlabs-docker/prover-fri-gpu-gar:2.0-${{ inputs.image_tag_suffix }}
us-docker.pkg.dev/matterlabs-infra/matterlabs-docker/prover-fri-gpu-gar:2.0-${{ inputs.protocol_version }}-${{ inputs.image_tag_suffix }}

- name: Login to Asia GAR
run: |
Expand All @@ -52,8 +56,8 @@ jobs:
- name: Build and push to Asia GAR
run: |
docker buildx imagetools create \
--tag asia-docker.pkg.dev/matterlabs-infra/matterlabs-docker/prover-fri-gpu-gar:2.0-${{ inputs.image_tag_suffix }} \
us-docker.pkg.dev/matterlabs-infra/matterlabs-docker/prover-fri-gpu-gar:2.0-${{ inputs.image_tag_suffix }}
--tag asia-docker.pkg.dev/matterlabs-infra/matterlabs-docker/prover-fri-gpu-gar:2.0-${{ inputs.protocol_version }}-${{ inputs.image_tag_suffix }} \
us-docker.pkg.dev/matterlabs-infra/matterlabs-docker/prover-fri-gpu-gar:2.0-${{ inputs.protocol_version }}-${{ inputs.image_tag_suffix }}

- name: Login to Europe GAR
run: |
Expand All @@ -62,5 +66,5 @@ jobs:
- name: Build and push to Europe GAR
run: |
docker buildx imagetools create \
--tag europe-docker.pkg.dev/matterlabs-infra/matterlabs-docker/prover-fri-gpu-gar:2.0-${{ inputs.image_tag_suffix }} \
us-docker.pkg.dev/matterlabs-infra/matterlabs-docker/prover-fri-gpu-gar:2.0-${{ inputs.image_tag_suffix }}
--tag europe-docker.pkg.dev/matterlabs-infra/matterlabs-docker/prover-fri-gpu-gar:2.0-${{ inputs.protocol_version }}-${{ inputs.image_tag_suffix }} \
us-docker.pkg.dev/matterlabs-infra/matterlabs-docker/prover-fri-gpu-gar:2.0-${{ inputs.protocol_version }}-${{ inputs.image_tag_suffix }}
Loading
Loading