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

feat: Configure Fast Withdrawals using Safe #177

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

InoMurko
Copy link

@InoMurko InoMurko commented Sep 3, 2024

Rollups tend to have ownership transferred to a Safe multi-signature account. These 4 scripts propose transactions to the Safe if there's at least one EOA account in the Safe ownership.

I had to change two types in src/createSafePrepareTransactionRequest.ts and src/setAnyTrustFastConfirmerPrepareTransactionRequest.ts because they were too restrictive on the type of the account passed in.

The first one is creating the Safe transaction. The owner here is the Safe that owns the Rollup. Hence there's no Private Key. The second one is setting the new safe as the Fast Confirmer, this is also sent from the Rollup Safe.

@InoMurko InoMurko changed the title Configure Fast Withdrawals using Safe feat: Configure Fast Withdrawals using Safe Sep 3, 2024
@InoMurko InoMurko force-pushed the inomurko/multisig-fw-public branch from 94615df to 4cd0a06 Compare September 3, 2024 10:58
Copy link
Contributor

@TucksonDev TucksonDev left a comment

Choose a reason for hiding this comment

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

Thanks @InoMurko !
I've left some initial comments about the general structure, let me know what you think 🙏

package.json Outdated Show resolved Hide resolved
examples/setup-fast-withdrawal/README.md Outdated Show resolved Hide resolved
examples/setup-fast-withdrawal/README.md Outdated Show resolved Hide resolved
examples/setup-fast-withdrawal/README.md Outdated Show resolved Hide resolved
@InoMurko InoMurko requested a review from TucksonDev October 29, 2024 22:39
@InoMurko InoMurko force-pushed the inomurko/multisig-fw-public branch from 0b27950 to 9821184 Compare October 29, 2024 22:41
@InoMurko InoMurko force-pushed the inomurko/multisig-fw-public branch from 5234764 to ef76209 Compare October 31, 2024 11:28
@InoMurko InoMurko force-pushed the inomurko/multisig-fw-public branch from ef76209 to ebbf155 Compare November 6, 2024 13:57
@InoMurko InoMurko requested a review from spsjvc November 6, 2024 13:57
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.

3 participants