We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8442095 commit 38de2aeCopy full SHA for 38de2ae
pallets/proxy/src/lib.rs
@@ -145,8 +145,7 @@ pub mod pallet {
145
+ PartialOrd
146
+ frame::traits::InstanceFilter<<Self as Config>::RuntimeCall>
147
+ Default
148
- + MaxEncodedLen
149
- + TryFrom<u8>;
+ + MaxEncodedLen;
150
151
/// The base amount of currency needed to reserve for creating a proxy.
152
///
precompiles/src/proxy.rs
@@ -258,7 +258,8 @@ where
258
let proxy_type: ProxyType = proxy.proxy_type;
259
260
let proxy_type_u8: u8 =
261
- proxy_type
+ proxy
262
+ .proxy_type
263
.try_into()
264
.map_err(|_| PrecompileFailure::Error {
265
exit_status: ExitError::Other("Invalid proxy type".into()),
0 commit comments