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.tomldiffbeforeafterboth1################################################################################2# Package34[package]5authors = ['Unique Network <support@uniquenetwork.io>']6description = 'Unique Pallet'7edition = '2021'8homepage = 'https://unique.network'9license = 'GPLv3'10name = 'pallet-unique'11repository = 'https://github.com/UniqueNetwork/unique-chain'12version = "0.2.1"1314[package.metadata.docs.rs]15targets = ['x86_64-unknown-linux-gnu']1617[features]18default = ['std']19limit-testing = ["up-data-structs/limit-testing"]20runtime-benchmarks = ['frame-benchmarking', 'pallet-common/runtime-benchmarks']21std = [22 'evm-coder/std',23 'frame-benchmarking/std',24 'frame-support/std',25 'frame-system/std',26 'pallet-balances-adapter/std',27 'pallet-common/std',28 'pallet-evm-coder-substrate/std',29 'pallet-evm/std',30 'pallet-nonfungible/std',31 'parity-scale-codec/std',32 'sp-runtime/std',33 'sp-std/std',34 'up-common/std',35 'up-data-structs/std',36 'pallet-structure/std',37]38stubgen = ["evm-coder/stubgen", "pallet-common/stubgen"]39try-runtime = ["frame-support/try-runtime"]4041################################################################################42# Local Dependencies43[dependencies]44parity-scale-codec = { workspace = true }4546ethereum = { workspace = true }47evm-coder = { workspace = true }48frame-benchmarking = { workspace = true, optional = true }49frame-support = { workspace = true }50frame-system = { workspace = true }51log = { workspace = true }52pallet-balances-adapter = { workspace = true }53pallet-common = { workspace = true }54pallet-evm = { workspace = true }55pallet-evm-coder-substrate = { workspace = true }56pallet-nonfungible = { workspace = true }57pallet-refungible = { workspace = true }58pallet-structure = { workspace = true }59scale-info = { workspace = true }60sp-core = { workspace = true }61sp-io = { workspace = true }62sp-runtime = { workspace = true }63sp-std = { workspace = true }64up-common = { workspace = true }65up-data-structs = { workspace = true }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
);
});
}