Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Sergej Kostjucenko
cargo-contract
Commits
37360933
Unverified
Commit
37360933
authored
Apr 26, 2022
by
Andrew Jones
Committed by
GitHub
Apr 26, 2022
Browse files
Fix extrinsic params for contract chains (#523)
* Fix extrinsic params for contract chains * Update CHANGELOG.md
parent
6c0d5216
Changes
2
Hide whitespace changes
Inline
Side-by-side
CHANGELOG.md
View file @
37360933
...
...
@@ -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
...
...
src/cmd/extrinsics/mod.rs
View file @
37360933
...
...
@@ -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
::
Substrate
ExtrinsicParams
<
DefaultConfig
>
;
type
SignedExtra
=
subxt
::
Polkadot
ExtrinsicParams
<
DefaultConfig
>
;
type
RuntimeApi
=
runtime_api
::
api
::
RuntimeApi
<
DefaultConfig
,
SignedExtra
>
;
/// Arguments required for creating and sending an extrinsic to a substrate node.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment