mirror of
https://github.com/datahaven-xyz/datahaven
synced 2026-05-24 09:50:01 +00:00
## Polkadot upgrade 2503 In this PR, we upgrade form Polkadot SDK 2412 to Polkadot SDK 2503. In order to upgrade the SDK we need to upgrade some dependencies : StorageHub and frontier simultaneously. ## What changes ### Trivial changes * https://github.com/paritytech/polkadot-sdk/pull/7634 -> The new trait is required in all the pallets using scale encoding. * https://github.com/paritytech/polkadot-sdk/pull/7043 -> Remove deprecated `sp-std` and replace with `alloc` or `core`. * https://github.com/paritytech/polkadot-sdk/pull/6140 -> Accurate weight reclaim with frame_system::WeightReclaim ### Breaking changes * https://github.com/paritytech/polkadot-sdk/pull/2072 -> There is a change in `pallet-referenda`. Now, the tracks are retrieved as a list of `Track`s. Also, the names of the tracks might have some trailing null values (`\0`). This means display representation of the tracks' names must be sanitized. * https://github.com/paritytech/polkadot-sdk/pull/5723 -> adds the ability for these pallets to specify their source of the block number. This is useful when these pallets are migrated from the relay chain to a parachain and vice versa. (Not entirely sure it is breaking as it is being marked as backward compatible). * https://github.com/paritytech/polkadot-sdk/pull/6338 -> Update Referenda to Support Block Number Provider ### Notable changes * https://github.com/paritytech/polkadot-sdk/pull/5703 -> Not changes required in the codebase but impact fastSync mode. Should improve testing. * https://github.com/paritytech/polkadot-sdk/pull/5842 -> Removes `libp2p` types in authority-discovery, and replace them with network backend agnostic types from `sc-network-types`. The `sc-network` interface is therefore updated accordingly. ## What changes in Frontier * https://github.com/polkadot-evm/frontier/pull/1693 -> Add support for EIP 7702 which has been enable with Pectra. This EIP add a new field `AuthorizationList` in Ethereum transaction. Changes example : ```rust #[test] fn validate_transaction_fails_on_filtered_call() { ... pallet_evm::Call::<Runtime>::call { source: H160::default(), target: H160::default(), input: Vec::new(), value: sp_core::U256::zero(), gas_limit: 21000, max_fee_per_gas: sp_core::U256::zero(), max_priority_fee_per_gas: Some(sp_core::U256::zero()), nonce: None, access_list: Vec::new(), authorization_list: Vec::new(), } .into(), ``` ## ⚠️ Breaking Changes ⚠️ * Upgrade to Stirage hub v0.5.1 * Support for Ethereum latest upgrade (txs now have the `authoriation_list` for support EIP 7702) --------- Co-authored-by: Steve Degosserie <723552+stiiifff@users.noreply.github.com> Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
93 lines
2.7 KiB
TOML
93 lines
2.7 KiB
TOML
[package]
|
|
authors = ["Snowfork <contact@snowfork.com>"]
|
|
categories = ["cryptography::cryptocurrencies"]
|
|
description = "Snowbridge Outbound Queue Pallet V2"
|
|
edition.workspace = true
|
|
license = "Apache-2.0"
|
|
name = "snowbridge-pallet-outbound-queue-v2"
|
|
repository.workspace = true
|
|
version.workspace = true
|
|
|
|
[package.metadata.docs.rs]
|
|
targets = ["x86_64-unknown-linux-gnu"]
|
|
|
|
[package.metadata.polkadot-sdk]
|
|
exclude-from-umbrella = true
|
|
|
|
[dependencies]
|
|
alloy-core = { workspace = true, features = ["sol-types"] }
|
|
codec = { features = ["derive"], workspace = true }
|
|
ethabi = { workspace = true }
|
|
hex-literal = { workspace = true, default-features = true }
|
|
scale-info = { features = ["derive"], workspace = true }
|
|
serde = { features = ["alloc", "derive"], workspace = true }
|
|
|
|
frame-benchmarking = { optional = true, workspace = true }
|
|
frame-support = { workspace = true }
|
|
frame-system = { workspace = true }
|
|
sp-arithmetic = { workspace = true }
|
|
sp-core = { workspace = true }
|
|
sp-io = { workspace = true }
|
|
sp-runtime = { workspace = true }
|
|
|
|
bp-relayers = { workspace = true }
|
|
bridge-hub-common = { workspace = true }
|
|
|
|
snowbridge-beacon-primitives = { workspace = true }
|
|
snowbridge-core = { workspace = true }
|
|
snowbridge-inbound-queue-primitives = { workspace = true }
|
|
snowbridge-merkle-tree = { workspace = true }
|
|
snowbridge-outbound-queue-primitives = { workspace = true }
|
|
snowbridge-verification-primitives = { workspace = true }
|
|
|
|
xcm = { workspace = true }
|
|
xcm-builder = { workspace = true }
|
|
xcm-executor = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
pallet-message-queue = { workspace = true }
|
|
sp-keyring = { workspace = true, default-features = true }
|
|
|
|
[features]
|
|
default = ["std"]
|
|
runtime-benchmarks = [
|
|
"bridge-hub-common/runtime-benchmarks",
|
|
"frame-benchmarking",
|
|
"frame-benchmarking/runtime-benchmarks",
|
|
"frame-support/runtime-benchmarks",
|
|
"frame-system/runtime-benchmarks",
|
|
"pallet-message-queue/runtime-benchmarks",
|
|
"snowbridge-core/runtime-benchmarks",
|
|
"sp-runtime/runtime-benchmarks",
|
|
"xcm-builder/runtime-benchmarks",
|
|
"xcm-executor/runtime-benchmarks",
|
|
]
|
|
std = [
|
|
"alloy-core/std",
|
|
"bp-relayers/std",
|
|
"bridge-hub-common/std",
|
|
"codec/std",
|
|
"ethabi/std",
|
|
"frame-benchmarking/std",
|
|
"frame-support/std",
|
|
"frame-system/std",
|
|
"pallet-message-queue/std",
|
|
"scale-info/std",
|
|
"serde/std",
|
|
"snowbridge-core/std",
|
|
"snowbridge-merkle-tree/std",
|
|
"snowbridge-outbound-queue-primitives/std",
|
|
"sp-arithmetic/std",
|
|
"sp-core/std",
|
|
"sp-io/std",
|
|
"sp-runtime/std",
|
|
"xcm-builder/std",
|
|
"xcm-executor/std",
|
|
"xcm/std",
|
|
]
|
|
try-runtime = [
|
|
"frame-support/try-runtime",
|
|
"frame-system/try-runtime",
|
|
"pallet-message-queue/try-runtime",
|
|
"sp-runtime/try-runtime",
|
|
]
|