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

Problem: sync upstream repo to v18.13.0 #42

Closed
wants to merge 308 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
308 commits
Select commit Hold shift + click to select a range
4f7b2a9
chore: Update generated Prover FRI GPU setup-data keys from branch ma…
zksync-admin-bot2 Nov 9, 2023
2e145c1
fix(path): update gpu prover setup data path to remove extra gpu suff…
akash-chandrakar Nov 9, 2023
8702ddf
fix: Update executor (#452)
StanislavBreadless Nov 9, 2023
1b31008
chore(tests): Wait for l2 bridge init in test (#456)
perekopskiy Nov 9, 2023
45da4f9
ci: add cuda build deps to docker images (#457)
otani88 Nov 9, 2023
cb2bc72
chore(main): release prover 9.0.0 (#425)
zksync-era-bot Nov 9, 2023
ab31f03
feat(job-processor): report attempts metrics (#448)
perekopskiy Nov 10, 2023
4be9eb5
docs: fix broken links (#464)
Saladerl Nov 13, 2023
bd1e005
chore(CI): Disable bridge tests for EN (#470)
popzxc Nov 13, 2023
ac184c2
chore(metrics): Rename job attempts label (#471)
perekopskiy Nov 13, 2023
3fe1bb2
feat(dal): Do not load config from env in DAL crate (#444)
popzxc Nov 13, 2023
5f61d8d
chore: fix typo in console.warn (#353)
Nov 13, 2023
f13648c
fix(boojnet): various boojnet fixes (#462)
StanislavBreadless Nov 13, 2023
c4a12b1
chore: the errors in the document have been corrected (#442)
CrytoInsight Nov 13, 2023
664ce33
fix(metadata-calculator): Save commitment for pre-boojum (#481)
perekopskiy Nov 13, 2023
580cada
feat(hyperchain): Adding prover related commands to zk stack (#440)
githubdoramon Nov 13, 2023
4421be4
refactor(merkle tree): Remove lifetime in `MerkleTree` (#472)
slowli Nov 13, 2023
69a7afd
ci: Move current Prover FRI bucket keys extraction to a separate scri…
hatemosphere Nov 13, 2023
4e3cf93
chore(Fri-compressor): Update README.md for FRI compressor (#484)
githubdoramon Nov 13, 2023
cb394f3
fix: change vks upgrade logic (#491)
perekopskiy Nov 14, 2023
38384e7
chore: Prepare boojum stage upgrade (#473)
StanislavBreadless Nov 14, 2023
f4313a4
feat(core): adds a get proof endpoint in zks namespace (#455)
montekki Nov 14, 2023
44cbb94
chore(main): release core 18.0.0 (#424)
zksync-era-bot Nov 15, 2023
0c454fc
fix(metadata-calculator): Do not require events_queue for old batches…
perekopskiy Nov 15, 2023
97f2c97
chore(main): release core 18.0.1 (#493)
zksync-era-bot Nov 15, 2023
cb873bd
fix(api): `debug_trace*` no longer throws error if the `TracerConfig`…
RedaOps Nov 15, 2023
38bb482
fix(crypto): update shivini to switch to era-cuda (#469)
akash-chandrakar Nov 16, 2023
c3a7651
fix(proof-data-handler): Check commitments only for post-boojum (#500)
perekopskiy Nov 16, 2023
87bd226
chore(main): release core 18.0.2 (#495)
zksync-era-bot Nov 16, 2023
ff636ca
fix(proof-data-handler): Check commitments only for post-boojum (agai…
perekopskiy Nov 16, 2023
ecd68ca
chore(main): release core 18.0.3 (#505)
zksync-era-bot Nov 16, 2023
f9ae0ad
feat: added consensus types and consensus column to miniblocks table …
pompon0 Nov 16, 2023
0ac4a4d
feat(core): adds a get proof endpoint in zks namespace to http endpoi…
montekki Nov 16, 2023
0ff922d
chore(upgrade-tool): Extend upgrade tool to work with new governance …
perekopskiy Nov 16, 2023
851e800
feat: Adds `prover_group_id` label into `fri_prover_prover_job` metri…
yorik Nov 17, 2023
e8bbf76
test(merkle tree): Fix flaky `MerkleTree` consistency test (#475)
slowli Nov 17, 2023
146e4cf
feat(merkle tree): Allow random-order tree recovery (#485)
slowli Nov 17, 2023
7c137b7
fix(core): add tree url to jsonrpsee server on main node (#512)
montekki Nov 17, 2023
1c315f3
fix: Fixes panic on unknown FRI prover group id (#522)
yorik Nov 20, 2023
c88c436
fix(deps): Update zk evm abstraction (#524)
Deniallugo Nov 20, 2023
89af5a4
chore(main): release core 18.1.0 (#506)
zksync-era-bot Nov 21, 2023
2cddf3c
fix(prover): use a more performant query to get next job for FRI prov…
RomanBrodetski Nov 21, 2023
cebe233
chore(ci): rebuild provers if we have changes in library (#529)
Deniallugo Nov 21, 2023
67ef133
fix(ci): Use the same nightly rust (#530)
Deniallugo Nov 21, 2023
6e4d228
chore: Add metrics on types of filters in API (#526)
Artemka374 Nov 22, 2023
9aec8ef
chore: remove `recalculate_miniblock_hashes` method (#494)
Artemka374 Nov 22, 2023
e59a7c6
feat(state-keeper): Remove computational gas limit from boojum protoc…
RomanBrodetski Nov 23, 2023
a49b61d
feat(en): Implement gossip fetcher (#371)
slowli Nov 23, 2023
1e9e556
fix(core): differentiate l2 to l1 logs tree size for pre and post boo…
montekki Nov 23, 2023
9ced921
test(merkle tree): Use `test-casing` for Merkle tree tests (#540)
slowli Nov 24, 2023
7e95a3a
feat(witness-generator): add logs to leaf aggregation job (#542)
RomanBrodetski Nov 25, 2023
925da43
chore(witness-generation): more logs (#543)
RomanBrodetski Nov 26, 2023
0cab378
fix(proof_data_handler): Feature flag state_diff_hash check (#545)
EmilLuta Nov 27, 2023
698dbc3
feat(state-keeper): reapply computational gas limit (#544)
RomanBrodetski Nov 27, 2023
0e45dea
chore(main): release core 18.2.0 (#528)
zksync-era-bot Nov 27, 2023
9cada1a
fix(house_keeper): Emit the correct circuit_id for aggregation round …
EmilLuta Nov 27, 2023
198deda
feat(contract-verifier): Add zkvyper 1.3.13 (#552)
popzxc Nov 28, 2023
c12902b
fix(prover_fri): Add index to speed up getting jobs (#509)
EmilLuta Nov 28, 2023
a068814
chore(main): release core 18.3.0 (#549)
zksync-era-bot Nov 28, 2023
9b701e7
docs: Improve CPU prover setup documentation (#258)
jrchatruc Nov 28, 2023
65a2cd9
chore: Ability to override default CUDA arch for prover-gpu-fri (#553)
hatemosphere Nov 28, 2023
9ea02a1
fix(external-node): Check txs at insert time instead of read time (#555)
EmilLuta Nov 28, 2023
ac400b1
ci: Adds manual trigger for release-please (#557)
yorik Nov 28, 2023
339e450
fix: Update comments post-hotfix (#556)
EmilLuta Nov 28, 2023
f339d0a
chore: Testnet Boojum Upgrade (#514)
koloz193 Nov 28, 2023
bd60f1c
chore(main): release core 18.3.1 (#558)
zksync-era-bot Nov 28, 2023
e8fd805
fix: Change no pending batches 404 error into a success response (#279)
igamigo Nov 29, 2023
beac0a8
feat: adds spellchecker workflow, and corrects misspelled words (#559)
dutterbutter Nov 29, 2023
bd268ac
fix(vm): Expose additional types and traits (#563)
Deniallugo Nov 29, 2023
8b34ab9
test(api): Test coverage for WebSocket server (#525)
slowli Nov 29, 2023
06f510d
feat: Restore commitment test in Boojum integration (#539)
Artemka374 Nov 29, 2023
b74a0f0
chore: update docs (#465)
toddfil Nov 30, 2023
0d55d6d
chore: fixed typo in code notes (#497)
oxJean Nov 30, 2023
c067007
chore(docs): fixed typos in documentation (#479)
0xKarm Nov 30, 2023
f4f322a
chore: fixed typo (#486)
Dollyerls Nov 30, 2023
dbe89e2
chore(docs): fix docs (#487)
Saladerl Nov 30, 2023
4b00ee0
docs: fix typo (#488)
momodaka Nov 30, 2023
dddb797
chore: fix minor typo (#518)
buldazer23 Nov 30, 2023
6095d69
chore(docs): the typos have been corrected (#441)
McKenna8989 Nov 30, 2023
f15885e
chore: Fix broken link in repositories.md (#565)
0xmbcode Nov 30, 2023
cae5147
chore: fix minor typo in rust code in docs (#566)
Rakesh-lab-stack Nov 30, 2023
26767b6
refactor(eth_client): Use `BlockId` for `block_id` instead of String …
RedaOps Nov 30, 2023
89a96af
ci: Remove leftovers of explicit publishing to public Docker registri…
hatemosphere Nov 30, 2023
83791aa
feat: zk db check-sqlx-check on pre-push (#548)
tomg10 Nov 30, 2023
e2c1b20
feat(merkle tree): Remove enumeration index assignment from Merkle tr…
slowli Nov 30, 2023
15d7eaf
feat(en): Support arbitrary genesis block for external nodes (#537)
slowli Nov 30, 2023
e05d955
fix(witness_generator): Disable BWIP dependency (#573)
EmilLuta Dec 1, 2023
5994aae
chore(main): release core 18.4.0 (#560)
zksync-era-bot Dec 1, 2023
0cd2c6b
ci: Runs spellcheck in merge queue. (#574)
yorik Dec 1, 2023
94a3319
chore: fix typo (#575)
0xKarm Dec 1, 2023
6e6e118
chore: fix typos in document (#577)
toddfil Dec 1, 2023
c594323
chore: Fix typos (#567)
tranhoaison Dec 1, 2023
19c84ce
feat: Add metric to CallTracer for calculating maximum depth of the c…
Artemka374 Dec 4, 2023
58a4e6c
feat: Add various metrics to the Prover subsystems (#541)
Artemka374 Dec 4, 2023
90a085e
chore: fix wrong line (#592)
gordera Dec 4, 2023
a08ba32
chore(docs): fixed docs typo (#588)
yilirong1992 Dec 4, 2023
8c63435
chore(docs): fix typos in document (#589)
Saladerl Dec 4, 2023
659d0e4
chore: fix typo (#587)
yilimin999 Dec 4, 2023
ad4f9ab
chore(docs): fix broken link (#590)
oxJean Dec 4, 2023
ccd13ce
feat: faster and less noisy zk fmt (#513)
tomg10 Dec 4, 2023
aebb70d
chore: the errors in the document have been correct (#583)
penghuarong Dec 4, 2023
445a39b
chore(docs): the errors in the document have been corrected. (#461)
yiliminiqihang Dec 5, 2023
c829522
chore: update document (#601)
Dollyerls Dec 5, 2023
714a890
chore: fixed typos in documentation (#603)
gordera Dec 5, 2023
8f92aae
chore: remove incorrect branch prompts (#594)
oxJean Dec 5, 2023
56776f9
fix: Sync protocol version between consensus and server blocks (#568)
slowli Dec 5, 2023
c678619
chore(main): release core 18.5.0 (#593)
zksync-era-bot Dec 5, 2023
8ace0be
chore: fix link (#576)
ylmin Dec 5, 2023
e71ee34
chore(main): release prover 9.1.0 (#460)
zksync-era-bot Dec 5, 2023
e2e94ff
chore(main): release prover 10.0.0 (#608)
zksync-era-bot Dec 5, 2023
83d5a2a
refactor: Removed protobuf encoding from zksync_types (#562)
pompon0 Dec 5, 2023
f6a69e0
fix: use powers array in plonkSetup function (#508)
pluveto Dec 5, 2023
aeaaecb
fix: Fix database connections in house keeper (#610)
Artemka374 Dec 5, 2023
b65fedd
feat(contract-verifier): Support verification for zksolc v1.3.17 (#606)
perekopskiy Dec 5, 2023
b7007a3
chore(main): release core 18.6.0 (#613)
zksync-era-bot Dec 5, 2023
684e933
chore: Mainnet upgrade calldata (#564)
StanislavBreadless Dec 6, 2023
2de4825
chore: Update generated Prover FRI CPU setup-data keys from branch ma…
zksync-admin-bot2 Dec 6, 2023
5cf7210
perf(external-node): Use async miniblock sealing in external IO (#611)
perekopskiy Dec 6, 2023
66e76b5
chore: fix document path (#615)
oxJean Dec 6, 2023
66af650
chore: Remove era-reviewers from codeowners (#618)
popzxc Dec 6, 2023
c4dc1e1
chore(main): release core 18.6.1 (#616)
zksync-era-bot Dec 6, 2023
c7d4315
feat(hyperchain-wizard): zkStack CLI GPU support (#612)
artmakh Dec 6, 2023
ec5907b
fix: Cursor not moving correctly after poll in `get_filter_changes` (…
Artemka374 Dec 6, 2023
8a8cad6
fix: update google cloud dependencies that do not depend on rsa (#622)
dutterbutter Dec 6, 2023
43c0964
docs: Include command to create rich L2 wallets. (#569)
thomasknauth Dec 7, 2023
53a6bcf
chore: Enforce uniform import structure (#617)
slowli Dec 7, 2023
dd9b308
fix(job-processor): `max_attepts_reached` metric (#626)
perekopskiy Dec 7, 2023
d84dd6f
chore(vm): Expose more pubs and make inmemory clonable (#632)
Deniallugo Dec 7, 2023
6fefe62
chore: remove old witness generator (#619)
AnastasiiaVashchuk Dec 7, 2023
25355a3
fix: improve docs repositories (#570)
JackHamer09 Dec 8, 2023
7c99232
docs(setup): Added TL;DR instructions for new zkstack setup (#621)
mm-zk Dec 8, 2023
1e9e3bd
chore: upgrades local test network to cancun+deneb compatible one (#580)
montekki Dec 8, 2023
d91b55b
chore(zk init): Removed plonk setup (#638)
mm-zk Dec 8, 2023
21fc6ff
chore(CI): Speeding up docker builds in CI (#640)
mm-zk Dec 8, 2023
4c382a0
chore(zk): finishing migration to docker compose (#646)
mm-zk Dec 8, 2023
87c334e
chore(ci): Pre-download compilers, as a workaround for old hardhat pl…
artmakh Dec 11, 2023
d4cc6e5
feat(en): Remove `SyncBlock.root_hash` (#633)
slowli Dec 11, 2023
9c1d5bf
docs: New protocol specification (#641)
kelemeno Dec 11, 2023
0b820fa
feat(zk tool): Added yarn & directory checks (#188)
mm-zk Dec 11, 2023
a317c7a
fix: follow up metrics fixes (#648)
Artemka374 Dec 11, 2023
23de362
chore(ci): Pre-download one more version of viper compiler (#652)
artmakh Dec 11, 2023
28f5642
feat(en): Check block hash correspondence (#572)
slowli Dec 11, 2023
883c128
fix: fix docs error (#635)
AlexBill01 Dec 11, 2023
7e8a4fa
chore(core/lib): typo fix (#624)
guerrierindien Dec 11, 2023
fa3b55e
chore: remove tslint related comments (#636)
momodaka Dec 11, 2023
270edee
feat: Snapshot Creator (#498)
tomg10 Dec 11, 2023
ca50347
chore(ci): Pre-download more versions of compilers + less verbose (#653)
artmakh Dec 11, 2023
77f91fe
feat(contract-verifier): Add zksolc v1.3.18 (#654)
perekopskiy Dec 11, 2023
5c1aea2
fix: Follow up metrics fixes vol.2 (#656)
Artemka374 Dec 11, 2023
8260393
fix: removing sqlx check from pre-push (#658)
tomg10 Dec 12, 2023
e410c86
chore(main): release core 18.7.0 (#620)
zksync-era-bot Dec 12, 2023
cb35af8
ci: removes docker-compose-runner.yml (#649)
montekki Dec 12, 2023
f6c2650
chore(en): adds version metric collecting (#655)
montekki Dec 12, 2023
7120f55
ci(local-node): replace deprecated node setup (#642)
haraldh Dec 12, 2023
ba861ae
chore(en): Add sepolia en config (#663)
perekopskiy Dec 12, 2023
b89e5a4
ci: Remove obsolete CI workflows (#664)
hatemosphere Dec 12, 2023
f49418b
feat(merkle tree): Snapshot recovery in metadata calculator (#607)
slowli Dec 12, 2023
9c59838
feat: Implemented 1 validator consensus for the main node (#554)
pompon0 Dec 12, 2023
1153c42
feat(dal): Make ConnectionPoolBuilder owned (#676)
popzxc Dec 13, 2023
985c737
fix: dropping installed filters (#670)
Artemka374 Dec 13, 2023
a6a6a90
chore(zk): clean volumes directory from container to fix permissions …
montekki Dec 13, 2023
f3c3bf5
feat(core): Merge bounded and unbounded gas adjuster (#678)
popzxc Dec 13, 2023
846fd33
feat(api): Sunset API translator (#675)
popzxc Dec 13, 2023
ded0996
chore(main): release core 18.8.0 (#674)
zksync-era-bot Dec 13, 2023
be12894
fix(local-node): debug and fix local-node setup (#666)
AnastasiiaVashchuk Dec 13, 2023
6e68186
test(snapshot creator): Add basic tests (#677)
slowli Dec 14, 2023
9b479a1
chore: remove witgen related tables (#671)
AnastasiiaVashchuk Dec 15, 2023
70ca0db
feat: Dockerfile and step in CI to build snapshots-creator image (#686)
tomg10 Dec 15, 2023
2ef3ec8
fix(en): Downgrade miniblock hash equality assertion to warning (#695)
slowli Dec 18, 2023
0be35b8
feat: Add ecadd and ecmul to the list of precompiles upon genesis (#669)
StanislavBreadless Dec 18, 2023
6982343
feat: zk fmt sqlx-queries (#533)
tomg10 Dec 18, 2023
9f096a4
feat: proto serialization/deserialization of snapshots creator object…
tomg10 Dec 18, 2023
c55a658
perf: remove unnecessary to_vec (#702)
joonazan Dec 18, 2023
031446f
chore(docs): add YouTube to official links (#705)
0xMBL Dec 19, 2023
8351f25
fix: override file only needed in format_sql.ts (#707)
tomg10 Dec 19, 2023
625d632
feat(api): Do not return receipt if tx was not included to the batch …
Deniallugo Dec 19, 2023
84ec18b
chore(main): release core 18.9.0 (#700)
zksync-era-bot Dec 19, 2023
f48d677
feat: Remove data fetchers (#694)
popzxc Dec 20, 2023
b6853ad
chore(ci): use canonical prysm images in local testnet (#687)
montekki Dec 20, 2023
87026a5
chore: merge contracts and system-contracts repos (#672)
benceharomi Dec 20, 2023
7661558
chore(tests): restore revert test (#714)
perekopskiy Dec 20, 2023
b3f0417
feat(api): remove jsonrpc backend (#693)
montekki Dec 21, 2023
e93aa35
fix: remove leftovers after #693 (#720)
montekki Dec 21, 2023
9298b1b
feat: Remove zks_getConfirmedTokens method (#719)
popzxc Dec 21, 2023
b7f0066
fix(prover): update rescue_poseidon version (#722)
RomanBrodetski Dec 21, 2023
c874ef9
chore: fix doc (#716)
gordera Dec 21, 2023
5405a53
docs: corrected spelling in zk_intuition.md file (#710)
bskrksyp9 Dec 21, 2023
d7ce14c
fix(prover): Add logging for prover + WVGs (#723)
EmilLuta Dec 21, 2023
3db25cb
fix(prover): update rescue_poseidon version (#726)
RomanBrodetski Dec 21, 2023
c4185d5
feat(en): Make reorg detector work with pruned data (#712)
slowli Dec 21, 2023
174994a
chore(main): release prover 10.0.1 (#724)
zksync-era-bot Dec 21, 2023
969275a
ci: add CUDA_ARCH arg to build prover template (#730)
otani88 Dec 21, 2023
0bcdb22
ci: revert adding CUDA_ARCH arg to build prover template (#735)
otani88 Dec 21, 2023
5c34ba6
chore(docs): Update list of repositories (#728)
mm-zk Dec 21, 2023
d38aa85
fix(prover): Reduce amount of prover connections per prover subcompon…
EmilLuta Dec 21, 2023
79d5671
ci: add cuda arch param for prover-fri-gpu (#736)
otani88 Dec 21, 2023
aeba052
chore: vise version bump (#727)
tomg10 Dec 21, 2023
2e9f23b
feat: applied status snapshots dal (#679)
tomg10 Dec 21, 2023
0804674
chore(main): release prover 10.0.2 (#737)
zksync-era-bot Dec 21, 2023
4ec3194
refactor: Remove RocksDB backup leftovers (#721)
popzxc Dec 22, 2023
54709ab
fix: close Docker PostgreSQL to external connections (#741)
bogatyy Dec 22, 2023
2df0c13
chore: fix link (#740)
Dollyerls Dec 22, 2023
44b6e13
chore: Update how_l2_messaging_works.md (#739)
Saladerl Dec 22, 2023
d1d919a
chore: Retire the lightweight tree component (#732)
popzxc Dec 22, 2023
39fd71c
feat(api): Add metrics for `jsonrpsee` subscriptions (#733)
slowli Dec 22, 2023
94579cc
fix(prover): increase DB polling interval for witness vector generato…
RomanBrodetski Dec 22, 2023
2099b11
fix: directory path in 01_initialization.md (#657)
Dushyantgoswami Dec 22, 2023
fd321bd
chore: update docs (#631)
CrytoInsight Dec 22, 2023
75e21b3
fix: silence cat errors on Show Logs step (#708)
tomg10 Dec 22, 2023
eed330d
fix: added waiting for prometheus to finish (#745)
tomg10 Dec 22, 2023
1d52663
chore: fix dev discussions link (#750)
dutterbutter Dec 23, 2023
3d211e8
fix: all Docker configs no longer expose PostgreSQL externally (#749)
bogatyy Dec 23, 2023
0a7a4da
fix(EN): temporary produce a warning on pubdata mismatch with L1 (#758)
RomanBrodetski Dec 25, 2023
3549704
chore(main): release core 18.10.0 (#713)
zksync-era-bot Dec 25, 2023
50cd7c4
fix(sequencer): don't stall blockchain on failed L1 tx (#759)
RomanBrodetski Dec 25, 2023
6c5dbb8
chore(main): release core 18.10.1 (#760)
zksync-era-bot Dec 25, 2023
6c6f1ab
fix(vm): Get pubdata bytes from vm (#756)
Deniallugo Dec 25, 2023
2cc3ed5
chore(main): release core 18.10.2 (#761)
zksync-era-bot Dec 25, 2023
ec104ef
fix(core): do not unwrap unexisting calldata in commitment and regene…
montekki Dec 25, 2023
46ab40b
chore(main): release core 18.10.3 (#763)
zksync-era-bot Dec 25, 2023
6e7ed12
feat: Revert "feat: Remove zks_getConfirmedTokens method" (#765)
RomanBrodetski Dec 25, 2023
be5306f
chore(main): release core 18.11.0 (#766)
zksync-era-bot Dec 25, 2023
9c99e13
feat(get-tokens): filter tokens by `well_known` (#767)
RomanBrodetski Dec 25, 2023
3a0ec35
chore(main): release core 18.12.0 (#768)
zksync-era-bot Dec 25, 2023
4a4a865
chore(docs): corrected spelling in `status.ts` file (#753)
AlexBill01 Dec 28, 2023
0a05fea
chore: fix link (#752)
CrytoInsight Dec 28, 2023
9d98715
docs: Update 01_initialization.md (#769)
avocadodefi Dec 28, 2023
fe730e7
fix: fix path (#751)
MoneyBund Dec 28, 2023
1a3d616
fix: fix several typos (#754)
MattewGraham Dec 28, 2023
62aacab
docs: Update 01_initialization.md (#770)
avocadodefi Dec 28, 2023
896b660
docs: fix typo (#746)
0xblackbox Dec 28, 2023
e5a3a2c
chore: update contracts.md (#773)
MoneyBund Dec 28, 2023
eb4750d
chore: fix error link (#744)
Dollyerls Dec 28, 2023
f238fb0
chore(docs): fix docs (#778)
web3jacker Dec 29, 2023
4403e88
fix: fix error link (#777)
Joslis Dec 29, 2023
8997e87
chore: fix row (#776)
MattewGraham Dec 29, 2023
5f20fe8
chore: update how_l2_messaging_works.md (#779)
Tleaoo Dec 29, 2023
ae963fe
chore(docs): fix typo (#781)
Tleaoo Dec 30, 2023
1e17986
chore: spelling and grammar fixes (#782)
web3jacker Dec 30, 2023
fff2b83
chore: update bootloader.md (#775)
AlexBill01 Dec 30, 2023
23f3c16
fix: fix docs (#783)
AlexBill01 Dec 30, 2023
88f1b35
chore(docs): several typos in the documentation (#774)
CrytoInsight Dec 30, 2023
edf071d
feat: Remove generic bounds on L1GasPriceProvider (#792)
popzxc Jan 2, 2024
2ff09b2
ci: Optimize contracts build (#715)
otani88 Jan 2, 2024
0ae681e
ci: fix job dependecies (#796)
otani88 Jan 2, 2024
77063bb
ci: fix docker.ts for build prover images
otani88 Jan 2, 2024
b309820
fix(hyperchain wizard): Do Not Return Upon EthSender Lag (#794)
shahar4 Jan 2, 2024
d0e9296
feat: Remove TPS limiter from TX Sender (#793)
popzxc Jan 2, 2024
2635570
feat(contract-verifier): add zksolc v1.3.19 (#797)
Romsters Jan 2, 2024
357fa98
chore(main): release core 18.13.0 (#795)
zksync-era-bot Jan 2, 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
  •  
  •  
  •  
9 changes: 5 additions & 4 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,13 @@ contracts/.git
!infrastructure/local-setup-preparation
!infrastructure/zk
!sdk/zksync-rs
!etc/system-contracts/bootloader/build/artifacts
!etc/system-contracts/contracts/artifacts
!etc/system-contracts/contracts/precompiles/artifacts
!etc/system-contracts/artifacts-zk
!contracts/system-contracts/bootloader/build/artifacts
!contracts/system-contracts/contracts/artifacts
!contracts/system-contracts/contracts/precompiles/artifacts
!contracts/system-contracts/artifacts-zk
!etc/multivm_bootloaders
!cargo
!bellman-cuda
!core/bin/verification_key_generator_and_server/data/
!prover/vk_setup_data_generator_server_fri/data/
!.github/release-please/manifest.json
6 changes: 4 additions & 2 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@ node_modules
build/
dist/
volumes/
.tslintrc.js
bellman-cuda
bellman-cuda

# Ignore contract submodules
contracts
2 changes: 1 addition & 1 deletion .githooks/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ RED='\033[0;31m'
NC='\033[0m' # No Color

# Check that Rust formatting rules are not violated.
function check_fmt {
check_fmt () {
if ! cargo fmt -- --check; then
echo -e "${RED}Commit error!${NC}"
echo "Please format the code via 'cargo fmt', cannot commit unformatted code"
Expand Down
4 changes: 2 additions & 2 deletions .githooks/pre-push
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
#
# Pre-push hook verifying that inappropriate code will not be pushed.

Expand All @@ -8,7 +8,7 @@ NC='\033[0m' # No Color

# Check that prettier formatting rules are not violated.
if ! zk fmt --check; then
echo -e "${RED}Commit error!${NC}"
echo -e "${RED}Push error!${NC}"
echo "Please format the code via 'zk fmt', cannot push unformatted code"
exit 1
fi
3 changes: 2 additions & 1 deletion .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# What ❔
## What ❔

<!-- What are the changes this PR brings about? -->
<!-- Example: This PR adds a PR template to the repo. -->
Expand All @@ -18,3 +18,4 @@
- [ ] 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 `cargo spellcheck --cfg=./spellcheck/era.cfg --code 1`.
4 changes: 2 additions & 2 deletions .github/release-please/manifest.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"sdk/zksync-rs": "0.4.0",
"core": "16.2.0",
"prover": "7.2.0"
"core": "18.13.0",
"prover": "10.0.2"
}
83 changes: 83 additions & 0 deletions .github/workflows/build-contracts.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
name: Build contracts
on:
workflow_call:
inputs:
compilers:
description: 'JSON of required compilers and their versions'
type: string
required: false
default: '[{ "zksolc": ["1.3.14", "1.3.16", "1.3.17", "1.3.1", "1.3.7", "1.3.18", "1.3.19"] } , { "zkvyper": ["1.3.13"] }]'

jobs:
build-images:
name: Build and upload contracts
runs-on: [matterlabs-ci-runner]
steps:
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3
with:
submodules: "recursive"
- name: setup-env
run: |
echo ZKSYNC_HOME=$(pwd) >> $GITHUB_ENV
echo CI=1 >> $GITHUB_ENV
echo $(pwd)/bin >> $GITHUB_PATH
echo CI=1 >> .env
echo IN_DOCKER=1 >> .env

# TODO: Remove after when we can upgrade hardhat-plugins
- name: pre-download compiilers
run: |
# Download needed versions of vyper compiler
# Not sanitized due to unconventional path and tags
mkdir -p ./hardhat-nodejs/compilers-v2/vyper/linux
wget -nv -O ./hardhat-nodejs/compilers-v2/vyper/linux/0.3.10 https://github.com/vyperlang/vyper/releases/download/v0.3.10/vyper.0.3.10+commit.91361694.linux
wget -nv -O ./hardhat-nodejs/compilers-v2/vyper/linux/0.3.3 https://github.com/vyperlang/vyper/releases/download/v0.3.3/vyper.0.3.3+commit.48e326f0.linux
chmod +x ./hardhat-nodejs/compilers-v2/vyper/linux/0.3.10
chmod +x ./hardhat-nodejs/compilers-v2/vyper/linux/0.3.3

COMPILERS_JSON='${{ inputs.compilers }}'
echo "$COMPILERS_JSON" | jq -r '.[] | to_entries[] | .key as $compiler | .value[] | "\(.),\($compiler)"' | while IFS=, read -r version compiler; do
mkdir -p "./hardhat-nodejs/compilers-v2/$compiler"
wget -nv -O "./hardhat-nodejs/compilers-v2/$compiler/${compiler}-v${version}" "https://github.com/matter-labs/${compiler}-bin/releases/download/v${version}/${compiler}-linux-amd64-musl-v${version}"
chmod +x "./hardhat-nodejs/compilers-v2/$compiler/${compiler}-v${version}"
done

- name: start-services
run: |
echo "IMAGE_TAG_SUFFIX=${{ env.IMAGE_TAG_SUFFIX }}" >> .env
mkdir -p ./volumes/postgres
docker compose up -d zk postgres
ci_run sccache --start-server

- name: build contracts
run: |
ci_run git config --global --add safe.directory /usr/src/zksync
ci_run git config --global --add safe.directory /usr/src/zksync/sdk/binaryen
ci_run git config --global --add safe.directory /usr/src/zksync/contracts/system-contracts
ci_run git config --global --add safe.directory /usr/src/zksync/contracts
ci_run zk
ci_run zk clean --all
ci_run zk run yarn
ci_run cp etc/tokens/{test,localhost}.json
ci_run zk compiler all
ci_run zk contract build
ci_run zk f yarn run l2-contracts build

- name: upload contracts
uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392
with:
name: contracts
path: |
./contracts/system-contracts/**/artifacts/
./contracts/system-contracts/**/artifacts-zk/
./contracts/l1-contracts/**/artifacts/
./contracts/l1-contracts/**/artifacts-zk/
./contracts/l2-contracts/**/artifacts/
./contracts/l2-contracts/**/artifacts-zk/
compression-level: 0

- name: Show sccache stats
if: always()
run: |
ci_run sccache --show-stats
ci_run cat /tmp/sccache_log.txt
52 changes: 33 additions & 19 deletions .github/workflows/build-core-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,21 +22,32 @@ on:
type: string
default: "push"
required: false

jobs:
build-images:
name: Build and Push Docker Images
env:
image_tag: ${{ inputs.image_tag }}
IMAGE_TAG_SUFFIX: ${{ inputs.image_tag_suffix }}
runs-on: [matterlabs-ci-runner]
runs-on: ${{ matrix.component.runner }}
strategy:
matrix:
component:
- server-v2
- external-node
- contract-verifier
- cross-external-nodes-checker
component:
- name: server-v2
platforms: linux/amd64
runner: matterlabs-ci-runner
- name: external-node
platforms: linux/amd64
runner: matterlabs-ci-runner
- name: contract-verifier
platforms: linux/amd64
runner: matterlabs-ci-runner
- name: cross-external-nodes-checker
platforms: linux/amd64
runner: matterlabs-ci-runner
- name: snapshots-creator
platforms: linux/amd64
runner: matterlabs-ci-runner

steps:
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3
with:
Expand All @@ -50,25 +61,27 @@ jobs:
echo CI=1 >> .env
echo IN_DOCKER=1 >> .env

- name: Download contracts
uses: actions/download-artifact@v4
with:
name: contracts
path: ./contracts/

- name: start-services
run: |
echo "IMAGE_TAG_SUFFIX=${{ env.IMAGE_TAG_SUFFIX }}" >> .env
docker-compose -f docker-compose-runner.yml up -d zk geth postgres
mkdir -p ./volumes/postgres
docker compose up -d zk postgres
ci_run sccache --start-server

- name: init
run: |
ci_run git config --global --add safe.directory /usr/src/zksync
ci_run git config --global --add safe.directory /usr/src/zksync/sdk/binaryen
ci_run git config --global --add safe.directory /usr/src/zksync/etc/system-contracts
ci_run git config --global --add safe.directory /usr/src/zksync/contracts/system-contracts
ci_run git config --global --add safe.directory /usr/src/zksync/contracts
ci_run zk
ci_run zk clean --all
ci_run zk run yarn
ci_run cp etc/tokens/{test,localhost}.json
ci_run zk compiler all
ci_run zk contract build
ci_run zk f yarn run l2-contracts build
ci_run zk || true
ci_run yarn zk build
ci_run curl -LO https://storage.googleapis.com/matterlabs-setup-keys-us/setup-keys/setup_2\^26.key

- name: login to Docker registries
Expand All @@ -80,10 +93,11 @@ jobs:
- name: update-images
env:
DOCKER_ACTION: ${{ inputs.action }}
COMPONENT: ${{ matrix.component }}
COMPONENT: ${{ matrix.component.name }}
PLATFORMS: ${{ matrix.component.platforms }}
run: |
ci_run zk docker $DOCKER_ACTION $COMPONENT -- --public

ci_run rustup default nightly-2023-08-21
ci_run zk docker $DOCKER_ACTION --platforms=${PLATFORMS} $COMPONENT
- name: Show sccache stats
if: always()
run: |
Expand Down
27 changes: 15 additions & 12 deletions .github/workflows/build-docker-from-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ jobs:
runs-on: [ubuntu-latest]
outputs:
image_tag_suffix: ${{ steps.set.outputs.image_tag_suffix }}
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
with:
Expand All @@ -42,9 +44,19 @@ jobs:
version=$(cut -d "-" -f2 <<< ${git_tag})
echo "image_tag_suffix=${version}" >> $GITHUB_OUTPUT

- name: Generate outputs with Prover FRI setup data keys IDs
id: extract-prover-fri-setup-key-ids
run: |
./prover/extract-setup-data-keys.sh >> $GITHUB_OUTPUT

build-contracts:
name: Build contracts
if: contains(github.ref_name, 'core')
uses: ./.github/workflows/build-contracts.yml

build-push-core-images:
name: Build and push image
needs: [setup]
needs: [setup, build-contracts]
uses: ./.github/workflows/build-core-template.yml
if: contains(github.ref_name, 'core')
secrets:
Expand All @@ -63,26 +75,17 @@ jobs:
image_tag: ${{ needs.setup.outputs.image_tag }}
image_tag_suffix: ${{ needs.setup.outputs.image_tag_suffix }}
ERA_BELLMAN_CUDA_RELEASE: ${{ vars.ERA_BELLMAN_CUDA_RELEASE }}
CUDA_ARCH: "60;70;75;89"
secrets:
DOCKERHUB_USER: ${{ secrets.DOCKERHUB_USER }}
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}

build-gar-prover:
name: Build GAR prover
needs: [setup, build-push-prover-images]
uses: ./.github/workflows/build-gar-reusable.yml
if: contains(github.ref_name, 'prover')
with:
setup_keys_id: 4989f12
image_tag_suffix: ${{ needs.setup.outputs.image_tag_suffix }}
push_asia: true
push_europe: true

build-gar-prover-fri-gpu:
name: Build GAR prover FRI GPU
needs: [setup, build-push-prover-images]
uses: ./.github/workflows/build-prover-fri-gpu-gar.yml
if: contains(github.ref_name, 'prover')
with:
setup_keys_id: 2d33a27-gpu
setup_keys_id: ${{ needs.setup.outputs.prover_fri_gpu_key_id }}
image_tag_suffix: ${{ needs.setup.outputs.image_tag_suffix }}
51 changes: 0 additions & 51 deletions .github/workflows/build-external-node-docker.yml

This file was deleted.

Loading
Loading