Skip to content

Commit 32f0c47

Browse files
committed
Merge pull request #36 from wanderer/develop
converted back to arrary format
2 parents ab50e76 + 3da90d0 commit 32f0c47

File tree

1 file changed

+66
-66
lines changed

1 file changed

+66
-66
lines changed

TrieTests/trietest.json

Lines changed: 66 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -1,84 +1,84 @@
11
{
22
"singleItem": {
3-
"in": {
4-
"A": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
5-
},
6-
"root": "d23786fb4a010da3ce639d66d5e904a11dbc02746d1ce25029e53290cabf28ab"
3+
"in": [
4+
["A", "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"]
5+
],
6+
"root": "0xd23786fb4a010da3ce639d66d5e904a11dbc02746d1ce25029e53290cabf28ab"
77
},
88
"dogs": {
9-
"in": {
10-
"doe": "reindeer",
11-
"dog": "puppy",
12-
"dogglesworth": "cat"
13-
},
14-
"root": "8aad789dff2f538bca5d8ea56e8abe10f4c7ba3a5dea95fea4cd6e7c3a1168d3"
9+
"in": [
10+
["doe", "reindeer"],
11+
["dog", "puppy"],
12+
["dogglesworth", "cat"]
13+
],
14+
"root": "0x8aad789dff2f538bca5d8ea56e8abe10f4c7ba3a5dea95fea4cd6e7c3a1168d3"
1515
},
1616
"puppy": {
17-
"in": {
18-
"do": "verb",
19-
"horse": "stallion",
20-
"doge": "coin",
21-
"dog": "puppy"
22-
},
23-
"root": "5991bb8c6514148a29db676a14ac506cd2cd5775ace63c30a4fe457715e9ac84"
17+
"in": [
18+
["do", "verb"],
19+
["horse", "stallion"],
20+
["doge", "coin"],
21+
["dog", "puppy"]
22+
],
23+
"root": "0x5991bb8c6514148a29db676a14ac506cd2cd5775ace63c30a4fe457715e9ac84"
2424
},
2525
"emptyValues": {
26-
"in": {
27-
"do": "verb",
28-
"ether": "wookiedoo",
29-
"horse": "stallion",
30-
"shaman": "horse",
31-
"doge": "coin",
32-
"ether": "",
33-
"dog": "puppy",
34-
"shaman": ""
35-
},
36-
"root": "4505cb6d817068bcd68fb225ab4d5ab70860461d3b35738bf6bcf7b44d702d0d"
26+
"in": [
27+
["do", "verb"],
28+
["ether", "wookiedoo"],
29+
["horse", "stallion"],
30+
["shaman", "horse"],
31+
["doge", "coin"],
32+
["ether", ""],
33+
["dog", "puppy"],
34+
["shaman", ""]
35+
],
36+
"root": "0x4505cb6d817068bcd68fb225ab4d5ab70860461d3b35738bf6bcf7b44d702d0d"
3737
},
3838
"foo": {
39-
"in": {
40-
"foo": "bar",
41-
"food": "bat",
42-
"food": "bass"
43-
},
44-
"root": "17beaa1648bafa633cda809c90c04af50fc8aed3cb40d16efbddee6fdf63c4c3"
39+
"in": [
40+
["foo", "bar"],
41+
["food", "bat"],
42+
["food", "bass"]
43+
],
44+
"root": "0x17beaa1648bafa633cda809c90c04af50fc8aed3cb40d16efbddee6fdf63c4c3"
4545
},
4646
"smallValues": {
47-
"in": {
48-
"be": "e",
49-
"dog": "puppy",
50-
"bed": "d"
51-
},
52-
"root": "3f67c7a47520f79faa29255d2d3c084a7a6df0453116ed7232ff10277a8be68b"
47+
"in": [
48+
["be", "e"],
49+
["dog", "puppy"],
50+
["bed", "d"]
51+
],
52+
"root": "0x3f67c7a47520f79faa29255d2d3c084a7a6df0453116ed7232ff10277a8be68b"
5353
},
5454
"testy": {
55-
"in": {
56-
"test": "test",
57-
"te": "testy"
58-
},
59-
"root": "8452568af70d8d140f58d941338542f645fcca50094b20f3c3d8c3df49337928"
55+
"in": [
56+
["test", "test"],
57+
["te", "testy"]
58+
],
59+
"root": "0x8452568af70d8d140f58d941338542f645fcca50094b20f3c3d8c3df49337928"
6060
},
6161
"hex": {
62-
"in": {
63-
"0x0045": "0x0123456789",
64-
"0x4500": "0x9876543210"
65-
},
66-
"root": "285505fcabe84badc8aa310e2aae17eddc7d120aabec8a476902c8184b3a3503"
67-
},
62+
"in": [
63+
["0x0045", "0x0123456789"],
64+
["0x4500", "0x9876543210"]
65+
],
66+
"root": "0x285505fcabe84badc8aa310e2aae17eddc7d120aabec8a476902c8184b3a3503"
67+
},
6868
"jeff": {
69-
"in": {
70-
"0x0000000000000000000000000000000000000000000000000000000000000045": "0x22b224a1420a802ab51d326e29fa98e34c4f24ea",
71-
"0x0000000000000000000000000000000000000000000000000000000000000046": "0x67706c2076330000000000000000000000000000000000000000000000000000",
72-
"0x0000000000000000000000000000000000000000000000000000001234567890": "0x697c7b8c961b56f675d570498424ac8de1a918f6",
73-
"0x000000000000000000000000697c7b8c961b56f675d570498424ac8de1a918f6": "0x1234567890",
74-
"0x0000000000000000000000007ef9e639e2733cb34e4dfc576d4b23f72db776b2": "0x4655474156000000000000000000000000000000000000000000000000000000",
75-
"0x000000000000000000000000ec4f34c97e43fbb2816cfd95e388353c7181dab1": "0x4e616d6552656700000000000000000000000000000000000000000000000000",
76-
"0x4655474156000000000000000000000000000000000000000000000000000000": "0x7ef9e639e2733cb34e4dfc576d4b23f72db776b2",
77-
"0x4e616d6552656700000000000000000000000000000000000000000000000000": "0xec4f34c97e43fbb2816cfd95e388353c7181dab1",
78-
"0x0000000000000000000000000000000000000000000000000000001234567890": "",
79-
"0x000000000000000000000000697c7b8c961b56f675d570498424ac8de1a918f6": "0x6f6f6f6820736f2067726561742c207265616c6c6c793f000000000000000000",
80-
"0x6f6f6f6820736f2067726561742c207265616c6c6c793f000000000000000000": "0x697c7b8c961b56f675d570498424ac8de1a918f6"
81-
},
82-
"root": "088c8e162c91c75ca9efa63f21530bbc6964cff7453a5d6af8404d090292a3e7"
83-
}
69+
"in": [
70+
["0x0000000000000000000000000000000000000000000000000000000000000045", "0x22b224a1420a802ab51d326e29fa98e34c4f24ea"],
71+
["0x0000000000000000000000000000000000000000000000000000000000000046", "0x67706c2076330000000000000000000000000000000000000000000000000000"],
72+
["0x0000000000000000000000000000000000000000000000000000001234567890", "0x697c7b8c961b56f675d570498424ac8de1a918f6"],
73+
["0x000000000000000000000000697c7b8c961b56f675d570498424ac8de1a918f6", "0x1234567890"],
74+
["0x0000000000000000000000007ef9e639e2733cb34e4dfc576d4b23f72db776b2", "0x4655474156000000000000000000000000000000000000000000000000000000"],
75+
["0x000000000000000000000000ec4f34c97e43fbb2816cfd95e388353c7181dab1", "0x4e616d6552656700000000000000000000000000000000000000000000000000"],
76+
["0x4655474156000000000000000000000000000000000000000000000000000000", "0x7ef9e639e2733cb34e4dfc576d4b23f72db776b2"],
77+
["0x4e616d6552656700000000000000000000000000000000000000000000000000", "0xec4f34c97e43fbb2816cfd95e388353c7181dab1"],
78+
["0x0000000000000000000000000000000000000000000000000000001234567890", ""],
79+
["0x000000000000000000000000697c7b8c961b56f675d570498424ac8de1a918f6", "0x6f6f6f6820736f2067726561742c207265616c6c6c793f000000000000000000"],
80+
["0x6f6f6f6820736f2067726561742c207265616c6c6c793f000000000000000000", "0x697c7b8c961b56f675d570498424ac8de1a918f6"]
81+
],
82+
"root": "0x088c8e162c91c75ca9efa63f21530bbc6964cff7453a5d6af8404d090292a3e7"
83+
}
8484
}

0 commit comments

Comments
 (0)