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

fix(block-producer): exit during bad block challenge #755

Merged
merged 6 commits into from
Jul 12, 2022

Commits on Jul 6, 2022

  1. Configuration menu
    Copy the full SHA
    b6a87ef View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6889e46 View commit details
    Browse the repository at this point in the history
  3. fix(chain): notify mem pool with bad block hash

    If we found a bad block, should notify mem pool with last valid tip
    block hash.
    zeroqn committed Jul 6, 2022
    Configuration menu
    Copy the full SHA
    139c315 View commit details
    Browse the repository at this point in the history
  4. fix(challenger): submit tx failure because PoolRejectedDuplicatedTran…

    …saction
    
    Track last submit tx status, wait if tx is pending or proposed.
    zeroqn committed Jul 6, 2022
    Configuration menu
    Copy the full SHA
    ffbadd3 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    b54ce69 View commit details
    Browse the repository at this point in the history
  6. fix(chain): mempool isn't reset after bad block is reverted

    Should check pending deposits and finalized custodians liveness and
    refresh.
    
    Deposit cell may pass cancel timeout and get reclaimed.
    Finalized custodian cell may be merged in bad block tx, and this will
    not be reverted.
    zeroqn committed Jul 6, 2022
    Configuration menu
    Copy the full SHA
    e0ac5a5 View commit details
    Browse the repository at this point in the history