Skip to content

Mitigation Confirmed for M-01 #50

@code423n4

Description

@code423n4

Issue mitigated

Original issue: M-01: Battery discharge mechanism doesn't work correctly for first redemption

Explanation

  • Issue was that battery lastTimestamp isn't initialized
  • As part of mitigation of other issues the battery was replaced with the throttle library, which also has the lastTimestamp field
  • The throttle library is now used also for issuance
  • Under the mitigation lastTimestamp for both of them is initialized here
  • The only field in the Throttle struct that isn't initialized is lastAvailable, which means it'll be zero, but this seems expected behavior
  • Therefore, issue seems mitigated

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions