Skip to content

Commit

Permalink
add feature disable_panic_handler to sp-io
Browse files Browse the repository at this point in the history
add pallet-indices and parachains-common to parachain
fix runtime: fp_rpc::ConvertTransactionRuntimeApi
fix runtime: cumulus_pallet_xcmp_queue::Config
fix runtime: cumulus_pallet_dmp_queue::Config
fix runtime: sp_api::Core
fix runtime: pallet_aura::Config
fix runtime: pallet_evm::Config
  • Loading branch information
higherordertech committed Oct 31, 2024
1 parent 0e18d63 commit 9e4fdca
Show file tree
Hide file tree
Showing 26 changed files with 333 additions and 148 deletions.
276 changes: 164 additions & 112 deletions parachain/Cargo.lock

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions parachain/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@ pallet-bounties = { git = "https://github.com/paritytech/polkadot-sdk", branch =
pallet-collective = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.11.0", default-features = false }
pallet-democracy = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.11.0", default-features = false }
pallet-identity = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.11.0", default-features = false }
pallet-indices = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.11.0", default-features = false }
pallet-membership = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.11.0", default-features = false }
pallet-message-queue = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.11.0", default-features = false }
pallet-multisig = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.11.0", default-features = false }
Expand All @@ -211,6 +212,7 @@ pallet-sudo = { git = "https://github.com/paritytech/polkadot-sdk", branch = "re
pallet-tips = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.11.0", default-features = false }
pallet-timestamp = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.11.0", default-features = false }
pallet-xcm = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.11.0", default-features = false }
parachains-common = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.11.0", default-features = false }
xcm = { package = "staging-xcm", git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.11.0", default-features = false }
xcm-builder = { package = "staging-xcm-builder", git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.11.0", default-features = false }
xcm-executor = { package = "staging-xcm-executor", git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.11.0", default-features = false }
Expand Down
2 changes: 1 addition & 1 deletion parachain/node/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ sp-block-builder = { workspace = true, features = ["std"] }
sp-blockchain = { workspace = true }
sp-consensus-aura = { workspace = true, features = ["std"] }
sp-core = { workspace = true, features = ["std"] }
sp-io = { workspace = true, features = ["std"] }
sp-io = { workspace = true, features = ["std", "disable_panic_handler"] }
sp-keystore = { workspace = true, features = ["std"] }
sp-offchain = { workspace = true, features = ["std"] }
sp-runtime = { workspace = true, features = ["std"] }
Expand Down
2 changes: 1 addition & 1 deletion parachain/pallets/bitacross/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ core-primitives = { workspace = true }
[dev-dependencies]
pallet-balances = { workspace = true, features = ["std"] }
pallet-timestamp = { workspace = true, features = ["std"] }
sp-io = { workspace = true, features = ["std"] }
sp-io = { workspace = true, features = ["std", "disable_panic_handler"] }

[features]
default = ["std"]
Expand Down
2 changes: 1 addition & 1 deletion parachain/pallets/bridge/assets-handler/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ pallet-bridge-common = { workspace = true }
pallet-chain-bridge = { workspace = true }
pallet-parachain-staking = { workspace = true }
sp-core = { workspace = true }
sp-io = { workspace = true }
sp-io = { workspace = true, features = ["disable_panic_handler"] }
sp-runtime = { workspace = true }
sp-std = { workspace = true }

Expand Down
2 changes: 1 addition & 1 deletion parachain/pallets/bridge/bridge-transfer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ scale-info = { workspace = true }

sp-arithmetic = { workspace = true }
sp-core = { workspace = true }
sp-io = { workspace = true }
sp-io = { workspace = true, features = ["disable_panic_handler"] }
sp-runtime = { workspace = true }
sp-std = { workspace = true }

Expand Down
2 changes: 1 addition & 1 deletion parachain/pallets/bridge/chain-bridge/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ scale-info = { workspace = true }

sp-core = { workspace = true }
sp-core-hashing = { workspace = true }
sp-io = { workspace = true }
sp-io = { workspace = true, features = ["disable_panic_handler"] }
sp-runtime = { workspace = true }
sp-std = { workspace = true }

Expand Down
2 changes: 1 addition & 1 deletion parachain/pallets/evm-address/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ sp-std = { workspace = true }
[dev-dependencies]
hex-literal = { workspace = true }
sp-core = { workspace = true, features = ["std"] }
sp-io = { workspace = true, features = ["std"] }
sp-io = { workspace = true, features = ["std", "disable_panic_handler"] }
pallet-balances = { workspace = true, features = ["std"] }
pallet-timestamp = { workspace = true, features = ["std"] }
pallet-ethereum = { workspace = true, features = ["std"] }
Expand Down
2 changes: 1 addition & 1 deletion parachain/pallets/evm-assertions/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ sp-std = { workspace = true }

[dev-dependencies]
pallet-balances = { workspace = true, features = ["std"] }
sp-io = { workspace = true, features = ["std"] }
sp-io = { workspace = true, features = ["std", "disable_panic_handler"] }


[features]
Expand Down
2 changes: 1 addition & 1 deletion parachain/pallets/extrinsic-filter/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ sp-std = { workspace = true }

[dev-dependencies]
sp-core = { workspace = true, features = ["std"] }
sp-io = { workspace = true, features = ["std"] }
sp-io = { workspace = true, features = ["std", "disable_panic_handler"] }
pallet-balances = { workspace = true, features = ["std"] }
pallet-timestamp = { workspace = true, features = ["std"] }

Expand Down
2 changes: 1 addition & 1 deletion parachain/pallets/group/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ frame-support = { workspace = true }
frame-system = { workspace = true }
pallet-balances = { workspace = true }
sp-core = { workspace = true }
sp-io = { workspace = true }
sp-io = { workspace = true, features = ["disable_panic_handler"] }
sp-runtime = { workspace = true }
sp-std = { workspace = true }

Expand Down
2 changes: 1 addition & 1 deletion parachain/pallets/identity-management/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ pallet-teebag = { workspace = true, optional = true }
[dev-dependencies]
pallet-balances = { workspace = true, features = ["std"] }
pallet-timestamp = { workspace = true, features = ["std"] }
sp-io = { workspace = true, features = ["std"] }
sp-io = { workspace = true, features = ["std", "disable_panic_handler"] }
pallet-teebag = { workspace = true, features = ["std", "test-util"] }
pallet-group = { workspace = true, features = ["std"] }
pallet-utility = { workspace = true, features = ["std"] }
Expand Down
2 changes: 1 addition & 1 deletion parachain/pallets/omni-account/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ frame-support = { workspace = true }
frame-system = { workspace = true }
sp-core = { workspace = true }

sp-io = { workspace = true }
sp-io = { workspace = true, features = ["disable_panic_handler"] }
sp-runtime = { workspace = true }
sp-std = { workspace = true }

Expand Down
2 changes: 1 addition & 1 deletion parachain/pallets/parachain-staking/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ substrate-fixed = { workspace = true }
[dev-dependencies]
similar-asserts = { workspace = true }
sp-core = { workspace = true, features = ["std"] }
sp-io = { workspace = true, features = ["std"] }
sp-io = { workspace = true, features = ["std", "disable_panic_handler"] }

[features]
default = ["std"]
Expand Down
2 changes: 1 addition & 1 deletion parachain/pallets/score-staking/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ core-primitives = { workspace = true }
pallet-parachain-staking = { workspace = true }

[dev-dependencies]
sp-io = { workspace = true }
sp-io = { workspace = true, features = ["disable_panic_handler"] }
pallet-balances = { workspace = true }
sp-keyring = { workspace = true }

Expand Down
2 changes: 1 addition & 1 deletion parachain/pallets/teebag/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ pallet-balances = { workspace = true, optional = true }
pallet-timestamp = { workspace = true }
pallet-utility = { workspace = true }
sp-core = { workspace = true }
sp-io = { workspace = true }
sp-io = { workspace = true, features = ["disable_panic_handler"] }
sp-runtime = { workspace = true }
sp-std = { workspace = true }

Expand Down
2 changes: 1 addition & 1 deletion parachain/pallets/vc-management/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ pallet-teebag = { workspace = true, optional = true }
frame-benchmarking = { workspace = true, features = ["std"] }
pallet-balances = { workspace = true, features = ["std"] }
pallet-timestamp = { workspace = true, features = ["std"] }
sp-io = { workspace = true, features = ["std"] }
sp-io = { workspace = true, features = ["std", "disable_panic_handler"] }
pallet-group = { workspace = true, features = ["std"] }
pallet-teebag = { workspace = true, features = ["std", "test-util"] }
pallet-utility = { workspace = true, features = ["std"] }
Expand Down
2 changes: 1 addition & 1 deletion parachain/pallets/xcm-asset-manager/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ frame-benchmarking = { workspace = true, optional = true }
frame-support = { workspace = true }
frame-system = { workspace = true }
orml-traits = { workspace = true }
sp-io = { workspace = true }
sp-io = { workspace = true, features = ["disable_panic_handler"] }
sp-runtime = { workspace = true }
sp-std = { workspace = true }
xcm = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion parachain/precompiles/assets-erc20/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ frame-system = { workspace = true }
pallet-assets = { workspace = true }
pallet-balances = { workspace = true }
sp-core = { workspace = true }
sp-io = { workspace = true }
sp-io = { workspace = true, features = ["disable_panic_handler"] }
sp-runtime = { workspace = true }
sp-std = { workspace = true }

Expand Down
2 changes: 1 addition & 1 deletion parachain/precompiles/parachain-staking/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ precompile-utils = { workspace = true }
frame-support = { workspace = true }
frame-system = { workspace = true }
sp-core = { workspace = true }
sp-io = { workspace = true }
sp-io = { workspace = true, features = ["disable_panic_handler"] }
sp-runtime = { workspace = true }
sp-std = { workspace = true }

Expand Down
2 changes: 1 addition & 1 deletion parachain/precompiles/score-staking/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ frame-support = { workspace = true }
frame-system = { workspace = true }
pallet-evm = { workspace = true }
sp-core = { workspace = true }
sp-io = { workspace = true }
sp-io = { workspace = true, features = ["disable_panic_handler"] }
sp-runtime = { workspace = true }
sp-std = { workspace = true }

Expand Down
4 changes: 3 additions & 1 deletion parachain/runtime/common/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ scale-info = { workspace = true }
frame-support = { workspace = true }
frame-system = { workspace = true }
sp-core = { workspace = true }
sp-io = { workspace = true }
sp-io = { workspace = true, features = ["disable_panic_handler"] }
sp-runtime = { workspace = true }
sp-state-machine = { workspace = true }
sp-std = { workspace = true }
Expand All @@ -35,6 +35,7 @@ cumulus-primitives-parachain-inherent = { workspace = true }
parachain-info = { workspace = true }

pallet-xcm = { workspace = true }
parachains-common = { workspace = true }
xcm = { workspace = true }
xcm-builder = { workspace = true }
xcm-executor = { workspace = true }
Expand Down Expand Up @@ -94,6 +95,7 @@ std = [
"pallet-omni-account/std",
"pallet-teebag/std",
"orml-xtokens/std",
"parachains-common/std",
]

runtime-benchmarks = [
Expand Down
6 changes: 5 additions & 1 deletion parachain/runtime/litentry/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ sp-consensus-aura = { workspace = true }
sp-core = { workspace = true }
sp-debug-derive = { workspace = true, features = ["force-debug"], optional = true }
sp-inherents = { workspace = true }
sp-io = { workspace = true }
sp-io = { workspace = true, features = ["disable_panic_handler"] }
sp-offchain = { workspace = true }
sp-runtime = { workspace = true }
sp-session = { workspace = true }
Expand All @@ -42,6 +42,7 @@ pallet-bounties = { workspace = true }
pallet-collective = { workspace = true }
pallet-democracy = { workspace = true }
pallet-identity = { workspace = true }
pallet-indices = { workspace = true }
pallet-membership = { workspace = true }
pallet-multisig = { workspace = true }
pallet-preimage = { workspace = true }
Expand All @@ -66,6 +67,7 @@ cumulus-primitives-utility = { workspace = true }
parachain-info = { workspace = true }

pallet-xcm = { workspace = true }
parachains-common = { workspace = true }
polkadot-parachain-primitives = { workspace = true }
xcm = { workspace = true }
xcm-builder = { workspace = true }
Expand Down Expand Up @@ -220,6 +222,7 @@ std = [
"pallet-evm-precompile-parachain-staking/std",
"pallet-evm-precompile-score-staking/std",
"pallet-identity/std",
"pallet-indices/std",
"pallet-membership/std",
"pallet-multisig/std",
"pallet-parachain-staking/std",
Expand Down Expand Up @@ -267,6 +270,7 @@ std = [
"moonbeam-rpc-primitives-debug/std",
"moonbeam-rpc-primitives-txpool/std",
"precompile-utils/std",
"parachains-common/std",
]
try-runtime = [
"hex",
Expand Down
6 changes: 5 additions & 1 deletion parachain/runtime/paseo/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ sp-block-builder = { workspace = true }
sp-consensus-aura = { workspace = true }
sp-core = { workspace = true }
sp-inherents = { workspace = true }
sp-io = { workspace = true }
sp-io = { workspace = true, features = ["disable_panic_handler"] }
sp-offchain = { workspace = true }
sp-runtime = { workspace = true }
sp-session = { workspace = true }
Expand All @@ -38,6 +38,7 @@ pallet-bounties = { workspace = true }
pallet-collective = { workspace = true }
pallet-democracy = { workspace = true }
pallet-identity = { workspace = true }
pallet-indices = { workspace = true }
pallet-membership = { workspace = true }
pallet-multisig = { workspace = true }
pallet-preimage = { workspace = true }
Expand All @@ -64,6 +65,7 @@ cumulus-primitives-utility = { workspace = true }
parachain-info = { workspace = true }

pallet-xcm = { workspace = true }
parachains-common = { workspace = true }
polkadot-parachain-primitives = { workspace = true }
xcm = { workspace = true }
xcm-builder = { workspace = true }
Expand Down Expand Up @@ -224,6 +226,7 @@ std = [
"pallet-evm-precompile-parachain-staking/std",
"pallet-evm-precompile-score-staking/std",
"pallet-identity/std",
"pallet-indices/std",
"pallet-membership/std",
"pallet-message-queue/std",
"pallet-multisig/std",
Expand Down Expand Up @@ -278,6 +281,7 @@ std = [
"moonbeam-rpc-primitives-txpool/std",
"pallet-bitacross/std",
"precompile-utils/std",
"parachains-common/std",
]
try-runtime = [
"cumulus-pallet-aura-ext/try-runtime",
Expand Down
6 changes: 5 additions & 1 deletion parachain/runtime/rococo/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ sp-block-builder = { workspace = true }
sp-consensus-aura = { workspace = true }
sp-core = { workspace = true }
sp-inherents = { workspace = true }
sp-io = { workspace = true }
sp-io = { workspace = true, features = ["disable_panic_handler"] }
sp-offchain = { workspace = true }
sp-runtime = { workspace = true }
sp-session = { workspace = true }
Expand All @@ -38,6 +38,7 @@ pallet-bounties = { workspace = true }
pallet-collective = { workspace = true }
pallet-democracy = { workspace = true }
pallet-identity = { workspace = true }
pallet-indices = { workspace = true }
pallet-membership = { workspace = true }
pallet-multisig = { workspace = true }
pallet-preimage = { workspace = true }
Expand All @@ -64,6 +65,7 @@ cumulus-primitives-utility = { workspace = true }
parachain-info = { workspace = true }

pallet-xcm = { workspace = true }
parachains-common = { workspace = true }
polkadot-parachain-primitives = { workspace = true }
xcm = { workspace = true }
xcm-builder = { workspace = true }
Expand Down Expand Up @@ -224,6 +226,7 @@ std = [
"pallet-evm-precompile-parachain-staking/std",
"pallet-evm-precompile-score-staking/std",
"pallet-identity/std",
"pallet-indices/std",
"pallet-membership/std",
"pallet-message-queue/std",
"pallet-multisig/std",
Expand Down Expand Up @@ -278,6 +281,7 @@ std = [
"moonbeam-rpc-primitives-txpool/std",
"pallet-bitacross/std",
"precompile-utils/std",
"parachains-common/std",
]
try-runtime = [
"cumulus-pallet-aura-ext/try-runtime",
Expand Down
Loading

0 comments on commit 9e4fdca

Please sign in to comment.