Skip to content

fixtures: capture a transaction using signature scheme 2 (P256) #10

Description

@mariano-aguero

No captured transaction on hegota-testnet uses signature scheme 2 (P256), so the P256 branch of assertValidFrameTx is exercised only against hand-written input. This is a fact about what the chain has produced so far rather than an omission in the suite, and it closes as soon as such a transaction exists.

What to do: watch for a transaction that carries a scheme 2 entry, then capture it with bunx tsx scripts/capture-fixtures.ts [from-block] [to-block] and add the resulting file under test/fixtures/chain/. The oracle suite picks up new fixtures without further wiring.

The fixture records the client version and genesis hash it was captured against, so do not hand-edit the file. If the capture disagrees with the encoder, the encoder is the side that is wrong, and that is a finding worth its own issue.

Context is in docs/OPEN-ITEMS.md, under the fixture coverage item. CONTRIBUTING.md explains how the three verification oracles work and why a fixture is never edited to make a test pass.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions