Skip to content

Bug: EscrowTransaction table Inconsistent #846

Closed
@andy-shi88

Description

@andy-shi88

Description

There is an inconsistency in the escrow_transaction table, in the timeout and block_height field.

This can cause invalid snapshot file hash later when generated.

Causes:

  • download block behaves differently than generate or broadcast tx, in download block the timeout field is already incremented with the said current block height,
  • when applying escrow transaction in download block, it should not increment the timeout again.

Solution:

  • breaking change:
    • insert timeout field as client fill and calculate expiration on the go.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BUGSomething isn't workingCOREcore functionalitiesHIGH_PRIORITYneeded ASAP for current sprintREQUIRE_RESETrequire changes that are not backward compatible, blockchain reset needed

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions