-
Alexandru Vasile authored
* frame-metadata: Point to unreleased branch Signed-off-by: Alexandru Vasile <[email protected]> * frame: Generalize outer enum generation for events and errors Signed-off-by: Alexandru Vasile <[email protected]> * frame: Remove individual generation of outer enum events Signed-off-by: Alexandru Vasile <[email protected]> * primitives/traits: Add marker trait for outer runtime enums Signed-off-by: Alexandru Vasile <[email protected]> * frame: Derive Clone, PartialEq, Eq for RuntimeEvents only Signed-off-by: Alexandru Vasile <[email protected]> * frame/pallet: Include `#[pallet::error]` enum into pallet parts Signed-off-by: Alexandru Vasile <[email protected]> * metadata-ir: Include call, event, error types Signed-off-by: Alexandru Vasile <[email protected]> * frame/metadata: Include outer enum types in V15 metadata Signed-off-by: Alexandru Vasile <[email protected]> * frame/tests: Ensure `RuntimeError` includes `#[pallet::error]` parts Signed-off-by: Alexandru Vasile <[email protected]> * frame/support: Document the reserved name for `RuntimeError` Signed-off-by: Alexandru Vasile <[email protected]> * frame: Use self-generated `RuntimeEvent` for `GetRuntimeOuterEnumTypes` Signed-off-by: Alexandru Vasile <[email protected]> * frame/ui: Fix UI tests Signed-off-by: Alexandru Vasile <[email protected]> * frame/support: Remove unused system path Signed-off-by: Alexandru Vasile <[email protected]> * frame/ui: Unexpected field and reintroduce frame_system::Config for RuntimeCall Signed-off-by: Alexandru Vasile <[email protected]> * frame/support: Remove `GetRuntimeOuterEnumTypes` marker trait Signed-off-by: Alexandru Vasile <[email protected]> * frame/support: Remove `;` from macro Signed-off-by: Alexandru Vasile <[email protected]> * Update frame-metadata to point to unreleased branch Signed-off-by: Alexandru Vasile <[email protected]> * Rename error_enum_ty to module_error_enum_ty Signed-off-by: Alexandru Vasile <[email protected]> * Update module_error_ty documentation Signed-off-by: Alexandru Vasile <[email protected]> * frame: Implement from_dispatch_error Signed-off-by: Alexandru Vasile <[email protected]> * frame/support: Adjust test to ModuleErrorType Signed-off-by: Alexandru Vasile <[email protected]> * Fix clippy Signed-off-by: Alexandru Vasile <[email protected]> * Improve documentation Signed-off-by: Alexandru Vasile <[email protected]> * frame/tests: Check `from_dispatch_error` impl Signed-off-by: Alexandru Vasile <[email protected]> * Update frame-metadata Signed-off-by: Alexandru Vasile <[email protected]> * Remove the module_error_ty Signed-off-by: Alexandru Vasile <[email protected]> * Apply fmt Signed-off-by: Alexandru Vasile <[email protected]> * Revert unneeded parts Signed-off-by: Alexandru Vasile <[email protected]> * Revert "Revert unneeded parts" This reverts commit b94bbd16078a025775a48da1095edec1705e6a4d. Revert "Apply fmt" This reverts commit 9b1c3e7b4ef27d32e10b35054a99916067e0397b. Revert "Remove the module_error_ty" This reverts commit 98de5b24653f9f9ec6ee842b749401b18a01758a. * Update frame-metadata to origin/master Signed-off-by: Alexandru Vasile <[email protected]> * Add outerEnums to the metadata Signed-off-by: Alexandru Vasile <[email protected]> * Add tests Signed-off-by: Alexandru Vasile <[email protected]> * Keep backwards compatibility for explicit pallet parts Signed-off-by: Alexandru Vasile <[email protected]> * Rename tt_error_part to be more generic Signed-off-by: Alexandru Vasile <[email protected]> * Increase recursion_limit to 1k Signed-off-by: Alexandru Vasile <[email protected]> * Rename `fully_expanded` to `expanded` Signed-off-by: Alexandru Vasile <[email protected]> * Improve documentation Signed-off-by: Alexandru Vasile <[email protected]> * Adjust UI tests Signed-off-by: Alexandru Vasile <[email protected]> * Update UI tests Signed-off-by: Alexandru Vasile <[email protected]> * Update undefined_validate_unsigned_part.stderr UI test Signed-off-by: Alexandru Vasile <[email protected]> * Adjust yet again Signed-off-by: Alexandru Vasile <[email protected]> * Optimise macro expansions Signed-off-by: Alexandru Vasile <[email protected]> * Use latest frame-metadata and rename `moduleErrorType` to `RuntimeError` Signed-off-by: Alexandru Vasile <[email protected]> * Fix comment Signed-off-by: Alexandru Vasile <[email protected]> * Apply fmt Signed-off-by: Alexandru Vasile <[email protected]> * Update frame/support/procedural/src/construct_runtime/parse.rs Co-authored-by: Bastian Köcher <[email protected]> * Update frame/support/procedural/src/construct_runtime/parse.rs Co-authored-by: Bastian Köcher <[email protected]> * Update frame-metadata PR Signed-off-by: Alexandru Vasile <[email protected]> * Remove `expanded` from error messages and fix typo Signed-off-by: Alexandru Vasile <[email protected]> * Move docs to the function Signed-off-by: Alexandru Vasile <[email protected]> * ui: Use the intermed syntax for pallet parts Signed-off-by: Alexandru Vasile <[email protected]> * Update frame-metadata with latest release Signed-off-by: Alexandru Vasile <[email protected]> * frame: Address feedback for `from_dispatch_error` Signed-off-by: Alexandru Vasile <[email protected]> --------- Signed-off-by: Alexandru Vasile <[email protected]> Co-authored-by: Bastian Köcher <[email protected]>
73a368c2