ethereum-optimism / ethereum-optimism/optimism
fix(op-service/eth): Bytes256.UnmarshalText reports wrong type name (Bytes32)
Open
- Dominant language
- Go
- Stars
- 6.5k
- Forks
- 4k
- Avg merge
- 2d 38m
- Merged PRs (30d)
- 164
Description
## Problem
`(*Bytes256).UnmarshalText` calls `hexutil.UnmarshalFixedText` with the string `"Bytes32"` instead of `"Bytes256"`, so validation/error output refers to the wrong type.
## Expected
Pass `"Bytes256"` like other fixed-size types do for their width.
## PR
Tracked in the linked pull request.
Contributor guide
Assessment
This issue has not been assessed yet.