Closed PierreOssun closed 7 months ago
i am unable to build your contract due to several errors. could you please provide a compiled contract? are you able to use it in polkadot js apps?
Was able to reproduce this. Quite interesting. Not sure what might be going wrong here.
PS: It works fine in polakdotjsUI > Contracts
@PierreOssun Is this still the case for you? I get the exact same error response in pjs contracts ui. However, I only tested totalSupply()
.
Looked into it today. Contract is not available and all other contracts I've tried work fine. Same behaviour on pjs apps and contracts ui. Feel free to open another issue and provide the contract again.
Describe the bug When I want to interact with my contract (query dry-run or message functions) I got
Decoding Error
. In the console I can see it come from an err increateType()
PS: It works fine in polakdotjsUI > ContractsTo Reproduce Steps to reproduce the behavior:
Expected behavior No decoding error
Screenshots
Desktop (please complete the following information):
Environment (please complete the following information where it makes sense): See contract metadata Contract code: https://github.com/AstarNetwork/ink-xvm-sdk/tree/feat/upgrade/ink/contracts/erc20
Additional context Contract metadata: