diff options
author | Dimitry <winsvega@mail.ru> | 2016-12-24 02:04:19 +0800 |
---|---|---|
committer | Dimitry <winsvega@mail.ru> | 2016-12-24 02:04:19 +0800 |
commit | a4971b4c93926253df026f616b14a742d778b696 (patch) | |
tree | 84d632e0c36b9382c30f0d4eabc47fcfec26162f /src/GeneralStateTestsFiller/stQuadraticComplexityTest/QuadraticComplexitySolidity_CallDataCopyFiller.json | |
parent | f6e67098532972edfe01422ce3a86f7226ad3375 (diff) | |
download | dexon-tests-a4971b4c93926253df026f616b14a742d778b696.tar.gz dexon-tests-a4971b4c93926253df026f616b14a742d778b696.tar.zst dexon-tests-a4971b4c93926253df026f616b14a742d778b696.zip |
fix gstatetest src for new solidity
Diffstat (limited to 'src/GeneralStateTestsFiller/stQuadraticComplexityTest/QuadraticComplexitySolidity_CallDataCopyFiller.json')
-rw-r--r-- | src/GeneralStateTestsFiller/stQuadraticComplexityTest/QuadraticComplexitySolidity_CallDataCopyFiller.json | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/src/GeneralStateTestsFiller/stQuadraticComplexityTest/QuadraticComplexitySolidity_CallDataCopyFiller.json b/src/GeneralStateTestsFiller/stQuadraticComplexityTest/QuadraticComplexitySolidity_CallDataCopyFiller.json index 14657cc9b..46d30c637 100644 --- a/src/GeneralStateTestsFiller/stQuadraticComplexityTest/QuadraticComplexitySolidity_CallDataCopyFiller.json +++ b/src/GeneralStateTestsFiller/stQuadraticComplexityTest/QuadraticComplexitySolidity_CallDataCopyFiller.json @@ -43,7 +43,20 @@ ], "pre" : { "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "//" : "}\t\t\t\t\t\t\t\t\t", + "//" : "contract caller ", + "//" : "{ ", + "//" : " int value; ", + "//" : " function run(int count) ", + "//" : " { ", + "//" : " value = count; ", + "//" : " address a = 0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b; ", + "//" : " while(count > 0) ", + "//" : " { ", + "//" : " a.call('just', 'call'); ", + "//" : " count = count - 1; ", + "//" : " } ", + "//" : " } ", + "//" : "} ", "balance" : "500000000", "code" : "0x60003560e060020a9004806361a4770614601557005b601e6004356024565b60006000f35b60008160008190555073b94f5374fce5edbc8e2a8697c15331677e6ebf0b90505b600082131560bf5780600160a060020a03166000600060007f6a7573740000000000000000000000000000000000000000000000000000000081526004017f63616c6c000000000000000000000000000000000000000000000000000000008152602001600060008560155a03f150506001820391506045565b505056", "nonce" : "0", @@ -74,4 +87,4 @@ ] } } -}
\ No newline at end of file +} |