Skip to content

Conversation

@MatusKysel
Copy link
Collaborator

No description provided.

@will-2012
Copy link
Contributor

will-2012 commented Jul 23, 2025

#39 will be fixed by this PR.

@loocapro
Copy link
Owner

Nice!!

@loocapro loocapro merged commit f8a29a5 into loocapro:main Jul 23, 2025
4 checks passed
will-2012 pushed a commit to will-2012/reth-bsc that referenced this pull request Sep 8, 2025
will-2012 added a commit to will-2012/reth-bsc that referenced this pull request Dec 20, 2025
* feat: seal block with signing_key

* remove redundant code

* try get signed tx from txpool

* feat: seal block in the validator

* feat: import block to local and network

* feat: add support of miner engine

* feat: seal block before ensure_well_formed_payload

* feat: add a init genesis_local.json to pass the cargo check (loocapro#37)

* feat: use TransactionSigned Pool (loocapro#38)

* chore: polish some trivals by failed action (loocapro#39)

* chore: polish trival by failed action

* chore: polish trival

* Dike miner (loocapro#41)

* feat: succeed to mine block

* feat: mine block but receive the RecoverECDSAInnerError

* remove useless code

* initial implementation

* fix blob header validation

* feat: add support of bsc protocol

* Update src/main.rs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* feat: add payload builder skeleton (loocapro#44)

* feat: add payload builder skeleton

* chore: refine payload builder skeleton

* chore: polish some args

* chore: refine payload builder skeleton

* chore: polish some trivals

* chore: add prepare args for miner new block

* chore: refine prepare timestamp

* chore: add some todos

* chore: polish some trivals

* chore: add is_miner for payload builder

* chore: polish some codes

* chore: polish some trivals

* chore: add system-contract and system-tx in miner mode

* chore: add signer for system tx and block seal

* chore: polish some trivals

* chore: polish finalize new header workflow

* chore: add new block seal workflow

* chore: refine some trivals

* chore: refine some trivals

* chore: refine code by failed actions

* chore: polish some code again

* chore: fix parent ts

* fix: add keystore parser (loocapro#48)

Co-authored-by: Clyde <clyde.m@nodereal.io>

* fix: fix signature in the seal block (loocapro#49)

* chore: refine miner skeleton (loocapro#50)

* chore: refine miner skeleton

* chore: fix failed action

* chore: fix failed action

* chore: remove useless code to more clear (loocapro#54)

* chore: add chan-head event loop (loocapro#57)

* chore: add chan-head event loop

* chore: remove stale ut

* chore: polish some trivals and add some todos (loocapro#58)

* chore: polish some trivals to easy debug (loocapro#60)

* chore: polish some trivals to easy debug

* chore: refine by failed action

* fix: remove  duplicate hash calcu (loocapro#61)

* chore: bypass newblock systemts check (loocapro#62)

* chore: fix parent_beacon_block_root (loocapro#63)

* chore: fix parent_beacon_block_root

* chore: polish by clippy

* fix: state root mismatch in engine-tree rerun (loocapro#64)

* chore: add new-work-worker to make schedule logic more clear (loocapro#70)

* add support of user transaction to validator (#72)

* chore: add main-work-worker to make miner skeleton more clear (#74)

* chore: add mainWorkWorker to more clear

* chore: polish main-worker to more clear

* chore: polish some trivals

* chore: polish some trivals

* chore: add blockbuilder to assemble system-tx (#75)

* chore: add system-txs to miner assemble

chore: polish some trivals

chore: make system-tx included

chore: some polishes

chore: polish block builder

* chore: polish some trivals

* chore: polish by failed action

* feat: implement reorg logic

* bsc: match geth system-tx gas; enforce Parlia scheduling; remove env bypasses

- Compute intrinsic normally and subtract post-exec for system tx; zero refunds (geth parity)
- Remove RETH_BSC_IGNORE_* flags; enforce backoff/time, sign-recently, and in-turn checks
- Fix fast finality gating per header in reorg_needed_with_fast_finality
- Minor cleanups (imports, miner wiring)

* revert: restore revm_spec_by_timestamp_and_block_number ordering (Cancun after Haber)

- Revert preference of Cancun before other timestamp forks; match prior behavior (14f2bbf)
- Keeps dynamic ordering for Gibbs/Moran/Nano; no other logic changes

* revert: drop London gating and fallback in revm_spec_by_timestamp_and_block_number

- Remove external London/Shanghai gating and prefer pure timestamp ordering
- Keep dynamic Gibbs/Moran/Nano, followed by remaining block-based forks

* chore: fix PR review and clippy

* some clean up

* chore: fix hf bug to pass 8th block in devnet (#81)

* chore: fix some bugs about hf to pass 8th block

* chore: fix hf bug to pass 8th block in devnet

* chore: polish some trivals

* chore: fix the epoch length (#82)

* Revert "chore: fix the epoch length (#82)" (#83)

This reverts commit b92b10a428188b5ec99a1e86489a399a0a653629.

* Revert "chore: fix hf bug to pass 8th block in devnet (#81)" (#84)

This reverts commit cd4972760a9c28e439caf219e612c57da0b05a6d.

* Revert "Re org logic" (#85)

* chore: clean up prague HF

* add support of FF reorg (#87)

* add support of FF reorg

* fix review comments

* chore: convert execution-err to validation-err and avoid thread exit (#89)

* chore: enhance header/snapshot index by block_hash (#90)

* chore: add snap_by_hash workflow

* chore: add rebuild snapshot by hash

* chore: polish by_hash query

* chore: polish by-hash index

* chore: polish some trivals

* chore: polish by failed action

* chore: add new_block_hashes handler to make miner less slashed (#92)

* chore: add new_block_hashes handler to catch head more timely

* chore: polish some trivals

* chore: polish by review tips

* chore: try mine at startup to reduce slash (#94)

* feat: add support of bls keys and improve key manager

* feat: blob impl (#93)

* feat(parlia+network): produce/broadcast votes; fix attestation target hash

* feat: assigned the blob sidecar of the seal block (#99)

* review fixes

* chore: make miner payload-build workflow asynced  (#104)

* chore: polish some trivals

* chore: add some todos

* chore: add main worker

* chore: add payload job

* chore: add draft payload job wrapper

* chore: add result worker

* chore: main-work-woker async build payload

* chore: polish abort workflow

* chore: polish some trivals

* chore: polish some trivals

* chore: polish some trivals

* chore: polish some trivals

* chore: refine by review tips

* chore: refine by failed action

* feat(evn): EVN full-broadcast via BSC subprotocol + NodeIDs mgmt and periodic refresh; CLI-driven StakeHub NodeIDs tx build/sign

* chore: add retry and pick best payload workflow (#106)

* chore: add retry and pick best workflow

* chore: polish some codes

* chore: add retries limit

* chore: refine code skeleton

* chore: polish some trivals

* chore: polish some trivals

* chore: enhance mining delay more details

* chore: polish by review tips

* chore: polish trivals

* fix: fix retry workflow (#112)

* fix: fix retry-work workflow

* chore: polish some trivals

* chore: polish some trivlas

* chore: polish some trivals

* builder: support to reserve system tx gas; (#114)

Co-authored-by: galaio <galaio@users.noreply.github.com>

* feat(evn): implement second part of EVN support

* parlia: opt reorg & FCU logic; (#113)

* parlia: opt reorg & FCU logic;

* parlia: opt reorg & FCU logic;

* parlia: opt reorg & FCU logic;

* chore: fix some ci issues;

---------

Co-authored-by: galaio <galaio@users.noreply.github.com>

* builder: fill miner missed logic, and fix some issues; (#121)

* builder: opt delay time for validator;

* chore: opt hard fork logic;

* chore: opt assemble logic;

* builder: support FF vote aggregation;

* builder: opt validator cache, query by hash;

---------

Co-authored-by: galaio <galaio@users.noreply.github.com>

* chore: polish off-turn mine workflow (#119)

* chore: try offturn mine

* chore: try some debug

* chore: make result worker no blocking

* chore: polish off-turn workflow

* chore: polish some codes

* chore: polish trivals

* review comments

* feat: add vote journal

* builder: opt fcu td query issue;

* chore: resolve ci issues;

* feat: loop wait impl (#126)

* feat: loop wait impl

* fix: clippy error

* perf: code style and log

---------

Co-authored-by: cbh876 <3930922419@qq.com>

* chore: add double sign check in result-worker (#124)

* chore: polish some trivals

* chore: polish some trivals

* chore: refactor header cache and snapshot cache;

* chore: fix CI issues;

* chore: refactor header cache and snapshot cache;

* chore(evn): fix node registration and unregistration

* fix pr reviews

* chore: add bsc-reorg check in mine workflow (#129)

* chore: add bsc-reorg check in mine workflow

* chore: refine codes

* chore: polish some trivals

* chore: fix  ut

* feat: bid function (#120)

* feat: bid init

* feat: bid simulate function

* feat: communication between simulator and miner

* feat: register mev api

* fix: mev api

* fix: some bug

* fix: miner and simulator interaction

* feat: bid init

* feat: bid simulate function

* feat: rebase validator-dev

* feat: validator-dev

* fix: mev api

* fix: some bug

* fix: miner and simulator interaction

* perf: debug log

* feat: loop wait impl (#125)

* feat: process optimization

* feat: add blob support

* feat: blob sidecar store

* perf: unuse code and debug log

* fix: magic number

---------

Co-authored-by: cbh876 <3930922419@qq.com>

* fix: fix validate_reorg func to reduce slash (#131)

* fix: fix validate reorg to reduce slash

* chore: fix return under exception handling

* chore: polish some trivals

* chore: add more warn log

* chore: polish trivals

* chore: polish trivals

* chore: polish some trivals

* chore: update reth deps

* chore: update deps

* chore: polish qa hf ts

* chore: remove useless code

* chore: update deps

* parlia: fix FF voting issues, support peer TD updates; (#134)

* p2p: opt bsc protocol;

* parlia: opt FF voting logic;

* chore: fix some ci issues;

* chore: fix some ci issues;

---------

Co-authored-by: galaio <galaio@users.noreply.github.com>

* chore: update deps

* chore: polish assembler inital func (#135)

* chore: update reth deps (#136)

---------

Co-authored-by: Matus Kysel <matus.kysel@bnbchain.org>
Co-authored-by: will-2012 <117156346+will-2012@users.noreply.github.com>
Co-authored-by: Matus Kysel <MatusKysel@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: ruojunm <46366167+ruojunm@users.noreply.github.com>
Co-authored-by: Clyde <clyde.m@nodereal.io>
Co-authored-by: constwz <122766871+constwz@users.noreply.github.com>
Co-authored-by: Matus Kysel <matuskysel1@gmail.com>
Co-authored-by: galaio <12880651+galaio@users.noreply.github.com>
Co-authored-by: galaio <galaio@users.noreply.github.com>
Co-authored-by: cbh876 <3930922419@qq.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants