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

Add on_initialize and on_finalize hooks to xcm-emulator #2734

Open
NachoPal opened this issue Jun 14, 2023 · 0 comments
Open

Add on_initialize and on_finalize hooks to xcm-emulator #2734

NachoPal opened this issue Jun 14, 2023 · 0 comments
Assignees

Comments

@NachoPal
Copy link
Contributor

NachoPal commented Jun 14, 2023

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant