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

Fetch upstream v0.6.4 #108

Merged
merged 59 commits into from
Mar 26, 2024
Merged

Fetch upstream v0.6.4 #108

merged 59 commits into from
Mar 26, 2024

Conversation

Stefan-Ethernal
Copy link
Collaborator

@Stefan-Ethernal Stefan-Ethernal commented Mar 25, 2024

The PR fetches v0.6.4 upstream changes.

ToniRamirezM and others added 30 commits February 14, 2024 11:09
* check unsupported precompiles

* downgrade prover

* restore solc version

* update SC

* new errors

* fix as workaround to close batch on tx oog (0xPolygonHermez#3271)

Co-authored-by: agnusmor <agnusmor@gmail.com>

* handle executor close batch

* added sanity check closing an empty batch

* change log

---------

Co-authored-by: agnusmor <agnusmor@gmail.com>
* fix RPC closebatch executor error

* fix close batch

* fix close batch

* fix close batch

* fix close batch

* fix close batch

---------

Co-authored-by: agnusmor <agnusmor@gmail.com>
* fix executor error closebatch

* fix linter

---------

Co-authored-by: agnusmor <agnusmor@gmail.com>
* fix oog2

* fix oog2 for estimateGas

---------

Co-authored-by: tclemos <thiago@polygon.technology>
* execution mode

* execution mode

* execution mode
* fix deltaTimestamp when debug tx

* fix deltaTimeStamp for unsigned txs execution for specific block

* fix deltaTimeStamp for unsigned txs execution for specific block

* Revert "fix deltaTimeStamp for unsigned txs execution for specific block"

This reverts commit eb77e04.

* Revert "fix deltaTimeStamp for unsigned txs execution for specific block"

This reverts commit d2cfa78.

* fix debug trace l1 info tree index and add l1 info tree data

* move MockL1InfoRoot from sequencer to state to allow multiple components to use the same value

---------

Co-authored-by: agnusmor <agnusmor@gmail.com>
* remove executor errors

* readd check
* add new sequenceBatches parameters
* update SMC Elderberry, contract dockers and genesis
* elderberry seq-sender (0xPolygonHermez#3312)
* elderberry seq-sender
* updated prover  image to v5.0.0-RC4
* increase timeout  to e2e-group7

---------

Co-authored-by: Toni Ramírez <58293609+ToniRamirezM@users.noreply.github.com>
Co-authored-by: dPunisher <dpunish3r@users.noreply.github.com>
* update prover image

* udpate prover docker memory limits

* downgrade prover

* upgrade prover
* last l2 block by batch number

* optimization

* change returned err in query
…rusted node (0xPolygonHermez#3336)

* add selector for trusted sync to check that batches  correspond to the supported forkids
…tamp baches (0xPolygonHermez#3340)

* synchronizer adopt GetLastL2BlockByBatchNumber to check elderberry bacthes tstamp
* reserved zk counters

* new prover image

* udpate counters names

* udpate counters names

* add gas used to reserved zkCounters

* add ReservedZKCounters to pool trasactions
* add reserved zk counters to pool transaction

* add reserved zk counters to pool transaction

* correct migration test
…ygonHermez#3352)

* return used if reserved counters are 0

* refactor

* refactor
* add executor reserved ZK counters

* update prover image to v5.0.0-RC6

* fix typos

* add check reserved counters when executing L2 block

* remove closeBatch

* update prover image v5.0.0-RC7

* fixes and logs improvements

* update prover image v5.0.0-RC8
* decode old ETROG processBatches use ETROG contract
* fix sanity genesis
* Add reasons to the field `state.batch.closing_reason` (issue 0xPolygonHermez#3243)
ToniRamirezM and others added 23 commits February 28, 2024 16:43
* fix metrics estimatedTxsPerSec div

* remove unneeded cast
* get im state root from receipt

* get im state root from receipt

* get im state root from receipt
* add gas estimation in metrics

* fix linter
…#3406)

* check L2Block hash on closed batch during sync from TrustedNode (0xPolygonHermez#3390)
* add log0 debug trace e2e tests

* add log0 debug trace e2e tests
* remove intermediate state root from receipts after Etrog

* use receipt state returned by executor instead of checking the RomError

* use receipt status from executor only after Etrog

* fix gasLimit and cumulativeGasUsed for Elderberry txs (0xPolygonHermez#3428)

* keep im state root in db (0xPolygonHermez#3427)

* generate receipt refactor (0xPolygonHermez#3436)

* generate receipt refactor

* update prover image

* downgrade prover image

---------

Co-authored-by: agnusmor <100322135+agnusmor@users.noreply.github.com>
Co-authored-by: Toni Ramírez <58293609+ToniRamirezM@users.noreply.github.com>
* remove intermediate state root from receipts after Etrog

* use receipt state returned by executor instead of checking the RomError

* use receipt status from executor only after Etrog

* fix gasLimit and cumulativeGasUsed for Elderberry txs (0xPolygonHermez#3428)

* keep im state root in db (0xPolygonHermez#3427)

* generate receipt refactor (0xPolygonHermez#3436)

* generate receipt refactor

* update prover image

* downgrade prover image

* update prover

* adapt test

* undo adapt test

* upgrade prover

---------

Co-authored-by: tclemos <thiago@polygon.technology>
Co-authored-by: agnusmor <100322135+agnusmor@users.noreply.github.com>
…lygonHermez#3445)

* L1 Synchronization process check some L2Blocks from TrustedNode
…onHermez#3452)

* 0xPolygonHermez#3451 accept same forkid from L1
* if same forkid recived and is the last one and same FromBatchNumber update blockNumber
… matches ethereum blockhash (L1 reorg check) (0xPolygonHermez#3480)

* Add sanity check on checkL1InfoTreeUpdate to check state L1 blockhash matches ethereum blockhash (L1 reorg check)

* fix L1 block is 0 (empty l1infotree)

* Update Prover image to v5.0.9
) (0xPolygonHermez#3484)  (0xPolygonHermez#3495)

* fix aggregator l1 info tree (0xPolygonHermez#3491)

* fix aggregator l1 info tree

* Fix case you want to proof a 0 (0xPolygonHermez#3492)

* Fix case you want to proof a 0

* init timestamp

---------

Co-authored-by: Toni Ramírez <toni@polygon.technology>

* force forkid 9

* update prover

---------

Co-authored-by: Jordi Baylina <jordi@baylina.cat>
Co-authored-by: agnusmor <agnusmor@gmail.com>

* fix debug trace receipt index (0xPolygonHermez#3490)

* conflicts

* fix ooc

* fix tx index calculation on receipt (0xPolygonHermez#3488)

* remove 3495

---------

Co-authored-by: Jordi Baylina <jordi@baylina.cat>
Co-authored-by: agnusmor <agnusmor@gmail.com>
@Stefan-Ethernal Stefan-Ethernal marked this pull request as ready for review March 26, 2024 07:32
@Stefan-Ethernal Stefan-Ethernal requested a review from a team as a code owner March 26, 2024 07:32
@Stefan-Ethernal Stefan-Ethernal self-assigned this Mar 26, 2024
@Stefan-Ethernal Stefan-Ethernal merged commit dc85fb7 into develop Mar 26, 2024
18 checks passed
@Stefan-Ethernal Stefan-Ethernal deleted the feat/fetch-upstream-v0.6.4 branch March 26, 2024 09:03
@rachit77
Copy link

Late LGTM 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants