Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Utility.batch_all wrapped in Proxy is not transactional #12306

Description

@mclyk

Is there an existing issue?

  • I have searched the existing issues

Experiencing problems? Have you tried our Stack Exchange first?

  • This is not a support question.

Description of bug

In this PR: #11431,
the macro #[transactional] has been removed from 'utility.batch_all', it works good normally, however if it's wrapped in Proxy.proxy, there is an issue:

suppose a transaction like this:
Proxy.proxy<Utility.batch_all<call1,call2,call3>>

  • call1: system. remarkWithEvent
  • call2: balance.transfer(1 trillion)
  • call3: system. remarkWithEvent

if send this transaction to on-chain, call2 failed but call1 success.

Steps to reproduce

on-chain proxy transaction:

https://polkadot.js.org/apps/?rpc=wss://rpc.polkadot.io#/explorer/query/0xfe8aded7fc1380da895e90d046acf55c6e51fe0939c0b8b93d9c477156a97931

https://polkadot.polkaholic.io/tx/0xb437c0237cba48e4eec12dffbe19bdec9305c5df7a4365f861f8c1303b664436

Metadata

Metadata

Assignees

No one assigned

    Labels

    J2-unconfirmedIssue might be valid, but it’s not yet known.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions