forked from ethereum/go-ethereum
-
Notifications
You must be signed in to change notification settings - Fork 277
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
Haoyu/scroll-v5.7.11_broadcast #1074
Closed
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* simplify ccc revert to snapshot * Update version.go --------- Co-authored-by: HAOYUatHZ <[email protected]>
* feat: use --gcmode=archive and --cache.noprefetch=true by default * refuse to start with invalid config * lint * lint
* enable use compression algorithm * fix ci * Just enable decode compressed content at ethclient * fix comments --------- Co-authored-by: Haichen Shen <[email protected]>
Co-authored-by: colin <[email protected]>
* 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 <[email protected]> * 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 <[email protected]> * Update miner/worker.go Co-authored-by: Péter Garamvölgyi <[email protected]> * 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 <[email protected]> Co-authored-by: Péter Garamvölgyi <[email protected]> * refactor: simplify ccc revert to snapshot (#480) * simplify ccc revert to snapshot * Update version.go --------- Co-authored-by: HAOYUatHZ <[email protected]> * 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 <[email protected]> * fix: disable pruning and prefetch if not flags are provided (#483) Co-authored-by: colin <[email protected]> * 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 <[email protected]> Co-authored-by: Steven <[email protected]> Co-authored-by: HAOYUatHZ <[email protected]> Co-authored-by: iczc <[email protected]> Co-authored-by: HAOYUatHZ <[email protected]> Co-authored-by: Haichen Shen <[email protected]> Co-authored-by: colin <[email protected]>
* feat(miner): consider l1msg in txCount * refactor * tweak * fix comments * fix unit test * set chainConfig.Scroll.MaxTxPerBlock in l1 message test * add a skipped tx in TestAcceptableTxlimit * add l1 skipped msg in test * fix unit test * fix unit test * Update miner/worker.go Co-authored-by: Péter Garamvölgyi <[email protected]> * revert some test changes * tweak * bump version --------- Co-authored-by: colinlyguo <[email protected]> Co-authored-by: colin <[email protected]> Co-authored-by: Péter Garamvölgyi <[email protected]>
* docs(ccc): add more logs for skipping msg * bump version * format codes * improve
* squash * improve comments * Remove tx (#493) * force drop * minor * store skipped L2 tx for `circuitcapacitychecker.ErrUnknown` * Update miner/worker.go Co-authored-by: Péter Garamvölgyi <[email protected]> * add lock * use mu --------- Co-authored-by: Péter Garamvölgyi <[email protected]>
* chore(ccc): v0.7.6: fix: if rws reaches limit, stop early * Update version.go --------- Co-authored-by: HAOYUatHZ <[email protected]>
…00000… (#496) * modexp: disallow len of 0x8000000000000000000000000000000000000000000000000000000000000000 * minor --------- Co-authored-by: HAOYUatHZ <[email protected]>
* fix: more consistent invalid opcode trace * Update version.go --------- Co-authored-by: HAOYUatHZ <[email protected]> Co-authored-by: Péter Garamvölgyi <[email protected]>
* core/vm: for tracing, do not report post-op memory * fmt * bump version --------- Co-authored-by: Martin Holst Swende <[email protected]> Co-authored-by: Péter Garamvölgyi <[email protected]>
* fix(trace): record account proof for ErrContractAddressCollision * bump version * fix memory reading * bump version --------- Co-authored-by: Péter Garamvölgyi <[email protected]> Co-authored-by: HAOYUatHZ <[email protected]> Co-authored-by: HAOYUatHZ <[email protected]>
…dTransaction` (#503) * fix(rawsdb): fix `writeSkippedTransaction` * Update version.go * minor * clean up
* Check tx num for CCC ErrUnknown error. * Update worker.go * Small fix. * Update * Fix log. * Update version. * Update miner/worker.go Co-authored-by: Péter Garamvölgyi <[email protected]> * Update according to review. * Fix to return 0 for uint64. * Add `tcount` to mock CCC, and function `SetTxNum`. * refactor * fix * add comments --------- Co-authored-by: Zhang Zhuo <[email protected]> Co-authored-by: Péter Garamvölgyi <[email protected]> Co-authored-by: HAOYUatHZ <[email protected]>
…508) fix: use correct roots in trace of block with one transaction
* p2p: move ping handling into pingLoop goroutine (ethereum#27887) Moving the response sending there allows tracking all peer goroutines in the peer WaitGroup. * bump version --------- Co-authored-by: Felix Lange <[email protected]>
…509) * fix error(when get pengding block) coinbase address is null * fix comments
Co-authored-by: maskpp <[email protected]>
* refactor(worker): order L1 messages by queue index * bump version * bump version
…520) Upgrade libzkp to `v0.9.2` (fix ccc bug).
* 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 <[email protected]> Co-authored-by: Péter Garamvölgyi <[email protected]>
* update eth/protocols/eth/broadcast.go * update eth/protocols/eth/handlers.go * chore: auto version bump [bot] --------- Co-authored-by: HAOYUatHZ <[email protected]>
* update eth/protocols/eth/broadcast.go * chore: auto version bump [bot] * update eth/protocols/eth/handlers.go --------- Co-authored-by: HAOYUatHZ <[email protected]>
Co-authored-by: colin <[email protected]> Co-authored-by: Zhang Zhuo <[email protected]> Co-authored-by: Xi Lin <[email protected]>
* feat(txpool): add more logs to `runReorg` * chore: auto version bump [bot] * improve * chore: auto version bump [bot] --------- Co-authored-by: HAOYUatHZ <[email protected]>
* fix: nil-check curRc * chore: auto version bump [bot] --------- Co-authored-by: omerfirmak <[email protected]>
…1026) * ++ * upgrade go lint version * lint * remove a useless "`" * Update l2geth_ci.yml --------- Co-authored-by: Ömer Faruk Irmak <[email protected]> Co-authored-by: Péter Garamvölgyi <[email protected]> Co-authored-by: colin <[email protected]>
* fix: ignore RC check if force committing * rename force to reorging * use prev goimports version
* fix: properly handle wrapped retryable errors * chore: auto version bump [bot] --------- Co-authored-by: Péter Garamvölgyi <[email protected]> Co-authored-by: Thegaram <[email protected]>
we assume that same height wont trigger multiple reorgs to be able to put an upper bound on the reorg depth. We rely on the fact that AsyncChecker executes transactions one-by-one and tells worker the safe set of transactions to include in the replacement block that wont trigger another error on the same block. If worker changes the timestamp and that causes significant changes to the execution flow of included transactions; we might have a height where multiple reorgs happen.
* feat(scroll-worker): add nil consumption block metrics * increase the version
Co-authored-by: Péter Garamvölgyi <[email protected]>
…1042) * feat(tx pool): fast reject transactions that cannot fit into a block * add a TestValidateTxBlockSize unit test * chore: auto version bump [bot] --------- Co-authored-by: colinlyguo <[email protected]>
* fix: remove a duplicated cmd in Dockerfile.mockccc * increase version
* 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 <[email protected]>
* feat: update L2 base fee formula * update 1559 unit test * use current block's base fee in txpool * fix unit test * Revert "use current block's base fee in txpool" This reverts commit 8a7d7ff.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
1. Purpose or design rationale of this PR
...
2. PR title
Your PR title must follow conventional commits (as we are doing squash merge for each PR), so it must start with one of the following types:
3. Deployment tag versioning
Has the version in
params/version.go
been updated?4. Breaking change label
Does this PR have the
breaking-change
label?