The Nabla test use a MockERC20 contract. These contracts are an extension of the default open zeppelin ERC20 contracts with additional mint and burn functions.
These contracts should be replaced with the ERC20Wrapper contracts defined in the pendulum-ink-wrapper. However, this contract does not have mint and burn functions and the chain extensions in the foucoco-standalone chain doesn't provide this functionality either.
TODO
- add mint and burn functions to the chain extension of the foucoco-standalone chain
- add a new
TestableERC20Wrapper contract to the pendulum-ink-wrapper repository that has burn and mint functions and that uses the chain extensions
- replace the
MockERC20 definition in nabla/config.json by referring to the TestableERC20Wrapper contract
The Nabla test use a
MockERC20contract. These contracts are an extension of the default open zeppelin ERC20 contracts with additional mint and burn functions.These contracts should be replaced with the
ERC20Wrappercontracts defined in thependulum-ink-wrapper. However, this contract does not have mint and burn functions and the chain extensions in the foucoco-standalone chain doesn't provide this functionality either.TODO
TestableERC20Wrappercontract to the pendulum-ink-wrapper repository that has burn and mint functions and that uses the chain extensionsMockERC20definition innabla/config.jsonby referring to theTestableERC20Wrappercontract