Support both common `SignedExtra` definitions
Created by: ascjones
Should dynamically detect whether to use:
Can determine from the runtime subxt metadata which the target chain supports and then construct a transaction using that. At the moment e.g. the Substrate default node-runtime
implements AssetTip
whereas both substrate-contracts-node
and the cumulus contracts parachain implement the PlainTip
.See https://github.com/paritytech/cargo-contract/pull/523.
This means that at the moment cargo-contract
will only support interacting with contracts on the latter.
Additionally we could alter the names of the PolkadotExtrinsicParams
and SubstrateExtrinsicParams
aliases in subxt