colin
cf1ca84e0e
feat: allow changing L1 synced height via admin RPC/CLI ( #1044 )
...
* feat: allow changing L1 synced height via RPC/CLI
* chore: auto version bump [bot]
* fix typos
* add height validity check
* change implementation
* moved hotfix apis from ScrollAPI to PrivateAdminAPI
* change namespace from scroll to admin
* fix bugs
* add locks
* add a lock to protect latestProcessedBlock and db state
* revert some changes
* remove lock and use atomic in latestProcessedBlock
* fix CI
* tweak
* use cas in updating latestProcessedBlock
* renaming
* also update sync height in error paths
* fix a bug
* use mutex lock
---------
Co-authored-by: colinlyguo <colinlyguo@users.noreply.github.com>
2024-09-25 03:18:37 +08:00
Ömer Faruk Irmak
89639dd74a
feat: allow triggering one-off CCC on a block ( #1043 )
...
Co-authored-by: Péter Garamvölgyi <peter@scroll.io>
2024-09-17 18:18:23 +03:00
Ömer Faruk Irmak
521a074f60
feat: allow removing txns from pool via CLI/RPC ( #1041 )
2024-09-16 13:56:11 +03:00
Zhang Zhuo
665f6c3413
feat(rpc): add getTxByTxTrace api, used for ccc testing & debugging ( #1026 )
...
* ++
* upgrade go lint version
* lint
* remove a useless "`"
* Update l2geth_ci.yml
---------
Co-authored-by: Ömer Faruk Irmak <omerfirmak@gmail.com>
Co-authored-by: Péter Garamvölgyi <peter@scroll.io>
Co-authored-by: colin <102356659+colinlyguo@users.noreply.github.com>
2024-09-06 23:22:47 +08:00
Ömer Faruk Irmak
e9259b783f
feat: implement and integrate counter-based CCC ( #982 )
...
Co-authored-by: colin <102356659+colinlyguo@users.noreply.github.com>
Co-authored-by: Zhang Zhuo <mycinbrin@gmail.com>
Co-authored-by: Xi Lin <zimpha@gmail.com>
2024-09-04 13:33:51 +03:00
HAOYUatHZ
2865e13e5b
fix(metrics): fix tx broadcast investigation metrics again ( #1012 )
...
* update eth/protocols/eth/broadcast.go
* chore: auto version bump [bot]
* update eth/protocols/eth/handlers.go
---------
Co-authored-by: HAOYUatHZ <HAOYUatHZ@users.noreply.github.com>
2024-08-28 20:17:49 +10:00
HAOYUatHZ
89e9a21577
fix(metrics): fix tx broadcast investigation metrics ( #1010 )
...
* update eth/protocols/eth/broadcast.go
* update eth/protocols/eth/handlers.go
* chore: auto version bump [bot]
---------
Co-authored-by: HAOYUatHZ <HAOYUatHZ@users.noreply.github.com>
2024-08-28 15:11:35 +10:00
HAOYUatHZ
118a80b734
feat: add more metrics to investigate tx broadcast issue ( #1007 )
...
* update eth/fetcher/tx_fetcher.go
* update eth/handler.go
* update eth/handler.go
* update eth/protocols/eth/peer.go
* update eth/protocols/eth/broadcast.go
* update eth/protocols/eth/handlers.go
* chore: auto version bump [bot]
* fix
---------
Co-authored-by: HAOYUatHZ <HAOYUatHZ@users.noreply.github.com>
Co-authored-by: Péter Garamvölgyi <peter@scroll.io>
2024-08-27 23:03:26 +02:00
HAOYUatHZ
77a565943f
feat: add more logs to investigate tx broadcast issue ( #1005 )
...
* 1. broadcast + announce
* 2. broadcast
* 3. broadcast
* 5. announce
* 6. announce
* 7. announce
* 8. announce
* 9. announce
* 10. announce
* minor
* chore: auto version bump [bot]
---------
Co-authored-by: HAOYUatHZ <HAOYUatHZ@users.noreply.github.com>
2024-08-27 14:06:13 +02:00
Péter Garamvölgyi
ff23c5272a
feat: schedule DarwinV2 ( #1002 )
...
* refactor: add darwinV2 to tests, improve log format
* feat: schedule DarwinV2
2024-08-26 16:15:56 +02:00
Ömer Faruk Irmak
233a6adc15
feat: async ccc checker ( #996 )
2024-08-23 11:04:12 +03:00
Dragan Milic
972fe8afc4
feat: backport flatCallTracer ( #895 )
2024-08-23 09:52:00 +03:00
Ömer Faruk Irmak
2ba5ea3058
Revert "refactor: reduce number of heap allocations in tracing ( #952 )" ( #959 )
...
This reverts commit b84f4ed6f8 .
2024-08-02 21:59:50 +08:00
Ömer Faruk Irmak
b84f4ed6f8
refactor: reduce number of heap allocations in tracing ( #952 )
2024-08-01 14:52:43 +03:00
Ömer Faruk Irmak
51c7eee1e4
feat(clique): allow shadowforking a clique network ( #828 )
2024-08-01 12:11:00 +03:00
Jonas Theis
8c7a3aed74
feat(txpool): StatsWithMinBaseFee ( #884 )
...
* feat(txpool): implement StatsWithMinBaseFee
* feat(gpo): use StatsWithMinBaseFee to filter out tx below the current blocks base fee
* feat(les/txpool): implement StatsWithMinBaseFee
* use flatten() (lowercase) to avoid copying of tx list
* chore: auto version bump [bot]
---------
Co-authored-by: jonastheis <jonastheis@users.noreply.github.com>
2024-07-10 11:10:58 +02:00
Jonas Theis
ae45e1230e
fix(GPO): min suggested tip cap if there's congestion to avoid filtering through DefaultIgnorePrice ( #883 )
2024-07-10 12:31:52 +08:00
HAOYUatHZ
dcd0004376
fix(p2p): re-enable ENRUpdater ( #869 )
...
* feat: enable ENRUpdater
* chore: auto version bump [bot]
* chore: auto version bump [bot]
* chore: auto version bump [bot]
---------
Co-authored-by: HAOYUatHZ <HAOYUatHZ@users.noreply.github.com>
2024-07-05 16:59:44 +08:00
Péter Garamvölgyi
418bc6f728
feat: rename next upgrade to Darwin ( #863 )
2024-06-26 14:54:36 +02:00
Ömer Faruk Irmak
50a6bc6f42
feat: make descartes a timestamp based fork ( #852 )
...
* feat: make descartes a timestamp based fork
* chore: auto version bump [bot]
---------
Co-authored-by: omerfirmak <omerfirmak@users.noreply.github.com>
2024-06-26 12:35:04 +08:00
Ömer Faruk Irmak
316138099f
refactor: remove unused storage traces ( #819 )
2024-06-14 15:02:00 +03:00
Jonas Theis
b9d3c72e0d
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>
2024-06-04 17:05:58 +08:00
Péter Garamvölgyi
bfe803001b
feat: update L1 data fee in Curie hard fork ( #755 )
...
* 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>
2024-05-28 14:12:39 +02:00
Ömer Faruk Irmak
c7990a3eb1
feat(worker): pipeline block building ( #735 )
2024-05-21 16:11:06 +03:00
colin
6d80f2898b
feat(libzkp): ccc v0.10.2 (enable sha256, remove StructLog.stack) ( #691 )
...
* upgrade zkevm version
* change Cargo.lock
* try fix
* update Cargo.lock
* fix
* upgrade rust-toolchain version
* update rust-toolchain
* fix build
* upgrade zkp
* fix ccc
* chore: auto version bump [bot]
* chore(libzkp): upgrade to v0.10.1
* clean poseidon-circuit deps
* chore: auto version bump [bot]
* chore: auto version bump [bot]
* fix patch version
* disable stack
* upgrade libzkp
* fix(rollup-verifier): update codecv1
* fix genesis batch codec check
* bump version
* use temporary version tag
---------
Co-authored-by: Zhuo Zhang <mycinbrin@gmail.com>
Co-authored-by: colinlyguo <colinlyguo@users.noreply.github.com>
Co-authored-by: lispc <lispc@users.noreply.github.com>
Co-authored-by: HAOYUatHZ <haoyu@protonmail.com>
Co-authored-by: Péter Garamvölgyi <peter@scroll.io>
2024-04-29 13:30:02 +08:00
Nazarii Denha
3592139384
(feat)all: add EIP-1153 - transient storage ( #721 )
...
* all: implement EIP-1153 transient storage (#26003 )
Implements TSTORE and TLOAD as specified by the following EIP:
https://eips.ethereum.org/EIPS/eip-1153
https://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>
2024-04-28 15:59:26 +08:00
colin
a860446eba
fix(api-backend): disable finalized tag when rollup verify is disabled ( #722 )
2024-04-26 12:11:01 +08:00
HAOYUatHZ
054bbd29f0
fix(tracing): disable storage for block_traces ( #684 )
...
* fix: disable storage for block_traces
* bump version
2024-03-28 08:00:02 +00:00
Péter Garamvölgyi
0f0cd99f7a
feat: update upcoming fork names ( #680 )
...
* feat: update upcoming fork names
* bump version
* Apply suggestions from code review
Co-authored-by: Nazarii Denha <dengaaa2002@gmail.com>
* bump version
---------
Co-authored-by: Nazarii Denha <dengaaa2002@gmail.com>
2024-03-26 14:41:32 +00:00
Péter Garamvölgyi
ccec84ce63
feat: re-enable EIP-1559 in Banach hard fork ( #634 )
...
* feat: re-enable EIP-1559 in Banach hard fork
* enable BASEFEE opcode
* do not double gas limit on Banach fork block
* do not burn base fee
* update base fee calculation logic
* fix gas price oracle
* fix ethapi backend
* typo
* reorder worker code
* update genesis base fee
* add MaximumL2BaseFee
* add base fee metrics
* handle nil base fee
* revert state-transition change
* bump version
* remove TODO
* update test
* fix typo
* fix typo
* update traces
* fix test
* update london to banach
* handle error
* bump version
* bump version
2024-03-11 13:57:52 +00:00
colin
483949b87e
fix(rollup sync service): remove syscall.Kill ( #636 )
...
* fix(rollup sync service): remove syscall.Kill
* bump version
2024-02-21 16:57:09 +08:00
HAOYUatHZ
88349c600d
feat: add mux tracer for native call tracer and native prestate tracers ( #615 )
...
* hack to use native tracers
* update
* fix
* add prestate
* fix marshal
* format
* draft
* move
* separate `MuxTracer`
* fix
* update miner/worker.go
* update api
* rename
* remove
* bump go version
* bump golangci
* goimports lint
* fix tests
* minor
* clean up
* fix tests
* sync error handling
* bump go version in Dockerfiles
* bump version
* lint: disable `goconst` & `goimports`
* bump version again
* add comments
---------
Co-authored-by: lightsing <light.tsing@gmail.com>
2024-01-18 14:58:27 +08:00
HAOYUatHZ
f4b247da15
feat: add scroll_getTxBlockTraceOnTopOfBlock API ( #558 )
...
* init
* more
* fix draft
* refactor
* fix
* clean up
* minor
* fix
* fix
* clean up
* clean up
* improve
2023-11-20 13:59:20 +08:00
colin
1bf26286db
feat(rpc): add scroll_* rollup APIs ( #548 )
...
* feat(rpc): add scroll_* rollup APIs
* address comments
* address comments
* address comments
* support finalized tag in eth_feeHistory
* Update internal/web3ext/web3ext.go
Co-authored-by: Péter Garamvölgyi <peter@scroll.io>
* tweak
---------
Co-authored-by: Péter Garamvölgyi <peter@scroll.io>
2023-11-09 09:55:13 +01:00
colin
441212200a
feat(rollup): sync finalized batches from L1 ( #515 )
...
* feat(rollup): sync finalized batches from L1
* tweak
* address comments
* address comments
* tweak
* address comments
* Update rollup/eventwatcher/eventwatcher.go
Co-authored-by: Péter Garamvölgyi <peter@scroll.io>
* address comments
* address comments
* address comments
* add s.rollupSyncService.Stop()
* add block chunk batch tests
* fix goimports-lint
* address comments
* address comments
* remove
* add TestUnpackLog test
* add decodeChunkRanges tests
* add commit batch version check
* fix goimport & golint
* tweak
* fixes
* add TestRollupSyncServiceStartAndStop
* add TestGetChunkRanges
* address comments
* add TestValidateBatch
* add TestCalculateFinalizedBatchMeta
* address comments
* address comments
* fix
* address comments
* address comments
* fix
* tweak log
* fix
* tweak logs
* increase wait time
* add --rollup.verify flag
* add flag check in s.rollupSyncService.Stop()
* bump version
* refactor
* tweak configs
* tweak
* refactor getLocalInfoForBatch
* use syscall.Kill(os.Getpid(), syscall.SIGTERM) to shutdown
* refactor decodeChunkBlockRanges
* nit
* address comments
* address comments
* add WithdrawRoot and StateRoot in FinalizedBatchMeta
* address comments
* address comments
* add ctx.Err() check in retry
* add configs in gen_config.go
* bump version
* fix goimport & golint
* try to fix goimport
* revert change
* fix goimport & golint
* tweak
* bump version
* add l2 block -> batch index mapping
* bump version
* add mainnet config
* bump version
* address comments
* rename some vars
* feat: add more detailed logs in crash case (#547 )
add more detailed logs in crash case
* trigger ci
* re-add batch finalization progress log
* remove block number -> batch index mapping
---------
Co-authored-by: Péter Garamvölgyi <peter@scroll.io>
Co-authored-by: HAOYUatHZ <37070449+HAOYUatHZ@users.noreply.github.com>
2023-10-28 06:29:31 +08:00
Nazarii Denha
fea7d94ebd
Fix/config fix small bug and set default maxBlockRange to -1 to not use it ( #529 )
...
* feat: configure max block range for eth_getLogs (#521 )
* configure max block range for eth_getLogs
* bump version
* address comments, add test
* set default value
* address comments
* fix golint
* Update cmd/utils/flags.go
Co-authored-by: colin <102356659+colinlyguo@users.noreply.github.com>
---------
Co-authored-by: colinlyguo <colinlyguo@scroll.io>
Co-authored-by: colin <102356659+colinlyguo@users.noreply.github.com>
* set dafault maxblockrange to -1 and fix nil pointer bug
* update version
* change error logic
* check for range in filter
* Update eth/ethconfig/config.go
Co-authored-by: colin <102356659+colinlyguo@users.noreply.github.com>
* adjust error message
* fix duplicate version
---------
Co-authored-by: colinlyguo <colinlyguo@scroll.io>
Co-authored-by: colin <102356659+colinlyguo@users.noreply.github.com>
Co-authored-by: Péter Garamvölgyi <peter@scroll.io>
2023-10-04 19:18:52 +02:00
Péter Garamvölgyi
736cf7b1fb
Revert "feat: configure max block range for eth_getLogs ( #521 )" ( #528 )
...
This reverts commit de5aebdad5 .
2023-10-03 15:07:43 +02:00
Nazarii Denha
de5aebdad5
feat: configure max block range for eth_getLogs ( #521 )
...
* configure max block range for eth_getLogs
* bump version
* address comments, add test
* set default value
* address comments
* fix golint
* Update cmd/utils/flags.go
Co-authored-by: colin <102356659+colinlyguo@users.noreply.github.com>
---------
Co-authored-by: colinlyguo <colinlyguo@scroll.io>
Co-authored-by: colin <102356659+colinlyguo@users.noreply.github.com>
2023-10-02 17:11:50 +02:00
HAOYUatHZ
dade96d416
fix(rawdb, api): fix rawdb.writeSkippedTransaction & api.GetSkippedTransaction ( #503 )
...
* fix(rawsdb): fix `writeSkippedTransaction`
* Update version.go
* minor
* clean up
2023-09-07 15:35:04 +08:00
HAOYUatHZ
0b6c3be40d
feat(api/rawdb): allow storing traces for skipped txs ( #500 )
2023-09-05 11:03:15 +08:00
Péter Garamvölgyi
7de261b1be
feat: store skipped transactions in local db ( #467 )
...
* feat: store skipped txs in local db
* bump version
* bump version
* fix test
* include L2 txs in skipped index
* goimports
* rename more
* bump version
* fix missed renames
* fix the bug when calculating l2TxCount. (#479 )
* fix bug when calculate l2 tx count
* Update version
* fix: exclude L1 message from block payload size validation (#476 )
* fix: exclude L1 message from block payload size validation
* fix the bug when calculating l2TxCount. (#479 )
* fix bug when calculate l2 tx count
* Update version
* bump version
---------
Co-authored-by: maskpp <maskpp266@gmail.com>
* fix: update row estimation with scroll-prover `v0.7.2` (#475 )
* Fix row estimation.
* Update libzkp.
* more
* prepare
* finish
* upgrade
* bump version
* fix tests
* Update to scroll-prover `v0.7.2`.
* fix tests
* Update miner/worker.go
Co-authored-by: Péter Garamvölgyi <peter@scroll.io>
* Update miner/worker.go
Co-authored-by: Péter Garamvölgyi <peter@scroll.io>
* Reset ccc when skips first tx.
* do not unnecessarily skip L1 message
* fix ccc reset and improve code readability
* seal block on circuitcapacitychecker.ErrUnknown
---------
Co-authored-by: HAOYUatHZ <haoyu@protonmail.com>
Co-authored-by: Péter Garamvölgyi <peter@scroll.io>
* refactor: simplify ccc revert to snapshot (#480 )
* simplify ccc revert to snapshot
* Update version.go
---------
Co-authored-by: HAOYUatHZ <37070449+HAOYUatHZ@users.noreply.github.com>
* feat: use --gcmode=archive and --cache.noprefetch=true by default (#482 )
* feat: use --gcmode=archive and --cache.noprefetch=true by default
* refuse to start with invalid config
* lint
* lint
* feat(sdk): support compressed response (#469 )
* enable use compression algorithm
* fix ci
* Just enable decode compressed content at ethclient
* fix comments
---------
Co-authored-by: Haichen Shen <shenhaichen@gmail.com>
* fix: disable pruning and prefetch if not flags are provided (#483 )
Co-authored-by: colin <102356659+colinlyguo@users.noreply.github.com>
* fix: update libzkp to use scroll-prover `v0.7.5` (#484 )
* Update libzkp to use scroll-prover `v0.7.5`.
* Update version.
* address comments
* bump version
* nit
---------
Co-authored-by: maskpp <maskpp266@gmail.com>
Co-authored-by: Steven <asongala@163.com>
Co-authored-by: HAOYUatHZ <haoyu@protonmail.com>
Co-authored-by: iczc <iczcalan@gmail.com>
Co-authored-by: HAOYUatHZ <37070449+HAOYUatHZ@users.noreply.github.com>
Co-authored-by: Haichen Shen <shenhaichen@gmail.com>
Co-authored-by: colin <102356659+colinlyguo@users.noreply.github.com>
2023-08-25 15:41:05 +02:00
Haichen Shen
e8d9d60cf0
fix: use FeeVault address in the EVM BlockContext ( #473 )
...
* fix: use Feevault address in the EVM BlockContext
* bump version
* revert format change
* fix
2023-08-19 14:01:14 +02:00
Péter Garamvölgyi
25fe3ba69a
feat: add startL1QueueIndex field to traces ( #463 )
...
* feat: include startL1QueueIndex in traces
* fix
* update example
2023-08-12 11:07:36 +08:00
Nazarii Denha
cb38ec47a5
Fix/test api get block trace by number or hash ( #453 )
...
fix test
Co-authored-by: Péter Garamvölgyi <peter@scroll.io>
2023-08-08 16:31:34 +02:00
HAOYUatHZ
b428fa1339
fix(trace): fix commit state when tracing ( #451 )
...
* fix(trace): fix commit state when tracing
* bump version
2023-08-07 14:15:21 +08:00
Nazarii Denha
7b75f163b0
feat(rpc): add scroll_getBlockByNumber ( #413 )
...
* add scroll_getBlockByNumber rpc api
* bump version
* fix
* bump version
* Update version.go
* Revert "Update version.go"
This reverts commit 1be1d9c4fdbb64254659ac193cffd23dbbacfb5e.
---------
Co-authored-by: Péter Garamvölgyi <peter@scroll.io>
Co-authored-by: HAOYUatHZ <37070449+HAOYUatHZ@users.noreply.github.com>
Co-authored-by: HAOYUatHZ <haoyu@protonmail.com>
2023-08-01 15:32:12 +02:00
HAOYUatHZ
2f9edf73ca
feat(rollup): add circuits capacity checker ( #321 )
...
* add proof for predeployed storages
* reverse inneeded code
* update for mainbranch merging
* add pertx storage trace
* dummy tx proof
* add txstorage trace
* add coinbase storage as trace
* enable (sync) tracing by default
* basic
* init cgo framework
* fix break loop
* integrate the right zkevm version (#323 )
* finish rust codes
* use dylib (#325 )
* flip
* ?
* use cdylib
* revert
* fix
* apply_tx
* rename
* fixing types
fixing types
fixing types
* clean up
* ExecutionResults (#328 )
* filling
* filling
* more
* clean up
* filling
* coinbase
* add
* MPTWitness
* ExecutionResults WIP
* L1fee
L1fee
* sender
* to
* Failed & ReturnValue
* createdAcc & after
* remove MPTWitness
* txStorageTrace
* add FeeRecipient
* add StorageTrace
* fix FFI types
* better logger
* cargo fmt
* fix
* add build tags
* update Makefile
* fix library
* improve ld path
* correctly deal with circuit_capacity_checker returned result
* fix return value
* update cargo (#333 )
* update cargo
* update
* update go
* refactor
* raname `circuits capacity checker` to `circuit capacity checker`
* some refactorings
* [Fix] storage proof generation in capacity checker (#348 )
* make per-tx storage and deletion proof work
* format
* fix misplaced markdeletion
---------
Co-authored-by: HAOYUatHZ <haoyu@protonmail.com>
* docker (#363 )
* update Dockerfile
* build: update go version to 1.19
* update
* fix
* fix
* try
* simplify
* revert go version
update l2geth Dockerfiles
* fix
* fix coinbase
* fix (#369 )
* format
* Update version.go
* address comments
* Capacity refactor (#374 )
* init
* id
* support multiple instances
* fix id
* fix conflicts
* refactor to use same codes (#379 )
* re-init
* WIP
* WIP
* refactor
* go
* minor
* fix storage proof of l1gas price oracle
* move 1
* move 2
* move 3
* move 4
* move 5
move 5
* move 6
move 6
* move 7
* move 8
* move 9
* move 10
* clean up
clean up
---------
Co-authored-by: Ho Vei <noelwei@gmail.com>
* finish basic
* minor
* config capacity check in block_validator (#380 )
* init
* done
ref
* fix tests
fix tests
fix tests
fix tests
* add more comments
* apply_block
* improve logs
* cargo fmt
* Capacity big refactor (#383 )
* CreateTraceEnv
* WIP
* draft
more
fix
* for test
* fortet
* clean up
* add more comments
* goimports -local github.com/scroll-tech/go-ethereum -w .
* fix typos
* attempt 1
* attempt 2
* attempt 3
* gogogo
* clean up
* fix
* fix
* rename
* minor
* fix
* minor
* minor
* improve doc
* use dedicated `checkCircuitCapacity` flag (#394 )
* refactor
* fix
* add lock
* [feat] capacity checking: upgrade libzkp (#395 )
* upgrade
* upgrade libzkp
* write RowConsumption (#396 )
* write RowConsumption
* name alignments
* revert some formatting
* add lock to CircuitCapacityChecker in BlockValidator
* remove mutex pointer
* improve github workflow
* improve
* store row consumption in mining (#397 )
* prepare
* finish
* add more logs
* mark `ApplyBlock` as ready
* update libzkp (#401 )
* fix
* Capacity detail (#402 )
* fix(block-validation): consider skipping in ValidateL1Messages (#405 )
* fix(block-validation): consider skipping in ValidateL1Messages
* fix(block): consider skipping in L1MessageCount
* fix l1 validation tests
* fix NumL1Messages
* fix impl.go return types
fix
* better error handling (#407 )
* add
add
* add
* add
* add
* add
* cargo fmt
* add
* update
* add
* WIP
* minor
* gogogo
* gogogo
* fix
* fix
* fix
* cargo clippy
* improve
* improve
* creation lock (#408 )
* creation lock
* update
* Debug log (#409 )
* add more logs
* more
* more
* fix
* improve
* Update cmd/utils/flags.go
Co-authored-by: Péter Garamvölgyi <peter@scroll.io>
* refactor worker.commit()
* avoid re-calculate
* txpool ccc err handling (#411 )
* more explicit error comments
* add more logs
* fix unnecessary commit
* add more logs
* fix `ineffassign`
* add more comments
* log id for `NewCircuitCapacityChecker` (#414 )
add log to `NewCircuitCapacityChecker`
* Persist skip info for block where all L1 msgs are skipped (#415 )
persist skip info for block where all L1 msgs are skipped
* Update version.go
---------
Co-authored-by: Ho Vei <noelwei@gmail.com>
Co-authored-by: Zhang Zhuo <mycinbrin@gmail.com>
Co-authored-by: Péter Garamvölgyi <peter@scroll.io>
2023-08-01 13:52:31 +08:00
Nazarii Denha
a677ee3ccf
fix(ethapi): change scroll_getBlockByHash ethapi behaviour ( #398 )
...
* fix api behaviour
* update version
* not retrun error in ethclient
* add comment
* modify rowconsumption struct
* fix lint
* change naming
2023-07-20 00:10:34 +08:00
Nazarii Denha
3943547960
feat(rawdb&rpc): add block row consumption rpc ( #388 )
...
* add db api for rowconsumption
* add rpc api for block row consumption
* return nil if rc is is not known
* add method to sdk
* bump version
* small fix
* update version
---------
Co-authored-by: Péter Garamvölgyi <peter@scroll.io>
2023-07-11 22:07:09 +08:00
Ho
2dcc60a082
fix(trace): fix storage proof of l1gas price oracle ( #376 )
...
* fix storage proof of l1gas price oracle
* Update version.go
* fix(trace): fix
---------
Co-authored-by: HAOYUatHZ <37070449+HAOYUatHZ@users.noreply.github.com>
2023-07-07 10:35:19 +08:00