--- 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', --- 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 { --- 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"] --- 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 --- 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), - >::FungibleItemsHaveNoId + >::FungibleItemsHaveNoId ); }); }