Skip to content
Snippets Groups Projects
Unverified Commit 1ac2e964 authored by Xavier Lau's avatar Xavier Lau Committed by GitHub
Browse files

Fixes #219 (#7407)


Add a new extrinsic `dispatch_as_fallible`.

It's almost the same as [`Pallet::dispatch_as`] but forwards any error
of the inner call.

Closes #219.

And add more unit tests to cover `dispatch_as` and
`dispatch_as_fallible`.

---

Polkadot address: 156HGo9setPcU2qhFMVWLkcmtCEGySLwNqa3DaEiYSWtte4Y

---------

Signed-off-by: default avatarXavier Lau <x@acg.box>
Co-authored-by: default avatarBastian Köcher <git@kchr.de>
Co-authored-by: default avatarBastian Köcher <info@kchr.de>
Co-authored-by: default avatarcmd[bot] <41898282+github-actions[bot]@users.noreply.github.com>
parent fd72d583
Branches
No related merge requests found
Pipeline #515849 waiting for manual action with stages
in 18 minutes and 7 seconds
Showing
with 205 additions and 0 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment