Skip to content

Conversation

maurelian
Copy link
Contributor

@maurelian maurelian commented Sep 11, 2025

Add the scheduleTransaction() function.

Copy link
Contributor Author

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

@maurelian maurelian force-pushed the jm/timelock-schedule-tx branch from 6da20e8 to 0c607c1 Compare September 11, 2025 19:45
// A transaction can only be scheduled once, regardless of whether it has been cancelled or not.
if (scheduledTransactions[_safe][txHash].executionTime != 0) {
revert TimelockGuard_TransactionAlreadyScheduled();
}
Copy link
Contributor

Choose a reason for hiding this comment

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

I think this is sufficient to ensure that the same signatures can't ever be used twice, because the data used to derive txHash is the same used to derive the signatures. You can't change txHash without having to change the signatures as well.

Copy link
Contributor

@alcueca alcueca left a comment

Choose a reason for hiding this comment

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

This looks solid to me

@opgitgovernance opgitgovernance added the S-stale Status: Will be closed unless there is activity label Sep 26, 2025
@opgitgovernance
Copy link
Contributor

This pr has been automatically marked as stale and will be closed in 5 days if no updates

@maurelian maurelian closed this Oct 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-stale Status: Will be closed unless there is activity

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants