Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[r4r]Introduce Casper FFG based Fast finality onto BSC (#255)
* [WIP]Fast Finality: reward distribution and slash parts (#8) * Update codes * Fix review comments and update test * Fix code errors related contract SystemReward and BSCValidatorSet * Fix code errors related invalid opcode and add new api * Optimize gasused of updateValidator and update test * Minor error fixed * Fix review comments and update scripts * Fix init issue * Fix external view issue and update test * Fix review comments * Update for new fast finality rules and related issues * Revert code format changes * Resolve conflict * Update contracts' abi * Update finality reward related events * Fix some audit comments * resolve conflict and adapt to new precompile bls verify contract * fix: recover deleted verifyBLSSignature function call * fix: revert modification for local unit test * fix: errors with template * fix rebase errors * update contract abi * update finality reward distribution logic * update reward calculation using SafeMath lib --------- Co-authored-by: Roshan <[email protected]>
- Loading branch information