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.
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
tests/vectors/zig build conformance-teststep iterating the fixturesmnemonic.zig; EIP-155 examples from the EIP itselfPointers
https://github.com/ethereum/tests -- keep the subset small and licensed-attributed; a comptime @embedfile + std.json loop per fixture file.