Describe the bug
Try to interact with a Cairo function that use the type NonZero generates an Error.
To Reproduce
The contract 0x07be990e59999c2e4210d2e42f99c5701bb641da25ccccad14b206c2f0acb2c2 deployed in Sepolia Testnet has a pause function using NonZero :
Error: Validate Unhandled: argument some_param, type core::zeroable::NonZero::<core::integer::u128>, value 200
at /D/starknetFork/starknet.js/src/utils/calldata/validate.ts:320:15
Expected behavior
Full compatibility with core::zerable.
Screenshots
N/A
Desktop (please complete the following information):
Browser & version [e.g. chrome, safari, webworker] N/A
Node version [e.g. 16.0.1]
Starknet.js version v6.9.0
Network [devnet, testnet]
Additional context
I will investigate is there are other types in core::zeroable that fails also.
Describe the bug Try to interact with a Cairo function that use the type
NonZero
generates an Error.To Reproduce The contract
0x07be990e59999c2e4210d2e42f99c5701bb641da25ccccad14b206c2f0acb2c2
deployed in Sepolia Testnet has apause
function usingNonZero
:code :
Error :
Expected behavior Full compatibility with
core::zerable
.Screenshots N/A Desktop (please complete the following information):
Additional context I will investigate is there are other types in
core::zeroable
that fails also.