From e16b5d36aac75c9c5038cd1d37aa9900b49b7779 Mon Sep 17 00:00:00 2001 From: Gav Wood Date: Tue, 3 Mar 2015 12:41:55 +0100 Subject: Move over to key value rather than array of arrays since they're unordered and no duplicates. --- TrieTests/hex_encoded_securetrie_test.json | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/TrieTests/hex_encoded_securetrie_test.json b/TrieTests/hex_encoded_securetrie_test.json index 5a6bb01e7..bafeb3585 100644 --- a/TrieTests/hex_encoded_securetrie_test.json +++ b/TrieTests/hex_encoded_securetrie_test.json @@ -16,20 +16,14 @@ "hexEncoded": true }, "test2": { - "in": [ - [ - "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b", - "0xf84c01880de0b6b3a7622746a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a0c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470" - ], - [ - "0x095e7baea6a6c7c4c2dfeb977efac326af552d87", - "0xf84780830186b7a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a0501653f02840675b1aab0328c6634762af5d51764e78f9641cccd9b27b90db4f" - ], - [ - "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "in": { + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b": + "0xf84c01880de0b6b3a7622746a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a0c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", + "0x095e7baea6a6c7c4c2dfeb977efac326af552d87": + "0xf84780830186b7a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a0501653f02840675b1aab0328c6634762af5d51764e78f9641cccd9b27b90db4f", + "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba": "0xf8468082521aa056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a0c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470" - ] - ], + }, "root": "0xa7c787bf470808896308c215e22c7a580a0087bb6db6e8695fb4759537283a83", "hexEncoded": true } -- cgit v1.2.3