add: case when value is long, ensure it's not get rlp encoded as node

This commit is contained in:
Chen Houwu 2014-05-18 15:04:42 +08:00
parent 2b6c136dda
commit f44a859331

View File

@ -1,4 +1,10 @@
[ [
{
"inputs": [
["A", "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"]
],
"expectation": "d23786fb4a010da3ce639d66d5e904a11dbc02746d1ce25029e53290cabf28ab"
},
{ {
"inputs": [ "inputs": [
["doe", "reindeer"], ["doe", "reindeer"],
@ -9,47 +15,47 @@
}, },
{ {
"inputs":[ "inputs":[
["do", "verb"], ["do", "verb"],
["horse", "stallion"], ["horse", "stallion"],
["doge", "coin"], ["doge", "coin"],
["dog", "puppy"] ["dog", "puppy"]
], ],
"expectation": "5991bb8c6514148a29db676a14ac506cd2cd5775ace63c30a4fe457715e9ac84" "expectation": "5991bb8c6514148a29db676a14ac506cd2cd5775ace63c30a4fe457715e9ac84"
}, },
{ {
"inputs":[ "inputs":[
["do", "verb"], ["do", "verb"],
["ether", "wookiedoo"], ["ether", "wookiedoo"],
["horse", "stallion"], ["horse", "stallion"],
["shaman", "horse"], ["shaman", "horse"],
["doge", "coin"], ["doge", "coin"],
["ether", ""], ["ether", ""],
["dog", "puppy"], ["dog", "puppy"],
["shaman", ""] ["shaman", ""]
], ],
"expectation": "5991bb8c6514148a29db676a14ac506cd2cd5775ace63c30a4fe457715e9ac84" "expectation": "5991bb8c6514148a29db676a14ac506cd2cd5775ace63c30a4fe457715e9ac84"
}, },
{ {
"inputs":[ "inputs":[
["foo", "bar"], ["foo", "bar"],
["food", "bat"], ["food", "bat"],
["food", "bass"] ["food", "bass"]
], ],
"expectation": "17beaa1648bafa633cda809c90c04af50fc8aed3cb40d16efbddee6fdf63c4c3" "expectation": "17beaa1648bafa633cda809c90c04af50fc8aed3cb40d16efbddee6fdf63c4c3"
}, },
{ {
"inputs":[ "inputs":[
["be", "e"], ["be", "e"],
["dog", "puppy"], ["dog", "puppy"],
["bed", "d"] ["bed", "d"]
], ],
"expectation": "3f67c7a47520f79faa29255d2d3c084a7a6df0453116ed7232ff10277a8be68b" "expectation": "3f67c7a47520f79faa29255d2d3c084a7a6df0453116ed7232ff10277a8be68b"
}, },
{ {
"inputs":[ "inputs":[
["test", "test"], ["test", "test"],
["te", "testy"], ["te", "testy"],
], ],
"expectation": "8452568af70d8d140f58d941338542f645fcca50094b20f3c3d8c3df49337928" "expectation": "8452568af70d8d140f58d941338542f645fcca50094b20f3c3d8c3df49337928"
} }
] ]