Skip to content

Official test-vector conformance: ethereum/tests for tx signing, RLP, and EIP-2335/BIP-39 fixtures #74

Description

@koko1123

Motivation

Unit tests assert against self-computed values; conformance against the canonical ethereum/tests vectors (TransactionTests, RLPTests) and the BIP-39 trezor vectors is what lets a security-conscious adopter trust the crypto without reading every line. The existing ~90 alloy cross-validation tests are great -- official vectors close the loop.

Scope

  • Vendor a curated subset of ethereum/tests JSON (TransactionTests for all tx types incl. 4844, RLPTests valid+invalid) under tests/vectors/
  • zig build conformance-test step iterating the fixtures
  • BIP-39: trezor test vectors against mnemonic.zig; EIP-155 examples from the EIP itself

Pointers

https://github.com/ethereum/tests -- keep the subset small and licensed-attributed; a comptime @embedfile + std.json loop per fixture file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions