The PR ensures that the id_provider variable is cloned instead of taken, which can help prevent issues related id provider being reset to the default.
In a test in moonbeam we found that the id_provider is being reset somehow and changed to the default one. Changing .take() to .clone() would fix the issue.
Checklist
[x] My PR includes a detailed description as outlined in the "Description" and its two subsections above.
[ ] My PR follows the labeling requirements of this project (at minimum one label for T required)
External contributors: ask maintainers to put the right label on your PR.
[ ] I have made corresponding changes to the documentation (if applicable)
[ ] I have added tests that prove my fix is effective or that my feature works (if applicable)
Description
The PR ensures that the id_provider variable is cloned instead of taken, which can help prevent issues related id provider being reset to the default.
In a test in moonbeam we found that the id_provider is being reset somehow and changed to the default one. Changing .take() to .clone() would fix the issue.
Checklist
T
required)