@@ -805,7 +805,6 @@ async function buildAllowedProxyActions<
805805 . with ( 'NonTransfer' , ( ) => [
806806 ...proxyActionBuilder . buildAuctionAction ( ) ,
807807 ...proxyActionBuilder . buildBountyAction ( ) ,
808- ...proxyActionBuilder . buildGovernanceAction ( ) ,
809808 ...proxyActionBuilder . buildMultisigAction ( ) ,
810809 ...proxyActionBuilder . buildNominationPoolsAction ( ) ,
811810 ...proxyActionBuilder . buildProxyAction ( ) ,
@@ -993,6 +992,7 @@ async function buildDisallowedProxyActions<
993992 . with ( 'NonTransfer' , ( ) => [
994993 ...proxyActionBuilder . buildBalancesAction ( ) ,
995994 ...proxyActionBuilder . buildVestingAction ( ) ,
995+ ...proxyActionBuilder . buildGovernanceAction ( ) ,
996996 ] )
997997 . with ( 'CancelProxy' , ( ) => {
998998 const actions = [
@@ -1626,7 +1626,7 @@ export async function createKillPureProxyTest<
16261626 // To call `proxy.killPure`, the block number of `proxy.createPure` is required.
16271627 // The current block number will have been the block in which the batch transaction containing all of the
16281628 // `createPure` extrinsics were executed.
1629- const currBlockNumber = ( await client . api . rpc . chain . getHeader ( ) ) . number . toNumber ( )
1629+ const currBlockNumber = ( await client . api . query . parachainSystem . lastRelayChainBlockNumber ( ) ) . toNumber ( )
16301630
16311631 // For every pure proxy type, create a `proxy.proxy` call, containing a `proxy.killPure` extrinsic.
16321632 // Note that in the case of pure proxies, the account which called `proxy.createPure` becomes the delegate,
@@ -1778,7 +1778,7 @@ export async function proxyAnnouncementLifecycleTest<
17781778
17791779 await checkEvents ( announcementEvents , 'proxy' ) . toMatchSnapshot ( 'events when Bob announces a proxy call' )
17801780
1781- const currRelayBlockNumber = ( await relayClient . api . rpc . chain . getHeader ( ) ) . number . toNumber ( )
1781+ const currRelayBlockNumber = ( await ahClient . api . query . parachainSystem . lastRelayChainBlockNumber ( ) ) . toNumber ( )
17821782 const announcementObject = {
17831783 real : encodeAddress ( alice . address , addressEncoding ) ,
17841784 callHash : transferCall . method . hash . toHex ( ) ,
0 commit comments