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.

Add on_initialize and on_finalize hooks to xcm-emulator #2734

@NachoPal

Description

@NachoPal

It was found here: #2703 that on_initialize and on_finalize hooks were not triggered in xcm-emulator.

on_initialize and on_finalize attributes should be added to decl_test_parachains and decl_test_relay_chains macros expected struct arguments (similar to on_init) attribute. There, can be optionally added those pallets on_initialize and on_finalize hooks strictly needed for the tests.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions