Closed ptisserand closed 3 months ago
While doing node guardians quest, I have found that account contract interface is different between cairo legacy and cairo.
In cairo legacy: __execute__( call_array_len: felt, call_array: AccountCallArray*, calldata_len: felt, calldata: felt*)
__execute__( call_array_len: felt, call_array: AccountCallArray*, calldata_len: felt, calldata: felt*)
In OpenZeppellin: __execute__( mut calls: Array<Call>)
__execute__( mut calls: Array<Call>)
We should query the contract to know which interface is supported.
See starknet.js implementation
ArgentX update their account contract, so updated account are not more usable from starknet.dart
While doing node guardians quest, I have found that account contract interface is different between cairo legacy and cairo.
In cairo legacy:
__execute__( call_array_len: felt, call_array: AccountCallArray*, calldata_len: felt, calldata: felt*)
In OpenZeppellin:
__execute__( mut calls: Array<Call>)
We should query the contract to know which interface is supported.