Skip to content

Commit e8086de

Browse files
Updated dalek dependecy
1 parent 15e94d4 commit e8086de

File tree

3 files changed

+40
-11
lines changed

3 files changed

+40
-11
lines changed

Cargo.lock

+9-10
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

substrate/frame/support/src/dispatch.rs

+30
Original file line numberDiff line numberDiff line change
@@ -637,8 +637,20 @@ impl<T> CustomDispatchFee<T> for (Weight, DispatchClass, DispatchFeeModifier) {
637637
}
638638
}
639639

640+
impl<T> CustomDispatchFee<T> for (Weight, DispatchClass, Pays) {
641+
fn custom_dispatch_fee(&self, _: T) -> DispatchFeeModifier {
642+
DispatchFeeModifier::default()
643+
}
644+
}
645+
640646
// TODO: Eventually remove these
641647

648+
impl<T> CustomDispatchFee<T> for u64 {
649+
fn custom_dispatch_fee(&self, _: T) -> DispatchFeeModifier {
650+
DispatchFeeModifier::default()
651+
}
652+
}
653+
642654
impl<T> ClassifyDispatch<T> for u64 {
643655
fn classify_dispatch(&self, _: T) -> DispatchClass {
644656
DispatchClass::Normal
@@ -675,6 +687,12 @@ impl<T> PaysFee<T> for (u64, DispatchClass, Pays) {
675687
}
676688
}
677689

690+
impl<T> CustomDispatchFee<T> for (u64, DispatchClass, Pays) {
691+
fn custom_dispatch_fee(&self, _: T) -> DispatchFeeModifier {
692+
DispatchFeeModifier::default()
693+
}
694+
}
695+
678696
impl<T> WeighData<T> for (u64, DispatchClass) {
679697
fn weigh_data(&self, args: T) -> Weight {
680698
return self.0.weigh_data(args)
@@ -693,6 +711,12 @@ impl<T> PaysFee<T> for (u64, DispatchClass) {
693711
}
694712
}
695713

714+
impl<T> CustomDispatchFee<T> for (u64, DispatchClass) {
715+
fn custom_dispatch_fee(&self, _: T) -> DispatchFeeModifier {
716+
DispatchFeeModifier::default()
717+
}
718+
}
719+
696720
impl<T> WeighData<T> for (u64, Pays) {
697721
fn weigh_data(&self, args: T) -> Weight {
698722
return self.0.weigh_data(args)
@@ -711,6 +735,12 @@ impl<T> PaysFee<T> for (u64, Pays) {
711735
}
712736
}
713737

738+
impl<T> CustomDispatchFee<T> for (u64, Pays) {
739+
fn custom_dispatch_fee(&self, _: T) -> DispatchFeeModifier {
740+
DispatchFeeModifier::default()
741+
}
742+
}
743+
714744
// END TODO
715745

716746
#[cfg(test)]

substrate/primitives/statement-store/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ thiserror = { version = "1.0", optional = true }
3131
# ECIES dependencies
3232
ed25519-dalek = { version = "2.1", optional = true }
3333
x25519-dalek = { version = "2.0", optional = true, features = ["static_secrets"] }
34-
curve25519-dalek = { version = "4.1.1", optional = true }
34+
curve25519-dalek = { version = "4.1.3", optional = true }
3535
aes-gcm = { version = "0.10", optional = true }
3636
hkdf = { version = "0.12.0", optional = true }
3737
sha2 = { version = "0.10.7", optional = true }

0 commit comments

Comments
 (0)