v0.13.1
Hey guys, I've encountered some issues when refactoring the code from -> () return types to -> Result<(), Error> return types. For some reason, Redspot cannot construct the error types, while they are definitely present in the ABI.
This is the example (which is generated by npx redspot-new command). I've removed some irrelevant stuff from there, only left one test in erc20.tests.ts. Please see the repository and try to run the test yourself (yarn build && yarn test). The contract is unchanged.
This works in polkadot js apps


v0.13.1
Hey guys, I've encountered some issues when refactoring the code from
-> ()return types to-> Result<(), Error>return types. For some reason, Redspot cannot construct the error types, while they are definitely present in the ABI.This is the example (which is generated by
npx redspot-newcommand). I've removed some irrelevant stuff from there, only left one test inerc20.tests.ts. Please see the repository and try to run the test yourself (yarn build && yarn test). The contract is unchanged.This works in polkadot js apps