yann300
10 years ago
41 changed files with 3373 additions and 687 deletions
@ -1,50 +1,19 @@ |
|||||
{ |
{ |
||||
"predef": [ |
"browserify": true, |
||||
"console", |
"bitwise": true, |
||||
"require", |
"camelcase": true, |
||||
"equal", |
|
||||
"test", |
|
||||
"testBoth", |
|
||||
"testWithDefault", |
|
||||
"raises", |
|
||||
"deepEqual", |
|
||||
"start", |
|
||||
"stop", |
|
||||
"ok", |
|
||||
"strictEqual", |
|
||||
"module", |
|
||||
"expect", |
|
||||
"reject", |
|
||||
"impl" |
|
||||
], |
|
||||
|
|
||||
"esnext": true, |
|
||||
"proto": true, |
|
||||
"node" : true, |
|
||||
"browser" : true, |
|
||||
"browserify" : true, |
|
||||
|
|
||||
"boss" : true, |
|
||||
"curly": false, |
|
||||
"debug": true, |
|
||||
"devel": true, |
|
||||
"eqeqeq": true, |
"eqeqeq": true, |
||||
"evil": true, |
"freeze": true, |
||||
"forin": false, |
"funcscope": false, |
||||
"immed": false, |
"maxcomplexity": 4, /* our target is 3! */ |
||||
"laxbreak": false, |
"maxdepth": 3, |
||||
"newcap": true, |
"maxerr": 50, |
||||
"noarg": true, |
/*"maxlen": 80*/ /*this should be our goal*/ |
||||
"noempty": false, |
"maxparams": 3, |
||||
"nonew": false, |
"nonew": true, |
||||
"nomen": false, |
"unused": true, |
||||
"onevar": false, |
|
||||
"plusplus": false, |
|
||||
"regexp": false, |
|
||||
"undef": true, |
"undef": true, |
||||
"sub": true, |
"predef": [ |
||||
"strict": false, |
"console" |
||||
"white": false, |
] |
||||
"shadow": true, |
|
||||
"eqnull": true |
|
||||
} |
} |
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
@ -0,0 +1,352 @@ |
|||||
|
{ |
||||
|
"QuadraticComplexitySolidity_CallDataCopy" : { |
||||
|
"env" : { |
||||
|
"currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", |
||||
|
"currentDifficulty" : "45678256", |
||||
|
"currentGasLimit" : "350000000", |
||||
|
"currentNumber" : "0", |
||||
|
"currentTimestamp" : 1, |
||||
|
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" |
||||
|
}, |
||||
|
"pre" : |
||||
|
{ |
||||
|
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { |
||||
|
"balance" : "500000000", |
||||
|
"//" : "contract caller ", |
||||
|
"//" : "{ ", |
||||
|
"//" : " int value; ", |
||||
|
"//" : " function run(int count) ", |
||||
|
"//" : " { ", |
||||
|
"//" : " value = count; ", |
||||
|
"//" : " address a = 0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b; ", |
||||
|
"//" : " while(count > 0) ", |
||||
|
"//" : " { ", |
||||
|
"//" : " a.call('just', 'call'); ", |
||||
|
"//" : " count = count - 1; ", |
||||
|
"//" : " } ", |
||||
|
"//" : " } ", |
||||
|
"//" : "} ", |
||||
|
"code" : "0x60003560e060020a9004806361a4770614601557005b601e6004356024565b60006000f35b60008160008190555073b94f5374fce5edbc8e2a8697c15331677e6ebf0b90505b600082131560bf5780600160a060020a03166000600060007f6a7573740000000000000000000000000000000000000000000000000000000081526004017f63616c6c000000000000000000000000000000000000000000000000000000008152602001600060008560155a03f150506001820391506045565b505056", |
||||
|
"nonce" : "0", |
||||
|
"storage" : { |
||||
|
} |
||||
|
}, |
||||
|
|
||||
|
"b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { |
||||
|
"balance" : "5000000", |
||||
|
"code" : "{ (CALLDATACOPY 0 0 50000) }", |
||||
|
"nonce" : "0", |
||||
|
"storage" : { |
||||
|
} |
||||
|
} |
||||
|
}, |
||||
|
"transaction" : |
||||
|
{ |
||||
|
"//" : "run(int256)", |
||||
|
"data" : "0x61a47706000000000000000000000000000000000000000000000000000000000000c350", |
||||
|
"gasLimit" : "904+68*x+e", |
||||
|
"gasLimit" : "350000000", |
||||
|
"gasPrice" : "1", |
||||
|
"nonce" : "0", |
||||
|
"secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", |
||||
|
"to" : "a94f5374fce5edbc8e2a8697c15331677e6ebf0b", |
||||
|
"value" : "1" |
||||
|
} |
||||
|
}, |
||||
|
|
||||
|
"Call50000" : { |
||||
|
"env" : { |
||||
|
"currentCoinbase" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", |
||||
|
"currentDifficulty" : "45678256", |
||||
|
"currentGasLimit" : "86000000", |
||||
|
"currentNumber" : "0", |
||||
|
"currentTimestamp" : 1, |
||||
|
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" |
||||
|
}, |
||||
|
"pre" : |
||||
|
{ |
||||
|
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { |
||||
|
"balance" : "0xffffffffffffffffffffffffffffffff", |
||||
|
"code" : "", |
||||
|
"nonce" : "0", |
||||
|
"storage" : { |
||||
|
} |
||||
|
}, |
||||
|
|
||||
|
"aaaf5374fce5edbc8e2a8697c15331677e6ebf0b" : { |
||||
|
"balance" : "7000", |
||||
|
"code" : "", |
||||
|
"nonce" : "0", |
||||
|
"storage" : { |
||||
|
} |
||||
|
}, |
||||
|
|
||||
|
"bbbf5374fce5edbc8e2a8697c15331677e6ebf0b" : { |
||||
|
"balance" : "0xfffffffffffff", |
||||
|
"code" : "{ (for {} (< @i 50000) [i](+ @i 1) [[ 0 ]] (CALL 1600 0xaaaf5374fce5edbc8e2a8697c15331677e6ebf0b 1 0 50000 0 0) ) [[ 1 ]] @i}", |
||||
|
"nonce" : "0", |
||||
|
"storage" : { |
||||
|
} |
||||
|
} |
||||
|
}, |
||||
|
|
||||
|
"transaction" : |
||||
|
{ |
||||
|
"data" : "", |
||||
|
"gasLimit" : "85000000", |
||||
|
"gasPrice" : "1", |
||||
|
"nonce" : "", |
||||
|
"secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", |
||||
|
"to" : "bbbf5374fce5edbc8e2a8697c15331677e6ebf0b", |
||||
|
"value" : "10" |
||||
|
} |
||||
|
}, |
||||
|
|
||||
|
"Callcode50000" : { |
||||
|
"env" : { |
||||
|
"currentCoinbase" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", |
||||
|
"currentDifficulty" : "45678256", |
||||
|
"currentGasLimit" : "86000000", |
||||
|
"currentNumber" : "0", |
||||
|
"currentTimestamp" : 1, |
||||
|
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" |
||||
|
}, |
||||
|
"pre" : |
||||
|
{ |
||||
|
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { |
||||
|
"balance" : "0xffffffffffffffffffffffffffffffff", |
||||
|
"code" : "", |
||||
|
"nonce" : "0", |
||||
|
"storage" : { |
||||
|
} |
||||
|
}, |
||||
|
|
||||
|
"aaaf5374fce5edbc8e2a8697c15331677e6ebf0b" : { |
||||
|
"balance" : "7000", |
||||
|
"code" : "", |
||||
|
"nonce" : "0", |
||||
|
"storage" : { |
||||
|
} |
||||
|
}, |
||||
|
|
||||
|
"bbbf5374fce5edbc8e2a8697c15331677e6ebf0b" : { |
||||
|
"balance" : "0xfffffffffffff", |
||||
|
"code" : "{ (for {} (< @i 50000) [i](+ @i 1) [[ 0 ]] (CALLCODE 1600 0xaaaf5374fce5edbc8e2a8697c15331677e6ebf0b 1 0 50000 0 0) ) [[ 1 ]] @i}", |
||||
|
"nonce" : "0", |
||||
|
"storage" : { |
||||
|
} |
||||
|
} |
||||
|
}, |
||||
|
|
||||
|
"transaction" : |
||||
|
{ |
||||
|
"data" : "", |
||||
|
"gasLimit" : "85000000", |
||||
|
"gasPrice" : "1", |
||||
|
"nonce" : "", |
||||
|
"secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", |
||||
|
"to" : "bbbf5374fce5edbc8e2a8697c15331677e6ebf0b", |
||||
|
"value" : "10" |
||||
|
} |
||||
|
}, |
||||
|
|
||||
|
"Create1000" : { |
||||
|
"env" : { |
||||
|
"currentCoinbase" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", |
||||
|
"currentDifficulty" : "45678256", |
||||
|
"currentGasLimit" : "86000000", |
||||
|
"currentNumber" : "0", |
||||
|
"currentTimestamp" : 1, |
||||
|
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" |
||||
|
}, |
||||
|
"pre" : |
||||
|
{ |
||||
|
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { |
||||
|
"balance" : "0xffffffffffffffffffffffffffffffff", |
||||
|
"code" : "", |
||||
|
"nonce" : "0", |
||||
|
"storage" : { |
||||
|
} |
||||
|
}, |
||||
|
|
||||
|
"bbbf5374fce5edbc8e2a8697c15331677e6ebf0b" : { |
||||
|
"balance" : "0xfffffffffffff", |
||||
|
"code" : "{ (for {} (< @i 1000) [i](+ @i 1) [[ 0 ]] (CREATE 1 0 50000) ) [[ 1 ]] @i}", |
||||
|
"nonce" : "0", |
||||
|
"storage" : { |
||||
|
} |
||||
|
} |
||||
|
}, |
||||
|
|
||||
|
"transaction" : |
||||
|
{ |
||||
|
"data" : "", |
||||
|
"gasLimit" : "85000000", |
||||
|
"gasPrice" : "1", |
||||
|
"nonce" : "", |
||||
|
"secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", |
||||
|
"to" : "bbbf5374fce5edbc8e2a8697c15331677e6ebf0b", |
||||
|
"value" : "10" |
||||
|
} |
||||
|
}, |
||||
|
|
||||
|
"Call50000_ecrec" : { |
||||
|
"env" : { |
||||
|
"currentCoinbase" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", |
||||
|
"currentDifficulty" : "45678256", |
||||
|
"currentGasLimit" : "95000000", |
||||
|
"currentNumber" : "0", |
||||
|
"currentTimestamp" : 1, |
||||
|
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" |
||||
|
}, |
||||
|
"pre" : |
||||
|
{ |
||||
|
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { |
||||
|
"balance" : "0xffffffffffffffffffffffffffffffff", |
||||
|
"code" : "", |
||||
|
"nonce" : "0", |
||||
|
"storage" : { |
||||
|
} |
||||
|
}, |
||||
|
|
||||
|
"bbbf5374fce5edbc8e2a8697c15331677e6ebf0b" : { |
||||
|
"balance" : "0xffffffffffffffffffffffffffffffff", |
||||
|
"code" : "{ (for {} (< @i 50000) [i](+ @i 1) [[ 0 ]] (CALL 500 1 1 0 50000 0 0) ) [[ 1 ]] @i}", |
||||
|
"nonce" : "0", |
||||
|
"storage" : { |
||||
|
} |
||||
|
} |
||||
|
}, |
||||
|
|
||||
|
"transaction" : |
||||
|
{ |
||||
|
"data" : "", |
||||
|
"gasLimit" : "94500000", |
||||
|
"gasPrice" : "1", |
||||
|
"nonce" : "", |
||||
|
"secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", |
||||
|
"to" : "bbbf5374fce5edbc8e2a8697c15331677e6ebf0b", |
||||
|
"value" : "10" |
||||
|
} |
||||
|
}, |
||||
|
|
||||
|
"Call50000_sha256" : { |
||||
|
"env" : { |
||||
|
"currentCoinbase" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", |
||||
|
"currentDifficulty" : "45678256", |
||||
|
"currentGasLimit" : "3925000000", |
||||
|
"currentNumber" : "0", |
||||
|
"currentTimestamp" : 1, |
||||
|
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" |
||||
|
}, |
||||
|
"pre" : |
||||
|
{ |
||||
|
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { |
||||
|
"balance" : "0xffffffffffffffffffffffffffffffff", |
||||
|
"code" : "", |
||||
|
"nonce" : "0", |
||||
|
"storage" : { |
||||
|
} |
||||
|
}, |
||||
|
|
||||
|
"bbbf5374fce5edbc8e2a8697c15331677e6ebf0b" : { |
||||
|
"balance" : "0xfffffffffffff", |
||||
|
"code" : "{ (for {} (< @i 50000) [i](+ @i 1) [[ 0 ]] (CALL 78200 2 1 0 50000 0 0) ) [[ 1 ]] @i}", |
||||
|
"nonce" : "0", |
||||
|
"storage" : { |
||||
|
} |
||||
|
} |
||||
|
}, |
||||
|
|
||||
|
"transaction" : |
||||
|
{ |
||||
|
"data" : "", |
||||
|
"gasLimit" : "3925000000", |
||||
|
"gasPrice" : "1", |
||||
|
"nonce" : "", |
||||
|
"secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", |
||||
|
"to" : "bbbf5374fce5edbc8e2a8697c15331677e6ebf0b", |
||||
|
"value" : "10" |
||||
|
} |
||||
|
}, |
||||
|
|
||||
|
"Call50000_rip160" : { |
||||
|
"env" : { |
||||
|
"currentCoinbase" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", |
||||
|
"currentDifficulty" : "45678256", |
||||
|
"currentGasLimit" : "3925000000", |
||||
|
"currentNumber" : "0", |
||||
|
"currentTimestamp" : 1, |
||||
|
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" |
||||
|
}, |
||||
|
"pre" : |
||||
|
{ |
||||
|
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { |
||||
|
"balance" : "0xffffffffffffffffffffffffffffffff", |
||||
|
"code" : "", |
||||
|
"nonce" : "0", |
||||
|
"storage" : { |
||||
|
} |
||||
|
}, |
||||
|
|
||||
|
"bbbf5374fce5edbc8e2a8697c15331677e6ebf0b" : { |
||||
|
"balance" : "0xfffffffffffff", |
||||
|
"code" : "{ (for {} (< @i 50000) [i](+ @i 1) [[ 0 ]] (CALL 78200 3 1 0 50000 0 0) ) [[ 1 ]] @i}", |
||||
|
"nonce" : "0", |
||||
|
"storage" : { |
||||
|
} |
||||
|
} |
||||
|
}, |
||||
|
|
||||
|
"transaction" : |
||||
|
{ |
||||
|
"data" : "", |
||||
|
"gasLimit" : "3925000000", |
||||
|
"gasPrice" : "1", |
||||
|
"nonce" : "", |
||||
|
"secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", |
||||
|
"to" : "bbbf5374fce5edbc8e2a8697c15331677e6ebf0b", |
||||
|
"value" : "10" |
||||
|
} |
||||
|
}, |
||||
|
|
||||
|
"Call50000_identity" : { |
||||
|
"env" : { |
||||
|
"currentCoinbase" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", |
||||
|
"currentDifficulty" : "45678256", |
||||
|
"currentGasLimit" : "88250000", |
||||
|
"currentNumber" : "0", |
||||
|
"currentTimestamp" : 1, |
||||
|
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" |
||||
|
}, |
||||
|
"pre" : |
||||
|
{ |
||||
|
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { |
||||
|
"balance" : "0xffffffffffffffffffffffffffffffff", |
||||
|
"code" : "", |
||||
|
"nonce" : "0", |
||||
|
"storage" : { |
||||
|
} |
||||
|
}, |
||||
|
|
||||
|
"bbbf5374fce5edbc8e2a8697c15331677e6ebf0b" : { |
||||
|
"balance" : "0xfffffffffffff", |
||||
|
"code" : "{ (for {} (< @i 50000) [i](+ @i 1) [[ 0 ]] (CALL 1564 4 1 0 50000 0 0) ) [[ 1 ]] @i}", |
||||
|
"nonce" : "0", |
||||
|
"storage" : { |
||||
|
} |
||||
|
} |
||||
|
}, |
||||
|
|
||||
|
"transaction" : |
||||
|
{ |
||||
|
"data" : "", |
||||
|
"gasLimit" : "88250000", |
||||
|
"gasPrice" : "1", |
||||
|
"nonce" : "", |
||||
|
"secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", |
||||
|
"to" : "bbbf5374fce5edbc8e2a8697c15331677e6ebf0b", |
||||
|
"value" : "10" |
||||
|
} |
||||
|
} |
||||
|
} |
Loading…
Reference in new issue