Skip to content

Commit

Permalink
Fix extrinsic params for contract chains (#523)
Browse files Browse the repository at this point in the history
* Fix extrinsic params for contract chains

* Update CHANGELOG.md
  • Loading branch information
ascjones authored Apr 26, 2022
1 parent 6c0d521 commit 3736093
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Fixed
- Fix extrinsic params for contract chains - [#523](https://github.com/paritytech/cargo-contract/pull/523)

## [1.2.0] - 2022-04-13

### Added
Expand Down
2 changes: 1 addition & 1 deletion src/cmd/extrinsics/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ type Balance = u128;
type CodeHash = <DefaultConfig as Config>::Hash;
type ContractAccount = <DefaultConfig as Config>::AccountId;
type PairSigner = subxt::PairSigner<DefaultConfig, sp_core::sr25519::Pair>;
type SignedExtra = subxt::SubstrateExtrinsicParams<DefaultConfig>;
type SignedExtra = subxt::PolkadotExtrinsicParams<DefaultConfig>;
type RuntimeApi = runtime_api::api::RuntimeApi<DefaultConfig, SignedExtra>;

/// Arguments required for creating and sending an extrinsic to a substrate node.
Expand Down

0 comments on commit 3736093

Please sign in to comment.