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

Merge main #65

Merged
merged 270 commits into from
Jan 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
270 commits
Select commit Hold shift + click to select a range
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
1426b1b
feat(prover): Remove circuit-synthesizer (#801)
EmilLuta Jan 2, 2024
0e2bc56
feat(vm)!: Release v19 - remove allowlist (#747)
StanislavBreadless Jan 2, 2024
c83db35
feat(merkle tree): Finalize metadata calculator snapshot recovery log…
slowli Jan 3, 2024
29a4f52
feat(eth_sender): Remove generic bounds on L1TxParamsProvider in EthS…
popzxc Jan 3, 2024
e19d654
refactor(metadata_calculator): Make config owned (#808)
popzxc Jan 3, 2024
cbe8c7f
refactor(state_keeper): Abstract ConditionalSealer (#803)
popzxc Jan 3, 2024
8be1925
feat(prover): Remove old prover (#810)
EmilLuta Jan 3, 2024
76948d7
refactor(eth-sender): Make `EthInterface` object-safe (#807)
slowli Jan 3, 2024
9d0aefc
fix(prover): Remove old prover subsystems tables (#812)
EmilLuta Jan 3, 2024
4071e90
feat(vm): Add boojum integration folder (#805)
StanislavBreadless Jan 3, 2024
286c7d1
feat(snapshot creator): Make snapshot creator fault-tolerant (#691)
slowli Jan 3, 2024
ee26dd9
feat: adds spellchecker to zk tool (#748)
dutterbutter Jan 4, 2024
d77e26f
refactor: Remove generics in eth_watch and eth_sender (#815)
popzxc Jan 4, 2024
61712a6
feat(vm): Separate boojum integration vm (#806)
StanislavBreadless Jan 4, 2024
5053b0a
refactor(metadata_calculator): Move ObjectStore out from MetadataCalc…
popzxc Jan 4, 2024
3f663ec
fix(db): Fix parsing statement timeout from env (#818)
slowli Jan 4, 2024
39f2d50
refactor(config): Remove ChainConfig structure (#821)
popzxc Jan 5, 2024
e5fbcb5
feat(vm): Make utils version-dependent (#809)
StanislavBreadless Jan 5, 2024
ae6e18e
feat(en): Make consistency checker work with pruned data (#742)
slowli Jan 5, 2024
2ceb911
fix(prover): Remove prover-utils from core (#819)
EmilLuta Jan 5, 2024
1d1b682
refactor(object_store): Wrap ObjectStore in Arc instead of Box (#820)
popzxc Jan 5, 2024
011a58a
chore(main): release prover 10.1.0 (#743)
zksync-era-bot Jan 5, 2024
3f2858e
chore(main): release core 19.0.0 (#802)
zksync-era-bot Jan 5, 2024
0fb2877
chore(eth-sender): Added documentation to commit data (#731)
mm-zk Jan 5, 2024
c4a86bb
feat(state-keeper): circuits seal criterion (#729)
perekopskiy Jan 5, 2024
3839d39
feat: fix spelling in dev comments in `core/lib/multivm` - continued …
dutterbutter Jan 5, 2024
b46c2e9
feat: fix spelling in dev comments in `core/lib/*` - continued (#684)
dutterbutter Jan 5, 2024
70c3feb
feat: fix spelling in dev comments in `core/lib/zksync_core` - contin…
dutterbutter Jan 6, 2024
0421fe6
feat: fix spelling in dev comments in `core/lib/*` - continued (#683)
dutterbutter Jan 6, 2024
1fd0afd
feat: address remaining spelling issues in dev comments and turns on …
dutterbutter Jan 7, 2024
5129b82
ci: add arm64 build for en (#811)
otani88 Jan 7, 2024
e650246
ci: fix foop for merge docker manifest
otani88 Jan 7, 2024
3f1add8
ci: revert arm64 and merge manifest job
otani88 Jan 7, 2024
7a07f91
chore(dal): bumps sqlx dependency to 0.7.3 (#725)
montekki Jan 8, 2024
c00fc48
fix: fixes markdown table formatting in `docs/specs/zk_evm/vm_specifi…
dutterbutter Jan 8, 2024
be99118
ci: Fixed zk-environment workflow (#831)
alexandrst88 Jan 8, 2024
1b57984
ci: Fixed zk-environment workflow typos and npm issues. (#833)
alexandrst88 Jan 8, 2024
0a010f0
feat(state-keeper): Reject transactions that fail to publish bytecode…
perekopskiy Jan 8, 2024
7d4a878
feat: adds cargo spellcheck and cspell to Dockerfile for zk env (#835)
dutterbutter Jan 8, 2024
83c1546
chore(docs): setup-dev improvements (#836)
artmakh Jan 8, 2024
53defba
chore(ci): return the lint checks of sqlx (#830)
montekki Jan 8, 2024
b685180
ci: fix merge manifest job (#828)
otani88 Jan 8, 2024
83fc7be
fix(vm): fix circuit tracer (#837)
perekopskiy Jan 8, 2024
a488dd3
ci: Revert fix merge manifest job (#839)
alexandrst88 Jan 8, 2024
6cfe39d
feat: Integrate `cspell` checker in CI for `/docs` and update PR temp…
dutterbutter Jan 9, 2024
2e84b69
chore: fix link (#784)
CrytoInsight Jan 9, 2024
af4e554
chore(docs): spelling and grammar fixes (#789)
web3jacker Jan 9, 2024
1a7b4fe
chore: change fri_prover witness vector receiver port (#772)
wjw12 Jan 9, 2024
998c455
chore: fix error link (#814)
MattewGraham Jan 9, 2024
3e14cf5
chore: fix unreachable link (#840)
0xWizar Jan 9, 2024
997db87
feat(vm): Add batch input abstraction (#817)
StanislavBreadless Jan 9, 2024
b8b190f
feat(core): removes multiple tokio runtimes and worker number setting…
montekki Jan 9, 2024
604fdb9
chore: adds development guide for zk spellcheck (#847)
dutterbutter Jan 9, 2024
a6c869d
fix: oldest unpicked batch (#692)
Artemka374 Jan 10, 2024
6cea5bf
ci: fix merge manifest (#848)
otani88 Jan 10, 2024
88fd724
fix(state-keeper): Updates manager keeps track of fictive block metri…
perekopskiy Jan 10, 2024
4f55926
fix: address issue with spellchecker not checking against prover work…
dutterbutter Jan 10, 2024
ec6e923
chore(main): release core 19.1.0 (#823)
zksync-era-bot Jan 11, 2024
8adf615
chore(docs): Adding a README with a list of VM versions (#857)
mm-zk Jan 12, 2024
077c0c6
fix(vm): `inspect_transaction_with_bytecode_compression` for old VMs …
perekopskiy Jan 12, 2024
e010fd5
chore(main): release core 19.1.1 (#864)
zksync-era-bot Jan 12, 2024
4ee0445
chore(local-node): adds npm to Dockerfile (#865)
montekki Jan 12, 2024
6b90b08
chore(zk): adds sql-formatter to zk dependencies (#866)
montekki Jan 12, 2024
3af4644
feat: rewritten gossip sync to be async from block processing (#711)
pompon0 Jan 13, 2024
c7d4c24
fix(local-node): deploy erc20 tokens to fix the deployment (#872)
montekki Jan 15, 2024
d64f584
feat: adds `zk linkcheck` to zk tool and updates zk env for `zk linkc…
dutterbutter Jan 15, 2024
4ff92c4
chore(hyperchains): fix zk stack cli (#876)
githubdoramon Jan 15, 2024
a663539
chore(docs): Update boojum_gadgets.md - Fix typo (#871)
mankzan Jan 15, 2024
851db4e
ci: add copying wit-vector-gen image to cross-region registies (#883)
otani88 Jan 16, 2024
3a07890
feat(en): Make batch status updater work with pruned data (#863)
slowli Jan 16, 2024
1ed5a95
feat(contract-verifier): Support zkVM solc contract verification (#854)
perekopskiy Jan 17, 2024
78a3bf1
chore(main): release core 19.2.0 (#867)
zksync-era-bot Jan 17, 2024
3f0695d
chore(deps): bumps h2 to avoid vulnerability alert (#895)
montekki Jan 18, 2024
a78d03c
fix: addresses broken links in preparation for ci link check (#869)
dutterbutter Jan 18, 2024
12974fc
fix: Incorrect exposing of log indexes (#896)
Artemka374 Jan 18, 2024
0b7cd0b
feat(api): Make Web3 API server work with pruned data (#838)
slowli Jan 18, 2024
3564aff
feat(vm)!: fee model updates + 1.4.1 (#791)
StanislavBreadless Jan 18, 2024
515b5d6
Merge branch 'main' into native_erc20
jrchatruc Jan 18, 2024
93d6be1
Fixes
jrchatruc Jan 18, 2024
3f9ca7a
Update verifier key hash
jrchatruc Jan 19, 2024
6c6fc76
Remove todo!
jrchatruc Jan 25, 2024
b199af5
Update submodule
jrchatruc Jan 25, 2024
dc87cad
Update submodule
jrchatruc Jan 25, 2024
b777cb2
Merge branch 'native_erc20' into merge-main
juan518munoz Jan 25, 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
  •  
  •  
  •  
10 changes: 5 additions & 5 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ 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-preprocessed/artifacts
!contracts/system-contracts/contracts-preprocessed/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
2 changes: 0 additions & 2 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@ node_modules
build/
dist/
volumes/
.tslintrc.js
bellman-cuda

# Ignore contract submodules
contracts
etc/system-contracts
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
1 change: 1 addition & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 `zk spellcheck`.
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": "18.3.0",
"prover": "9.0.0"
"core": "19.2.0",
"prover": "10.1.0"
}
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", "1.3.21"] } , { "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
99 changes: 74 additions & 25 deletions .github/workflows/build-core-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@ on:
description: "DOCKERHUB_TOKEN"
required: true
inputs:
image_tag:
description: "Tag of a built image to deploy"
type: string
required: true
image_tag_suffix:
description: "Optional suffix to override tag name generation"
type: string
Expand All @@ -22,21 +18,26 @@ 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: ${{ fromJSON('["matterlabs-ci-runner", "matterlabs-ci-runner-arm"]')[contains(matrix.platforms, 'arm')] }}
strategy:
matrix:
component:
- server-v2
- external-node
- contract-verifier
- cross-external-nodes-checker
components:
- server-v2
- external-node
- contract-verifier
- cross-external-nodes-checker
- snapshots-creator
platforms:
- linux/amd64
include:
- components: external-node
platforms: linux/arm64

steps:
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3
with:
Expand All @@ -50,42 +51,90 @@ 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
if: github.event_name != 'pull_request' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/'))
run: |
ci_run docker login -u ${{ secrets.DOCKERHUB_USER }} -p ${{ secrets.DOCKERHUB_TOKEN }}
ci_run gcloud auth configure-docker us-docker.pkg.dev,asia-docker.pkg.dev,europe-docker.pkg.dev -q
ci_run gcloud auth configure-docker us-docker.pkg.dev -q

- name: update-images
env:
DOCKER_ACTION: ${{ inputs.action }}
COMPONENT: ${{ matrix.component }}
COMPONENT: ${{ matrix.components }}
PLATFORM: ${{ matrix.platforms }}
run: |
ci_run rustup default nightly-2023-08-21
ci_run zk docker $DOCKER_ACTION $COMPONENT -- --public
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

create_manifest:
name: Create release manifest
runs-on: matterlabs-ci-runner
needs: build-images
if: ${{ inputs.action == 'push' }}
strategy:
matrix:
component:
- name: server-v2
platform: linux/amd64
- name: external-node
platform: linux/amd64,linux/arm64
- name: contract-verifier
platform: linux/amd64
- name: cross-external-nodes-checker
platform: linux/amd64
- name: snapshots-creator
platform: linux/amd64
env:
IMAGE_TAG_SUFFIX: ${{ inputs.image_tag_suffix }}
steps:
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3
with:
submodules: "recursive"
- name: login to Docker registries
run: |
docker login -u ${{ secrets.DOCKERHUB_USER }} -p ${{ secrets.DOCKERHUB_TOKEN }}
gcloud auth configure-docker us-docker.pkg.dev -q

- name: Create Docker manifest
run: |
docker_repositories=("matterlabs/${{ matrix.component.name }}" "us-docker.pkg.dev/matterlabs-infra/matterlabs-docker/${{ matrix.component.name }}")
platforms=${{ matrix.component.platform }}
for repo in "${docker_repositories[@]}"; do
platform_tags=""
for platform in ${platforms//,/ }; do
platform=$(echo $platform | tr '/' '-')
platform_tags+=" --amend ${repo}:${IMAGE_TAG_SUFFIX}-${platform}"
done
for manifest in "${repo}:${IMAGE_TAG_SUFFIX}" "${repo}:2.0-${IMAGE_TAG_SUFFIX}" "${repo}:latest" "${repo}:latest2.0"; do
docker manifest create ${manifest} ${platform_tags}
docker manifest push ${manifest}
done
done
20 changes: 7 additions & 13 deletions .github/workflows/build-docker-from-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,16 +49,20 @@ jobs:
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:
DOCKERHUB_USER: ${{ secrets.DOCKERHUB_USER }}
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
with:
image_tag: ${{ needs.setup.outputs.image_tag }}
image_tag_suffix: ${{ needs.setup.outputs.image_tag_suffix }}

build-push-prover-images:
Expand All @@ -67,23 +71,13 @@ jobs:
uses: ./.github/workflows/build-prover-template.yml
if: contains(github.ref_name, 'prover')
with:
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: bccc7de
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
Expand Down
51 changes: 0 additions & 51 deletions .github/workflows/build-external-node-docker.yml

This file was deleted.

Loading
Loading