Skip to content

Commit

Permalink
core/types: rename SetCodeAuthorization 'v' to 'yParity'
Browse files Browse the repository at this point in the history
The API spec requires the name yParity.
  • Loading branch information
fjl committed Dec 18, 2024
1 parent 9d4b29f commit 73a4ecf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions core/types/gen_authorization.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion core/types/tx_setcode.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ type SetCodeAuthorization struct {
ChainID uint64 `json:"chainId" gencodec:"required"`
Address common.Address `json:"address" gencodec:"required"`
Nonce uint64 `json:"nonce" gencodec:"required"`
V uint8 `json:"v" gencodec:"required"`
V uint8 `json:"yParity" gencodec:"required"`
R uint256.Int `json:"r" gencodec:"required"`
S uint256.Int `json:"s" gencodec:"required"`
}
Expand Down

0 comments on commit 73a4ecf

Please sign in to comment.