Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* restructure * add profile contract * add storage log * fix staking test * fix fixture * Revert "fix fixture" This reverts commit f53277e. * fix hardhat deploy path * fix deploy script * rollback initializerV1 * restructure profile contract * fix fixture * fix dependent test * fix dependent test * fix: profile execApply * fix hardhat deploy src path * rollback NON_VALIDATOR slash type * follow new code convention * feat: support change admin address * fix: inheritance graph * fix: fix test setup * add dev comment * fix rebase issue * rename for convention * add enum for custom error * udvt TPoolId * Revert "udvt TPoolId" This reverts commit 0f2c107. * distinguish poolId vs consensus * declare TPoolId type * remove mockup contract * remove bridge operator change method * rename interface param * remove comment * refactor * revert casting in coinbase * Remove TPoolId. Using TConsensus. * fix test * remove public vars * remove more public vars * remove redundant code * wrap all external method to TConsensus type * fix config * fix test init * fix mock * fix test * fix test * add comment * fix helper * restructure * fix edge case * fix conventions * add docs * fix: foundry config * chore: fix conventions * fix: remove bridge voter * fix: change inheritance tree * Merge branch 'feat/fast-finality' into feat/profile * fix: fix test setup * Merge branch 'feat/bridge-admin-rebase' into feat/profile * fix test after merging * chore: add TODO tag * tmp disable forge test * fix fixture * update ci * Continue merge branch 'testnet' into feat/profile * fix test setup * fix more test setup * fix test * fix test & improve conf test * refactor initializer * apply initializer for test suites * fix fast finality test * fix initializers * chore: resolve conflict * feat(Profile): remove unused method, fix execApplyCandidate * feat(Profile, Staking): require pubkey at apply candidate, fix init test * test(Profile): fix other dependent tests * chore: fix test * feat(ValidatorSet): recover slot shifted * fix(Profile): cherry-pick fix from 'test/feat/profile' * fix(SlashFastFinality): fix wrapper for consensus * chore: resolve low-level call warning * temp(*): rename to cid, pid, _shadowed** * feat(ValidatorSet): cached admin * feat(Profile, ValidatorSet): handle execChangeAdminAddress * feat(Staking): rename admin to `__shadowPoolAdmin` * feat(Profile): handle change treasury, fix missing rename * chore(Validator): rename to *ById suffix * chore: rename `_convert*C2P` * chore(Validator): remove old version contract * chore(docs): write natspecs doc for struct * chore(*): remove `_` for consistent var names * chore(docs): NatSpecs for __css2cid * chore: remove compiler warning * feat(TrustedOrg): handle change consensus for Trusted Org * feat(SlashIndicator): remove code related to bridge * chore: clean up PR, remove unrelated files * fix(Staking): fix inaccurate shifted gap * chore(ValidatorSet): consist interface * chore(ValidatorSet, Staking): move callbacks to separate files * chore(ValidatorSet): refactor callbacks * chore: remove log * fix(TrustedOrg): remove onlyAdmin in initV2, fix test * test: fix test after restrict not allowing rejoin in Profile * test: fix more test * feat(RoninTO): fix bug when change consensus in RoninTO * chore: fix rebase issue * fix(RoninTO): delete deprecated storage * chore: rename consensus to cid * fix(GovernanceAdmin): fix emergency exit typehash * test(*): fix deprecated voter for test setup * feat(RoninTO): return address(0) for bridge voter * chore: fix typo * chore: fix deprecatedVoter in test * feat(RoninTO): rename for consistency * feat(Validator): better handling emergency exit revert * feat(EmergencyExit): revert to original typehash * fix(Profile); rename check to require * feat: migrate registry for renounced candidates * feat(Profile): fix migration * add script * fix: fix initialV2 script of Profile * fix: gasAmount of init Profile * fix: pass proxy to initialize * deploy: add artifacts * chore: fix command
- Loading branch information