Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add comments around testData().expirationBlock
- explicitly warn not to hard-code the value and point to examples/loan-cycle.ts - explicitly mention that this function is used only for testing Developer note: testData() is used in many places (I also think as part of creditcoin-squid test suite) usually prior to calling beforeAll() and thus the Creditcoin API isn't initialized yet. IMO it's too many changes just to be able to read the last block number from a running chain.
- Loading branch information