aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCJentzsch <jentzsch.software@gmail.com>2015-01-23 22:23:56 +0800
committerCJentzsch <jentzsch.software@gmail.com>2015-01-23 22:23:56 +0800
commit52e174b1f7fcd5bcc7fa1f134b9cd085a24ff642 (patch)
treeff7331c81ce0e80d5244e3a870fdb50645e5db2f
parentfd450b7f9a32d22ed9b41221db18957468ae0753 (diff)
downloadgo-tangerine-52e174b1f7fcd5bcc7fa1f134b9cd085a24ff642.tar
go-tangerine-52e174b1f7fcd5bcc7fa1f134b9cd085a24ff642.tar.gz
go-tangerine-52e174b1f7fcd5bcc7fa1f134b9cd085a24ff642.tar.bz2
go-tangerine-52e174b1f7fcd5bcc7fa1f134b9cd085a24ff642.tar.lz
go-tangerine-52e174b1f7fcd5bcc7fa1f134b9cd085a24ff642.tar.xz
go-tangerine-52e174b1f7fcd5bcc7fa1f134b9cd085a24ff642.tar.zst
go-tangerine-52e174b1f7fcd5bcc7fa1f134b9cd085a24ff642.zip
make money with transaction gas overflow
-rw-r--r--StateTests/stSpecialTest.json40
1 files changed, 40 insertions, 0 deletions
diff --git a/StateTests/stSpecialTest.json b/StateTests/stSpecialTest.json
index 91b51fdb0..04c6bd1fe 100644
--- a/StateTests/stSpecialTest.json
+++ b/StateTests/stSpecialTest.json
@@ -1,4 +1,44 @@
{
+ "OverflowGasMakeMoney" : {
+ "env" : {
+ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "45678256",
+ "currentGasLimit" : "115792089237316195423570985008687907853269984665640564039457584007913129639935",
+ "currentNumber" : "0",
+ "currentTimestamp" : 1,
+ "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "logs" : [
+ ],
+ "out" : "0x",
+ "post" : {
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "1000",
+ "code" : "0x",
+ "nonce" : "0",
+ "storage" : {
+ }
+ }
+ },
+ "pre" : {
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "1000",
+ "code" : "0x",
+ "nonce" : "0",
+ "storage" : {
+ }
+ }
+ },
+ "transaction" : {
+ "data" : "",
+ "gasLimit" : "115792089237316195423570985008687907853269984665640564039457584007913129639435",
+ "gasPrice" : "1",
+ "nonce" : "0",
+ "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
+ "value" : "501"
+ }
+ },
"makeMoney" : {
"env" : {
"currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",