Skip to content

Conversation

nadir-akhtar
Copy link
Collaborator

@nadir-akhtar nadir-akhtar commented Aug 14, 2025

Motivation:

As is, BN254 signatures do not necessarily sign over a timestamp. To enforce this, we include it within the onchain code to ensure that signatures must sign over a timestamp to prevent mutation issues.

Modifications:

  • Add calculateCertificateDigest to the BN254CertificateVerifier
  • Add getGlobalTableUpdateSignableDigest to OperatorTableUpdater for offchain services
  • Update tests accordingly

Result:

BN254 certificates now signing over a reference timestamp

@nadir-akhtar nadir-akhtar force-pushed the nadir/bn254-timestamp-verification branch from 1d63128 to e507f81 Compare August 14, 2025 23:58
@nadir-akhtar nadir-akhtar force-pushed the nadir/bn254-timestamp-verification branch from c75a1fb to 94557fd Compare August 15, 2025 00:10
@nadir-akhtar nadir-akhtar merged commit cd5612e into main Aug 15, 2025
14 checks passed
@nadir-akhtar nadir-akhtar deleted the nadir/bn254-timestamp-verification branch August 15, 2025 16:58
ypatil12 added a commit to Layr-Labs/eigenlayer-middleware that referenced this pull request Aug 15, 2025
Update core submodule to point to latest for
Layr-Labs/eigenlayer-contracts#1610
bdchatham added a commit to Layr-Labs/hourglass-monorepo that referenced this pull request Aug 18, 2025
…ask execution (#147)

Ref: Layr-Labs/eigenlayer-contracts#1610

## Motivation:
As is, BN254 signatures do not sign over a timestamp. To enforce this,
we include it within the onchain code to ensure that signatures must
sign over a timestamp to prevent mutation issues. This requires the
offchain components writing to the BN254CertificateVerifier to use this
new procedure.

## Modifications:
Update the Executor to use GetGlobalTableUpdateSignableDigest to
retrieve the signable digest.

## Result:
BN254 certificates now signing over a reference timestamp after
execution of the task.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants