* fix(rollup-verifier): delete committed batch metadata when reverting a batch
* chore: auto version bump [bot]
* remove a comment
---------
Co-authored-by: colinlyguo <colinlyguo@users.noreply.github.com>
* fix(l2geth-verifier): only check the last batch of each bundle
* refactor function comments
* add more logs to debug
* fix the bug
* Revert "add more logs to debug"
This reverts commit 4befe9fe739275988b4bf34999bd1aad4d7a1d0e.
* tweak
* TestValidateBatchInFinalizeByBundle
* update da-codec dependency
* move rawdb.WriteFinalizedBatchMeta outside the loop
* use batch writer
* change log.Crit to log.Error
* fix(tracing): fix error handling in `fillBlockTrace`
* chore: auto version bump [bot]
* chore: auto version bump [bot]
---------
Co-authored-by: HAOYUatHZ <HAOYUatHZ@users.noreply.github.com>
* update to v0.11.4
* chore: auto version bump [bot]
---------
Co-authored-by: Ömer Faruk Irmak <omerfirmak@gmail.com>
Co-authored-by: Thegaram <Thegaram@users.noreply.github.com>
* feat: now FinalizeBatch event will influence one or more batches
* fix bug && add unit test
* fix typo
* Update core/rawdb/accessors_rollup_event_test.go
Co-authored-by: colin <102356659+colinlyguo@users.noreply.github.com>
* trivial fix
* chore: auto version bump [bot]
* trivial change: move write finalized things logic out of loop
* utilize code && comment
* remove redundant check
* two log level changing case
---------
Co-authored-by: colin <102356659+colinlyguo@users.noreply.github.com>
Co-authored-by: Thegaram <Thegaram@users.noreply.github.com>
* fix issue caused by unmatching storage value
* lint
* chore: auto version bump [bot]
---------
Co-authored-by: HAOYUatHZ <HAOYUatHZ@users.noreply.github.com>
Co-authored-by: Péter Garamvölgyi <peter@scroll.io>
* chore(libzkp): upgrade to v0.10.6, reject txs with new opcodes
* chore: auto version bump [bot]
---------
Co-authored-by: Thegaram <Thegaram@users.noreply.github.com>
* Revert "upgrade libzkp to v0.11.0rc2 (#773)"
This reverts commit 522882c4cdc8c90484ce40d4f62ab6d1ab73bbf5.
* chore: auto version bump [bot]
* chore: auto version bump [bot]
* add zktrie back in make geth
* trigger CI
* Revert "trigger CI"
This reverts commit 9f329eed0ad5368fb258043420426330ab9914cc.
---------
Co-authored-by: HAOYUatHZ <HAOYUatHZ@users.noreply.github.com>
Co-authored-by: colinlyguo <colinlyguo@users.noreply.github.com>
* update fee calculation
* add missing GPO slots to trace
* add placeholder for contract update logic
* nit
* update fee calculation
* update formula
* update GPO slots
* update L1GPO bytecode
* apply Curie in new worker
* move bytecode to config
* create an empty block for curie hard fork
* initialize L1GasPriceOracle storage slots
* add comments
* add test
* add IsCurie to traces and tests
* group GPO storage slots into a struct
* update unit test
* chore: auto version bump [bot]
* trigger ci
* update bytecode
* remove leading 0x
* update comments
* include rollup fee tests in CI
---------
Co-authored-by: Ömer Faruk Irmak <omerfirmak@gmail.com>
Co-authored-by: Thegaram <Thegaram@users.noreply.github.com>
* fix: prioritized tx not being cleared after skipping it
* fix nonce in comment
* chore: auto version bump [bot]
* chore: auto version bump [bot]
---------
Co-authored-by: omerfirmak <omerfirmak@users.noreply.github.com>
Co-authored-by: Péter Garamvölgyi <peter@scroll.io>
Co-authored-by: Thegaram <Thegaram@users.noreply.github.com>
* chore(libzkp): upgrade to v0.10.5, speedup by avoid some code hashing
* chore: auto version bump [bot]
---------
Co-authored-by: Thegaram <Thegaram@users.noreply.github.com>
* all: implement EIP-1153 transient storage (#26003)
Implements TSTORE and TLOAD as specified by the following EIP:
https://eips.ethereum.org/EIPS/eip-1153https://ethereum-magicians.org/t/eip-1153-transient-storage-opcodes/553
Co-authored-by: Sara Reynolds <snreynolds2506@gmail.com>
Co-authored-by: Martin Holst Swende <martin@swende.se>
Co-authored-by: Gary Rong <garyrong0905@gmail.com>
* core/vm: move TSTORE,TLOAD to correct opcode nums (#27613)
* core/vm: move TSTORE,TLOAD to correct opcode nums
* core/vm: cleanup
* fix tests, rename
* goimports
* enable 1153 at Curie
* bump version
* comment fix
* improve test
* version
* testchainconfig
* fix another test that affects newly added
* fix previous test to clenaup after
---------
Co-authored-by: Mark Tyneway <mark.tyneway@gmail.com>
Co-authored-by: Sara Reynolds <snreynolds2506@gmail.com>
Co-authored-by: Martin Holst Swende <martin@swende.se>
Co-authored-by: Gary Rong <garyrong0905@gmail.com>
Co-authored-by: Marius van der Wijden <m.vanderwijden@live.de>
* crypto/kz4844: pass blobs by ref (#29050)
This change makes use of the following underlying changes to the kzg-libraries in order to avoid passing large things on the stack:
- c-kzg: https://github.com/ethereum/c-kzg-4844/pull/393 and
- go-kzg: https://github.com/crate-crypto/go-kzg-4844/pull/63
* update version patch
* run go mod tidy
* use blob reference
---------
Co-authored-by: Martin HS <martin@swende.se>
Co-authored-by: Mason Liang <mason@scroll.io>
* chore(libzkp): upgrade to v0.9.13, support next hard fork
* bump version
* chore: auto version bump [bot]
* undo bump version
---------
Co-authored-by: Péter Garamvölgyi <peter@scroll.io>
Co-authored-by: HAOYUatHZ <HAOYUatHZ@users.noreply.github.com>