Repository navigation
Merge v1.0.27 from core-chain - #17
Merged
Merged
Conversation
Adds the Fermi fork: a one-time, mainnet-only state adjustment applied at the transition block. Follows the established CoreRewardFix pattern — new fork time in the chain config, Is/IsOn predicates, and a single apply() wired into both block processing and block building, gated on chainId 1116. The adjustment moves the full balance of a fixed set of single-owner accounts to a recipient account; it is balance-conserving (sum debited == sum credited), so total supply is unchanged. Applied exactly once at the first block at or after FermiTime. FermiTime is set to a near-future timestamp; every validator must upgrade before it, or an un-upgraded node continues on a divergent state root. Includes unit tests covering the move, supply conservation, idempotence, and the recipient-not-a-source invariant.
# Conflicts: # .github/workflows/commit-lint.yml # .github/workflows/docker-release.yml # .github/workflows/nancy.yml # .github/workflows/unit-test.yml # core/state_processor.go # miner/worker.go # params/config.go # params/version.go # version/version.go
This file contains hidden or 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
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.
合并上游 coredao-org/core-chain 的 v1.0.27 版本。
主要变更(来自上游):
misc.ApplyFermiAdjustment(consensus/misc/fermi.go)冲突处理:
core/state_processor.go、miner/worker.go、params/config.go、params/version.go、version/version.go的冲突均为上游新增内容,本地无定制改动,直接采用上游版本验证:
CGO_ENABLED=1 go build ./cmd/geth ./params ./core ./miner通过go vet ./params ./core ./miner通过🤖 Generated with Claude Code