Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pallet grouping macros #300

Merged
merged 66 commits into from
Nov 4, 2024
Merged

Pallet grouping macros #300

merged 66 commits into from
Nov 4, 2024

Conversation

4meta5
Copy link
Contributor

@4meta5 4meta5 commented Aug 26, 2024

Ready for Review!

Closes #257

  • configure macros in generic-template: system, consensus, assets, governance, xcm
  • configure macros in evm-template: system, consensus, assets, governance, xcm, evm
  • single file config for OpenZeppelinRuntime (per runtime)
  • minimal type aliasing + maximal direct assignment in the single file config
  • merge xtokens into both templates: xtokens config #331 , xtokens on generic #343
  • merge xcm-transactor into both templates: xcm-transactor on evm #345 , merge xcm-transactor on generic #346
  • update macros to include xtokens, xcm-transactor
  • resolve merge conflicts => merge into main with macro changes
  • merge macros
  • wrappers release
  • update macro dep to point to release tag

This comment has been minimized.

@4meta5 4meta5 self-assigned this Aug 27, 2024
@4meta5 4meta5 added enhancement New feature or request priority: 3 We will resolve this first before everything else. labels Aug 27, 2024
Copy link
Collaborator

@ggonzalez94 ggonzalez94 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good! Just did a first pass and will continue tomorrow

generic-template/runtime/src/configs/mod.rs Outdated Show resolved Hide resolved
generic-template/Cargo.toml Outdated Show resolved Hide resolved
Copy link
Collaborator

@ggonzalez94 ggonzalez94 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just finished a second pass, left a few extra comments and questions. I still have a few that I think would be easier to discuss during our sync tomorrow.
But this is coming together nicely, and I think we should be able to merge it in the next 1-2 days

evm-template/runtime/src/configs/mod.rs Outdated Show resolved Hide resolved
generic-template/runtime/src/configs/mod.rs Outdated Show resolved Hide resolved
evm-template/runtime/src/configs/xcm_config.rs Outdated Show resolved Hide resolved
evm-template/runtime/src/configs/mod.rs Outdated Show resolved Hide resolved
generic-template/runtime/src/configs/asset_config.rs Outdated Show resolved Hide resolved
@4meta5

This comment has been minimized.

@KitHat KitHat mentioned this pull request Nov 1, 2024
2 tasks
@4meta5
Copy link
Contributor Author

4meta5 commented Nov 3, 2024

Both nodes are compiling. Will update the direct path dependency to point to the release once OpenZeppelin/openzeppelin-pallet-abstractions#1 is merged and it is released.

Copy link
Collaborator

@ggonzalez94 ggonzalez94 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! We just need to update the Cargo.toml once we release the wrappers.

@ggonzalez94
Copy link
Collaborator

Merging this so we can merge #354, which is built on top of this and create the rc.
@4meta5 if there were any pending changes(I think there weren't) please add them on a new PR 🙏

@ggonzalez94 ggonzalez94 merged commit 8e0feec into main Nov 4, 2024
5 of 6 checks passed
@ggonzalez94 ggonzalez94 deleted the amar-system-wrapper-poc2 branch November 4, 2024 13:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request priority: 3 We will resolve this first before everything else.
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

🎁 [Feature Request]: Pallet Abstractions to Improve DX
4 participants