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

PolyM #2

Merged
merged 494 commits into from
Sep 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
494 commits
Select commit Hold shift + click to select a range
ccde139
remove unused code: ZeroL1InfoRoot cte (#3065)
joanestebanr Jan 15, 2024
2acd0ed
trusted sync: fix local_exit_root (#3067)
joanestebanr Jan 15, 2024
021a399
v1 to v2 working (#3069)
ARR552 Jan 15, 2024
fe3decc
added egp value for eth transfer. Fix zkevm_EstimateFee endpoint. Rem…
agnusmor Jan 15, 2024
e3de7a7
if a batch have no l2block it returns an zero l1inforoot (#3070)
joanestebanr Jan 15, 2024
27ce15f
add new executor errors (#3077)
ToniRamirezM Jan 15, 2024
b0edcf3
Add L1 block timestamp margin to send sequences (#3078)
agnusmor Jan 15, 2024
3e40964
fix finalize l2block when closing batch due to exhausted resource (#3…
agnusmor Jan 16, 2024
f42895b
reprocess trusted batch, use GER of leaf 0 of L1InfoRoot (#3086)
joanestebanr Jan 16, 2024
8c526ae
fix default value for fromBlock when calling eth_getLogs (#3051)
tclemos Jan 16, 2024
9da3acf
Security - Add SHA Pin to Third Party Actions/Checkout Action (fixes …
joethechicken Jan 16, 2024
9fc1143
for L1 sequence batch event if the batch only use leaf 0 set GER as 0…
joanestebanr Jan 17, 2024
13da817
Return zero GER when L1IntroTreeIndex is 0 (#3090)
agnusmor Jan 17, 2024
7c7a7d8
fix etrog stream generation (#3094)
ToniRamirezM Jan 17, 2024
1690310
synchronizer: remove fatals (#3093)
joanestebanr Jan 18, 2024
f28d4f5
Feature/#3081 smc (#3097)
ARR552 Jan 18, 2024
bc72f05
etrog: Fix synchronizer OOC sequenced batch (#3095)
joanestebanr Jan 18, 2024
cfe5048
fix OOC errors (#3100)
ToniRamirezM Jan 18, 2024
8972932
remove l2 hash from eth_getTransactionReceipt (#3089)
tclemos Jan 18, 2024
3c7afae
Fix set l1InfoRootIndex on changeL2Block (#3099)
agnusmor Jan 18, 2024
5332980
fix stream (#3101)
ToniRamirezM Jan 18, 2024
5917449
build(deps): bump google.golang.org/protobuf from 1.31.0 to 1.32.0 (#…
dependabot[bot] Jan 18, 2024
eb78983
build(deps): bump github.com/rubenv/sql-migrate from 1.5.2 to 1.6.1 (…
dependabot[bot] Jan 18, 2024
0a11d35
Fix batch GER (#3104)
agnusmor Jan 19, 2024
de64ad2
force version of json-schema-for-humans to 0.47 (#3109)
joanestebanr Jan 19, 2024
25f4460
add new endpoint zkevm_getLatestGlobalExitRoot (#3103)
tclemos Jan 19, 2024
3810148
Fix merkle proof in aggregator. Fix finalize batch on sequencer (#3112)
agnusmor Jan 20, 2024
7a25b19
Fix new wipL2block on finalizeBatch function (#3113)
agnusmor Jan 21, 2024
5ef9d3a
fix l1InfoRoot (#3115)
ARR552 Jan 22, 2024
79d32bb
build(deps): bump google.golang.org/grpc from 1.60.0 to 1.60.1 (#2938)
dependabot[bot] Jan 22, 2024
1327d11
update prover image (#3114)
ToniRamirezM Jan 22, 2024
b69f85d
build(deps): bump github.com/prometheus/client_golang (#3105)
dependabot[bot] Jan 22, 2024
8e0b1f5
build(deps): bump golang.org/x/net from 0.19.0 to 0.20.0 (#3106)
dependabot[bot] Jan 22, 2024
05357ab
Feature/aggregator update etrog batch (#3117)
ARR552 Jan 22, 2024
76e3118
Add L2 block sequential process. Execute empty L2 block. Add tracking…
agnusmor Jan 22, 2024
6e8ad9e
fix migration batch wip field. fix sequence when no wip batch (#3126)
agnusmor Jan 23, 2024
22b2651
fix Leaves smtproof (#3127)
ARR552 Jan 23, 2024
1962ca1
Add l2block log dump when storing error. Refactor ProcessBatchV2 logs…
agnusmor Jan 24, 2024
c3dddf7
fix panic etherman (#3133)
ARR552 Jan 24, 2024
8e1e5e9
Fix GetL2Hash function. Use tx L2 hash returned by the executor when …
agnusmor Jan 24, 2024
19d493e
remove l2 tx hash computation and use data stored in the state return…
tclemos Jan 25, 2024
8124e52
etrog: fix permissionless errors (#3140)
joanestebanr Jan 25, 2024
895c1e0
Fix missing batch bookmark (#3122)
ToniRamirezM Jan 25, 2024
6feb7b8
fix wipL2Block deltaTimestamp (#3142)
agnusmor Jan 25, 2024
646603e
ensure tx order in stream (#3144)
ToniRamirezM Jan 25, 2024
4ddba20
fix wipL2Block stateRoot (#3145)
agnusmor Jan 25, 2024
1825164
fix panic NewStackTrie (#3146)
ARR552 Jan 25, 2024
bc51813
fix sync initalization for etrog (#3147)
tclemos Jan 25, 2024
4dc6258
fix wipL2block imStateRoot (#3148)
agnusmor Jan 26, 2024
86fcb5b
fix tracer to work by block stateroot instead of by tx (#3150)
tclemos Jan 26, 2024
75a957f
update prover image (#3151)
ToniRamirezM Jan 26, 2024
f69f0f9
if a trusted batch is empty and WIP just create the entry in state.ba…
joanestebanr Jan 26, 2024
65a507e
fix trace for tx index greater than 0 (#3153)
tclemos Jan 26, 2024
8f79b21
add cardona.zip (#3154)
joanestebanr Jan 26, 2024
c100d40
Fix default value when creating transaction.used_sha256_hashes field …
agnusmor Jan 26, 2024
1a8dd7d
add cardona testnet (#2909) (#3155)
joanestebanr Jan 26, 2024
f3b86d4
new fields in stream (#3149)
ToniRamirezM Jan 26, 2024
b47986a
set stateManagerPurge to false in Cardona (#3158)
joanestebanr Jan 26, 2024
eea3833
synchronizer: fix case emtpy batch and unittest (#3159)
joanestebanr Jan 27, 2024
7497d07
update prover image to v4.0.1 (#3160)
agnusmor Jan 27, 2024
fd05d50
EncodeBatchV2 allow to set Tx in binary (#3143)
joanestebanr Jan 29, 2024
b938572
synchronizer: unittest and remove pool_reorg (#3111)
joanestebanr Jan 30, 2024
3f537af
avoid unnecessary get code call when address doesn't have code hash (…
tclemos Jan 30, 2024
188969b
fix parentHash when storing a new L2 block (#3171) (#3174)
agnusmor Jan 31, 2024
aed5088
new geth version v1.13.11 (#3179)
ARR552 Jan 31, 2024
2f51cda
Fix/rom error (#3177) (#3178)
ARR552 Feb 1, 2024
cb2424a
synchronizer: update fromTrusted fix cache update (#3169) (#3183)
joanestebanr Feb 1, 2024
8c659f2
fix l2 block gas price to use value returned by the executor (#3186)
tclemos Feb 2, 2024
3212dc4
feat: optimize purge txn pool query (#3137)
IdrisHanafi Feb 2, 2024
9f6ba6a
Add sanity check: last L2 block timestamp in the sequence is also L1B…
agnusmor Feb 2, 2024
2e29d41
Fix isSynced function (#3188) (#3194)
agnusmor Feb 2, 2024
fd78640
fix migration down; check for greater forkIDs instead of the next +1 …
tclemos Feb 3, 2024
31959f5
cherry-pick Fix/3200 l1inforoot error on reorg (#3201) (#3207)
joanestebanr Feb 6, 2024
daf4094
Feature/3173 sync trusted state in networks previous to ETROG (#3175…
joanestebanr Feb 6, 2024
d6d4b96
Fix/3203 panic if batch process fail and must be closed (#3206) (#3216)
joanestebanr Feb 6, 2024
1dfa467
Fix/3164 eth syncing dont return expected values (#3165) (#3193)
joanestebanr Feb 6, 2024
cae61bd
Fix etrog im state root (#3222)
ToniRamirezM Feb 6, 2024
68338dc
Fix L2 block gas limit to 2**50 (1125899906842624) (#3219) (#3223)
agnusmor Feb 6, 2024
2ee5030
permissionless: removed compatibility with trusted Incaberry (#3218)
joanestebanr Feb 7, 2024
7756dd3
change 2^64-1 for an esmitation of blocks (#3220) (#3226)
joanestebanr Feb 7, 2024
25d6c61
synchronizer mode sequential by default (#3227)
joanestebanr Feb 7, 2024
54ef1c4
add retries in is Synced function when last virtual batch is greater …
agnusmor Feb 8, 2024
44248e0
Cherry pick PRs #3209 and #3197 into develop (#3213)
tclemos Feb 8, 2024
3977793
sequence batch only when sanity check is done. Do fatal for some halt…
agnusmor Feb 8, 2024
e2c4b73
fix im state root in stream (#3192) (#3202)
ToniRamirezM Feb 8, 2024
129cece
get GER for l2block on Etrog (#3238) (#3242)
ToniRamirezM Feb 8, 2024
445bf0b
Fix/3233 the etrog event UpdateEtrogSequence doesnt store the GER in …
joanestebanr Feb 9, 2024
f7e4167
build(deps): bump github.com/prometheus/common from 0.45.0 to 0.46.0 …
dependabot[bot] Feb 9, 2024
40f6f27
build(deps): bump golang.org/x/sync from 0.5.0 to 0.6.0 (#3121)
dependabot[bot] Feb 9, 2024
233ec7c
build(deps): bump github.com/urfave/cli/v2 from 2.26.0 to 2.27.1 (#3120)
dependabot[bot] Feb 9, 2024
4060739
build(deps): bump google.golang.org/grpc from 1.60.1 to 1.61.0 (#3130)
dependabot[bot] Feb 9, 2024
32aa4f9
Synchronized inform field state.batch.closing_reason from DB for ETRO…
joanestebanr Feb 9, 2024
2e79d28
add zkevm_estimateGasPrice (#3248)
tclemos Feb 9, 2024
361cb86
refactor gasUsed to validate break even gas price to match sequencer …
tclemos Feb 10, 2024
025e5d9
build(deps): bump golang.org/x/crypto from 0.18.0 to 0.19.0 (#3253)
dependabot[bot] Feb 12, 2024
cca6ef0
build(deps): bump github.com/0xPolygonHermez/zkevm-data-streamer (#3251)
dependabot[bot] Feb 12, 2024
4b6dee6
build(deps): bump github.com/google/uuid from 1.5.0 to 1.6.0 (#3250)
dependabot[bot] Feb 12, 2024
f12cdc3
build(deps): bump golang.org/x/net from 0.20.0 to 0.21.0 (#3252)
dependabot[bot] Feb 12, 2024
b22cf41
fix loginfof (#3261)
invocamanman Feb 13, 2024
4e298ae
build(deps): bump google.golang.org/grpc from 1.61.0 to 1.61.1 (#3268)
dependabot[bot] Feb 14, 2024
7719a86
remove state.batch section from environments config files (#3230) (#3…
agnusmor Feb 14, 2024
1ba1e80
Cherry-pick #3263, #3266: Fix node OOC. Fix error handling. Sanity ch…
agnusmor Feb 15, 2024
f92dca9
build(deps): bump github.com/prometheus/common from 0.46.0 to 0.47.0 …
dependabot[bot] Feb 16, 2024
bddde4c
fix stream generation for old fork Ids (#3284)
ToniRamirezM Feb 16, 2024
1898bfa
build(deps): bump github.com/prometheus/client_model from 0.5.0 to 0.…
dependabot[bot] Feb 19, 2024
f66c295
build(deps): bump github.com/iden3/go-iden3-crypto from 0.0.15 to 0.0…
dependabot[bot] Feb 19, 2024
1bbb1e2
add aggregator.BatchProofL1BlockConfirmations config parameter (#3302…
agnusmor Feb 20, 2024
070daf8
fix checkStateInconsistency when starting sequencer (#3294) (#3315)
agnusmor Feb 20, 2024
a768729
disable delete addrQueue if empty as a workaround (#3295) (#3316)
agnusmor Feb 20, 2024
be064a2
build(deps): bump go.uber.org/zap from 1.26.0 to 1.27.0 (#3329)
dependabot[bot] Feb 21, 2024
c3014af
cherry-pick support to elderberry fork (#3301) (#3334)
joanestebanr Feb 21, 2024
aaad8d7
exeutor errors (#3332)
ToniRamirezM Feb 21, 2024
a7cbd88
add selector for trusted sync to prevent from executing from an old t…
joanestebanr Feb 21, 2024
b00788b
build(deps): bump google.golang.org/grpc from 1.61.1 to 1.62.0 (#3344)
dependabot[bot] Feb 22, 2024
a546734
Get last l2 block in a batch by batch number (#3335) (#3339)
ToniRamirezM Feb 22, 2024
0204aff
Nonce too low fix (#3338)
begmaroman Feb 22, 2024
49e837a
Cherrypick/3343 3346 (#3349)
ToniRamirezM Feb 22, 2024
ca4c26c
update egp tool
dpunish3r Feb 22, 2024
f8690e6
Update reserved counters with used in pool db during migration (#3352…
ToniRamirezM Feb 22, 2024
82ea4ca
add eth transfers config parameters
dpunish3r Feb 22, 2024
ace9611
cherry pick v0.5.13 into develop (#3355)
tclemos Feb 23, 2024
f00a4f3
fixes
dpunish3r Feb 23, 2024
81ba29f
fix initial sequenced batch event (#3347) (#3361)
joanestebanr Feb 23, 2024
f04da66
synchronizer adopt GetLastL2BlockByBatchNumber to check elderberry ts…
joanestebanr Feb 26, 2024
a1faac8
to decode ETROG processBatches use ETROG contract (#3360) (#3362)
joanestebanr Feb 26, 2024
053c4f0
Add executor reserved ZK counters (#3348) (#3358)
agnusmor Feb 26, 2024
ac7e02b
fix return on node OOC. Fix logs (#3359) (#3367)
agnusmor Feb 26, 2024
13bbc34
remove unnecessary eventlog call when processing unsigned txs (#3365)…
tclemos Feb 26, 2024
1773e96
add new parameters: use real L2 gas price, show discrepancies, show e…
dpunish3r Feb 26, 2024
fcb0105
fix misspelling
dpunish3r Feb 26, 2024
02be742
synchronizer accepts empty closed batches from trusted depending on c…
joanestebanr Feb 26, 2024
39a58bf
Add options to select which discrepancies to show
dpunish3r Feb 27, 2024
d5482a2
Merge pull request #3354 from 0xPolygonHermez/feature/update-egp-tool
dpunish3r Feb 27, 2024
1be4a7b
update debug config; update compiled SCs; add debug scripts (#3372)
tclemos Feb 27, 2024
a37bcea
ignore forkid events from another rollup (#3382)
joanestebanr Feb 27, 2024
ffe6d71
sync reprocess full batch on close, check GER, and fix minor bugs (#3…
joanestebanr Feb 27, 2024
afa9043
Fix batch 0 timestamp (#3364) (#3379)
tclemos Feb 27, 2024
bc0d232
build(deps): bump golang.org/x/crypto from 0.19.0 to 0.20.0 (#3373)
dependabot[bot] Feb 27, 2024
5a4b71c
add priority ratio when transfers
dpunish3r Feb 28, 2024
f2fad23
Merge pull request #3391 from 0xPolygonHermez/feature/update-egp-tool2
dpunish3r Feb 28, 2024
66f0436
check L2Block hash on closed batch during sync from TrustedNode (#3390)
joanestebanr Feb 28, 2024
7ab2507
fix etherman.GetForks (#3392)
joanestebanr Feb 28, 2024
b7ebf6d
Add l2block/interval metrics. Use timeoutCond when waiting for worker…
agnusmor Feb 28, 2024
b7c1798
mainnet genesis for etrog (#3256)
joanestebanr Feb 28, 2024
e58832f
Cherry-pick #3385, #3396, #3398: Fix metrics cleanup. Fix metrics est…
agnusmor Feb 29, 2024
24d21a2
fix check poseidonHashes exhausted (#3393) (#3402)
agnusmor Feb 29, 2024
0671dde
Get IM State root from receipt for data stream. (#3400) (#3403)
ToniRamirezM Feb 29, 2024
bf3dd94
build(deps): bump github.com/prometheus/common from 0.47.0 to 0.49.0 …
dependabot[bot] Mar 4, 2024
13e93be
build(deps): bump github.com/stretchr/testify from 1.8.4 to 1.9.0 (#3…
dependabot[bot] Mar 4, 2024
6d8d4e6
Update zkevm-data-streamer from 0.1.19 to 0.2.0 (#3408)
dependabot[bot] Mar 4, 2024
2394a66
Add LER to stream (#3410)
ToniRamirezM Mar 4, 2024
39fd139
Bump golang.org/x/net from 0.21.0 to 0.22.0 (#3414)
dependabot[bot] Mar 5, 2024
06d003c
Bump github.com/jackc/pgconn from 1.14.1 to 1.14.3 (#3412)
dependabot[bot] Mar 5, 2024
6225e52
Bump github.com/jackc/pgx/v4 from 4.18.1 to 4.18.2 (#3413)
dependabot[bot] Mar 5, 2024
badc2cb
Sync L1InfoRoot since upgrade to LxLy rollup manager (#3397)
joanestebanr Mar 5, 2024
03ac388
Bump google.golang.org/grpc from 1.62.0 to 1.62.1 (#3416)
dependabot[bot] Mar 7, 2024
cf99eba
Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 (#3415)
dependabot[bot] Mar 7, 2024
2e0896d
Add gas per second estimation in metrics (#3401) (#3431)
agnusmor Mar 7, 2024
9be397d
Bump github.com/prometheus/common from 0.49.0 to 0.50.0 (#3435)
dependabot[bot] Mar 8, 2024
af1d205
keep empty RPC.SequencerNodeURI config parameter to get node URI from…
agnusmor Mar 8, 2024
567d1df
Add state db migrations to store blobInner information (#3438)
agnusmor Mar 8, 2024
410f578
Bump github.com/jackc/pgx/v4 from 4.18.2 to 4.18.3 (#3440)
dependabot[bot] Mar 12, 2024
6ecc15d
Refactor aggregator to prepare it for Feijoa changes (split aggregato…
agnusmor Mar 12, 2024
e355073
Added rows closing statements in the state DB (#3450)
begmaroman Mar 12, 2024
1d510de
Elderberry blockhash adjustments (#3424) (#3448)
tclemos Mar 14, 2024
8921b00
use empty byte array instead of all zeros for receipt poststate (#344…
tclemos Mar 15, 2024
34c0f3b
add log0 debug trace e2e tests (#3422) (#3447)
tclemos Mar 15, 2024
a6ba334
remove unnecessary eventlog call when estimating tx gas (#3457) (#3461)
tclemos Mar 15, 2024
c1bd729
cherry-pick from 0.6.3 #3443 synchronizer: fix bug closing a batch wh…
joanestebanr Mar 19, 2024
3575157
cherry pick: 3451 synchronizer accept old forkids (#3468)
joanestebanr Mar 19, 2024
baaa333
L1 Synchronization process check some L2Blocks from TrustedNode (#3445)
joanestebanr Mar 19, 2024
da09fe9
fix debug trace for injected tx (#3469)
tclemos Mar 20, 2024
aae30e9
update prover version and set global var to allow it to run on mac M1…
tclemos Mar 20, 2024
7b80367
Bump github.com/0xPolygonHermez/zkevm-data-streamer from 0.2.0 to 0.2…
dependabot[bot] Mar 28, 2024
48d3cd0
Bump github.com/go-git/go-git/v5 from 5.11.0 to 5.12.0 (#3509)
dependabot[bot] Apr 2, 2024
30593c6
Bump github.com/prometheus/common from 0.50.0 to 0.51.1 (#3499)
dependabot[bot] Apr 2, 2024
6ede452
fix ooc check (#3485)
ToniRamirezM Apr 2, 2024
db5600e
fix aggregator l1 info tree (#3490) (#3491) (#3484) (#3495) (#3497)
ToniRamirezM Apr 2, 2024
e1eefe5
support forkid 9 (#3496) (#3513)
joanestebanr Apr 3, 2024
74827e8
#3514 Fix l1 info root after reorg (#3515) (#3524)
ARR552 Apr 4, 2024
e40c96c
Feature/3518 use generic eth client for l2 (#3519) (#3525)
joanestebanr Apr 4, 2024
399d62c
feijoa: l1infotree recursive (#3474)
joanestebanr Apr 5, 2024
11ee6e2
New feijoa smc (#3534)
ARR552 Apr 5, 2024
231fe27
sort logs by tx hash and then by log index (#3476) (#3528)
tclemos Apr 5, 2024
f8bc049
fix deltaTimeStamp and TimestampLimit for eth_call (#3529) (#3531)
tclemos Apr 5, 2024
7cb456a
fix merge conflicts (#3536)
tclemos Apr 5, 2024
bf898b1
Bump github.com/prometheus/common from 0.51.1 to 0.52.2 (#3520)
dependabot[bot] Apr 5, 2024
edeaa15
Bump golang.org/x/net from 0.22.0 to 0.24.0 (#3532)
dependabot[bot] Apr 5, 2024
575c66a
Bump github.com/prometheus/client_model from 0.6.0 to 0.6.1 (#3522)
dependabot[bot] Apr 5, 2024
602aed0
Bump google.golang.org/grpc from 1.62.1 to 1.63.0 (#3523)
dependabot[bot] Apr 8, 2024
bf4aa03
Cherrypick/#3544 (#3550)
ARR552 Apr 9, 2024
239af37
Cherry-pick #3480, #3542: Stop syncing l1inforoot when invalid l1info…
agnusmor Apr 10, 2024
d273f2d
Bump github.com/prometheus/common from 0.52.2 to 0.52.3 (#3554)
dependabot[bot] Apr 15, 2024
592d9cc
Bump golang.org/x/sync from 0.6.0 to 0.7.0 (#3539)
dependabot[bot] Apr 15, 2024
dd05baa
remove DS LER (#3511)
ToniRamirezM Apr 15, 2024
de2be23
Add option to query by batch in DS Tool (#3562)
ToniRamirezM Apr 16, 2024
63f4583
Bump google.golang.org/grpc from 1.63.0 to 1.63.2 (#3548)
dependabot[bot] Apr 16, 2024
8331842
executor v3 (#3517)
ToniRamirezM Apr 17, 2024
3d08a43
apply txIndex fix to StoreTransactions; add migration to fix wrong tx…
tclemos Apr 17, 2024
c7266e1
Cherry-pick #3551: Check GER and index of synced L1InfoRoot matches w…
agnusmor Apr 18, 2024
d565619
Fix adding tx that matches with tx that is being processed (#3559) (#…
agnusmor Apr 18, 2024
bdf9f34
Synchronizer support Feijoa Part 1 (#3560)
joanestebanr Apr 18, 2024
7ddcb29
Cherry pick: Synchronizer PR #3584, #3582. Fix panic and stop sync …
joanestebanr Apr 23, 2024
c7d7834
Cherrypick/reorgs (#3588)
ARR552 Apr 25, 2024
ce544b7
fix log (#3596)
ARR552 Apr 25, 2024
70cb3b6
synchronizer feijoa Part 2 (#3587)
joanestebanr Apr 29, 2024
d8e3a2b
activate sonarcloud (#3606)
joanestebanr Apr 29, 2024
e62a34e
Bump google.golang.org/protobuf from 1.33.0 to 1.34.0 (#3610)
dependabot[bot] May 3, 2024
227366f
Bump github.com/prometheus/common from 0.52.3 to 0.53.0 (#3571)
dependabot[bot] May 3, 2024
2292cd5
Bump github.com/urfave/cli/v2 from 2.27.1 to 2.27.2 (#3601)
dependabot[bot] May 3, 2024
a5f9558
Sequencer L2 block parallel processing improvements (#3604) (#3637)
agnusmor May 22, 2024
a59d86f
Cherry-pick: Feature/3640 synchronizer choose to sync from l2 (#3641)…
joanestebanr May 27, 2024
d2d0af6
remove db tx from RPC (#3648)
tclemos May 29, 2024
83ccc8e
Cherry-pick #3659, #3662: Remove sync with virtual state (synchronize…
agnusmor May 31, 2024
d34c824
Cherry pick data stream modifications from 0.7.0 into develop (#3671)
ToniRamirezM Jun 4, 2024
09227d1
add TxFeeCap config (#3611) (#3673)
tclemos Jun 5, 2024
bc064aa
add optimistic gas computation while estimating gas (#3653) (#3675)
tclemos Jun 5, 2024
e6864e5
remove synchronizer dependency from eth tx manager to confirm monitor…
tclemos Jun 5, 2024
0adf600
Add delay when getting storedFlushId from the executor/hashdb (#3625)…
agnusmor Jun 6, 2024
f6c144b
Cherry-pick #3642: Fix use of L2coinbase configured in sequencesender…
agnusmor Jun 6, 2024
25a5f10
Do fatal when datastream channel is full (workaround to fix datastrea…
agnusmor Jun 7, 2024
8f81a8d
change imstateroot handling in DS (#3698) (#3699)
ToniRamirezM Jun 7, 2024
4c8e55a
Cherry-pick #3669: Add WriteTimeout config parameter to StreamServer …
agnusmor Jun 7, 2024
63a0010
DS Tool Doc (#3702)
ToniRamirezM Jun 7, 2024
c48cecd
Bump golang.org/x/net from 0.24.0 to 0.26.0 (#3685)
dependabot[bot] Jun 7, 2024
6d6d930
Bump google.golang.org/protobuf from 1.34.0 to 1.34.1 (#3624)
dependabot[bot] Jun 7, 2024
a037a3a
Update DS Readme (#3707)
ToniRamirezM Jun 11, 2024
30a86e8
Bump github.com/gorilla/websocket from 1.5.1 to 1.5.2 (#3706)
dependabot[bot] Jun 11, 2024
5439f93
Bump github.com/prometheus/client_golang from 1.19.0 to 1.19.1 (#3705)
dependabot[bot] Jun 11, 2024
0c8d6a4
Bump google.golang.org/grpc from 1.63.2 to 1.64.0 (#3704)
dependabot[bot] Jun 11, 2024
2063f09
handle invalid batch in DS tool (#3711)
ToniRamirezM Jun 14, 2024
a39edda
Bump github.com/fatih/color from 1.16.0 to 1.17.0 (#3710)
dependabot[bot] Jun 14, 2024
fbccc70
Bump google.golang.org/protobuf from 1.34.1 to 1.34.2 (#3708)
dependabot[bot] Jun 17, 2024
9fb57c9
Bump github.com/gorilla/websocket from 1.5.2 to 1.5.3 (#3712)
dependabot[bot] Jun 18, 2024
764495f
disable MT in DS Tool (#3714)
ToniRamirezM Jun 18, 2024
81ba651
Print BatchL2Data from DS (#3715)
ToniRamirezM Jun 19, 2024
b8cc290
improve DS tool cache generation (#3724)
ToniRamirezM Jul 9, 2024
d136721
Bump google.golang.org/grpc from 1.64.0 to 1.65.0 (#3720)
dependabot[bot] Jul 9, 2024
ac8a7e9
Bump github.com/holiman/uint256 from 1.2.4 to 1.3.0 (#3723)
dependabot[bot] Jul 9, 2024
094a3d3
add l2blockend to DS (#3751) (#3752)
ToniRamirezM Aug 6, 2024
aa9342c
Fix release github action (#3745) (#3755)
agnusmor Aug 9, 2024
07c3182
build (#3757)
agnusmor Aug 9, 2024
9b315a1
Add mined l1blocknumber to MonitoredTxResult. Undo forkid10 and forki…
agnusmor Aug 9, 2024
45296c0
Cherry-pick #3735: Wait the state to be synced when starting aggregat…
agnusmor Aug 9, 2024
ce2de04
Fix update datastream file (#3741) (#3760)
agnusmor Aug 9, 2024
72a7767
Refactor datastream logs (#3743) (#3763)
agnusmor Aug 12, 2024
8d67cb9
Fix tx OOC (node level) when first empty L2 block in batch (#3744) (#…
agnusmor Aug 12, 2024
a15dcc2
fix invalid "updateGER" entry when updating datastream file on startu…
agnusmor Aug 14, 2024
a3f4da9
fix tx order in zkevm_getBatchByNumber endpoint (#3749) (#3767)
agnusmor Aug 14, 2024
741b9b0
Fix timestamp when querying zkevm_getBatchByNumer and the batch is on…
agnusmor Aug 14, 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
  •  
  •  
  •  
8 changes: 4 additions & 4 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ docs/ @agnusmor @joanestebanr
etherman/ @ARR552 @joanestebanr
ethtxmanager/ @tclemos
gasprice/ @ARR552
jsonrpc/ @tclemos @Psykepro
jsonrpc/ @tclemos
merkletree/ @ToniRamirezM
pool/ @tclemos @Psykepro
pool/ @tclemos
proto/ @ToniRamirezM
sequencer/ @ToniRamirezM @Psykepro @agnusmor
sequencesender/ @ToniRamirezM @Psykepro @agnusmor
sequencer/ @ToniRamirezM @dpunish3r @agnusmor
sequencesender/ @ToniRamirezM @dpunish3r @agnusmor
state/ @ToniRamirezM @tclemos
synchronizer/ @ARR552 @joanestebanr
test/ @tclemos
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
Expand Down
16 changes: 9 additions & 7 deletions .github/workflows/jsonschema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,29 +14,31 @@ jobs:
json-schema:
strategy:
matrix:
go-version: [ 1.19.x ]
go-version: [ 1.21.x ]
goarch: [ "amd64" ]
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
# https://github.com/actions/checkout#Checkout-pull-request-HEAD-commit-instead-of-merge-commit
# Checkout pull request HEAD commit instead of merge commit
with:
ref: ${{ github.event.pull_request.head.sha }}

- name: Install Go
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
env:
GOARCH: ${{ matrix.goarch }}

- uses: actions/setup-python@v1
- uses: BSFishy/pip-action@v1
- uses: actions/setup-python@v4
with:
packages: |
json-schema-for-humans
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install json-schema-for-humans

- name: Check if JSON schema and generated doc is up to date
run: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Install Go
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: 1.19.x
go-version: 1.21.x
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Lint
run: |
make install-linter
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/push-docker-develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,23 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3

- name: Set up QEMU
uses: docker/setup-qemu-action@v1
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v3

- name: Login to DockerHub
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build and push
id: docker_build
uses: docker/build-push-action@v2
uses: docker/build-push-action@v5
with:
platforms: linux/amd64,linux/arm64
push: true
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/push-docker-tagged.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,23 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3

- name: Set up QEMU
uses: docker/setup-qemu-action@v1
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v3

- name: Login to DockerHub
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build and push
id: docker_build
uses: docker/build-push-action@v2
uses: docker/build-push-action@v5
with:
context: .
platforms: linux/amd64,linux/arm64
Expand Down
39 changes: 20 additions & 19 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,29 +3,28 @@ name: release
on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]' # this action will only run on tags that follow semver

- 'v[0-9]+.[0-9]+.[0-9]+' # this action will only run on tags that follow semver
jobs:
releaser:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Set up Go
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: 1.19
go-version: 1.21

- name: Get packr
run: go install github.com/gobuffalo/packr/v2/[email protected]

- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v4
uses: goreleaser/goreleaser-action@v6
with:
version: latest
version: '~> v2'
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.TOKEN_RELEASE }}
Expand All @@ -34,31 +33,33 @@ jobs:
uses: olegtarasov/[email protected]
id: tagName

- name: Put testnet and mainnet artifacts into a single zip
- name: Put cardona, testnet and mainnet artifacts into a single zip
run: |
# TESTNET
mkdir -p testnet/config/environments/testnet
mkdir -p testnet/db/scripts
cp config/environments/testnet/* testnet/config/environments/testnet
cp docker-compose.yml testnet
cp db/scripts/init_prover_db.sql testnet/db/scripts
mv testnet/config/environments/testnet/example.env testnet
sed -i -e "s/image: zkevm-node/image: hermeznetwork\/zkevm-node:$GIT_TAG_NAME/g" testnet/docker-compose.yml
zip -r testnet.zip testnet
# CARDONA
mkdir -p cardona/config/environments/cardona
mkdir -p cardona/db/scripts
cp config/environments/cardona/* cardona/config/environments/cardona
cp docker-compose.yml cardona
sed -i 's/\/config\/environments\/${ZKEVM_NETWORK}/\/config\/environments\/cardona/g' cardona/docker-compose.yml
cp db/scripts/init_prover_db.sql cardona/db/scripts
mv cardona/config/environments/cardona/example.env cardona
sed -i -e "s/image: zkevm-node/image: hermeznetwork\/zkevm-node:$GIT_TAG_NAME/g" cardona/docker-compose.yml
zip -r cardona.zip cardona
# MAINNET
mkdir -p mainnet/config/environments/mainnet
mkdir -p mainnet/db/scripts
cp config/environments/mainnet/* mainnet/config/environments/mainnet
cp docker-compose.yml mainnet
sed -i 's/\/config\/environments\/${ZKEVM_NETWORK}/\/config\/environments\/mainnet/g' mainnet/docker-compose.yml
cp db/scripts/init_prover_db.sql mainnet/db/scripts
mv mainnet/config/environments/mainnet/example.env mainnet
sed -i -e "s/image: zkevm-node/image: hermeznetwork\/zkevm-node:$GIT_TAG_NAME/g" mainnet/docker-compose.yml
zip -r mainnet.zip mainnet

- name: Publish testnet and mainnet zip into release
- name: Publish cardona, testnet and mainnet zip into release
uses: AButler/[email protected]
with:
files: 'testnet.zip;mainnet.zip'
files: 'cardona.zip;testnet.zip;mainnet.zip'
repo-token: ${{ secrets.TOKEN_RELEASE }}
release-tag: ${{ steps.tagName.outputs.tag }}

34 changes: 34 additions & 0 deletions .github/workflows/sonarcloud.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: SonarCloud analysis

on:
push:
branches:
- develop
- 'release/**'
- 'feature/**'
- sonarcloud-update

jobs:
sonarcloud:
name: SonarCloud
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis

- name: Compile SCs
run: make compile-scs
working-directory: test

- name: Test
env:
ZKPROVER_URI: 127.0.0.1
run: make test-full-non-e2e-sonar
working-directory: test

- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
22 changes: 0 additions & 22 deletions .github/workflows/sonarqube.yml

This file was deleted.

6 changes: 3 additions & 3 deletions .github/workflows/test-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,16 @@ jobs:
strategy:
fail-fast: false
matrix:
go-version: [ 1.19.x ]
go-version: [ 1.21.x ]
goarch: [ "amd64" ]
e2e-group: [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11 ]
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install Go
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
env:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test-from-prover.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,25 +17,25 @@ jobs:

strategy:
matrix:
go-version: [ 1.19.x ]
go-version: [ 1.21.x ]
goarch: [ "amd64" ]
e2e-group: [ 2 ]

steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: 0xPolygonHermez/zkevm-node

- name: Install Go
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
env:
GOARCH: ${{ matrix.goarch }}

- name: Login to DockerHub
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test-full-non-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ jobs:
test-full-non-e2e:
strategy:
matrix:
go-version: [ 1.19.x ]
go-version: [ 1.21.x ]
goarch: [ "amd64" ]
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install Go
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
env:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/updatedeps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744

- name: Install Go
uses: actions/setup-go@v3
with:
go-version: "1.19.x"
go-version: "1.21.x"
env:
GOARCH: "amd64"

Expand Down
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@
/test/contracts/bin/**/*.bin
/test/contracts/bin/**/*.abi

/tools/datastreamer/*.bin
/test/datastreamer/*.db/*
/test/*.bin
/test/*.db/*

**/.DS_Store
.vscode
.idea/
Expand Down
1 change: 1 addition & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ linters:
- gofmt
- goimports
- revive
- unconvert

linters-settings:
revive:
Expand Down
Loading