Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

5
  • "0xcdcd77c0: the Method ID. This is derived as the first 4 bytes of the Keccak hash of the ASCII form of the signature baz(uint32,bool)." Nice! But what about the remaining 12 Bytes containing all zeroes? Commented Apr 13, 2016 at 14:47
  • 1
    @HenriqueBarcelos The 0s are the leading 0s of the second argument, the address to which to send the coins. Commented Apr 13, 2016 at 15:13
  • That's what I thought, but why this happens? It seems like wasting data... Commented Apr 13, 2016 at 15:21
  • 1
    @HenriqueBarcelos The EVM word size is 32 bytes (256 bits) ethereum.stackexchange.com/q/2327/42 and is the natural unit of data: en.wikipedia.org/wiki/Word_(computer_architecture) Commented Apr 14, 2016 at 4:35
  • Seems like lack of a better serialization protocol in this case. Commented Jun 30, 2018 at 22:47