You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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 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
The text was updated successfully, but these errors were encountered: