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

Fix: show known addresses in decoded tx data #2423

Merged
merged 3 commits into from
Aug 23, 2023
Merged

Fix: show known addresses in decoded tx data #2423

merged 3 commits into from
Aug 23, 2023

Conversation

katspaugh
Copy link
Member

What it solves

Resolves #2422

How this PR fixes it

Displays name and icon for known addresses in decoded tx details and in multisend details.

How to test it

  • Open a 1.1.1 Safe
  • Create a tx to upgrade it to 1.3.0
  • See that the mastercopy and fallback handler addresses have a name and icon

Screenshots

Screenshot 2023-08-21 at 12 49 53

@github-actions
Copy link

github-actions bot commented Aug 21, 2023

Branch preview

✅ Deploy successful!

https://fix_known--walletweb.review-wallet-web.5afe.dev

Comment on lines -4 to -8

/* Reduce space between name/address for clarity between rows */
.address > div {
line-height: 1;
}
Copy link
Member Author

Choose a reason for hiding this comment

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

Removed this because it cuts the hanging parts of some letters:
Screenshot 2023-08-21 at 13 03 28

@github-actions
Copy link

github-actions bot commented Aug 21, 2023

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

@francovenica
Copy link
Contributor

Question. Should the name also show up in the tx form? or is out of the scope of this ticket?
these 2 snapshot are from the same tx (during creation and in the queue tab)

image
image

@katspaugh
Copy link
Member Author

@francovenica during tx creation we don't have this info, but I added it when confirming an existing tx. 👍

@francovenica
Copy link
Contributor

indeed, it works for tx that have been already proposed.
Safe I used:
eth:0x160236A11f81858F2179db1F80f9353785349903
image

@katspaugh katspaugh merged commit 500d687 into dev Aug 23, 2023
7 checks passed
@katspaugh katspaugh deleted the fix-known branch August 23, 2023 13:42
@github-actions github-actions bot locked and limited conversation to collaborators Aug 23, 2023
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.

Known addresses in ABI and multisend details
3 participants