aboutsummaryrefslogtreecommitdiffstats
path: root/tests/transaction_test_util.go
Commit message (Collapse)AuthorAgeFilesLines
* core/types, params: EIP#155Jeffrey Wilcke2016-11-131-9/+4
|
* core, core/state, trie: EIP158, reprice & skip empty account writeJeffrey Wilcke2016-11-131-2/+1
| | | | | | | | | | | | | | | This commit implements EIP158 part 1, 2, 3 & 4 1. If an account is empty it's no longer written to the trie. An empty account is defined as (balance=0, nonce=0, storage=0, code=0). 2. Delete an empty account if it's touched 3. An empty account is redefined as either non-existent or empty. 4. Zero value calls and zero value suicides no longer consume the 25k reation costs. params: moved core/config to params Signed-off-by: Jeffrey Wilcke <jeffrey@ethereum.org>
* core: added basic chain configurationJeffrey Wilcke2016-04-011-4/+3
| | | | | | | | | 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-2/+15
|
* parmas, crypto, core, core/vm: homestead consensus protocol changesGustav Simonsson2016-02-181-2/+2
| | | | | | | | * change gas cost for contract creating txs * invalidate signature with s value greater than secp256k1 N / 2 * OOG contract creation if not enough gas to store code * new difficulty adjustment algorithm * new DELEGATECALL op code
* all: fix license headers one more timeFelix Lange2015-07-241-1/+1
| | | | I forgot to update one instance of "go-ethereum" in commit 3f047be5a.
* 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".
* all: update license informationFelix Lange2015-07-071-0/+16
|
* core/types: make transactions immutableFelix Lange2015-06-301-23/+22
|
* Add --skip option to CLITaylor Gerring2015-06-191-10/+17
| | | | | Disassociates hardcoded tests to skip when running via CLI. Tests still skipped when running `go test`
* Add stdin optionTaylor Gerring2015-06-191-5/+34
|
* Cleanup loggingTaylor Gerring2015-06-191-2/+3
|
* DRY file loadingTaylor Gerring2015-06-191-1/+1
|
* More consistent test interfaces + test skippingTaylor Gerring2015-06-191-9/+18
|
* Separate and identify tests runnersTaylor Gerring2015-06-191-1/+1
|
* Add bcTotalDifficultyTest and unskip now working tx testsGustav Simonsson2015-05-071-1/+1
|
* Explicitly skip TransactionTests/tt10mbDataField.jsonGustav Simonsson2015-04-231-1/+1
|
* Add block tests wrapper and fixes for tx testsGustav Simonsson2015-04-201-62/+81
| | | | | | | | | * Add fixes to parsing and converting of fields in tx tests * Correct logic in tx tests; validation of fields and correct logic for when RLP decoding works/fails and when this is expected or not * Rename files for consistency * Add block tests wrapper to run block tests with go test
* tests: hopefully improve test conversion helpersFelix Lange2015-04-191-5/+5
| | | | (cherry picked from commit 035a30acbefb5eeadc1fc8dbd567775d5688f8a9)
* Fixes for TransactionTestsGustav Simonsson2015-04-161-6/+13
| | | | | | | | | * Include tests which now has consistent HEX encodings * Comment out two failing tests: " "TransactionWithHihghNonce" due to wrong nonce size "TransactionWithSvalueHigh" due to wrong ECDSA s range * Cleanup conversion functions and fix expected encodings for tests validation fields
* Enable more tx tests by expecting most common encoding of valuesGustav Simonsson2015-04-101-6/+6
|
* Add TransactionTests wrapped as Go testsGustav Simonsson2015-04-101-0/+134
* Add initial go wrapping for TransactionTests with some tests disabled in lieu of consistent HEX encodings and a few other pending bugfixes * TODO: Consider better way of perhaps modelling each test in the JSON files as a single Go test, instead of one Go test per JSON file