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

Remove pallet_xcm_bridge_hub::SuspendedBridges #2505

Merged
merged 2 commits into from
Aug 29, 2023

Conversation

svyatonik
Copy link
Contributor

while working on #2501, I've realized that we no longer need to iterate over suspended bridges in the pallet_xcm_bridge_hub. It was required at some point in the past (during that dynamic-fees v1/v2 mess). So we can avoid this storage vec at all by just adding Suspended state.

modules/xcm-bridge-hub/src/exporter.rs Outdated Show resolved Hide resolved
@svyatonik svyatonik merged commit ec5beba into master Aug 29, 2023
15 checks passed
@svyatonik svyatonik deleted the remove-suspended-bridges-vec branch August 29, 2023 12:05
bkontur pushed a commit that referenced this pull request May 7, 2024
* remove pallet_xcm_bridge_hub::SuspendedBridges

* apply review suggestions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants