Skip to content

Commit 73a4ecf

Browse files
committed
core/types: rename SetCodeAuthorization 'v' to 'yParity'
The API spec requires the name yParity.
1 parent 9d4b29f commit 73a4ecf

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

core/types/gen_authorization.go

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

core/types/tx_setcode.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ type SetCodeAuthorization struct {
7373
ChainID uint64 `json:"chainId" gencodec:"required"`
7474
Address common.Address `json:"address" gencodec:"required"`
7575
Nonce uint64 `json:"nonce" gencodec:"required"`
76-
V uint8 `json:"v" gencodec:"required"`
76+
V uint8 `json:"yParity" gencodec:"required"`
7777
R uint256.Int `json:"r" gencodec:"required"`
7878
S uint256.Int `json:"s" gencodec:"required"`
7979
}

0 commit comments

Comments
 (0)