aboutsummaryrefslogtreecommitdiffstats
path: root/tests/block_test.go
Commit message (Collapse)AuthorAgeFilesLines
* core/state: revert metro suicide map addition (#15024)Péter Szilágyi2017-08-241-1/+0
|
* tests: pull in new test suite, enable most block testsPéter Szilágyi2017-08-221-3/+4
|
* tests: update tests, use blockchain test "network" fieldFelix Lange2017-08-111-45/+10
| | | | | | | | | Blockchain tests now include the "network" which determines the chain config to use. Remove config matching based on test name and share the name-to-config index with state tests. Byzantium/Constantinople tests are still skipped because most of them fail anyway.
* tests: update tests and implement general state tests (#14734)Felix Lange2017-07-111-223/+57
| | | | | | | | | | | | | | Tests are now included as a submodule. This should make updating easier and removes ~60MB of JSON data from the working copy. State tests are replaced by General State Tests, which run the same test with multiple fork configurations. With the new test runner, consensus tests are run as subtests by walking json files. Many hex issues have been fixed upstream since the last update and most custom parsing code is replaced by existing JSON hex types. Tests can now be marked as 'expected failures', ensuring that fixes for those tests will trigger an update to test configuration. The new test runner also supports parallel execution and the -short flag.
* core, core/vm: added gas price variance tableJeffrey Wilcke2016-10-151-30/+37
| | | | | | | | | | | | | This implements 1b & 1c of EIP150 by adding a new GasTable which must be returned from the RuleSet config method. This table is used to determine the gas prices for the current epoch. Please note that when the CreateBySuicide gas price is set it is assumed that we're in the new epoch phase. In addition this PR will serve as temporary basis while refactorisation in being done in the EVM64 PR, which will substentially overhaul the gas price code.
* tests: update test files from github.com/ethereum/tests @ 45bc1d21d3c1Felix Lange2016-10-061-0/+19
| | | | | | Two new tests are skipped because they're buggy. Making some newer random state tests work required implementing the 'compressed return value encoding'.
* cmd, core, eth, miner, params, tests: finalize the DAO forkPéter Szilágyi2016-07-151-7/+0
|
* core, params, tests: add DAO hard-fork balance movesPéter Szilágyi2016-07-151-26/+41
|
* core: added basic chain configurationJeffrey Wilcke2016-04-011-54/+26
| | | | | | | | | Added chain configuration options and write out during genesis database insertion. If no "config" was found, nothing is written to the database. Configurations are written on a per genesis base. This means that any chain (which is identified by it's genesis hash) can have their own chain settings.
* tests: updated homestead testsJeffrey Wilcke2016-02-181-0/+113
|
* tests: update JSON files, add new wrappersGustav Simonsson2015-10-231-0/+21
|
* Add TestBcForkUncleTests and update JSON filesGustav Simonsson2015-08-311-0/+7
|
* Add tests for uncle timestamps and refactor timestamp typeGustav Simonsson2015-08-251-0/+7
|
* tests: updatedJeffrey Wilcke2015-07-291-19/+0
|
* Merge pull request #1515 from fjl/license-fixesJeffrey Wilcke2015-07-281-1/+1
|\ | | | | all: fix license headers one more time
| * all: fix license headers one more timeFelix Lange2015-07-241-1/+1
| | | | | | | | I forgot to update one instance of "go-ethereum" in commit 3f047be5a.
* | core: 5 ether block rewardJeffrey Wilcke2015-07-251-0/+8
|/
* all: update license headers to distiguish GPL/LGPLFelix Lange2015-07-231-4/+4
| | | | | All code outside of cmd/ is licensed as LGPL. The headers now reflect this by calling the whole work "the go-ethereum library".
* Update Ethereum JSON test files and wrappersGustav Simonsson2015-07-081-0/+8
|
* all: update license informationFelix Lange2015-07-071-0/+16
|
* Add TestBcGasPricer, comments and unskip testsGustav Simonsson2015-07-061-0/+7
|
* Add --skip option to CLITaylor Gerring2015-06-191-10/+10
| | | | | Disassociates hardcoded tests to skip when running via CLI. Tests still skipped when running `go test`
* More consistent test interfaces + test skippingTaylor Gerring2015-06-191-10/+40
|
* Cleanup/reorgTaylor Gerring2015-06-191-4/+0
|
* Return error up stack instead of passing testing var downTaylor Gerring2015-06-191-12/+10
|
* Fix pathsTaylor Gerring2015-06-191-10/+14
|
* Split tests from helper codeTaylor Gerring2015-06-191-69/+0
|
* Skip BlockTests/bcValidBlockTests SimpleTx3Gustav Simonsson2015-06-091-1/+3
|
* Add new 0th gen uncle testGustav Simonsson2015-06-021-0/+1
|
* tests: removed missing block testobscuren2015-05-261-4/+0
|
* Add wrapper for BlockTests/bcWalletTest.jsonGustav Simonsson2015-05-181-0/+4
|
* Change default keystore dirGustav Simonsson2015-05-131-1/+1
|
* replaced several path.* with filepath.* which is platform independentBas van Kervel2015-05-121-2/+2
|
* miner, tests: fixed block testobscuren2015-05-091-1/+1
|
* Add bcTotalDifficultyTest and unskip now working tx testsGustav Simonsson2015-05-071-0/+4
|
* Unskip now working tests, remove debug printGustav Simonsson2015-05-071-3/+0
|
* Unskip working blocktests following ethash cache reusageGustav Simonsson2015-05-051-10/+4
|
* Add loading of block test privkey if presentGustav Simonsson2015-04-281-1/+1
|
* Include ZeroByteAtTheEnd and RandomByteAtTheEnd testsGustav Simonsson2015-04-231-8/+1
|
* Unskip BlockTests/bcInvalidHeaderTest.json wrongUncleHashGustav Simonsson2015-04-231-4/+1
|
* Further fixes to block test wrapperGustav Simonsson2015-04-211-0/+126
* Move go test wrapper for block tests from cmd/geth to tests * Fix logic for when tests are valid or not, by adding correct validations for expected valid/invalid blocks * Change block insertion helper to work on single blocks * Add one test case for each file in BlockTests and comment out the tests which are currently failing * Add Skip call in all block tests in lieu of performance fixes around ethash cache which are needed before it will be fast enough to start / stop the node between each test