-
Notifications
You must be signed in to change notification settings - Fork 121
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
Pullupstream/v0.5.0 rc4 #52
Conversation
…mez#2755) Bumps [golang.org/x/sync](https://github.com/golang/sync) from 0.4.0 to 0.5.0. - [Commits](golang/sync@v0.4.0...v0.5.0) --- updated-dependencies: - dependency-name: golang.org/x/sync dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…xPolygonHermez#2754) Bumps [github.com/gorilla/websocket](https://github.com/gorilla/websocket) from 1.5.0 to 1.5.1. - [Release notes](https://github.com/gorilla/websocket/releases) - [Commits](gorilla/websocket@v1.5.0...v1.5.1) --- updated-dependencies: - dependency-name: github.com/gorilla/websocket dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…ygonHermez#2758) Bumps [github.com/fatih/color](https://github.com/fatih/color) from 1.15.0 to 1.16.0. - [Release notes](https://github.com/fatih/color/releases) - [Commits](fatih/color@v1.15.0...v1.16.0) --- updated-dependencies: - dependency-name: github.com/fatih/color dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…onHermez#2741) to develop branch (0xPolygonHermez#2766) * Fix GlobalQueue/AccountQueue pool config (0xPolygonHermez#2738) * Fix missing pool.Config parameter when creating a new Sequencer (0xPolygonHermez#2741) * add gasprice update log * log finalizer L1/L2 gas prices * fix passing pool.Config to new sequencer * remove temporary logs
* adapt ARR552 fixes from PR 0xPolygonHermez#2694 * add failfast to reduce the time on fail * fix problem with update GER * avoid duplicated code for vector_groupx
…nHermez#2768) (0xPolygonHermez#2772) * + renamed config vars for L1 parallel sync
…rmez#2770) Bumps [golang.org/x/net](https://github.com/golang/net) from 0.17.0 to 0.18.0. - [Commits](golang/net@v0.17.0...v0.18.0) --- updated-dependencies: - dependency-name: golang.org/x/net dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* state refactor * enable tests * fix tests
* fix problem if L1 block have 2 transactions
…gonHermez#2794) * update GER on closed batch without txs * refactor
* improve tool performance * update streamer lib * fix * fix * fix query * fix * update streamer lib * remove unused code * fix makefile text * fix makefile text
* implementation + tests * linter * Public HashLeafData
…ygonHermez#2722) * etherman: read tx with blockHash and txIndex instead of txHash Signed-off-by: jsvisa <[email protected]> * etherman: use TransactionInBlock instead Signed-off-by: jsvisa <[email protected]> --------- Signed-off-by: jsvisa <[email protected]>
* fix tx size check * fix tx size check * refactor * fix test * fix test * fix
…d L2 gas price (EGP disabled) (0xPolygonHermez#2777) (0xPolygonHermez#2805) * added L2GasPriceSuggesterFactor config parameter to "simulate" estimated l2 gas price when egp is disabled * fix L2GasPriceSuggesterFactor value in test config file * fix L2GasPriceSuggesterFactor value in test config file * update doc
…icate it when implement ETROG fork (0xPolygonHermez#2812) * Isolate L1 event code in classes Co-authored-by: Alonso <[email protected]>
* merkleproof * json doc
… on successful transaction processing (0xPolygonHermez#2821) * feature: storing LER in state.batch on successful transaction processing (0xPolygonHermez#2658) Signed-off-by: Nikolay Nedkov <[email protected]> * fix doc --------- Signed-off-by: Nikolay Nedkov <[email protected]> Co-authored-by: Nikolay Nedkov <[email protected]>
* Fix timestamp stored in exit_root table * json doc
…olygonHermez#2824) Bumps [github.com/0xPolygonHermez/zkevm-data-streamer](https://github.com/0xPolygonHermez/zkevm-data-streamer) from 0.1.11 to 0.1.13. - [Release notes](https://github.com/0xPolygonHermez/zkevm-data-streamer/releases) - [Commits](0xPolygon/zkevm-data-streamer@v0.1.11...v0.1.13) --- updated-dependencies: - dependency-name: github.com/0xPolygonHermez/zkevm-data-streamer dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* smc * rename matic to pol * WIP * Etherman + unit tests * Addresses * aggregator * New genesis file * new genesis * state unit tests * aggregator unit test * sequencer uni tests * pool unit test * fix symLinks * linter * documentation * Wip * oldPolygonZkevmBridge * fix e2e group 1 * linter * docs * Fix init Batch 1 * linter * Fix e2e * Fix forced * Revert "Fix forced" This reverts commit cfaa28b. * wip * fix forced e2e * support genesis config with pointer to BatchData (0xPolygonHermez#2729) * genesis fix * forkID 6 * fix e2e forcedBatches again * new smc * genesis * linter * Fix e2e * genesis * new docker + genesis * json doc * fix e2e
* update LxLy changes --------- Co-authored-by: Alonso Rodriguez <[email protected]>
…2836) * moved l1_parallel files to l1_parallel_sync folder
* same solution as group 8
* wip * new tracers * update prover image * update prover config * remove unused method * converters v2 * process batch v2 * update logs * new errors * refactor * doc * new zk counter * update prover image * refactor response v1 to look like v2 * fix test * change prover image * comment test * comment test * disable check superset batch transactions * fix store txs * fix store txs * fix store txs * fix store txs * uncomment test * change handleForcedTxsProcessResp * change handleForcedTxsProcessResp * fix ExecuteBatchV2 * revert executor image * add l2 tx hash to process tx response * udpate hashdb proto (0xPolygonHermez#2833) * Refactor finalizer: remove use of f.processRequest, move getLastBatchNumAndOldStateRoot function (0xPolygonHermez#2834) * remove f.processRequest. Move getLastBatchNumAndOldStateRoot to sequencer * refactor get wip batch when starting sequencer/finalizer * remove consts for numbers * Refactor finalizer: remove sharedResourcesMux, reduce logs with info level (0xPolygonHermez#2835) * remove f.processRequest. Move getLastBatchNumAndOldStateRoot to sequencer * refactor get wip batch when starting sequencer/finalizer * remove sharedResourcesMux. reduce logs with info level --------- Co-authored-by: agnusmor <[email protected]>
* L1InfoTreeIndex is 32bits (new type L1InfoTreeIndexType)
…z#3105) Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.17.0 to 1.18.0. - [Release notes](https://github.com/prometheus/client_golang/releases) - [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md) - [Commits](prometheus/client_golang@v1.17.0...v1.18.0) --- updated-dependencies: - dependency-name: github.com/prometheus/client_golang dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…rmez#3106) Bumps [golang.org/x/net](https://github.com/golang/net) from 0.19.0 to 0.20.0. - [Commits](golang/net@v0.19.0...v0.20.0) --- updated-dependencies: - dependency-name: golang.org/x/net dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Linter is complaining that there are some unused fields and functions in cmd/policy.go
, although they are indeed used. Maybe we should try to suppress unused
warning for that file?
Leaving some comments to consider.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Linter is complaining that there are some unused fields and functions in cmd/policy.go
, although they are indeed used. Maybe we should try to suppress unused
warning for that file?
Leaving some comments to consider.
* wip * Fix aggregator * change name to UpgradeEtrogBatchNumber * doc
test/scripts/sendForcedBatch/main.go
Outdated
return err | ||
} | ||
} | ||
// // Allow forced batches in smart contract if disallowed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this a leftover?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had to upgrade contracts beyond the version that was used in the commit I'm pulling changes from upstream. This made me comment a bunch of code related to forced batches. In the next pulling this code should be uncommented with some chenges
… number to L2 block. Several refactors (0xPolygonHermez#3118) * add L2 block sequential process. Execute empty L2 block. Add tracking number to L2 block. Several refactors * fix finalizer UT
@@ -35,18 +34,18 @@ type SequenceSender struct { | |||
ethTxManager ethTxManager | |||
etherman etherman | |||
eventLog *event.EventLog | |||
privKey *ecdsa.PrivateKey | |||
da dataAbilitier |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dataEnabler
better?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Aside from minor comments LGTM
Instead of reviewing this PR code diff, which is absolutely insane, review the code diff vs zkevm-node. Instructions on
docs/diff/diff.md
included on this branch