Jonas Theis
f8bfb3aa5e
fix(GPO): tests ( #938 )
...
* fix(GPO): tests
* fix `newTestBackend`
* improve
---------
Co-authored-by: HAOYUatHZ <haoyu@protonmail.com>
Co-authored-by: HAOYUatHZ <37070449+HAOYUatHZ@users.noreply.github.com>
2024-07-30 13:28:30 +08:00
HAOYUatHZ
c6b46fb268
fix: treat JSON errors as CCC error ( #940 )
...
fix: treat JSON errors as CCC error (#922 )
Co-authored-by: Ömer Faruk Irmak <omerfirmak@gmail.com>
2024-07-29 19:15:12 +08:00
HAOYUatHZ
ac044caa1b
feat(miner): account fetch limit ( #939 )
...
* 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>
2024-07-29 19:07:43 +08:00
Mengran Lan
c86a215b04
feat(metrics):migrate metrics from develop branch ( #910 )
...
migrate metrics from develop
Co-authored-by: HAOYUatHZ <37070449+HAOYUatHZ@users.noreply.github.com>
2024-07-29 16:07:31 +08:00
Jonas Theis
e6705cea99
skip eth/catalyst tests ( #937 )
...
* skip eth/catalyst tests
* Update api_test.go
---------
Co-authored-by: HAOYUatHZ <37070449+HAOYUatHZ@users.noreply.github.com>
2024-07-29 13:36:01 +08:00
colin
989ecb2133
chore(dep): upgrade go kzg 4844 ( #932 )
...
* chore(dep): upgrade go kzg 4844
* Update kzg4844_ckzg_cgo.go
---------
Co-authored-by: HAOYUatHZ <37070449+HAOYUatHZ@users.noreply.github.com>
2024-07-27 12:08:52 +08:00
HAOYUatHZ
05148de519
clean outdated trace fields ( #928 )
...
* update eth/tracers/logger/logger_trace.go
* update types
* update `StructLog` logic
* update rollup/tracing/tracing.go
2024-07-26 15:30:15 +08:00
HAOYUatHZ
07fe67a904
fix: scroll greeting message ( #927 )
2024-07-25 12:02:39 +08:00
HAOYUatHZ
ad4d842726
feat: allow trie prefetch ( #926 )
2024-07-25 11:55:12 +08:00
HAOYUatHZ
c293daa83c
replace package name ( #924 )
...
* replace package name
* clean up
2024-07-25 08:26:20 +08:00
HAOYUatHZ
7b10424e16
fix(libzkp): disable recursion_limit for rust trace deserialization ( #923 )
...
fix(ccc): disable_recursion_limit for rust trace deserialization
2024-07-24 22:57:15 +08:00
HAOYUatHZ
e113804bfc
feat: pipeline worker ( #907 )
...
* 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
2024-07-24 21:31:25 +08:00
HAOYUatHZ
127ace6083
revert hexutil.Decode ( #665 )
...
Co-authored-by: Jonas Theis <4181434+jonastheis@users.noreply.github.com>
2024-07-23 11:06:24 +08:00
HAOYUatHZ
22d9de3d46
remove SetRecommitInterval API ( #909 )
...
* remove `SetRecommitInterval`
* update miner/worker_test.go
* update
2024-07-18 11:35:51 +08:00
HAOYUatHZ
9e8b3f48e5
move WithTimer function ( #908 )
...
move `WithTimer` method
2024-07-18 10:41:06 +08:00
HAOYUatHZ
ac2f573c4f
update ccc ( #906 )
...
* upgrade ccc
* upgrade Dockerfile
2024-07-17 21:36:40 +08:00
HAOYUatHZ
74578fa06e
refactor: remove unused storage traces ( #902 )
...
refactor: remove unused storage traces (#819 )
Co-authored-by: Ömer Faruk Irmak <omerfirmak@gmail.com>
2024-07-15 16:31:11 +08:00
HAOYUatHZ
fc5763e4bf
ChainConfig: update DescartesBlock to DarwinTime ( #900 )
...
update chainconfig: DescartesBlock -> DarwinTime
2024-07-12 14:27:21 +08:00
HAOYUatHZ
2ec2bc6b2c
rename circuitCapacityReached to circuitCapacityOrBlockTimeReached ( #899 )
2024-07-12 12:54:48 +08:00
HAOYUatHZ
a84baf6bc3
fix(tracing): fix error handling in fillBlockTrace ( #890 ) ( #898 )
...
* 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>
2024-07-12 11:37:21 +08:00
HAOYUatHZ
1c9cc6d621
feat: add scroll_api ( #893 )
...
* update eth/api.go
* update internal/web3ext/web3ext.go
* fix
* update eth/backend.go
* update ethclient/ethclient.go
2024-07-10 13:25:51 +08:00
HAOYUatHZ
65af7ee9e5
feat: update L2 base fee formula ( #892 )
...
feat: update L2 base fee formula (#891 )
* feat: update L2 base fee formula
* update test tx hashes
Co-authored-by: Péter Garamvölgyi <peter@scroll.io>
2024-07-10 09:36:29 +08:00
HAOYUatHZ
f777318776
sync l1datafee change for curie ( #888 )
...
* update rollup/rcfg/config.go
* update consensus/misc/curie.go
* update rollup/fees/rollup_fee_test.go
* update rollup/fees/rollup_fee.go
* update rollup/tracing/tracing.go
* update tests/state_test_util.go
* update light/txpool.go
* fix some
* update eth/tracers/internal/tracetest/prestate_test.go
* update eth/tracers/api.go
* update core/chain_makers.go
* update core/state_processor.go
* update cmd/evm/internal/t8ntool/execution.go
* update txpool
* update ethclient/ethclient_test.go
* update ethclient/gethclient/gethclient_test.go
* update core/blockchain_test.go
* update miner/worker.go
* update txpool 2
2024-07-09 20:45:54 +08:00
HAOYUatHZ
5e255cf5b1
fix(traces): several tracing fixes ( #830 )
...
* fix(trace): add `extraData`
* fix(trace): fix `StructLogger`'s `CaptureState`
2024-07-08 17:13:44 +08:00
HAOYUatHZ
72577219c0
fix fee logic in TransitionDb ( #887 )
...
update fee_vault logic in TransitionDb
2024-07-08 17:08:22 +08:00
HAOYUatHZ
b5dee527c4
fix l2trace TransactionData ( #882 )
...
update `TransactionData` type
2024-07-04 16:03:19 +08:00
HAOYUatHZ
2f116b3bc5
update MakeSigner ( #881 )
2024-07-04 14:19:16 +08:00
HAOYUatHZ
0892822b8c
sync blob tx encoding/decoding fixes ( #879 )
...
* 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>
2024-07-04 11:33:23 +08:00
HAOYUatHZ
9c7381669e
fix(traces): deletion proof apply wrong storage value from structLogger ( #870 )
...
cherry pick 4e3bf2f
2024-07-01 11:05:50 +08:00
HAOYUatHZ
86c37a9075
fix some tests ( #857 )
...
* fix cmd/geth/consolecmd_test.go
* fix testBackend
* fix `TestGolangBindings` & `TestAdjustTime`
* update js_tracer tests
* refactor
2024-06-27 22:30:08 +08:00
HAOYUatHZ
b6a17e33f1
fix some trie tests ( #833 )
...
* update `newTrieReader`
* fix `TestGolangBindings` & `TestAdjustTime`
* fix trie tests
* evert "fix `TestGolangBindings` & `TestAdjustTime`"
This reverts commit 4d0c60103fbda5061df36ac031622eb05a10e0d6.
2024-06-27 21:09:20 +08:00
HAOYUatHZ
a83c05c9c4
sync rollup_sync_service fixes ( #860 )
...
* feat(rollup): add fallback if TransactionByHash fails in getting commitBatch calldata (#601 )
* feat(rollup): add fallback if TransactionByHash fails in getting commitBatch calldata
* Update rollup/rollup_sync_service/rollup_sync_service.go
Co-authored-by: Péter Garamvölgyi <peter@scroll.io>
* change log.Warn to log.Debug
---------
Co-authored-by: Péter Garamvölgyi <peter@scroll.io>
* fix(rollup sync service): remove syscall.Kill (#636 )
* fix(rollup sync service): remove syscall.Kill
* bump version
* fix(api-backend): disable finalized tag when rollup verify is disabled (#722 )
---------
Co-authored-by: colin <102356659+colinlyguo@users.noreply.github.com>
Co-authored-by: Péter Garamvölgyi <peter@scroll.io>
2024-06-26 17:38:00 +08:00
HAOYUatHZ
b521e62626
update scroll-mainnet CurieBlock ( #859 )
...
feat: delay Scroll mainnet Curie block by 6 days (#850 )
* feat: delay Scroll mainnet Curie block by 6 days
* update
* update
Co-authored-by: Péter Garamvölgyi <peter@scroll.io>
2024-06-26 17:07:59 +08:00
HAOYUatHZ
360bc1ed5e
update summarizeBadBlock ( #858 )
2024-06-26 16:40:15 +08:00
HAOYUatHZ
a19bdff959
feat(ccc): reuse a buffer for json encoding ( #855 )
...
Co-authored-by: Ömer Faruk Irmak <omerfirmak@gmail.com>
2024-06-25 20:18:47 +08:00
HAOYUatHZ
459324c41d
perf(poseidon): eliminate heap allocations in poseidon ( #853 )
...
Co-authored-by: Ömer Faruk Irmak <omerfirmak@gmail.com>
2024-06-25 11:33:50 +08:00
HAOYUatHZ
9204dc4210
fix(txJSON): L1 message type MarshalJSON ( #849 )
...
* update core/types/transaction_marshalling.go
* update internal/ethapi/api.go
2024-06-24 15:18:43 +08:00
HAOYUatHZ
02a6b64718
update CurieBlock for scrol- mainnet & scroll-sepolia ( #848 )
...
update CurieBlock for scrol-mainnet & scroll-sepolia
2024-06-23 21:55:40 +08:00
HAOYUatHZ
ec6915d9b6
ci: add github action to replace import_path and release ( #847 )
2024-06-22 15:57:22 +08:00
HAOYUatHZ
0144095e64
fix load genesis ( #834 )
...
* fix `SetupGenesisBlockWithOverride`
* fix `configOrDefault`
2024-06-19 20:50:39 +08:00
HAOYUatHZ
e54781ea02
fix: update Dockerfile.mockccc ( #829 )
...
fix update Dockerfile.mockccc
2024-06-15 09:44:11 +08:00
HAOYUatHZ
d2fa88db28
feat: update tracing config ( #827 )
2024-06-14 21:44:21 +08:00
HAOYUatHZ
bed81b02f1
fix: sync l1msg fix from develop branch ( #826 )
...
* fix: ensure L1 messages are stored in db consistently (#679 )
* fix: ensure L1 messages are stored in db consistently
* check db iterator errors
* fix(sync-service): only add queue index when message index is not zero (#682 )
* fix(sync-service): increase queue index only when L1 message index is not zero
---------
Co-authored-by: Péter Garamvölgyi <peter@scroll.io>
fix
---------
Co-authored-by: Péter Garamvölgyi <peter@scroll.io>
Co-authored-by: colin <102356659+colinlyguo@users.noreply.github.com>
2024-06-13 20:15:21 +08:00
HAOYUatHZ
1ca3b74ec1
feat: upgrade to zktrie 0.8.4 and fix some issues ( #820 )
...
* feat(zktrie): bump to `v0.8.4`
* fix(zktrie): copy trie properly for concurrent access (#747 )
* fix `ZkTrie` `Commit`
* some fixes
---------
Co-authored-by: Ömer Faruk Irmak <omerfirmak@gmail.com>
2024-06-13 19:38:53 +08:00
HAOYUatHZ
1f58af2d5b
disable "auto switch to snap sync" ( #813 )
...
don't switch to snapsync
2024-06-13 19:36:36 +08:00
HAOYUatHZ
ef2ac7ee8c
fix: fix trie default hash ( #803 )
...
* update hashes.go
* fix trie
* silence
2024-06-13 19:35:17 +08:00
HAOYUatHZ
b3920abc9a
feat: skip RANDOM & PREVRANDAO opcodes ( #811 )
...
fix opRandom
2024-06-08 17:01:33 +08:00
HAOYUatHZ
20a7093f4c
fix ZkTrie's GetStorage ( #800 )
2024-06-05 15:26:30 +08:00
HAOYUatHZ
b0b4608450
feat: config several forks opcodes & precompiles ( #780 )
...
* add Curie & Descartes InstructionSet; update LondonInstructionSet
* update core/vm/runtime/runtime.go
* update core/vm/opcodes.go
* update tests/init.go
* update core/vm/contracts.go
* update eth/tracers/js/tracer_test.go
* update core/state_processor_test.go
* london: update core/types/transaction_signing.go
* update tests/init.go
* update core/txpool/validation.go
* update tests/state_test_util.go
* remove selfdestruct
2024-06-01 16:22:31 +08:00
HAOYUatHZ
f3c8cc1cb7
test: add eip1559_scroll_test.go ( #784 )
2024-05-30 11:52:49 +08:00