Skip to content

fix(harness): print the refresh attestation hash - #451

Open
hpmaxi wants to merge 1 commit into
tranche-3from
fix/444-attest-label
Open

hpmaxi wants to merge 1 commit into
tranche-3from
fix/444-attest-label

Conversation

@hpmaxi

@hpmaxi hpmaxi commented Nov 13, 2026

Copy link
Copy Markdown
Contributor

Summary

Closes #444

When the NAV is stale, the harness scenarios post a fresh attestation before they start. That transaction was sent without a label, so the run printed no hash for it. It now prints tx refresh NAV <hash> like every other labelled transaction.

Changes

  • freshFeed passes the label refresh NAV to both of its attest calls.
  • Unit tests for freshFeed with a mocked oracle client: a stale oracle with a stored report, a stale oracle with no record, and a valid oracle that sends nothing.

Deviations

None.

Acceptance criteria

  • A run that refreshes the NAV prints tx <label> <hash> for the attestation
  • A run whose NAV is still valid sends nothing and prints nothing new

Test plan

Automated tests

  1. Root npm run lint, format:check, typecheck, test, and the harness unit tests: pass.

Manual verification

  1. On a fresh local network, deploy then a scenario that refreshes the NAV printed tx refresh NAV <hash>.

Breaking changes

None.

Checklist

  • Self-reviewed my own diff
  • Tests added or updated
  • Docs updated (if applicable)
  • No unrelated changes bundled in

Screenshots

None.

@vercel

vercel Bot commented Nov 13, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
strata-vault-kit-app Ready Ready Preview Nov 13, 2026 2:29pm UTC

Request Review

This branch was successfully deployed

1 active deployment
Preview — 17ba9fb0 Deployed Nov 13, 2026 by vercel[bot]
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.

1 participant