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.tomldiffbeforeafterboth--- a/pallets/unique/Cargo.toml
+++ b/pallets/unique/Cargo.toml
@@ -28,12 +28,12 @@
'pallet-evm-coder-substrate/std',
'pallet-evm/std',
'pallet-nonfungible/std',
+ 'pallet-structure/std',
'parity-scale-codec/std',
'sp-runtime/std',
'sp-std/std',
'up-common/std',
'up-data-structs/std',
- 'pallet-structure/std',
]
stubgen = ["evm-coder/stubgen", "pallet-common/stubgen"]
try-runtime = ["frame-support/try-runtime"]
runtime/opal/Cargo.tomldiffbeforeafterboth228foreign-assets = []228foreign-assets = []229gov-test-timings = []229gov-test-timings = []230governance = []230governance = []231lookahead = []231preimage = []232preimage = []232refungible = []233refungible = []233session-test-timings = []234session-test-timings = []234lookahead = []235235236################################################################################236################################################################################237# local dependencies237# local dependenciesruntime/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
);
});
}