Skip to content

fix: emit ecrecover authorizer signer#966

Open
prd-carapulse[bot] wants to merge 18 commits into
mainfrom
hermes/ecrecover-authorizer-signer-event-1780397877
Open

fix: emit ecrecover authorizer signer#966
prd-carapulse[bot] wants to merge 18 commits into
mainfrom
hermes/ecrecover-authorizer-signer-event-1780397877

Conversation

@prd-carapulse

@prd-carapulse prd-carapulse Bot commented Jun 2, 2026

Copy link
Copy Markdown
Contributor

Adds the recovered signer address to EcrecoverAuthorizer.SetIsAuthorized.

Include the recovered signer in the EcrecoverAuthorizer SetIsAuthorized event so offchain consumers can reconstruct who signed delegated authorizations.
address indexed authorized,
bool isAuthorized,
uint256 nonce,
address signer

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.

not sure where to put it, no clear consensus (github search), also don't think it matters much

Comment thread test/SetIsAuthorizedWithSigTest.sol Outdated

@MathisGD MathisGD left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Nb: EcrecoverRatifier.isRatified also recovers _signer and accepts delegated signers, but no event exposes the signer. Harder to fix because isRatified is view... Have we thought about this when passing the ratification as view?

@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: a0ea694455

ℹ️ About Codex in GitHub

Your team has set up Codex to 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 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/libraries/EventsLib.sol Outdated
Comment thread src/periphery/interfaces/IEcrecoverAuthorizer.sol
@adhusson adhusson requested a review from QGarchery June 22, 2026 13:30
@MathisGD MathisGD mentioned this pull request Jun 23, 2026
Comment thread test/EcrecoverAuthorizerTest.sol Outdated
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