goldfinch-eng/mono

Error: call revert exception

Opened this issue · 0 comments

When calling setupForTesting, the following error pops up:

Error: call revert exception (method="creditLine()", errorArgs=null, errorName=null, errorSignature=null, reason=null, code=CALL_EXCEPTION, version=abi/5.4.1)

Line of code that triggers it: https://github.com/goldfinch-eng/mono/blob/main/packages/protocol/blockchain_scripts/setUpForTesting.ts#L234

From what I've read on the internet, it may be caused by the creditLine not being present in the contract. Any hints to solve this?