aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChen Houwu <chenhouwu@gmail.com>2014-05-18 15:04:42 +0800
committerChen Houwu <chenhouwu@gmail.com>2014-05-18 15:04:42 +0800
commitf44a85933110dd3ef362090f512678e99ae80256 (patch)
tree7b7d264c84017ee2bcf35b2b4f71d452d59d3327
parent2b6c136dda0d55a0ebd228bff029d97411c9cec6 (diff)
downloadgo-tangerine-f44a85933110dd3ef362090f512678e99ae80256.tar.gz
go-tangerine-f44a85933110dd3ef362090f512678e99ae80256.tar.zst
go-tangerine-f44a85933110dd3ef362090f512678e99ae80256.zip
add: case when value is long, ensure it's not get rlp encoded as node
-rw-r--r--trietest.json50
1 files changed, 28 insertions, 22 deletions
diff --git a/trietest.json b/trietest.json
index 059f149fe..2cd4d5f9b 100644
--- a/trietest.json
+++ b/trietest.json
@@ -1,6 +1,12 @@
[
{
"inputs": [
+ ["A", "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"]
+ ],
+ "expectation": "d23786fb4a010da3ce639d66d5e904a11dbc02746d1ce25029e53290cabf28ab"
+ },
+ {
+ "inputs": [
["doe", "reindeer"],
["dog", "puppy"],
["dogglesworth", "cat"]
@@ -9,47 +15,47 @@
},
{
"inputs":[
- ["do", "verb"],
- ["horse", "stallion"],
- ["doge", "coin"],
+ ["do", "verb"],
+ ["horse", "stallion"],
+ ["doge", "coin"],
["dog", "puppy"]
- ],
+ ],
"expectation": "5991bb8c6514148a29db676a14ac506cd2cd5775ace63c30a4fe457715e9ac84"
},
{
"inputs":[
- ["do", "verb"],
- ["ether", "wookiedoo"],
- ["horse", "stallion"],
- ["shaman", "horse"],
- ["doge", "coin"],
+ ["do", "verb"],
+ ["ether", "wookiedoo"],
+ ["horse", "stallion"],
+ ["shaman", "horse"],
+ ["doge", "coin"],
["ether", ""],
["dog", "puppy"],
["shaman", ""]
- ],
+ ],
"expectation": "5991bb8c6514148a29db676a14ac506cd2cd5775ace63c30a4fe457715e9ac84"
},
{
"inputs":[
- ["foo", "bar"],
- ["food", "bat"],
+ ["foo", "bar"],
+ ["food", "bat"],
["food", "bass"]
- ],
+ ],
"expectation": "17beaa1648bafa633cda809c90c04af50fc8aed3cb40d16efbddee6fdf63c4c3"
- },
+ },
{
"inputs":[
- ["be", "e"],
- ["dog", "puppy"],
+ ["be", "e"],
+ ["dog", "puppy"],
["bed", "d"]
- ],
+ ],
"expectation": "3f67c7a47520f79faa29255d2d3c084a7a6df0453116ed7232ff10277a8be68b"
- },
+ },
{
"inputs":[
- ["test", "test"],
- ["te", "testy"],
- ],
+ ["test", "test"],
+ ["te", "testy"],
+ ],
"expectation": "8452568af70d8d140f58d941338542f645fcca50094b20f3c3d8c3df49337928"
- }
+ }
]