Summary
get_committed_amount() tracks tokens promised to approved proposals. There are no tests verifying this counter increments when approval threshold is reached, decrements on execution, and decrements on cancellation.
Tasks
Labels: testing, forge-multisig
Summary
get_committed_amount()tracks tokens promised to approved proposals. There are no tests verifying this counter increments when approval threshold is reached, decrements on execution, and decrements on cancellation.Tasks
500tokens — assertget_committed_amount(token) == 0(threshold not reached)get_committed_amount(token) == 500300tokens and approve — assertget_committed_amount(token) == 800get_committed_amount(token) == 300get_committed_amount(token) == 0get_committed_amount()for a token with no proposals returns0Labels:
testing,forge-multisig