Skip to content

WIP scheduled tx - #17435

Closed
maurelian wants to merge 2 commits into
jm/timelockfrom
jm/timelock-schedule-tx
Closed

WIP scheduled tx#17435
maurelian wants to merge 2 commits into
jm/timelockfrom
jm/timelock-schedule-tx

Conversation

@maurelian

@maurelian maurelian commented Sep 11, 2025

Copy link
Copy Markdown
Contributor

Add the scheduleTransaction() function.

Copy link
Copy Markdown
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
Copy Markdown
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.

@alcueca alcueca left a comment

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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