keep-starknet-strange / abi-wan-kanabi

Abi parser for Cairo smart contracts, based on wagmi abitype
The Unlicense
59 stars 18 forks source link

Fix function call with options #48

Closed haroune-mohammedi closed 8 months ago

haroune-mohammedi commented 9 months ago

While trying to make abiwan fully compatible with starknet.js as per https://github.com/starknet-io/starknet.js/issues/877, I started by running the tests in ./__tests__/cairo1_typed.test.ts and discovered the order of options argument is not the same as starknet.js

The goal of this issue is simply to fix that, even though the goal is simple it doens't mean the solution is simple ! Will see!