-
Notifications
You must be signed in to change notification settings - Fork 439
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: do not offer executing unsigned txs with connected wallet #4598
base: dev
Are you sure you want to change the base?
Conversation
Branch preview✅ Deploy successful! Storybook: |
📦 Next.js Bundle Analysis for safe-wallet-webThis analysis was generated by the Next.js Bundle Analysis action. 🤖
|
Page | Size (compressed) |
---|---|
global |
1005.99 KB (🟡 +3 B) |
Details
The global bundle is the javascript bundle that loads alongside every page. It is in its own category because its impact is much higher - an increase to its size means that every page on your website loads slower, and a decrease means every page loads faster.
Any third party scripts you have added directly to your app using the <script>
tag are not accounted for in this analysis
If you want further insight into what is behind the changes, give @next/bundle-analyzer a try!
Coverage reportCaution Test run failed
Show files with reduced coverage 🔻
Test suite run failedFailed tests: 1/1662. Failed suites: 1/226.
Report generated by 🧪jest coverage report action from d719480 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should pull from dev to fix the tests.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We also need to consider delegates. I am now no longer able to propose a nested transaction when connected as a parent delegate to a child.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After discussion, and considering we purposely excluded other signing cases such as spending limites, recovery, roles, etc., we will disregard delegates. If requested, we will revisit it later
What it solves
We currently offer executing unsigned txs through the connected wallet whilst having a subaccount opened.
How this PR fixes it
Only adds the connected wallet as option if the transaction is already fully signed or the wallet is an owner.
How to test it
Checklist