Skip to content
This repository has been archived by the owner on Mar 23, 2023. It is now read-only.

fix: notifications for magistrate transactions #1725

Merged
merged 3 commits into from
Feb 28, 2020
Merged

fix: notifications for magistrate transactions #1725

merged 3 commits into from
Feb 28, 2020

Conversation

dated
Copy link
Contributor

@dated dated commented Feb 26, 2020

Summary

This PR fixes the issues with the notifications for some magistrate transactions.

One problem with displaying the bridgechain name in the bridgechain transaction notifications is that the name is only available in the registration transaction. Update and resignation only hold the bridgechainId, i.e. the genesis hash. For consistency the bridgechain id is displayed across all three bridgechain transaction types. The name of the bridgechain would have to be fetched through the api which shouldn't be of the synchronizers concern, or stored locally on the wallet. Happy to discuss options if you want the name displayed @alexbarnsley.

The name of the business has been removed from the business update notifications, as there is no guarantee that the update includes a new name.

Checklist

  • Documentation (if necessary)
  • Tests (if necessary)
  • Ready to be merged

@ghost
Copy link

ghost commented Feb 26, 2020

Thanks for submitting this pull request! A maintainer will review this in the next few days and explicitly select labels so you know what's going on.

If no reviewer appears after a week, a reminder will be sent out.

@ghost ghost added Complexity: Low Less than 64 lines changed. Type: Bugfix The pull request fixes an incorrect functionality or behaviour. labels Feb 26, 2020
@ghost ghost added the Status: Member Approved The pull request has been approved by a member. label Feb 28, 2020
@ghost
Copy link

ghost commented Feb 28, 2020

A member has approved this PR. A maintainer will merge this PR shortly. If it shouldn't be merged yet, please leave a comment saying so and we'll wait.

Thank you for your contribution!

@alexbarnsley alexbarnsley added the Bounty: Tier 4 Awarded for small features, refactorings, improvements. This is valued at 20 USD. label Feb 28, 2020
@alexbarnsley alexbarnsley merged commit dd83b7c into ArkEcosystem:develop Feb 28, 2020
@ghost
Copy link

ghost commented Feb 28, 2020

Your pull request has been merged and marked as tier 4. It will earn you $20 USD.

@dated dated deleted the fix/magistrate-notifications branch February 28, 2020 12:00
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bounty: Tier 4 Awarded for small features, refactorings, improvements. This is valued at 20 USD. Complexity: Low Less than 64 lines changed. Status: Member Approved The pull request has been approved by a member. Type: Bugfix The pull request fixes an incorrect functionality or behaviour.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants