-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade dependencies to polkadot v1.6.0
#389
Conversation
@@ -214,19 +213,12 @@ pub mod pallet { | |||
/// Just the `Currency::Balance` type; we have this item to allow us to | |||
/// constrain it to `From<u64>`. | |||
/// Note: Definition taken from pallet_gilt | |||
type CurrencyBalance: sp_runtime::traits::AtLeast32BitUnsigned |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
all of these traits are not needed because they are already included in BalanceT
trait
@@ -134,8 +134,11 @@ where | |||
handle.record_cost(GasCalculator::<Runtime>::weight_to_gas(consumed_weight))?; | |||
|
|||
// Record Substrate related costs | |||
// TODO: Add `ref_time` when precompiles are benchmarked |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this was fixed by upstream frontier
type OutboundXcmpMessageSource = XcmpQueue; | ||
type DmpMessageHandler = DmpQueue; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
DmpQueue
replaced by MessageQueue
paritytech/polkadot-sdk#1246
@@ -3,10 +3,11 @@ | |||
#![cfg(test)] | |||
mod precompile_tests; | |||
mod version_tests; | |||
mod xcm_mock; | |||
mod xcm_tests; | |||
// TODO: uncomment this once we are using deps from crates.io |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
orml
crates use deps from crates.io
which causes version mismatch between polkadot-sdk
deps and causes xcm-tests
to fail. Generic refactor of xcm tests is needed:
- remove dependency on
orml
crates - replace usage of
DmpQueue
withMessageQueue
, see above why
@@ -44,7 +44,7 @@ pub type LocationToAccountId = ( | |||
); | |||
|
|||
/// Means for transacting assets on this chain. | |||
pub type LocalAssetTransactor = CurrencyAdapter< | |||
pub type LocalAssetTransactor = FungibleAdapter< |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CurrencyAdapter
replaced by FungiblesAdapter
paritytech/polkadot-sdk#3287
Overview
paritytech/polkadot-sdk@release-polkadot-v1.1.0...release-polkadot-v1.6.0
polkadot-evm/frontier@polkadot-v1.1.0...polkadot-v1.6.0
Notable changes
cumulus-parachain-template
unless commented otherwise