Skip to content

Commit

Permalink
fix: compiling
Browse files Browse the repository at this point in the history
  • Loading branch information
Daanvdplas committed Jul 6, 2024
1 parent 47e2ea6 commit 9dcfccb
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 23 deletions.
46 changes: 32 additions & 14 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ pallet-scheduler = { version = "30.0.0", default-features = false }
pallet-session = { version = "29.0.0", default-features = false }
pallet-sudo = { version = "29.0.0", default-features = false }
pallet-timestamp = { version = "28.0.0", default-features = false }
pallet-transaction-payment = { version = "29.0.1", default-features = false }
pallet-transaction-payment = { version = "29.0.2", default-features = false }
pallet-transaction-payment-rpc = "31.0.0"
pallet-transaction-payment-rpc-runtime-api = { version = "29.0.0", default-features = false }
pallet-utility = { version = "29.0.0", default-features = false }
Expand Down Expand Up @@ -130,15 +130,15 @@ polkadot-cli = "8.0.0"
polkadot-parachain-primitives = { version = "7.0.0", default-features = false }
polkadot-runtime-parachains = { version = "8.0.3", default-features = false }
polkadot-primitives = { version = "8.0.1", default-features = false }
polkadot-runtime-common = { version = "8.0.2", default-features = false }
polkadot-runtime-common = { version = "8.0.3", default-features = false }
rococo-runtime-constants = { version = "8.0.0", default-features = false }
rococo-runtime = { version = "8.0.0", default-features = false }
rococo-runtime = { version = "8.0.1", default-features = false }
xcm = { version = "8.0.1", package = "staging-xcm", default-features = false }
xcm-builder = { version = "8.0.2", package = "staging-xcm-builder", default-features = false }
xcm-builder = { version = "8.0.3", package = "staging-xcm-builder", default-features = false }
xcm-executor = { version = "8.0.2", package = "staging-xcm-executor", default-features = false }

# Cumulus
asset-hub-rococo-runtime = { version = "0.12.0", default-features = false }
asset-hub-rococo-runtime = { version = "0.12.3", default-features = false }
asset-test-utils = { version = "8.0.1", default-features = false }
cumulus-pallet-aura-ext = { version = "0.8.0", default-features = false }
cumulus-pallet-parachain-system = { version = "0.8.1", default-features = false, features = ["parameterized-consensus-hook"] }
Expand All @@ -149,8 +149,8 @@ cumulus-primitives-aura = { version = "0.8.0", default-features = false }
cumulus-primitives-core = { version = "0.8.0", default-features = false }
cumulus-primitives-utility = { version = "0.8.1", default-features = false }
emulated-integration-tests-common = { version = "4.0.0", default-features = false }
pallet-collator-selection = { version = "10.0.2", default-features = false }
parachains-common = { version = "8.0.0", default-features = false }
pallet-collator-selection = { version = "10.0.3", default-features = false }
parachains-common = { version = "8.0.1", default-features = false }
parachain-info = { version = "0.8.0", package = "staging-parachain-info", default-features = false }
cumulus-primitives-parachain-inherent = "0.8.0"
cumulus-relay-chain-interface = "0.8.0"
Expand Down
1 change: 0 additions & 1 deletion runtime/devnet/src/extensions/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,6 @@ where
// - `error`: The `DispatchError` encountered during contract execution.
// - `version`: The version of the chain extension, used to determine the known errors.
pub(crate) fn convert_to_status_code(error: DispatchError, version: u8) -> u32 {
use sp_std::vec;
// "UnknownFunctionId" and "DecodingFailed" are mapped to specific errors in the API and will
// never change.
let mut encoded_error = match error {
Expand Down
2 changes: 1 addition & 1 deletion runtime/testnet/src/extensions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ where
RuntimeStateKeys::ParachainSystem(key) => {
read_parachain_system_state::<T, E>(key, &mut env)
},
_ => Ok(vec![0]),
_ => Ok(vec![0u8]),
}?
.encode();

Expand Down

0 comments on commit 9dcfccb

Please sign in to comment.