difftreelog
test fix build
in: master
5 files changed
node/cli/Cargo.tomldiffbeforeafterboth--- a/node/cli/Cargo.toml
+++ b/node/cli/Cargo.toml
@@ -114,9 +114,7 @@
'quartz-runtime?/gov-test-timings',
'unique-runtime?/gov-test-timings',
]
-lookahead = [
- 'opal-runtime/lookahead'
-]
+lookahead = ['opal-runtime/lookahead']
pov-estimate = [
'opal-runtime/pov-estimate',
'quartz-runtime?/pov-estimate',
pallets/inflation/src/tests.rsdiffbeforeafterboth--- a/pallets/inflation/src/tests.rs
+++ b/pallets/inflation/src/tests.rs
@@ -122,7 +122,7 @@
type Currency = Balances;
type TreasuryAccountId = TreasuryAccountId;
type InflationBlockInterval = InflationBlockInterval;
- type BlockNumberProvider = MockBlockNumberProvider;
+ type OnInitializeBlockNumberProvider = MockBlockNumberProvider;
}
pub fn new_test_ext() -> sp_io::TestExternalities {
pallets/unique/Cargo.tomldiffbeforeafterboth28 'pallet-evm-coder-substrate/std',28 'pallet-evm-coder-substrate/std',29 'pallet-evm/std',29 'pallet-evm/std',30 'pallet-nonfungible/std',30 'pallet-nonfungible/std',31 'pallet-structure/std',31 'parity-scale-codec/std',32 'parity-scale-codec/std',32 'sp-runtime/std',33 'sp-runtime/std',33 'sp-std/std',34 'sp-std/std',34 'up-common/std',35 'up-common/std',35 'up-data-structs/std',36 'up-data-structs/std',36 'pallet-structure/std',37]37]38stubgen = ["evm-coder/stubgen", "pallet-common/stubgen"]38stubgen = ["evm-coder/stubgen", "pallet-common/stubgen"]39try-runtime = ["frame-support/try-runtime"]39try-runtime = ["frame-support/try-runtime"]runtime/opal/Cargo.tomldiffbeforeafterboth--- a/runtime/opal/Cargo.toml
+++ b/runtime/opal/Cargo.toml
@@ -137,7 +137,7 @@
'sp-runtime/std',
'sp-session/std',
'sp-std/std',
- 'sp-storage/std',
+ 'sp-storage/std',
'sp-transaction-pool/std',
'sp-version/std',
'staging-xcm-builder/std',
@@ -228,10 +228,10 @@
foreign-assets = []
gov-test-timings = []
governance = []
+lookahead = []
preimage = []
refungible = []
session-test-timings = []
-lookahead = []
################################################################################
# local dependencies
runtime/tests/src/tests.rsdiffbeforeafterboth--- a/runtime/tests/src/tests.rs
+++ b/runtime/tests/src/tests.rs
@@ -1161,7 +1161,7 @@
// Try to burn item using Token ID
assert_noop!(
Unique::burn_item(origin1, CollectionId(1), TokenId(1), 5).map_err(|e| e.error),
- <pallet_fungible::Error::<Test>>::FungibleItemsHaveNoId
+ <CommonError::<Test>>::FungibleItemsHaveNoId
);
});
}