Skip to content
This repository was archived by the owner on Nov 10, 2023. It is now read-only.

[Address Book v2] 1603 Use addressbook over known addresses#2352

Merged
dasanra merged 5 commits into
address-book-v2from
feature-1603/use-addressbook-over-known-addresses
Jun 1, 2021
Merged

[Address Book v2] 1603 Use addressbook over known addresses#2352
dasanra merged 5 commits into
address-book-v2from
feature-1603/use-addressbook-over-known-addresses

Conversation

@dasanra

@dasanra dasanra commented May 28, 2021

Copy link
Copy Markdown
Collaborator

What it solves

Closes #1603 to ensure the use of values stored in the address book over the ones from backend for known addresses

How this PR fixes it

In this PR we check those places where we use Known Addresses to have higher priority showing Address book information over information from backend

How to test it

Go through the app checking that we use correct names when stored in address book. Always assume highest priority for the name stored in address book. When name is not stored in the address book, if the address is a knownAddresswe should display the values from backend

Any extra information

There were just few changes and long revision. Detected some places where even the name weren't used (SendCollectibles review and Contract Interaction review). In general it's also fixing some hardcoded values that I found
In Rinkeby Compound app uses a "known smart contract" Can be used for checking in transactions list.

@dasanra dasanra self-assigned this May 28, 2021
@github-actions

Copy link
Copy Markdown

CLA Assistant Lite All Contributors have signed the CLA.

@github-actions

Copy link
Copy Markdown

ESLint Summary View Full Report

Annotations are provided inline on the Files Changed tab. You can also see all annotations that were generated on the annotations page.

Type Occurrences Fixable
Errors 0 0
Warnings 0 0
Ignored 0 N/A
  • Result: ✅ success
  • Annotations: 0 total

Report generated by eslint-plus-action

@github-actions

Copy link
Copy Markdown

@github-actions

Copy link
Copy Markdown

<AddressInfo address={address} name={name} avatarUrl={avatarUrl} />
<EllipsisTransactionDetails
address={address}
knownAddress={knownAddress}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

It wasn't needed?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

@dasanra dasanra merged commit e58b6d6 into address-book-v2 Jun 1, 2021
@dasanra dasanra deleted the feature-1603/use-addressbook-over-known-addresses branch June 1, 2021 10:18
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 1, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Address Book v2] Use address book everywhere, where we display "known addresses"

3 participants