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

Removed pallet:getter from Snowbridge pallets #7914

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

muraca
Copy link
Contributor

@muraca muraca commented Mar 13, 2025

Description

Part of #3326

As per title, the pallet:getter usage has been removed from:

  • snowbridge-pallet-ethereum-client
  • snowbridge-pallet-inbound-queue
  • snowbridge-pallet-outbound-queue
  • snowbridge-pallet-system

Getters have been implemented manually for all storage items where an auto-generated one has been removed.

polkadot address: 12poSUQPtcF1HUPQGY3zZu2P8emuW9YnsPduA4XG3oCEfJVp

@muraca muraca force-pushed the getters/snowbridge branch from 05efc9a to f7a0bb5 Compare March 13, 2025 14:13
@claravanstaden
Copy link
Contributor

@vgeddes @alistair-singh @yrong do we actually use these getters somewhere? Maybe we can remove some/all of them?

@bkchr
Copy link
Member

bkchr commented Mar 17, 2025

@claravanstaden we normally merge these changes with the manual get functions. Maybe someone downstream uses them. (BIG MAYBE :D)

@bkchr bkchr added the T2-pallets This PR/Issue is related to a particular pallet. label Mar 17, 2025
@bkchr bkchr requested a review from bkontur March 17, 2025 21:07
Copy link
Contributor

@claravanstaden claravanstaden left a comment

Choose a reason for hiding this comment

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

@bkchr cool, makes sense!

Copy link
Contributor

@bkontur bkontur left a comment

Choose a reason for hiding this comment

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

@claravanstaden If you really don't need them and want to remove them and we want to be nice, then let's deprecate them with a message like "Will be removed, e.g., stable2509.". Otherwise, just remove them :)

@acatangiu
Copy link
Contributor

Just remove, nobody uses Snowbridge components other than Snowbridge

@bkchr
Copy link
Member

bkchr commented Mar 18, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T2-pallets This PR/Issue is related to a particular pallet.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants