ContractAddress, ClassHash and EthAddress decoding
notV4l opened this issue · 1 comments
notV4l commented
Actually this types are handle as common numeric types :
starknet-hardhat-plugin/src/adapt.ts
Lines 8 to 20 in afc83b3
It could be converted to hex representation
ie :
3407481119780572850671182801001023516830125398818876583940565901076194792664
would decode to 0x78890e347461d95a8eacddaeb35b577f4ef29a6fbf825326d8d97022e2a14d8
FabijanC commented
Would make sense for ContractAddress, ClassHash and EthAddress. But this would be a breaking change.