Skip to content

[Blue fallback] Set config with sig - #1144

Open
claude[bot] wants to merge 14 commits into
blue-fallback-rolling-mindebtfrom
set-config-with-sig-on-mindebt
Open

[Blue fallback] Set config with sig#1144
claude[bot] wants to merge 14 commits into
blue-fallback-rolling-mindebtfrom
set-config-with-sig-on-mindebt

Conversation

@claude

@claude claude Bot commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

Requested by peyha · Slack thread

Implements #1142's setConfigWithSig on top of #1141, extending the signed ConfigAuthorization with minRollableAssets.


Generated by Claude Code

Comment thread test/BlueFallbackRollingTest.sol Outdated
@MathisGD
MathisGD marked this pull request as ready for review August 14, 2026 12:07
Comment thread src/periphery/blue-fallback-rolling/interfaces/IBlueFallbackRolling.sol Outdated
Comment thread src/periphery/blue-fallback-rolling/BlueFallbackRolling.sol Outdated
Comment thread src/periphery/blue-fallback-rolling/interfaces/IBlueFallbackRolling.sol Outdated
Comment thread src/periphery/blue-fallback-rolling/BlueFallbackRolling.sol Outdated
Comment thread src/periphery/blue-fallback-rolling/BlueFallbackRolling.sol Outdated
claude added 3 commits August 14, 2026 12:42
…nto set-config-with-sig-on-mindebt

# Conflicts:
#	src/periphery/README.md
#	test/BlueFallbackRollingTest.sol
Comment thread src/periphery/blue-fallback-rolling/BlueFallbackRolling.sol Outdated

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: b687945e5c

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread src/periphery/README.md Outdated
Comment on lines +41 to +42
Midnight. Configurations set by signature are revoked like any other, with
`setConfig(..., false)`.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Document pending signature cancellation limits

This revocation guidance is only true after the signature has already been relayed. If a user signs an enabled=true config and then tries to cancel it with setConfig(..., false) before relay, the user nonce has not advanced, so anyone holding the signature can still submit it before the deadline and turn the config back on. Either add nonce cancellation/bump the nonce on direct revocation, or document that pending signatures remain valid until expiry or nonce consumption.

Useful? React with 👍 / 👎.

Comment thread src/periphery/blue-fallback-rolling/BlueFallbackRolling.sol Outdated
Comment thread src/periphery/blue-fallback-rolling/interfaces/IBlueFallbackRolling.sol Outdated
Comment thread src/periphery/README.md Outdated
);
}

function setConfigWithSig(RollingSigConfig memory signedStruct, Signature memory signature) external override {

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.

Suggested change
function setConfigWithSig(RollingSigConfig memory signedStruct, Signature memory signature) external override {
function setConfigWithSig(RollingSigConfig memory rollingSigConfig, Signature memory signature) external override {

@claude

@chrmatt chrmatt left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Looks good to me.

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.

4 participants