Open HCastano opened 1 year ago
I tried with the substrate one and it also gives the same error
sp_core::crypto::AccountId32::from_ss58check("5ELdkUcH8gvi1cQdW3chF1nF1mjndDckSrpkzmz8bp9yLYj").unwrap()
Also polkadot.js
doesn't accept it either, so must be an invalid address.
If copied from the output of contract instantiate
maybe there is a bug there.
I instantiated a contract with
cargo contract instantiate
and immediately tried to call a message usingcargo contract call
, which resulted in the following error:When I re-instantiated the contract and tried with a different address the error didn't occur again.
I'm not sure how this could be reproduced, so we may want to try checking the encoding commands with that exact address that I used.