Skip to content

Commit 117554a

Browse files
authored
Bump crate versions (#507)
1 parent 278fb05 commit 117554a

File tree

11 files changed

+40
-29
lines changed

11 files changed

+40
-29
lines changed

Cargo.lock

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -213,11 +213,11 @@ cometbft-light-client-verifier = { git = "https://github.com/cometbft/cometbft-r
213213
ics23 = { version = "0.12.0", default-features = false }
214214

215215
# published crates
216-
ismp = { version = "1.2.0", path = "./modules/ismp/core", default-features = false }
216+
ismp = { version = "2506.0.0", path = "./modules/ismp/core", default-features = false }
217217
serde-hex-utils = { version = "0.1.0", path = "modules/utils/serde", default-features = false }
218-
crypto-utils = { path = "modules/utils/crypto", default-features = false }
219-
grandpa-verifier-primitives = { version = "2.1.0", path = "./modules/consensus/grandpa/primitives", default-features = false }
220-
grandpa-verifier = { version = "2.1.0", path = "./modules/consensus/grandpa/verifier", default-features = false }
218+
crypto-utils = { version = "0.1.0", path = "modules/utils/crypto", default-features = false }
219+
grandpa-verifier-primitives = { version = "2506.0.0", path = "./modules/consensus/grandpa/primitives", default-features = false }
220+
grandpa-verifier = { version = "2506.0.0", path = "./modules/consensus/grandpa/verifier", default-features = false }
221221
ismp-grandpa = { version = "2506.0.0", path = "./modules/ismp/clients/grandpa", default-features = false }
222222
ismp-parachain = { version = "2506.0.0", path = "./modules/ismp/clients/parachain/client", default-features = false }
223223
ismp-parachain-inherent = { version = "2506.0.0", path = "./modules/ismp/clients/parachain/inherent" }
@@ -368,4 +368,4 @@ features = ["derive"]
368368

369369
[workspace.dependencies.reconnecting-jsonrpsee-ws-client]
370370
version = "0.5.0"
371-
default-features = false
371+
default-features = false

modules/consensus/grandpa/primitives/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "grandpa-verifier-primitives"
3-
version = "2.1.0"
3+
version = "2506.0.0"
44
edition = "2021"
55
authors = ["Polytope Labs <[email protected]>"]
66
license = "Apache-2.0"

modules/consensus/grandpa/verifier/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "grandpa-verifier"
3-
version = "2.1.0"
3+
version = "2506.0.0"
44
edition = "2021"
55
authors = ["Polytope Labs <[email protected]>"]
66
license = "Apache-2.0"

modules/ismp/core/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "ismp"
3-
version = "1.2.0"
3+
version = "2506.0.0"
44
edition = "2021"
55
description = "Rust implementation of the interoperable state machine protocol"
66
authors = ["Polytope Labs <[email protected]>"]
@@ -50,4 +50,4 @@ std = [
5050
"anyhow/std",
5151
"sp-weights/std",
5252
"crypto-utils/std"
53-
]
53+
]

modules/pallets/xcm-gateway/src/xcm_utilities.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,9 +216,9 @@ where
216216
// messages
217217
let base_fee =
218218
if who.dest_state_machine == StateMachine::Evm(1) { 20_000_000_000u128 } else { 0 };
219-
// Cap protocol fees at 100 DOT
219+
// Cap protocol fees at 10 DOT
220220
let protocol_fees =
221-
min(protocol_percentage * u128::from(amount) + base_fee, 1000_000_000_000u128);
221+
min(protocol_percentage * u128::from(amount) + base_fee, 100_000_000_000u128);
222222
let remainder = u128::from(amount)
223223
.checked_sub(protocol_fees.into())
224224
.ok_or_else(|| XcmError::Overflow)?

modules/utils/crypto/Cargo.toml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
[package]
22
name = "crypto-utils"
3-
edition = "2024"
3+
version = "0.1.0"
4+
edition = "2021"
5+
authors = ["Polytope Labs <[email protected]>"]
6+
license = "Apache-2.0"
7+
repository = "https://github.com/polytope-labs/hyperbridge"
8+
documentation = "https://docs.rs/crypto-utils"
9+
description = "Signature verification utilities"
10+
keywords = ["serde", "utilities"]
11+
readme = "./README.md"
412

513
[dependencies]
614
codec = { workspace = true }

modules/utils/crypto/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Crypto utilities
2+
3+
Signature verification utilities

parachain/node/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "hyperbridge"
3-
version = "1.3.0"
3+
version = "1.4.0"
44
authors = ["Polytope Labs <[email protected]>"]
55
description = "The Hyperbridge coprocessor node"
66
repository = "https://github.com/polytope-labs/hyperbridge"

parachain/runtimes/nexus/src/lib.rs

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -344,8 +344,8 @@ impl Contains<RuntimeCall> for IsTreasurySpend {
344344
fn contains(c: &RuntimeCall) -> bool {
345345
matches!(
346346
c,
347-
RuntimeCall::Treasury(pallet_treasury::Call::spend { .. })
348-
| RuntimeCall::Treasury(pallet_treasury::Call::spend_local { .. })
347+
RuntimeCall::Treasury(pallet_treasury::Call::spend { .. }) |
348+
RuntimeCall::Treasury(pallet_treasury::Call::spend_local { .. })
349349
)
350350
}
351351
}
@@ -815,20 +815,19 @@ impl InstanceFilter<RuntimeCall> for ProxyType {
815815
fn filter(&self, c: &RuntimeCall) -> bool {
816816
match self {
817817
ProxyType::Any => true,
818-
ProxyType::NonTransfer => {
819-
!matches!(c, RuntimeCall::Balances { .. } | RuntimeCall::Assets { .. })
820-
},
818+
ProxyType::NonTransfer =>
819+
!matches!(c, RuntimeCall::Balances { .. } | RuntimeCall::Assets { .. }),
821820
ProxyType::CancelProxy => matches!(
822821
c,
823-
RuntimeCall::Proxy(pallet_proxy::Call::reject_announcement { .. })
824-
| RuntimeCall::Utility { .. }
825-
| RuntimeCall::Multisig { .. }
822+
RuntimeCall::Proxy(pallet_proxy::Call::reject_announcement { .. }) |
823+
RuntimeCall::Utility { .. } |
824+
RuntimeCall::Multisig { .. }
826825
),
827826
ProxyType::Collator => matches!(
828827
c,
829-
RuntimeCall::CollatorSelection { .. }
830-
| RuntimeCall::Utility { .. }
831-
| RuntimeCall::Multisig { .. }
828+
RuntimeCall::CollatorSelection { .. } |
829+
RuntimeCall::Utility { .. } |
830+
RuntimeCall::Multisig { .. }
832831
),
833832
}
834833
}

0 commit comments

Comments
 (0)