Commit Graph

58 Commits

Author SHA1 Message Date
andri lim f97bd57aa2
GST +52 2019-04-04 17:25:10 +07:00
andri lim 26b40f41e3
fix precompiles selection, GST +5 2019-04-02 13:11:00 +07:00
andri lim 62c1e668a9
fix tx_e1c174e2 problem, GST +1 2019-03-28 19:05:07 +07:00
andri lim 32b1de082e
GST +2 2019-03-18 21:23:36 +07:00
andri lim f518de20fc
fix miner suicide problem, GST +2 2019-03-18 20:29:07 +07:00
andri lim 655c6bcaae
GST +3 2019-03-18 19:43:54 +07:00
andri lim 7198ce2d05
fix ecrecover bad V, GST +1 2019-03-18 19:28:42 +07:00
andri lim aed0db2d03
fix DelegateCall sender address, GST +37 2019-03-18 18:45:43 +07:00
andri lim 36fb75d042
fix DelegateCall gasCost, GST +6 2019-03-18 17:24:25 +07:00
andri lim a7c6531f08
fix block gaslimit problem, GST +70 2019-03-18 14:35:52 +07:00
andri lim 739e20253a
fix invalid opcodes bug, GST +1 2019-03-18 13:44:22 +07:00
andri lim cd765bf452
fix create contract address collision, GST +1 2019-03-18 12:48:32 +07:00
andri lim 4383831772
separate Frontier and Homestead opcode dispatcher 2019-03-18 11:27:32 +07:00
andri lim 31e8b3d7ed
activates Frontier fork in GST, +125 -57 2019-03-18 09:15:37 +07:00
andri lim 5060f4aaca
update tests log 2019-03-16 23:34:31 +07:00
andri lim 90b7e906b4
GST +3 2019-03-16 23:08:41 +07:00
andri lim d0822c26d1
fix callcode insufficient funds, GST +6 2019-03-16 22:54:24 +07:00
andri lim 990bc44c65
fix not enough gas, GST +5 2019-03-16 22:23:15 +07:00
andri lim 433ccba15f
fix writePaddedResult, GST +4 2019-03-16 21:42:06 +07:00
andri lim adb1286e28
fix create hash collision, GST +1 2019-03-16 12:13:57 +07:00
andri lim eb6e872dff
GST +17 2019-03-15 22:21:24 +07:00
andri lim 9f0b78dc5a GST +3 2019-03-13 15:49:54 +02:00
andri lim b7f630df19 GST OK +1 2019-03-12 13:32:41 +02:00
andri lim 44ec66d5c8
pass additional 11 GST 2019-03-11 19:03:30 +07:00
andri lim 571b93fd7a
pass additional 17 GST 2019-03-11 12:12:35 +07:00
andri lim fdf9e04108
initial contract call/create unification 2019-03-07 22:09:22 +07:00
andri lim a99b3f2096 pass additional 9 GST 2019-02-27 13:30:18 +02:00
andri lim d679798abb
pass additional 12 GST 2019-02-25 21:13:05 +07:00
andri lim d6f7dfde5c
pass additional 4 GST 2019-02-25 17:10:38 +07:00
andri lim eec9f32985 pass additional 32 GST, no addition failed GST 2019-02-23 17:57:53 +02:00
andri lim 5f2abf7fe1 pass additional 6 GST 2019-02-20 15:16:07 +02:00
andri lim dcf7699358 fix callcode regression 2019-02-20 15:16:07 +02:00
andri lim 85d8155177 pass additional 20 GST 2019-02-20 15:16:07 +02:00
andri lim 8884627d07 trade 3 failed GST with 17 OK GST 2019-02-20 15:16:07 +02:00
andri lim 345133e8eb pass additional 15 GST 2019-02-20 15:16:07 +02:00
andri lim 15e1b13491 trade 13 fail GST with 122 OK GST 2019-02-18 13:16:04 +02:00
andri lim 150fafbc8c trade 7 failed GST with 48 OK GST 2019-02-15 17:20:51 +02:00
andri lim 00087de2ce trade 7 failed GST with 107 OK GST 2019-02-07 11:01:43 +01:00
Ștefan Talpalaru 03c1664c8a
update test logs 2019-01-06 14:27:06 +01:00
andri lim 74d728f962 pass additional 15 general state tests 2019-01-06 13:16:45 +02:00
Ștefan Talpalaru 115843487c
general-state testsuite changes and better fork selection
- skipped the tests in allowedFailInCurrentBuild()
- replaced doAssert() with check() in testFixtureIndexes() so we can see
  both hash values on failure
- checking filename extension for JSON tests to avoid editor swap files
- replaced the duplicated block values in the main net's ChainConfig
  with values from forkBlocks
- allowed overriding the current fork in computations, because the old
  strategy of only looking at the block number doesn't work with JSON tests
  where the block number is usually 1
- explicitly pass the fork to gasCosts() and use it for conditional cost
  calculation
- fixed a logic error in the CREATE opcode
- fixed VM selection based on current fork in updateOpcodeExec()
- single point of control for supported forks in tests (just one fork, at the
  moment)
- 44 new test failures (that were probably passing for the wrong reasons)
2018-12-07 18:18:29 +01:00
coffeepots 19ef1a6794 Updated total to include test that is now not skipped 2018-11-13 19:45:34 +00:00
coffeepots f99138dca6 Merge branch 'call-fixes-precompiles' 2018-11-12 15:57:54 +00:00
coffeepots 4c6a686072 Current general tests state 2018-11-08 16:41:02 +00:00
Dustin Brody 7aa0c386dd some simplification and cleanup 2018-10-04 17:52:58 +00:00
tersec 4f04332205
Refactor contract creation into transaction code from P2P code; get 14 new GSTs working (#163)
* checkpoint where refactoring and calling from GST runner doesn't break anything

* 14 new GSTs pass by refactoring contract creation out of p2p/chain and using from GST test runner

* 2 of 14 new tests fail in 32-bit builds

* switch from CREATE_CONTRACT_ADDRESS to isContractCreation

* switch another CREATE_CONTRACT_ADDRESS to isContactCreation
2018-09-29 15:36:42 +00:00
tersec 690ce2cf97
Partly fix state_db getCode for 20 new working GeneralStateTests (#156)
* partly fix state_db getCode to get 20 new working GeneralStateTests; remove 2 functions which existed as workarounds; switch all remaining setBalance calls in GeneralStateTestRunner to subBalance (addBalance calls already changed)

* two of the 20 new tests don't work in 32-bit builds
2018-09-20 21:36:57 +00:00
Dustin Brody 8f4e1a4445
integrate GeneralStateTest runner into CI with 775 running tests (#153)
* fix 32-bit issue in AppVeyor

* allow another dozen or so GeneralStateTest fixtures which work on 64-bit, but not on 32-bit platforms, to safely-fail, but demarcate them separately to facilitate debugging

* steal fa672600eb from @coffeepots fix-int32-high-zero branch
2018-09-19 16:46:14 +00:00
Dustin Brody dd20f4079c revert better toSeq version to worse for-loop version of extracting keys from table because former now fails to compile 2018-09-18 07:07:04 -07:00
Dustin Brody 048921b045 20 new working GeneralStateTests 2018-09-18 14:00:30 +00:00