Skip to content

Commit 216257e

Browse files
authored
new(tests): EIP-7702: More RLP tests (#1347)
* refactor(types): remove nonce-as-list from auth list * new(tests): EIP-7702: Tx serialization tests * refactor(tests): Use RLP encoding changes * Change log * new(tests): EIP-7702: more rlp tests
1 parent 26ad6a0 commit 216257e

File tree

3 files changed

+441
-5
lines changed

3 files changed

+441
-5
lines changed

docs/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ consume cache --help
6262
### 🧪 Test Cases
6363

6464
- ✨ Add additional test coverage for EIP-152 Blake2 precompiles ([#1244](https://github.com/ethereum/execution-spec-tests/pull/1244)).
65+
- ✨ Add EIP-7702 incorrect-rlp-encoding tests ([#1347](https://github.com/ethereum/execution-spec-tests/pull/1347)).
6566

6667
## [v4.1.0](https://github.com/ethereum/execution-spec-tests/releases/tag/v4.1.0) - 2025-03-11
6768

src/ethereum_test_types/types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@ class AuthorizationTupleGeneric(CamelModel, Generic[NumberBoundTypeVar], Signabl
442442

443443
chain_id: NumberBoundTypeVar = Field(0) # type: ignore
444444
address: Address
445-
nonce: List[NumberBoundTypeVar] | NumberBoundTypeVar = Field(0) # type: ignore
445+
nonce: NumberBoundTypeVar = Field(0) # type: ignore
446446

447447
v: NumberBoundTypeVar = Field(default=0, validation_alias=AliasChoices("v", "yParity")) # type: ignore
448448
r: NumberBoundTypeVar = Field(0) # type: ignore

0 commit comments

Comments
 (0)