codegen for root level error (#930)

* code gen for root error

* cargo fmt

* polkadot.rs regenerated

* use pallet name and decode with metadata

* remove pallet by name fn

* test that we can decode a ModuleError via as_root_error

* nits

---------

Co-authored-by: James Wilson <james@jsdw.me>
This commit is contained in:
Tadeo Hepperle
2023-05-02 17:33:09 +02:00
committed by GitHub
parent a3b3d262ed
commit 265f16fdec
6 changed files with 1572 additions and 6 deletions
File diff suppressed because it is too large Load Diff