1

I am experiencing an issue with proxy transactions on Westend Asset Hub. The proxy transaction shows as executed successfully, but the underlying function doesn't execute properly.

Transaction Details:

The steps were done correctly

  • Set up a staking proxy from the real account (extrinsic)
  • Try to bond funds from the Staking Proxy (for the real account) to create the initial staking ledger (extrinsics)
  • Try to set_payee from the Staking Proxy (for the real account) (extrinsic)

The issue is found only when clicking in any of the extrinsics, then clicking under proxy (ProxyExecuted) event and there is a CallFiltered call with The origin filter prevent the call to be dispatched. doc. This seems like an error since in other working examples like this one, this should show result Ok when there are no errors.

Why is the proxy transaction marked as successful when the actual proxied call is being blocked by the origin filter? How can I fix this?

Thank you Ankan and Oliver in helping debugging this.

1 Answer 1

1

The issue is that the account has two proxy delegations; one for Assets management and one for Staking relating things.

[
  [
    {
      delegate: 5E92HEC2bFWNipDcdhre93L3UAqFNFgch3kJy83qwpvEL4SP
      proxyType: Assets
      delay: 0
    }
    {
      delegate: 5E92HEC2bFWNipDcdhre93L3UAqFNFgch3kJy83qwpvEL4SP
      proxyType: Staking
      delay: 0
    }
  ]
  10,053,000,000
]

The user has to use the force_proxy_type argument of the proxy extrinsic. Internally, it just picks the first proxy and tries to dispatch the inner Staking call. In this case, that is an Assets proxy - not a Staking proxy, hence it fails. If they retry and set the force_proxy_type to Staking then it should work.

The confusing part is that the Proxy extrinsic reports a successful outcome instead of just returning an error. It does emit an event to indicate the error, but that is a bit hard to see. I hope that multisig UIs are aware of this and automatically set the argument.

1
  • It worked with force_proxy_type set to Staking. Thank you !
    – dominique
    Commented yesterday

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.