You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am working on a chain for the PBA where we would like to use both evm and pallet contracts. We have chosen to use the ethereum style AccountId20 type for the entire Substrate runtime. Luckily pallet contracts is generic over the account id and handles this properly.
I am working on a chain for the PBA where we would like to use both evm and pallet contracts. We have chosen to use the ethereum style
AccountId20
type for the entire Substrate runtime. Luckily pallet contracts is generic over the account id and handles this properly.However, it seems that cargo contract assumes the chain will use
AccountId32
. For example, here is one place I see it https://github.com/paritytech/cargo-contract/blob/master/crates/cargo-contract/src/cmd/extrinsics/instantiate.rs#L332Is it possible to generalize cargo contract to work with
AccoutId20
?The text was updated successfully, but these errors were encountered: