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

Append all signatures and sort them via script #4

Merged
merged 4 commits into from
Apr 29, 2023
Merged

Conversation

Rubilmax
Copy link
Collaborator

@Rubilmax Rubilmax commented Apr 28, 2023

Fixes #2

Tests should be written

I ran a manual test using this tx:
TO=0x4976fb03C32e5B8cfe2b6cCB31c09Ba78EBaBa41 FOUNDRY_FORK_BLOCK_NUMBER=15358278 make hash

which outputs dataHash = 0x5288bdf645f343409e55df21ba0888106bc4a2592ce90456889149ba545a6332 just like what was submitted to the safe at the time of tx (nonce 29, included in block 15358279)

Copy link
Collaborator

@MerlinEgalite MerlinEgalite left a comment

Choose a reason for hiding this comment

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

Nice! I have some questions though

README.md Outdated Show resolved Hide resolved
script/libraries/QuickSort.sol Show resolved Hide resolved
script/BatchSignaturesAndExecuteOnSafe.s.sol Outdated Show resolved Hide resolved
Copy link
Collaborator

@MerlinEgalite MerlinEgalite left a comment

Choose a reason for hiding this comment

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

Great!

@Rubilmax Rubilmax merged commit 4ff7211 into main Apr 29, 2023
@Rubilmax Rubilmax deleted the feat/sort-signers branch April 29, 2023 08:43
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.

Follow Safe signature framework
3 participants