Open notV4l opened 1 year ago
Actually this types are handle as common numeric types :
https://github.com/0xSpaceShard/starknet-hardhat-plugin/blob/afc83b3a5892caab6cfbc64701422521f4de43af/src/adapt.ts#L8-L20
It could be converted to hex representation ie : 3407481119780572850671182801001023516830125398818876583940565901076194792664 would decode to 0x78890e347461d95a8eacddaeb35b577f4ef29a6fbf825326d8d97022e2a14d8
3407481119780572850671182801001023516830125398818876583940565901076194792664
0x78890e347461d95a8eacddaeb35b577f4ef29a6fbf825326d8d97022e2a14d8
Would make sense for ContractAddress, ClassHash and EthAddress. But this would be a breaking change.
Actually this types are handle as common numeric types :
https://github.com/0xSpaceShard/starknet-hardhat-plugin/blob/afc83b3a5892caab6cfbc64701422521f4de43af/src/adapt.ts#L8-L20
It could be converted to hex representation ie :
3407481119780572850671182801001023516830125398818876583940565901076194792664
would decode to0x78890e347461d95a8eacddaeb35b577f4ef29a6fbf825326d8d97022e2a14d8