Eth2.0-specs: SSZ: Add `bytesNN` and remove `Address`

Created on 11 Jan 2019  路  2Comments  路  Source: ethereum/eth2.0-specs

SSZ

Most helpful comment

  • +1 for removing hash32 (in favour of bytes32).
  • Similarly remove hashN (in favour of bytesN).

All 2 comments

the current ValidatorRecord.status_flags: uint64 could also benefit from it. -> bytes64

note: that uint64 is bytes8.

Also, I think it might generally be easier to bitwise manipulate integers in python rather than byte arrays. I don't feel very strongly, but @vbuterin made that argument here https://github.com/ethereum/eth2.0-specs/issues/371#issuecomment-450497143

  • +1 for removing hash32 (in favour of bytes32).
  • Similarly remove hashN (in favour of bytesN).
Was this page helpful?
0 / 5 - 0 ratings

Related issues

hwwhww picture hwwhww  路  13Comments

paulhauner picture paulhauner  路  15Comments

spble picture spble  路  26Comments

JustinDrake picture JustinDrake  路  33Comments

hwwhww picture hwwhww  路  14Comments