This repository has been archived by the owner on Jun 30, 2023. It is now read-only.
forked from akula-bft/akula
-
Notifications
You must be signed in to change notification settings - Fork 10
Introduce parlia to akula #8
Merged
brilliant-lx
merged 49 commits into
bnb-chain:develop_parlia
from
galaio:introduce_parlia
Sep 19, 2022
Merged
Introduce parlia to akula #8
brilliant-lx
merged 49 commits into
bnb-chain:develop_parlia
from
galaio:introduce_parlia
Sep 19, 2022
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
…ft#226)" (akula-bft#269) This reverts commit 58def81.
…tion and fork choice (akula-bft#297)
* add bsc.ron, same as goerli, which is a PoSA testnet cp src/res/chainspec/goerli.ron src/res/chainspec/bsc.ron * update bsc.ron, calculate system contract's codehash * bsc genesis block is generated with correct blockhash * add bsc forks: mirrorsync, bruno, euler After this commit, block data of bsc network can be downloaded with: ./target/debug/akula --chain bsc --max-block 1000000 --datadir ~/Library/akula_bsc * remove some debug log
* precompiled contract integration with bsc client Signed-off-by: cryyl <[email protected]> * upgrade system contract Signed-off-by: cryyl <[email protected]> * update Cargo.lock Signed-off-by: cryyl <[email protected]> Signed-off-by: cryyl <[email protected]>
feat: impl bsc mainnet and testnet full sync. details: opt akula consensus Trait for parlia; add parlia's system gas caculate; add parlia's system tx and validators check; add parlia's snapshot and SnapRW Trait; add parlia's hardfork logic; add parlia's genesis configs; debug and fix bsc mainnet or testnet fullsync bugs;
adjust parlia struct; remove useless declares; fix review issues; opt go_rng file;
galaio
added
R4R
ready for review for PR
and removed
WIP
tag work in progress for PR
labels
Sep 19, 2022
brilliant-lx
approved these changes
Sep 19, 2022
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Introduce parlia consensus to support BSC network.
Scope:
Support block synchronization on both BSC testnet and mainnet. Details:
Parlia consensus integrated.
Few modifications around EVM.
Two precompiled smart contracts are integrated. (Tendermint Light Client and IAVL Merkel Prover)
Hard fork on BSC network.
Consensus adapt to Hard fork.