Skip to content

Use ledger time for the attestation expiry #416

Closed

Description

@luchobonatti

Expected outcome

An attestation's expires_at is computed from ledger time, so a local clock behind the ledger no longer fails with ExpiresInPast.

Acceptance criteria

  • useAttest derives expires_at from readLedgerTime() plus the freshness duration
  • One test: with the wall clock behind ledger time, expires_at is still in the future

Activity

  1. self-assigned this
    on Nov 2, 2026
  2. luchobonatti commented on Nov 4, 2026

    @luchobonatti
    MemberAuthor

    Done in #429, merged into feedback.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions