Added my own random and namecoin tests (pyethereum)

This commit is contained in:
Vitalik Buterin 2014-07-13 16:12:56 -04:00
parent 00cd0cce8f
commit 357eb21e4d
2 changed files with 108 additions and 0 deletions

55
namecoin.json Normal file
View File

@ -0,0 +1,55 @@
{
"namecoin": {
"pre": {
"82a978b3f5962a5b0957d9ee9eef472ee55b42f1": {
"nonce": "1",
"balance": "2500000000000000000",
"storage": {},
"code": "0x"
},
"c305c901078781c232a2a521c2af7980f8385ee9": {
"nonce": "0",
"balance": "0",
"storage": {},
"code": "0x600035560f0f601d5960203560003557600160005460206000f2602758600060205460206020f2"
}
},
"exec": {
"origin": "82a978b3f5962a5b0957d9ee9eef472ee55b42f1",
"code": "0x600035560f0f601d5960203560003557600160005460206000f2602758600060205460206020f2",
"value": "0",
"address": "c305c901078781c232a2a521c2af7980f8385ee9",
"gas": "10000",
"caller": "82a978b3f5962a5b0957d9ee9eef472ee55b42f1",
"data": "0x000000000000000000000000000000000000000000000000000000000000002d000000000000000000000000000000000000000000000000000000000000004e",
"gasPrice": "1000000000000"
},
"callcreates": [],
"gas": "9763",
"env": {
"currentTimestamp": "1405282164",
"currentGasLimit": "999023",
"previousHash": "112a6e7995fcb66376f44e52f011c38d328a9ed3a1dac6eebb1376fccd055fad",
"currentCoinbase": "82a978b3f5962a5b0957d9ee9eef472ee55b42f1",
"currentDifficulty": "4190208",
"currentNumber": "1"
},
"post": {
"82a978b3f5962a5b0957d9ee9eef472ee55b42f1": {
"nonce": "1",
"balance": "2500000000000000000",
"storage": {},
"code": "0x"
},
"c305c901078781c232a2a521c2af7980f8385ee9": {
"nonce": "0",
"balance": "0",
"storage": {
"0x2d": "0x4e"
},
"code": "0x600035560f0f601d5960203560003557600160005460206000f2602758600060205460206020f2"
}
},
"out": "0x0000000000000000000000000000000000000000000000000000000000000001"
}
}

53
random.json Normal file
View File

@ -0,0 +1,53 @@
{
"random": {
"pre": {
"82a978b3f5962a5b0957d9ee9eef472ee55b42f1": {
"nonce": "0",
"balance": "2500000000000000000",
"storage": {},
"code": "0x"
}
},
"exec": {
"origin": "82a978b3f5962a5b0957d9ee9eef472ee55b42f1",
"code": "0x604263055fcc9f600763a0b4e5316075631bc238dc60276303a62a4aff55093002520d5bf25102560501375309440a57003860425b08503a40305c12005944ff354259035007fff0f243f145520a0b0d00f25937f160f11207600b58",
"value": "0",
"address": "7d577a597b2742b498cb5cf0c26cdcd726d39e6e",
"gas": "10000",
"caller": "82a978b3f5962a5b0957d9ee9eef472ee55b42f1",
"data": "0x608163556c4c77609463ebf00b2160f963e89f0aca60bd63cf6c872650575c0450080343065c3540524035370a30303208f00309503a5013330a52444033543a52435137530af2113210330f0257076058110e080644345832441211",
"gasPrice": "1000000000000"
},
"callcreates": [],
"gas": "9992",
"env": {
"currentTimestamp": "1405282273",
"currentGasLimit": "999023",
"previousHash": "112a6e7995fcb66376f44e52f011c38d328a9ed3a1dac6eebb1376fccd055fad",
"currentCoinbase": "82a978b3f5962a5b0957d9ee9eef472ee55b42f1",
"currentDifficulty": "4190208",
"currentNumber": "1"
},
"post": {
"7d577a597b2742b498cb5cf0c26cdcd726d39e6e": {
"nonce": "0",
"balance": "0",
"storage": {},
"code": "0x"
},
"0000000000000000000000000000000003a62a4a": {
"nonce": "0",
"balance": "0",
"storage": {},
"code": "0x"
},
"82a978b3f5962a5b0957d9ee9eef472ee55b42f1": {
"nonce": "0",
"balance": "2500000000000000000",
"storage": {},
"code": "0x"
}
},
"out": "0x"
}
}