Skip to content

Commit 3fc902e

Browse files
author
Beau Shinkle
committed
Mention the endian-ness of numbers in solidity
1 parent ca16ae2 commit 3fc902e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

test/leafTest.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ describe("Leaf", () => {
1717
// and the operator's id in the final 32 bits. Each hex character
1818
// represents 4 bits, so a 40-character hex representation of an eth
1919
// address is the exact 160 bits we need. A number (like a creation block
20-
// or id) gets left-padded with zeros to fill the exact bit count.
20+
// or id) is little-endian and gets left-padded with zeros to fill the
21+
// exact bit count.
2122
const testData = [
2223
{
2324
address: "0x4ddc2d193948926d02f9b1fe9e1daa0718270ed5",

0 commit comments

Comments
 (0)