Closed bingen closed 1 year ago
Why is this failing?
Failing tests:
Encountered 1 failing test in src/test/ChickenBondManagerDevTest.t.sol:ChickenBondManagerDevTest
[FAIL. Reason: Error != expected error: 'CBM: Bond minimum amount not reached' != 'CBM: Amount must be > 0'] testCreateBondRevertsWithZeroInputAmount() (gas: 40859)
Ah, I'm dumb, just need to update expected revert message in the test!
In practice, we can still use 1e-18 if we don’t want to enforce a min value.
Fixes #222.