Skip to content

Conversation

ypatil12
Copy link
Collaborator

Motivation:

Most Ethereum signers, especially the Web3Signer, expect to hash a message payload on their own when signing. This PR adds a version of calculateCertificateDigest that doesnt hash the cert digest bytes in order to be compatible with signing libraries that want to hash the payload.

Modifications:

Added calculateCertificateDigestBytes to the ECDSA Certificate Verifier

Result:

We can now use the Web3Signer for signing multichain ECDSA certificates 🎉

**Motivation:**

Most Ethereum signers, especially the Web3Signer, expect to hash a
message payload on their own when signing. This PR adds a version of
`calculateCertificateDigest` that doesnt hash the cert digest bytes in
order to be compatible with signing libraries that want to hash the
payload.

**Modifications:**

Added `calculateCertificateDigestBytes` to the ECDSA Certificate
Verifier

**Result:**

We can now use the Web3Signer for signing multichain ECDSA certificates
🎉

---------

Co-authored-by: Yash Patil <[email protected]>
@ypatil12 ypatil12 merged commit 0a5ff4e into main Jul 15, 2025
14 checks passed
@ypatil12 ypatil12 deleted the feat/ecdsa-bytes-digest branch July 15, 2025 15:47
Copy link

Certora Run Started (Eigenlayer Contracts)

  • Group ID: cfef7794-d2f2-479f-8b75-3f756c83a78c
Config Status Link Log File
core/AllocationManager.conf Compiled - certora/confs/core/AllocationManager.conf-d5b9d14f362f.log
core/AllocationManagerSanity.conf Compiled - certora/confs/core/AllocationManagerSanity.conf-b5aae8b83d59.log
core/DelegationManager.conf Compiled - certora/confs/core/DelegationManager.conf-651b92038360.log
core/DelegationManagerValidState.conf Compiled - certora/confs/core/DelegationManagerValidState.conf-1a015e9ab6f6.log
core/StrategyManager.conf Failed (1) - certora/confs/core/StrategyManager.conf-09e13c807940.log
permissions/Pausable.conf Compiled - certora/confs/permissions/Pausable.conf-ae8efbfa20ba.log
pods/EigenPodManagerRules.conf Compiled - certora/confs/pods/EigenPodManagerRules.conf-89311ed59c1d.log
strategies/StrategyBase.conf Compiled - certora/confs/strategies/StrategyBase.conf-198aa7a381ae.log

Certora Run Summary

  • Started 0 jobs
  • 1 jobs failed

Download Logs

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