diff --git a/substrate/frame/proxy/src/lib.rs b/substrate/frame/proxy/src/lib.rs index 6e78df2c73..bc892b65b3 100644 --- a/substrate/frame/proxy/src/lib.rs +++ b/substrate/frame/proxy/src/lib.rs @@ -64,12 +64,12 @@ type BalanceOf = <::Currency as Currency< { /// The account which may act on behalf of another. - delegate: AccountId, + pub delegate: AccountId, /// A value defining the subset of calls that it is allowed to make. - proxy_type: ProxyType, + pub proxy_type: ProxyType, /// The number of blocks that an announcement must be in place for before the corresponding call /// may be dispatched. If zero, then no announcement is needed. - delay: BlockNumber, + pub delay: BlockNumber, } /// Details surrounding a specific instance of an announcement to make a call. @@ -734,7 +734,7 @@ impl Pallet { }) } - fn find_proxy( + pub fn find_proxy( real: &T::AccountId, delegate: &T::AccountId, force_proxy_type: Option,