fix: Check L1DataFee in txpool promoteExecutables and demoteUnexecutables (#627)
* Check L1DataFee in txpool promoteExecutables
* bump version
* implement L1 data fee in demoteUnexecutables as well
* Update core/tx_list.go
* Update core/tx_pool.go
* feat: consider l1 data fee in txpool costcap (#681)
* feat(txpool): consider l1 data fee in costcap
* fix CI
* simplify logic
* remove one db read op
* bump version
---------
Co-authored-by: vyzo <vyzo@hackzen.org>
Co-authored-by: colin <102356659+colinlyguo@users.noreply.github.com>
Co-authored-by: Péter Garamvölgyi <peter@scroll.io>
Co-authored-by: georgehao <haohongfan@gmail.com>
* feat: congestion-aware gas price oracle (#790)
* Implement functionality to reset gas price / suggested tip to minimal value when there's no congestion
* Add flags to configure congestion value and initialize gas price oracle accordingly
* Fix and add tests to make sure GPO works as expected depending on pre- or post-Curie (EIP 1559) upgrade
* Apply review suggestions
* chore: auto version bump [bot]
---------
Co-authored-by: omerfirmak <omerfirmak@users.noreply.github.com>
* fix eth/gasprice/gasprice_test.go
* minor
* fix(GPO): min suggested tip cap if there's congestion to avoid filtering through `DefaultIgnorePrice` (#883)
* fix tests
* fix tests
---------
Co-authored-by: Jonas Theis <4181434+jonastheis@users.noreply.github.com>
Co-authored-by: omerfirmak <omerfirmak@users.noreply.github.com>
* fix: set UseZktrie: true so that it is used by default in all tests
* fix: TestFilters test
* fix: TestPendingTxFilterFullTx test due to nil pointer
---------
Co-authored-by: HAOYUatHZ <37070449+HAOYUatHZ@users.noreply.github.com>
* feat: Configure l2geth Docker pipeline to push latest tag (#831)
* push latest tag
* push latest tag on release published
* use metadata-action to define tags
* test
* push ref name on push tag or push latest tag on publishing release
* update
---------
Co-authored-by: Nazarii Denha <dengaaa2002@gmail.com>
feat: implement RIP-7212/EIP-7212 (#798)
Implement RIP-7212/EIP-7212 according to reference implementation at https://github.com/ulerdogan/go-ethereum/pull/1
Co-authored-by: Jonas Theis <4181434+jonastheis@users.noreply.github.com>
Co-authored-by: Péter Garamvölgyi <peter@scroll.io>
* feat(worker): try to limit the number of txns miner has to deal with (#745)
to reduce the effect of having a huge backlog on performance
* fix(worker): set default account fetch limit (#756)
* fix
* update miner/worker.go
* fix
---------
Co-authored-by: Ömer Faruk Irmak <omerfirmak@gmail.com>
Co-authored-by: Péter Garamvölgyi <peter@scroll.io>
* comment out miner/worker.go
* add miner/scroll_worker.go
* rename package
* add rollup/pipeline/pipeline.go
* rename package
* some renamings
* some fixes
* some fixes
* some fixes
* some fixes
* some fixes
* some fixes
* some fixes
* some fixes
* some cleaning
* some fixes
* some fixes
* remove `RelaxedPeriod`
* some fixes
* try `orderedTransactionSet`
* try lazy
* try lazy
* update miner/worker_test.go
* update miner/worker_test.go
* feat: implement relaxed period in clique
* fix `parent.Number`
* fix coinbase
* fix "create block"
* fix "updateSnapshot"
* make consensus engine wait for a bit before giving up on worker
* fix error handling
* 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>
* feat(transactions): support blob tx only in encoding/decoding (#626)
* draft change
* fix CI
* remove CancunBlock params and change cancunSigner to londonSignerWithEIP4844
* support blob transactions in receipt
* trigger ci
* bump version
* feat(ethclient & gethclient): support blob transaction (#661)
* feat: support blob transaction
* sync tx encoding/decoding
* more fixes
* add uint236 support in rlp encoding decoding
* revert a format change
* trigger ci
---------
Co-authored-by: colin <102356659+colinlyguo@users.noreply.github.com>