aboutsummaryrefslogtreecommitdiffstats
path: root/BlockchainTests/GeneralStateTests
Commit message (Collapse)AuthorAgeFilesLines
* Add a test for checking RETURNDATASIZE after a modexp with modsize = 1Yoichi Hirai2017-10-252-36/+694
|
* create failing inside staticcallDimitry2017-10-252-0/+1644
|
* returndatacopy bugDimitry2017-10-244-0/+3584
|
* Merge pull request #363 from ethereum/modexp-modsize0-returnsizeYoichi Hirai2017-10-244-0/+2624
|\ | | | | Add tests about returndatasize following modexp calls of modsize = 0
| * Add tests about returndatasize following modexp calls of modsize = 0Yoichi Hirai2017-10-234-0/+2624
| |
* | Merge pull request #362 from ethereum/returndata-ecrecYoichi Hirai2017-10-241-0/+644
|\ \ | | | | | | Returndata ecrec
| * | add casey's testDimitry2017-10-191-0/+644
| | |
* | | Merge pull request #361 from ethereum/returntestYoichi Hirai2017-10-241-0/+658
|\ \ \ | |_|/ |/| | RETURNDATACOPY and RETURNDATASIZE after failing create
| * | RETURNDATACOPY and RETURNDATASIZE after failing createDimitry2017-10-191-0/+658
| | | | | | | | | | | | (due to 0xfd code)
* | | Add a test case about transaction calls A (CALL B(CALL C(RETURN) OOG) 'check ↵Yoichi Hirai2017-10-181-0/+842
| | | | | | | | | | | | | | | | | | buffers') https://docs.google.com/spreadsheets/d/1xat7UI8GtB4ZGVdlK5_XQSHJZaMThi4SrlcL8XMZb5Q/edit#gid=1605675414&range=C37
* | | RETURNDATASIZE after a failing CALL (due to insufficient balance) should ↵Dimitry2017-10-171-0/+738
|/ / | | | | | | return 0
* | fix random state testDimitry2017-10-171-36/+36
| |
* | Merge pull request #354 from ethereum/modexpinputYoichi Hirai2017-10-136-0/+3486
|\ \ | | | | | | fuzzed test modexp input
| * | modexp input testDimitry2017-10-136-266/+1428
| | | | | | | | | | | | Consensus big in Parity: gas calculation of modexp is subject to overflow for certain inputs. Found via manual review. A case was found where consensus issue could be achieved in ~500K gas.
| * | fuzzed test modexp inputDimitry2017-10-134-0/+2324
| | |
* | | Merge pull request #352 from ethereum/badOpcodes-bigger-stackwinsvega2017-10-13122-7620/+18973
|\ \ \ | | | | | | | | Add more stack items for badOpcodes test
| * | | refill badopcodes blockchain tests, blockchain general state testsJared Wasinger2017-10-13122-7620/+18973
| | | |
* | | | fuzztests bytecodeDimitry2017-10-131-0/+644
| |/ / |/| |
* | | split random testsDimitry2017-10-13227-130322/+25
| | |
* | | split large test suitesDimitry2017-10-133126-1045418/+1175287
|/ /
* | add _info commentDimitry2017-10-111-30/+30
| |
* | python testDimitry2017-10-111-0/+854
| |
* | Add a test case where modexp gets inputYoichi Hirai2017-10-114-0/+2584
| | | | | | | | 0x00000000000000000000000000000000000000000000000000000000000000ff2a1e5300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
* | refill all the testsDimitry2017-10-074563-831694/+200871
|/
* remove old testsDimitry2017-09-306-3925/+0
|
* refill transaction testsDimitry2017-09-30344-124085/+6960
|
* refill stMemoryStressTestsDimitry2017-09-2982-13561/+5666
|
* refill stAttackTestDimitry2017-09-292-147/+537
|
* refill revert testsDimitry2017-09-29124-23844/+5522
|
* refill stPreCompiled testsDimitry2017-09-29619-20965/+34680
|
* Merge pull request #338 from ethereum/revert_should_reset_returndataYoichi Hirai2017-09-298-0/+9898
|\ | | | | Add tests that set up a nonempty returndata buffer and then call something that reverts
| * Update with more commentsYoichi Hirai2017-09-278-240/+528
| |
| * Add tests that set up a nonempty returndata buffer and then call a contract ↵Yoichi Hirai2017-09-278-0/+9610
| | | | | | | | | | | | that reverts This should fulfill: non-empty returndata buffer --CALL --> REVERT <-- RETURNDATASIZE, to detect "not setting returndata buffer after REVERT"
* | Add a test where RETURNDATACOPY with a nonzero size fails after a CALL with ↵Yoichi Hirai2017-09-271-0/+734
|/ | | | insufficient balance
* Merge pull request #331 from ethereum/big-revert-in-createYoichi Hirai2017-09-224-0/+2106
|\ | | | | Add a test case with a REVERT with returndata >24576 in an init code
| * Add a test case with a REVERT with returndata >24576 in an init codeYoichi Hirai2017-09-194-0/+2106
| |
* | Merge pull request #333 from ethereum/REVERT_in_staticcallYoichi Hirai2017-09-211-0/+722
|\ \ | | | | | | Add a test about REVERT during a STATICCALL
| * | Add a test about REVERT during a STATICCALLYoichi Hirai2017-09-201-0/+722
| | |
* | | Merge pull request #328 from ethereum/g1-test-after-zeroYoichi Hirai2017-09-204-0/+8312
|\ \ \ | |/ / |/| | Add a test that fails before PR 4482
| * | Refill with the new commentYoichi Hirai2017-09-194-144/+144
| | |
| * | Add a test that fails before https://github.com/ethereum/cpp-ethereum/pull/4482Yoichi Hirai2017-09-194-0/+8312
| | | | | | | | | | | | | | | | | | This PR adds a test on ecpairing where g1 is invalid while g2 is zero. cpp-ethereum before PR 4482 accidentially returned some answer in this case. It should throw.
* | | Merge pull request #329 from ethereum/morecollisionwinsvega2017-09-201-0/+902
|\ \ \ | |_|/ |/| | more extcodecopy tests
| * | more extcodecopy testsDimitry2017-09-191-0/+902
| | |
* | | Merge pull request #327 from ethereum/morecollisionwinsvega2017-09-1924-0/+21398
|\| | | | | | | | more collision tests
| * | more collision testsDimitry2017-09-1824-0/+21398
| | | | | | | | | | | | | | | collision with empty, with empty but nonce, empty but code from transaction and from code execution of create
* | | Add a test executing REVERT during a DELEGATECALLYoichi Hirai2017-09-181-0/+722
| |/ |/|
* | add tests for all good opcodes in contract initJared Wasinger2017-09-16134-0/+90844
|/
* refill pairing tests withDimitry2017-09-1392-30071/+3395
| | | | 100k + 80k
* update precompiled in static testDimitry2017-09-129-1338/+320
|
* refill precompiled testsDimitry2017-09-121919-61169/+2165298
| | | | add execution on <100000 100000+x >100000 gas for each test
* Merge pull request #304 from ethereum/splitvmtestswinsvega2017-09-084-0/+3038
|\ | | | | [WIP] add more issue tests from the fuzz server
| * add a case with 0 gasDimitry2017-09-082-30/+788
| |
| * refill the tests with latest cppDimitry2017-09-083-146/+125
| |
| * add more issue tests from the fuzz serverDimitry2017-09-053-0/+2301
| |
* | replace BLOCKHASH test case in stBadOpcodeJared Wasinger2017-09-06122-5178/+5178
| |
* | add converted blockchain test for 'returndatasize_after_successful_callcode'Jared Wasinger2017-09-051-48/+48
| |
* | add more returndatasize/returndatacopy testsJared Wasinger2017-09-0512-0/+8384
| |
* | Merge pull request #301 from ethereum/splitvmtestsYoichi Hirai2017-09-041-0/+688
|\| | | | | randomTest643
| * randomTest643Dimitry2017-09-041-0/+688
| | | | | | | | Codesize - creation of a ~1mb out of bounds in transaction init code
* | Merge pull request #277 from ethereum/badOpcodes-CALLBLACKBOXwinsvega2017-09-02122-2496/+48603
|\ \ | | | | | | Add more opcodes to badOpcodes test
| * | add more blockchain test cases.Jared Wasinger2017-09-02122-2496/+48603
| | |
* | | add state test for sstore in contract init codeJared Wasinger2017-09-011-0/+603
| |/ |/|
* | --fillchain refund50percentCap testYoichi Hirai2017-08-311-82/+82
|/ | | | This fixes `test/testeth -t BCGeneralStateTests/stRefundTest -- --all`
* Merge pull request #281 from ethereum/refill-refund50PercentCapYoichi Hirai2017-08-311-56/+56
|\ | | | | Fill BlockchainTests/GeneralStateTests/stRefundTest/refund50percentCap
| * Fill BlockchainTests/GeneralStateTests/stRefundTest/refund50percentCapYoichi Hirai2017-08-281-56/+56
| | | | | | | | | | | | I was investigating https://github.com/ethereum/cpp-ethereum/issues/4413 and found that the problem has disappeared on the current develop. This commit fills one of the tests mentioned in the issue.
* | Merge pull request #280 from ethereum/refill-refund600Yoichi Hirai2017-08-301-102/+102
|\ \ | | | | | | Refull refund600 test
| * | Refull refund600 testYoichi Hirai2017-08-281-102/+102
| |/ | | | | | | | | | | | | I was investigating https://github.com/ethereum/cpp-ethereum/issues/4413 and found that GeneralStateTests/stRefundTest/refund600.json was out of date. This commit updates the test together with the BlockchainTest translation.
* | Merge pull request #286 from ethereum/refill-stQuadraticComplexityYoichi Hirai2017-08-3030-1410/+1200
|\ \ | | | | | | --fillchain on GeneralStateTests/stQuadraticComplexityTest
| * | --fillchain on GeneralStateTests/stQuadraticComplexityTestYoichi Hirai2017-08-2930-1410/+1200
| | | | | | | | | | | | This will eliminate around 30 errors from `testeth -t BCGeneralStateTests/stQuadraticComplexityTest -- --all`
* | | --fillchain ↵Yoichi Hirai2017-08-301-54/+40
|/ / | | | | | | BlockchainTests/GeneralStateTests/stRandom/randomStatetest642_d0g0v0.json
* / add randomTest642 that fails on geth. a call to precompiled 007Dimitry2017-08-281-0/+723
|/
* Translate GeneralStateTests into BlockahtinTests/GeneralStateTestsYoichi Hirai2017-08-283036-141382/+244798
|
* Fix the modexpFiller about large base length and large exp lengthYoichi Hirai2017-08-142-126/+126
|
* Add a test case that RETURNDATACOPYs REVERTed dataYoichi Hirai2017-08-081-0/+742
|
* Hive tests with ByzantineDimitry2017-08-062851-164758/+619483
|
* Change tests so that the storage is cleared before, not after contract ↵Yoichi Hirai2017-08-041-73/+215
| | | | initialization
* regenerate hive testsDimitry2017-08-014740-1749768/+2320992
|
* Fill tests after changing the receipt formatYoichi Hirai2017-07-19107-0/+113252
|
* Modify createJS_ExampleContract filler so that in Metropolis, contract ↵Yoichi Hirai2017-07-181-124/+266
| | | | overwriting does not happen
* update stQuadraticComplexity with 250M gasLimitDimitry2017-06-2230-34562/+51403
|
* update stMemoryStress with 250M gas limitDimitry2017-06-2242-3970/+42012
|
* remove stBoundsTestDimitry2017-06-2244-20216/+0
|
* Fill tests according to previous commitYoichi Hirai2017-06-161-1112/+2094
|
* Merge branch 'snark_test_filled' into new_expmod_costYoichi Hirai2017-06-14262-0/+483780
|\
| * fill zeroKnowledge as BlockchainDimitry2017-06-13262-2165/+447395
| |
| * Add BlockchainTests about the elliptic curveYoichi Hirai2017-06-135-0/+38550
| |
* | Update tests after changing the gas cost of modexp precompiled contractYoichi Hirai2017-06-131-0/+13782
|/
* Merge pull request #181 from ethereum/returndatacopy_throwwinsvega2017-06-135-150/+181
|\ | | | | Returndatacopy throws for out of buffer access
| * Fill tests after making returndatacopy throwYoichi Hirai2017-06-085-150/+181
| |
* | remove old bcWallet tests with incorrect namesDimitry2017-06-0941-18369/+0
|/
* Merge pull request #174 from ethereum/returndatacopy_initialwinsvega2017-06-055-0/+2773
|\ | | | | Adding tests for RETURNDATACOPY and RETURNDATASIZE
| * Fill in blockchain testsYoichi Hirai2017-05-245-0/+2773
| | | | | | | | Based on cpp-ethereum:49cdc48492420776e96ca677bb80cfdf59ebb315
* | update blockchain tests (stRandom stSpecial)Dimitry2017-06-02657-67385/+13975
| |
* | make blockhash state test only as blockchain testsDimitry2017-06-02656-84557/+160285
|/
* replace SUICIDE with SELFDESTRUCTDimitry2017-04-1912-48/+48
|
* REVERT test case:Dimitry2017-04-041-440/+5240
| | | | | return empty output but with non-zero memory index (e.g. offset 1, length 0). test case 2: big index, size 0.
* fill blockchain tests with Revert OpCodeDimitry2017-04-0310-0/+54536
|
* tx with OOG at block 2675119Dimitry2017-02-281-0/+502
|
* deployment error testDimitry2017-02-161-0/+477
|
* new blockchain tests from general state testsDimitry2017-02-168-0/+101061
|
* Memorystress and quadratic tests as blockchain testsDimitry2017-02-1033-0/+42356
|
* refill state tests as blockchainDimitry2017-02-101068-46946/+190234
|
* fill stRandom tests as blockchainDimitry2017-02-10643-108/+277920
|
* update statetets as bcDimitry2017-02-10385-12332/+14404
|
* GeneralStateTests as Blockchain testsDimitry2017-02-10946-0/+476576