Skip to content

Commit

Permalink
fix: assert_last_event
Browse files Browse the repository at this point in the history
  • Loading branch information
wischli committed Nov 1, 2023
1 parent 32f0db7 commit 835a856
Show file tree
Hide file tree
Showing 16 changed files with 1,125 additions and 1,110 deletions.
886 changes: 443 additions & 443 deletions Cargo.lock

Large diffs are not rendered by default.

640 changes: 323 additions & 317 deletions Cargo.toml

Large diffs are not rendered by default.

18 changes: 9 additions & 9 deletions libs/primitives/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,21 +45,21 @@ runtime-benchmarks = [
"xcm-executor/runtime-benchmarks",
]
std = [
"serde/std",
"codec/std",
"sp-io/std",
"sp-std/std",
"scale-info/std",
"sp-core/std",
"cumulus-primitives-core/std",
"frame-support/std",
"sp-runtime/std",
"sp-arithmetic/std",
"frame-system/std",
"pallet-collective/std",
"scale-info/std",
"serde/std",
"sp-arithmetic/std",
"sp-consensus-aura/std",
"cumulus-primitives-core/std",
"xcm/std",
"sp-core/std",
"sp-io/std",
"sp-runtime/std",
"sp-std/std",
"xcm-executor/std",
"xcm/std",
]
try-runtime = [
"frame-support/try-runtime",
Expand Down
12 changes: 6 additions & 6 deletions libs/types/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,28 +39,28 @@ hex = { version = "0.4.3", default_features = false }
[features]
default = ["std"]
runtime-benchmarks = [
"frame-support/runtime-benchmarks",
"cfg-primitives/runtime-benchmarks",
"cfg-traits/runtime-benchmarks",
"cfg-utils/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"orml-asset-registry/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
]
std = [
"cfg-primitives/std",
"cfg-traits/std",
"cfg-utils/std",
"codec/std",
"frame-support/std",
"sp-runtime/std",
"sp-runtime/std",
"sp-std/std",
"orml-asset-registry/std",
"scale-info/std",
"serde/std",
"sp-arithmetic/std",
"xcm/std",
"cfg-utils/std",
"sp-core/std",
"sp-runtime/std",
"sp-runtime/std",
"sp-std/std",
"xcm/std",
]
try-runtime = [
"cfg-primitives/try-runtime",
Expand Down
33 changes: 16 additions & 17 deletions pallets/anchors/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,42 +41,41 @@ cfg-mocks = { path = "../../libs/mocks" }
[features]
default = ["std"]
runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks",
"pallet-timestamp/runtime-benchmarks",
"cfg-utils/runtime-benchmarks",
"cfg-traits/runtime-benchmarks",
"cfg-mocks/runtime-benchmarks",
"cfg-traits/runtime-benchmarks",
"cfg-utils/runtime-benchmarks",
"frame-benchmarking/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
"pallet-balances/runtime-benchmarks",
"pallet-timestamp/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
]
try-runtime = [
"cfg-utils/try-runtime",
"cfg-traits/try-runtime",
"cfg-mocks/try-runtime",
"cfg-traits/try-runtime",
"cfg-utils/try-runtime",
"frame-support/try-runtime",
"frame-system/try-runtime",
"pallet-aura/try-runtime",
"pallet-timestamp/try-runtime",
"pallet-authorship/try-runtime",
"pallet-balances/try-runtime",

"pallet-timestamp/try-runtime",
"sp-runtime/try-runtime",
]
std = [
"codec/std",
"sp-core/std",
"frame-support/std",
"frame-system/std",
"sp-runtime/std",
"sp-std/std",
"sp-arithmetic/std",
"pallet-timestamp/std",
"cfg-traits/std",
"cfg-utils/std",
"codec/std",
"frame-benchmarking/std",
"frame-support/std",
"frame-system/std",
"pallet-aura/std",
"pallet-timestamp/std",
"scale-info/std",
"serde/std",
"sp-arithmetic/std",
"sp-core/std",
"sp-runtime/std",
"sp-std/std",
]
2 changes: 1 addition & 1 deletion pallets/block-rewards/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ use frame_support::{
};
use frame_system::EnsureRoot;
use num_traits::{One, Zero};
use sp_core::{ConstU128, H256};
use sp_core::H256;
use sp_runtime::{
impl_opaque_keys,
testing::{Header, UintAuthorityId},
Expand Down
16 changes: 8 additions & 8 deletions pallets/investments/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,32 +40,32 @@ sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0
[features]
default = ["std"]
runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
"cfg-primitives/runtime-benchmarks",
"cfg-test-utils/runtime-benchmarks",
"cfg-traits/runtime-benchmarks",
"cfg-types/runtime-benchmarks",
"cfg-primitives/runtime-benchmarks",
"frame-benchmarking/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"pallet-balances/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
]
std = [
"cfg-primitives/std",
"cfg-traits/std",
"cfg-types/std",
"codec/std",
"frame-benchmarking/std",
"frame-support/std",
"frame-system/std",
"scale-info/std",
"serde/std",
"sp-runtime/std",
"sp-std/std",
"frame-benchmarking/std",
"serde/std",
]
try-runtime = [
"cfg-test-utils/try-runtime",
"cfg-primitives/try-runtime",
"cfg-test-utils/try-runtime",
"cfg-traits/try-runtime",
"frame-support/try-runtime",
"frame-system/try-runtime",
Expand Down
30 changes: 15 additions & 15 deletions pallets/order-book/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,38 +48,38 @@ xcm = { git = "https://github.com/paritytech/polkadot", default-features = false
[features]
default = ["std"]
std = [
"cfg-primitives/std",
"cfg-traits/std",
"cfg-types/std",
"codec/std",
"frame-benchmarking/std",
"frame-support/std",
"frame-system/std",
"frame-benchmarking/std",
"orml-traits/std",
"scale-info/std",
"serde/std",
"sp-core/std",
"sp-arithmetic/std",
"sp-core/std",
"sp-runtime/std",
"sp-std/std",
"orml-traits/std",
"cfg-primitives/std",
"cfg-types/std",
"cfg-traits/std",
]
runtime-benchmarks = [
"cfg-mocks/runtime-benchmarks",
"cfg-primitives/runtime-benchmarks",
"cfg-test-utils/runtime-benchmarks",
"cfg-traits/runtime-benchmarks",
"cfg-types/runtime-benchmarks",
"frame-benchmarking/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
"cfg-types/runtime-benchmarks",
"cfg-traits/runtime-benchmarks",
"cfg-primitives/runtime-benchmarks",
"orml-asset-registry/runtime-benchmarks",
"cfg-mocks/runtime-benchmarks",
"cfg-test-utils/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
]
try-runtime = [
"cfg-primitives/try-runtime",
"cfg-traits/try-runtime",
"cfg-types/try-runtime",
"frame-support/try-runtime",
"frame-system/try-runtime",
"sp-runtime/try-runtime",
"cfg-primitives/try-runtime",
"cfg-types/try-runtime",
"cfg-traits/try-runtime",
]
38 changes: 19 additions & 19 deletions pallets/pool-system/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -53,46 +53,46 @@ xcm = { git = "https://github.com/paritytech/polkadot", default-features = false
[features]
default = ["std"]
runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
"cfg-primitives/runtime-benchmarks",
"cfg-traits/runtime-benchmarks",
"cfg-test-utils/runtime-benchmarks",
"cfg-traits/runtime-benchmarks",
"cfg-types/runtime-benchmarks",
"pallet-timestamp/runtime-benchmarks",
"frame-benchmarking/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"orml-asset-registry/runtime-benchmarks",
"pallet-investments/runtime-benchmarks",
"pallet-permissions/runtime-benchmarks",
"orml-asset-registry/runtime-benchmarks",
"pallet-timestamp/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
]
std = [
"log/std",
"cfg-primitives/std",
"cfg-traits/std",
"cfg-types/std",
"codec/std",
"scale-info/std",
"rev_slice/std",
"frame-benchmarking/std",
"frame-support/std",
"frame-system/std",
"log/std",
"orml-traits/std",
"pallet-permissions/std",
"pallet-timestamp/std",
"rev_slice/std",
"scale-info/std",
"serde/std",
"sp-arithmetic/std",
"sp-runtime/std",
"sp-std/std",
"strum/std",
"orml-traits/std",
"cfg-traits/std",
"cfg-types/std",
"cfg-primitives/std",
"pallet-permissions/std",
"frame-benchmarking/std",
"serde/std",
]
try-runtime = [
"cfg-primitives/try-runtime",
"cfg-traits/try-runtime",
"frame-support/try-runtime",
"lazy_static/spin_no_std",
"cfg-types/try-runtime",
"frame-support/try-runtime",
"frame-system/try-runtime",
"lazy_static/spin_no_std",
"pallet-permissions/try-runtime",
"pallet-timestamp/try-runtime",
"sp-runtime/try-runtime",
Expand Down
26 changes: 13 additions & 13 deletions pallets/restricted-tokens/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,31 +41,31 @@ sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0
[features]
default = ["std"]
runtime-benchmarks = [
"cfg-primitives/runtime-benchmarks",
"cfg-traits/runtime-benchmarks",
"cfg-types/runtime-benchmarks",
"frame-benchmarking/runtime-benchmarks",
"pallet-balances/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"orml-tokens/runtime-benchmarks",
"orml-traits",
"pallet-balances/runtime-benchmarks",
"pallet-permissions/runtime-benchmarks",
"cfg-types/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
"cfg-primitives/runtime-benchmarks",
"cfg-traits/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
]
std = [
"cfg-primitives/std",
"cfg-traits/std",
"cfg-types/std",
"codec/std",
"scale-info/std",
"frame-benchmarking/std",
"frame-support/std",
"frame-system/std",
"sp-runtime/std",
"sp-std/std",
"cfg-types/std",
"cfg-traits/std",
"cfg-primitives/std",
"frame-benchmarking/std",
"pallet-permissions/std",
"scale-info/std",
"serde/std",
"sp-runtime/std",
"sp-std/std",
]
try-runtime = [
"cfg-primitives/try-runtime",
Expand Down
26 changes: 13 additions & 13 deletions pallets/transfer-allowlist/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,33 +36,33 @@ sp-io = { git = "https://github.com/paritytech/substrate", default-features = tr
[features]
default = ['std']
runtime-benchmarks = [
'cfg-mocks/runtime-benchmarks',
'cfg-traits/runtime-benchmarks',
'cfg-types/runtime-benchmarks',
'frame-benchmarking/runtime-benchmarks',
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
'sp-runtime/runtime-benchmarks',
'cfg-types/runtime-benchmarks',
'cfg-traits/runtime-benchmarks',
'cfg-mocks/runtime-benchmarks',
'pallet-balances/runtime-benchmarks',
'sp-runtime/runtime-benchmarks',
]
std = [
'cfg-traits/std',
'cfg-types/std',
'codec/std',
'scale-info/std',
"frame-benchmarking/std",
'frame-support/std',
'frame-system/std',
"frame-benchmarking/std",
'sp-runtime/std',
'sp-std/std',
'cfg-types/std',
'cfg-traits/std',
'scale-info/std',
'serde/std',
'sp-core/std',
'sp-runtime/std',
'sp-std/std',
]
try-runtime = [
'cfg-traits/try-runtime',
'cfg-types/try-runtime',
'frame-support/try-runtime',
'frame-support/try-runtime',
'cfg-types/try-runtime',
'cfg-traits/try-runtime',
'sp-runtime/try-runtime',
'frame-system/try-runtime',
'sp-runtime/try-runtime',
]
Loading

0 comments on commit 835a856

Please sign in to comment.