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 warning based on trusted flag #1226

Merged
merged 6 commits into from
Nov 23, 2022
Merged

fix: show warning based on trusted flag #1226

merged 6 commits into from
Nov 23, 2022

Conversation

iamacook
Copy link
Member

What it solves

Resolves default warning when no signatures exist.

How this PR fixes it

A warning should no longer shown by default when no signatures are present, e.g. when queuing an approval of a nested Safe. Instead, they are shown when the trusted flag is false.

Note: no warning will be shown until the flag is implemented.

How to test it

Open an "untrusted" transaction and observe the warning

@iamacook iamacook requested a review from katspaugh November 23, 2022 08:37
@iamacook iamacook self-assigned this Nov 23, 2022
@iamacook iamacook changed the title fix: show warning based on flag fix: show warning based on trusted flag Nov 23, 2022
@iamacook iamacook requested a review from katspaugh November 23, 2022 08:42
@iamacook iamacook linked an issue Nov 23, 2022 that may be closed by this pull request
@github-actions
Copy link

github-actions bot commented Nov 23, 2022

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

@iamacook iamacook merged commit 343edd4 into dev Nov 23, 2022
@iamacook iamacook deleted the trusted-warning branch November 23, 2022 13:10
@katspaugh katspaugh mentioned this pull request Nov 28, 2022
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.

Reference transaction trusted flag when showing the UnsignedWarning
2 participants