mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 09:51:10 +00:00
Use primitives reexported from polkadot_primitives crate root (#2067)
* Use primitives reexported from `polkadot_primitives` crate root
* restart CI
* Fixes after merge
* update lockfile for {"polkadot", "substrate"}
Co-authored-by: parity-processbot <>
This commit is contained in:
@@ -31,7 +31,7 @@ use frame_support::{
|
||||
};
|
||||
use frame_system::RawOrigin;
|
||||
use hex_literal::hex;
|
||||
use relay_chain::v2::HrmpChannelId;
|
||||
use relay_chain::HrmpChannelId;
|
||||
use sp_core::H256;
|
||||
use sp_runtime::{
|
||||
testing::Header,
|
||||
@@ -391,7 +391,7 @@ fn events() {
|
||||
BlockTests::new()
|
||||
.with_relay_sproof_builder(|_, block_number, builder| {
|
||||
if block_number > 123 {
|
||||
builder.upgrade_go_ahead = Some(relay_chain::v2::UpgradeGoAhead::GoAhead);
|
||||
builder.upgrade_go_ahead = Some(relay_chain::UpgradeGoAhead::GoAhead);
|
||||
}
|
||||
})
|
||||
.add_with_post_test(
|
||||
@@ -445,7 +445,7 @@ fn manipulates_storage() {
|
||||
BlockTests::new()
|
||||
.with_relay_sproof_builder(|_, block_number, builder| {
|
||||
if block_number > 123 {
|
||||
builder.upgrade_go_ahead = Some(relay_chain::v2::UpgradeGoAhead::GoAhead);
|
||||
builder.upgrade_go_ahead = Some(relay_chain::UpgradeGoAhead::GoAhead);
|
||||
}
|
||||
})
|
||||
.add(123, || {
|
||||
@@ -473,7 +473,7 @@ fn aborted_upgrade() {
|
||||
BlockTests::new()
|
||||
.with_relay_sproof_builder(|_, block_number, builder| {
|
||||
if block_number > 123 {
|
||||
builder.upgrade_go_ahead = Some(relay_chain::v2::UpgradeGoAhead::Abort);
|
||||
builder.upgrade_go_ahead = Some(relay_chain::UpgradeGoAhead::Abort);
|
||||
}
|
||||
})
|
||||
.add(123, || {
|
||||
|
||||
Reference in New Issue
Block a user