Skip to content

Instantly share code, notes, and snippets.

@pirapira
Last active April 5, 2018 17:04
Show Gist options
  • Save pirapira/1b1df462eb76eeeb0fa6cbdfe78f4a1e to your computer and use it in GitHub Desktop.
Save pirapira/1b1df462eb76eeeb0fa6cbdfe78f4a1e to your computer and use it in GitHub Desktop.
{
"201503110226PYTHON_DUP6" : {
"_info" : {
"comment" : "This test used to be a VM test and it once failed in python client some day. Since the test contains a BALANCE instruction (which must be mocked), it's moved to GeneralSateTest https://github.com/ethereum/tests/pull/445/files#r17\
9426325"
},
"env" : {
"currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "115792089237316195423570985008687907853269984665640564039457584007913129639935",
"currentGasLimit" : "1000000",
"currentNumber" : "300",
"currentTimestamp" : "2",
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
"pre": {
"0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b": {
"balance": "0x38beec8feeca2598",
"code": "",
"nonce": "0x00",
"storage": {}
},
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
"balance" : "1000000000000000000",
"code" : "0x45414443434042405b85",
"nonce" : "0",
"storage" : {
}
}
},
"transaction" : {
"secretKey": "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
"to": "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
"data" : ["0x"],
"gasLimit" : ["10000"],
"gasPrice" : "100000000000000",
"value" : ["1000000000000000000"],
"nonce" : "0x00"
},
"expect" : [
{
"indexes" : {
"data" : -1,
"gas" : -1,
"value" : -1
},
"network" : [">=Frontier"],
"result" : {
"0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
"balance" : "1000000000000000000",
"code" : "0x45414443434042405b85",
"nonce" : "0",
"storage" : {
}
}
}
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment