Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v0.6.2-testnet #281

Merged
merged 11 commits into from
Sep 12, 2023
Merged

v0.6.2-testnet #281

merged 11 commits into from
Sep 12, 2023

Commits on Aug 15, 2023

  1. Fix bridge manager relay failed (#273)

    * fix: access out of bound index
    
    * fix: set threshold by internal setter
    
    * add deployment
    
    * fix script
    nxqbao authored Aug 15, 2023
    Configuration menu
    Copy the full SHA
    2e401c3 View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2023

  1. Monitor: Add script for querying admin of all contracts (#275)

    * add script check admin of all contract
    
    * enhance script
    
    * rename
    
    * add mainchain script
    nxqbao authored Aug 16, 2023
    Configuration menu
    Copy the full SHA
    8df80fe View commit details
    Browse the repository at this point in the history
  2. feat: remove s (#271)

    TuDo1403 authored Aug 16, 2023
    Configuration menu
    Copy the full SHA
    58737db View commit details
    Browse the repository at this point in the history
  3. [BridgeManager] Fix admin cannot interact with proxy register (#270)

    * fix: fix cannot notify proxy admin
    
    * fix: fix if logic
    
    * format: update notice comment
    
    * fix: minor format fix
    
    * Revert to 1a2eb1b
    
    * feat: update test
    
    * fix: remove unused
    
    ---------
    
    Co-authored-by: Bao <[email protected]>
    TuDo1403 and nxqbao authored Aug 16, 2023
    Configuration menu
    Copy the full SHA
    f3d7a90 View commit details
    Browse the repository at this point in the history
  4. [Bridge]: Multiple Timed Migrators (#274)

    * feat: add multiple `selfUpgrade`
    
    * feat: add comments, add more tests
    
    * feat: add `WrappedUpEpoch`  event emit check
    
    * feat: add deploy script
    
    * Update src/deploy/ronin-trusted-organization-notified-migrator.ts
    
    Co-authored-by: Bao <[email protected]>
    
    * Update src/deploy/slash-indicator-notified-migrator.ts
    
    Co-authored-by: Bao <[email protected]>
    
    * Update src/deploy/staking-notified-migrator.ts
    
    Co-authored-by: Bao <[email protected]>
    
    * Update test/foundry/forking/REP-002/NewBridgeForkTest.t.sol
    
    Co-authored-by: Bao <[email protected]>
    
    * format: refactor deploy script
    
    * fix: resolve conflict
    
    * format: delete commented code
    
    ---------
    
    Co-authored-by: Bao <[email protected]>
    TuDo1403 and nxqbao authored Aug 16, 2023
    Configuration menu
    Copy the full SHA
    5b06079 View commit details
    Browse the repository at this point in the history
  5. [Test]: Fix broken test case when ABI changed. (#276)

    fix: fix abi in test
    TuDo1403 authored Aug 16, 2023
    Configuration menu
    Copy the full SHA
    0762bc1 View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2023

  1. Restructure Foundry test (#277)

    * split hardhat test vs foundry test
    
    * add rpb test
    
    * add rpb math
    
    * replace type output weight to `uint96`
    
    * fix current test
    
    * add new sample test
    
    * add first unit test
    
    * finalize addBridgeOperator tests
    
    * test more add
    
    * add test for update and get full info
    
    * add test for removing
    
    * add overview tree in foundry test
    
    * restructure test
    
    * add bridge tracking test setup
    
    * add bridge reward test
    
    * add assertion on latest period
    
    * add more test
    
    * update README
    
    * skip unfixed test
    nxqbao authored Aug 22, 2023
    Configuration menu
    Copy the full SHA
    c79e930 View commit details
    Browse the repository at this point in the history

Commits on Aug 23, 2023

  1. [FastFinality] Shorten version of Profile contract for Fast Finality (#…

    …266)
    
    * init commit
    
    * feat: change type of pubkey to bytes
    
    * feat: tmp remove auth on addProfile method
    
    * fix: fix revert on new profile
    
    * deploy: add devnet deployment script and artifacts
    nxqbao authored Aug 23, 2023
    Configuration menu
    Copy the full SHA
    75df9c7 View commit details
    Browse the repository at this point in the history

Commits on Aug 24, 2023

  1. [Finality] Finality tracking and slashing (#279)

    * init commit
    
    * feat: change type of pubkey to bytes
    
    * feat: tmp remove auth on addProfile method
    
    * fix: fix revert on new profile
    
    * deploy: add devnet deployment script and artifacts
    
    * add fast finality tracking
    
    * add prototype for finality tracking
    
    * add slash fast finality contract
    
    * fix storage slot
    
    * add initializer
    
    * add anti relay attack, add comment
    
    * add mock validate fast finality
    
    * add deployments
    
    * fix init array
    
    * fix current test
    
    * add comment
    
    * fix current test
    
    * add first fast finality test
    
    * fix contract, add fast finality test
    
    * fix calc fast finality reward
    
    * add calc reward test
    
    * add only coinbase
    
    * add more test
    
    * fix convention, resolve comments
    
    * fix storage
    
    * Update contracts/ronin/fast-finality/FastFinalityTracking.sol
    
    Co-authored-by: Duc Tho Tran <[email protected]>
    
    * saving gas by unchecked `_tracker`
    
    * fix comments
    
    * fix comment
    
    * fix test helper
    
    * add precompiled test
    
    ---------
    
    Co-authored-by: Duc Tho Tran <[email protected]>
    nxqbao and ducthotran2010 authored Aug 24, 2023
    Configuration menu
    Copy the full SHA
    ab7f591 View commit details
    Browse the repository at this point in the history

Commits on Sep 12, 2023

  1. Deploy Testnet v0.6.2: REP-03 (#280)

    * Execute S3 and S4 in Bridge Detach (#278)
    
    * add modified s3
    
    * rename s4
    
    * rollback hardhat config
    
    * add executed proposals
    
    * restrict caller, fix depl script
    
    * add profile depl
    
    * fix fast finality tracking deploy script, add depl
    
    * add new ronin validator set logic depl
    
    * add upgrade and init script
    
    * upgrade slashing indicator and staking vesting
    
    * fix precompile signature
    
    * fix test
    nxqbao authored Sep 12, 2023
    Configuration menu
    Copy the full SHA
    2957d74 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9ec990c View commit details
    Browse the repository at this point in the history