Skip to content

Commit 38de2ae

Browse files
committed
commit Cargo.lock
1 parent 8442095 commit 38de2ae

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pallets/proxy/src/lib.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,7 @@ pub mod pallet {
145145
+ PartialOrd
146146
+ frame::traits::InstanceFilter<<Self as Config>::RuntimeCall>
147147
+ Default
148-
+ MaxEncodedLen
149-
+ TryFrom<u8>;
148+
+ MaxEncodedLen;
150149

151150
/// The base amount of currency needed to reserve for creating a proxy.
152151
///

precompiles/src/proxy.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,8 @@ where
258258
let proxy_type: ProxyType = proxy.proxy_type;
259259

260260
let proxy_type_u8: u8 =
261-
proxy_type
261+
proxy
262+
.proxy_type
262263
.try_into()
263264
.map_err(|_| PrecompileFailure::Error {
264265
exit_status: ExitError::Other("Invalid proxy type".into()),

0 commit comments

Comments
 (0)