mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #1113 from CJentzsch/addTests
remove/adapt tests with impossible pre conditions
This commit is contained in:
commit
3529dde8ac
@ -264,7 +264,7 @@
|
|||||||
},
|
},
|
||||||
"pre" :
|
"pre" :
|
||||||
{
|
{
|
||||||
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
|
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
|
||||||
"balance" : "100000",
|
"balance" : "100000",
|
||||||
"//": "contract subcaller ",
|
"//": "contract subcaller ",
|
||||||
"//": "{ ",
|
"//": "{ ",
|
||||||
@ -294,6 +294,12 @@
|
|||||||
"nonce" : "0",
|
"nonce" : "0",
|
||||||
"storage" : {
|
"storage" : {
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
|
||||||
|
"balance" : "100000",
|
||||||
|
"nonce" : "0",
|
||||||
|
"code" : "",
|
||||||
|
"storage": {}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"transaction" :
|
"transaction" :
|
||||||
@ -304,7 +310,7 @@
|
|||||||
"gasPrice" : "1",
|
"gasPrice" : "1",
|
||||||
"nonce" : "0",
|
"nonce" : "0",
|
||||||
"secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
|
"secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
|
||||||
"to" : "a94f5374fce5edbc8e2a8697c15331677e6ebf0b",
|
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
|
||||||
"value" : "1"
|
"value" : "1"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -320,7 +326,7 @@
|
|||||||
},
|
},
|
||||||
"pre" :
|
"pre" :
|
||||||
{
|
{
|
||||||
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
|
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
|
||||||
"balance" : "100000",
|
"balance" : "100000",
|
||||||
"//" : "contract recursiveMethods ",
|
"//" : "contract recursiveMethods ",
|
||||||
"//" : "{ ",
|
"//" : "{ ",
|
||||||
@ -343,6 +349,12 @@
|
|||||||
"nonce" : "0",
|
"nonce" : "0",
|
||||||
"storage" : {
|
"storage" : {
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
|
||||||
|
"balance" : "100000",
|
||||||
|
"nonce" : "0",
|
||||||
|
"code" : "",
|
||||||
|
"storage": {}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"transaction" :
|
"transaction" :
|
||||||
@ -353,7 +365,7 @@
|
|||||||
"gasPrice" : "1",
|
"gasPrice" : "1",
|
||||||
"nonce" : "0",
|
"nonce" : "0",
|
||||||
"secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
|
"secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
|
||||||
"to" : "a94f5374fce5edbc8e2a8697c15331677e6ebf0b",
|
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
|
||||||
"value" : "1"
|
"value" : "1"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -369,7 +381,7 @@
|
|||||||
},
|
},
|
||||||
"pre" :
|
"pre" :
|
||||||
{
|
{
|
||||||
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
|
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
|
||||||
"balance" : "100000",
|
"balance" : "100000",
|
||||||
"//" : "contract recursiveMethods ",
|
"//" : "contract recursiveMethods ",
|
||||||
"//" : "{ ",
|
"//" : "{ ",
|
||||||
@ -392,6 +404,12 @@
|
|||||||
"nonce" : "0",
|
"nonce" : "0",
|
||||||
"storage" : {
|
"storage" : {
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
|
||||||
|
"balance" : "500",
|
||||||
|
"nonce" : "0",
|
||||||
|
"code" : "",
|
||||||
|
"storage": {}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"transaction" :
|
"transaction" :
|
||||||
@ -402,7 +420,7 @@
|
|||||||
"gasPrice" : "1",
|
"gasPrice" : "1",
|
||||||
"nonce" : "0",
|
"nonce" : "0",
|
||||||
"secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
|
"secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
|
||||||
"to" : "a94f5374fce5edbc8e2a8697c15331677e6ebf0b",
|
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
|
||||||
"value" : "1"
|
"value" : "1"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -418,7 +436,7 @@
|
|||||||
},
|
},
|
||||||
"pre" :
|
"pre" :
|
||||||
{
|
{
|
||||||
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
|
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
|
||||||
"balance" : "1000000",
|
"balance" : "1000000",
|
||||||
"//" : "contract recursiveCreate1 ",
|
"//" : "contract recursiveCreate1 ",
|
||||||
"//" : "{ ",
|
"//" : "{ ",
|
||||||
@ -461,6 +479,12 @@
|
|||||||
"nonce" : "0",
|
"nonce" : "0",
|
||||||
"storage" : {
|
"storage" : {
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
|
||||||
|
"balance" : "500000",
|
||||||
|
"nonce" : "0",
|
||||||
|
"code" : "",
|
||||||
|
"storage": {}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"transaction" :
|
"transaction" :
|
||||||
@ -471,7 +495,7 @@
|
|||||||
"gasPrice" : "1",
|
"gasPrice" : "1",
|
||||||
"nonce" : "0",
|
"nonce" : "0",
|
||||||
"secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
|
"secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
|
||||||
"to" : "a94f5374fce5edbc8e2a8697c15331677e6ebf0b",
|
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
|
||||||
"value" : "1"
|
"value" : "1"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -487,12 +511,18 @@
|
|||||||
},
|
},
|
||||||
"pre" :
|
"pre" :
|
||||||
{
|
{
|
||||||
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
|
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
|
||||||
"balance" : "100000",
|
"balance" : "100000",
|
||||||
"code" : "0x60003560e060020a90048063c040622614601557005b601b6021565b60006000f35b61014f60008190555056",
|
"code" : "0x60003560e060020a90048063c040622614601557005b601b6021565b60006000f35b61014f60008190555056",
|
||||||
"nonce" : "0",
|
"nonce" : "0",
|
||||||
"storage" : {
|
"storage" : {
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
|
||||||
|
"balance" : "500",
|
||||||
|
"nonce" : "0",
|
||||||
|
"code" : "",
|
||||||
|
"storage": {}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"transaction" :
|
"transaction" :
|
||||||
@ -503,7 +533,7 @@
|
|||||||
"gasPrice" : "1",
|
"gasPrice" : "1",
|
||||||
"nonce" : "0",
|
"nonce" : "0",
|
||||||
"secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
|
"secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
|
||||||
"to" : "a94f5374fce5edbc8e2a8697c15331677e6ebf0b",
|
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
|
||||||
"value" : "1"
|
"value" : "1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -842,78 +842,6 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
"TransactionMakeAccountBalanceOverflow" : {
|
|
||||||
"env" : {
|
|
||||||
"currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
|
|
||||||
"currentDifficulty" : "45678256",
|
|
||||||
"currentGasLimit" : "1000000",
|
|
||||||
"currentNumber" : "0",
|
|
||||||
"currentTimestamp" : 1,
|
|
||||||
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
|
|
||||||
},
|
|
||||||
"pre" :
|
|
||||||
{
|
|
||||||
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
|
|
||||||
"balance" : "100000",
|
|
||||||
"code" : "",
|
|
||||||
"nonce" : "0",
|
|
||||||
"storage" : {
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
"b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
|
|
||||||
"balance" : "115792089237316195423570985008687907853269984665640564039457584007913129639935",
|
|
||||||
"code" : "",
|
|
||||||
"nonce" : "0",
|
|
||||||
"storage" : {
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"transaction" :
|
|
||||||
{
|
|
||||||
"data" : "",
|
|
||||||
"gasLimit" : "1000",
|
|
||||||
"gasPrice" : "1",
|
|
||||||
"nonce" : "0",
|
|
||||||
"secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
|
|
||||||
"to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
|
|
||||||
"value" : "100"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
"TransactionMakeAccountNonceOverflow" : {
|
|
||||||
"env" : {
|
|
||||||
"currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
|
|
||||||
"currentDifficulty" : "1",
|
|
||||||
"currentGasLimit" : "1000000",
|
|
||||||
"currentNumber" : "0",
|
|
||||||
"currentTimestamp" : 1,
|
|
||||||
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
|
|
||||||
},
|
|
||||||
"pre" :
|
|
||||||
{
|
|
||||||
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
|
|
||||||
"balance" : "100000",
|
|
||||||
"code" : "",
|
|
||||||
"nonce" : "115792089237316195423570985008687907853269984665640564039457584007913129639935",
|
|
||||||
"nonce" : "10000",
|
|
||||||
"storage" : {
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"transaction" :
|
|
||||||
{
|
|
||||||
"data" : "",
|
|
||||||
"gasLimit" : "1000",
|
|
||||||
"gasPrice" : "1",
|
|
||||||
"nonce" : "115792089237316195423570985008687907853269984665640564039457584007913129639935",
|
|
||||||
"nonce" : "10000",
|
|
||||||
"secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
|
|
||||||
"to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
|
|
||||||
"value" : "100"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
"UserTransactionZeroCost" : {
|
"UserTransactionZeroCost" : {
|
||||||
"env" : {
|
"env" : {
|
||||||
"currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
|
"currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
|
||||||
|
Loading…
Reference in New Issue
Block a user