Closed peetzweg closed 1 year ago
Name | Link |
---|---|
Latest commit | 30a806c17d2019fda6606ed063cdf61ed815dd99 |
Latest deploy log | https://app.netlify.com/sites/contracts-ui/deploys/645a4eeb394333000891d0d1 |
Deploy Preview | https://deploy-preview-470--contracts-ui.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site settings.
The decoded values for Option<Some>
and Option<None>
look wrong to me, wdyt @statictype ?
The decoded values for Option
and Option look wrong to me, wdyt @statictype
It's correct actually, the Option
returns nothing in the Some
branch
The decoded values for Option and Option look wrong to me, wdyt @statictype
It's correct actually, the
Option
returns nothing in theSome
branch
Ah true, I forgot to return something else than the unit value. I adapted the contract and updated this branch. Will return a bool for Ok Result and Some Option.
Furthermore I removed the code related to the Mapping type. Afaik an ink message is not able to return a whole mapping only individual values or an array.
https://github.com/paritytech/ink/pull/1762#commits-pushed-c35b47a
adds snapshot testing of the dryrun results of the functions from the "storage_types" contract. Contract source can be found here: https://github.com/paritytech/ink/pull/1762