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

Change VenueId to Option #1700

Merged
merged 4 commits into from
Aug 15, 2024
Merged

Change VenueId to Option #1700

merged 4 commits into from
Aug 15, 2024

Conversation

HenriqueNogara
Copy link
Contributor

@HenriqueNogara HenriqueNogara commented Aug 9, 2024

changelog

modified external API

  • The following extrinsics changed the venue_id to Option<VenueId>: add_instruction, add_and_affirm_instruction, add_and_affirm_with_mediators, add_instruction_with_mediators;

modified events

  • The following events were modified: InstructionCreated;

data migration

  • The InstructionDetails storage was migrated;

@HenriqueNogara HenriqueNogara changed the title [WIP] Change VenueId to Option Change VenueId to Option Aug 13, 2024
Copy link
Contributor

@Neopallium Neopallium left a comment

Choose a reason for hiding this comment

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

LGTM

@HenriqueNogara HenriqueNogara marked this pull request as ready for review August 13, 2024 12:37
@@ -1962,13 +1973,15 @@ impl<T: Config> Module<T> {
fn ensure_venue_filtering(
tickers: &mut BTreeSet<AssetID>,
asset_id: AssetID,
venue_id: &VenueId,
venue_id: &Option<VenueId>,
Copy link
Collaborator

Choose a reason for hiding this comment

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

Seems a bit odd to have it optional here, rather not calling this function when it is None?

Base automatically changed from MESH-2188/new-ticker-approach to develop August 13, 2024 13:37
@Neopallium Neopallium merged commit e292afc into develop Aug 15, 2024
13 checks passed
@Neopallium Neopallium deleted the MESH-2030/optional-venue branch August 15, 2024 14:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants