feat: add PrimitiveSignature to test-vectors compact tests (#12366)

This commit is contained in:
joshieDo
2024-11-07 19:00:48 +09:00
committed by GitHub
parent 8e8a1a827d
commit 29a9e97797

View File

@ -1,4 +1,4 @@
use alloy_primitives::{hex, private::getrandom::getrandom, TxKind}; use alloy_primitives::{hex, private::getrandom::getrandom, PrimitiveSignature, TxKind};
use arbitrary::Arbitrary; use arbitrary::Arbitrary;
use eyre::{Context, Result}; use eyre::{Context, Result};
use proptest::{ use proptest::{
@ -126,7 +126,7 @@ compact_types!(
], ],
// These types require an extra identifier which is usually stored elsewhere (eg. parent type). // These types require an extra identifier which is usually stored elsewhere (eg. parent type).
identifier: [ identifier: [
// Signature todo we for v we only store parity(true || false), while v can take more values PrimitiveSignature,
Transaction, Transaction,
TxType, TxType,
TxKind TxKind