mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-08 21:08:10 -05:00
* `verifyBlobCommitmentCount`: Print max allowed blob count in error message. * `TestPersist`: Use `fieldparams.RootLength` instead of `32`. * `TestDataColumnSidecarsByRootReq_Marshal`: Remove blank line. * `ConvertPeerIDToNodeID`: Improve readability by using one line per field. * `parseIndices`: Return `[]int` instead of `[]uint64`. Rational: These indices are used in `func (m *SparseMerkleTrie) MerkleProof(index int) ([][]byte, error)` that requires `int` and not `uint64`. This `MerkleProof` function is used at a lot of places in the codebase. ==> Changing the signature of `parseIndices` is simpler than changing the signature of `MerkleProof`.
376 B
376 B
Added
verifyBlobCommitmentCount: Print max allowed blob count in error message.
Ignored
TestPersist: Usefieldparams.RootLengthinstead of32.TestDataColumnSidecarsByRootReq_Marshal: Remove blank line.ConvertPeerIDToNodeID: Improve readability by using one line per field.
Changed
parseIndices: Return[]intinstead of[]uint64.