Péter Szilágyi
3c48a25762
Merge pull request #15014 from rjl493456442/metropolis-eip658
...
core: add status as a consensus field in receipt
2017-08-23 14:39:37 +03:00
Péter Szilágyi
79bf69b556
tests: pull in new test suite, enable most block tests
2017-08-22 18:35:18 +03:00
rjl493456442
28aea46ac0
core: implement Metropolis EIP 658, receipt status byte
2017-08-22 18:35:17 +03:00
Péter Szilágyi
3cc476c8ab
tests: enable Byzantium state tests for CI
2017-08-22 14:04:44 +03:00
Péter Szilágyi
afdfdebd87
Merge pull request #14983 from karalabe/metropolis-revert
...
core/vm: implement REVERT metropolis opcode
2017-08-21 12:23:03 +03:00
Miya Chen
bf1e263128
core, light: send chain events using event.Feed ( #14865 )
2017-08-18 12:58:36 +02:00
Péter Szilágyi
1bbd400899
tests: skip the bad tests from colliding account touches
2017-08-17 16:50:36 +03:00
Péter Szilágyi
64d199edf2
tests: pull in latest tests from upstream
2017-08-16 13:43:15 +03:00
Felix Lange
6a56b15019
tests: update tests, use blockchain test "network" field
...
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.
2017-08-11 12:34:03 +02:00
Felix Lange
225de7ca0a
tests: update tests and implement general state tests ( #14734 )
...
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.
2017-07-11 13:49:14 +02:00
Péter Szilágyi
8f12d76a47
params: remove redundant consts, disable metro on AllProtocolChanges
2017-07-04 12:28:58 +03:00
Felix Lange
9e5f03b6c4
core/state: access trie through Database interface, track errors ( #14589 )
...
With this commit, core/state's access to the underlying key/value database is
mediated through an interface. Database errors are tracked in StateDB and
returned by CommitTo or the new Error method.
Motivation for this change: We can remove the light client's duplicated copy of
core/state. The light client now supports node iteration, so tracing and storage
enumeration can work with the light client (not implemented in this commit).
2017-06-27 15:57:06 +02:00
Péter Szilágyi
aa73420207
accounts/keystore, crypto: enforce 256 bit keys on import
2017-05-23 14:58:03 +03:00
Péter Szilágyi
158d603528
consensus, core: drop all the legacy custom core error types
2017-04-06 17:34:19 +03:00
Péter Szilágyi
09777952ee
core, consensus: pluggable consensus engines ( #3817 )
...
This commit adds pluggable consensus engines to go-ethereum. In short, it
introduces a generic consensus interface, and refactors the entire codebase to
use this interface.
2017-04-05 00:16:29 +02:00
Péter Szilágyi
567d41d936
all: swap out the C++ ethash to the pure Go one (mining todo)
2017-03-09 15:50:14 +01:00
Felix Lange
5f7826270c
all: unify big.Int zero checks, use common/math in more places ( #3716 )
...
* common/math: optimize PaddedBigBytes, use it more
name old time/op new time/op delta
PaddedBigBytes-8 71.1ns ± 5% 46.1ns ± 1% -35.15% (p=0.000 n=20+19)
name old alloc/op new alloc/op delta
PaddedBigBytes-8 48.0B ± 0% 32.0B ± 0% -33.33% (p=0.000 n=20+20)
* all: unify big.Int zero checks
Various checks were in use. This commit replaces them all with Int.Sign,
which is cheaper and less code.
eg templates:
func before(x *big.Int) bool { return x.BitLen() == 0 }
func after(x *big.Int) bool { return x.Sign() == 0 }
func before(x *big.Int) bool { return x.BitLen() > 0 }
func after(x *big.Int) bool { return x.Sign() != 0 }
func before(x *big.Int) int { return x.Cmp(common.Big0) }
func after(x *big.Int) int { return x.Sign() }
* common/math, crypto/secp256k1: make ReadBits public in package math
2017-02-28 15:09:11 +01:00
Felix Lange
d0eba23af3
all: disable log message colors outside of geth
...
Also tweak behaviour so colors are only enabled when stderr is a terminal.
2017-02-27 15:33:12 +01:00
Felix Lange
5c8fe28b72
common: move big integer math to common/math ( #3699 )
...
* common: remove CurrencyToString
Move denomination values to params instead.
* common: delete dead code
* common: move big integer operations to common/math
This commit consolidates all big integer operations into common/math and
adds tests and documentation.
There should be no change in semantics for BigPow, BigMin, BigMax, S256,
U256, Exp and their behaviour is now locked in by tests.
The BigD, BytesToBig and Bytes2Big functions don't provide additional
value, all uses are replaced by new(big.Int).SetBytes().
BigToBytes is now called PaddedBigBytes, its minimum output size
parameter is now specified as the number of bytes instead of bits. The
single use of this function is in the EVM's MSTORE instruction.
Big and String2Big are replaced by ParseBig, which is slightly stricter.
It previously accepted leading zeros for hexadecimal inputs but treated
decimal inputs as octal if a leading zero digit was present.
ParseUint64 is used in places where String2Big was used to decode a
uint64.
The new functions MustParseBig and MustParseUint64 are now used in many
places where parsing errors were previously ignored.
* common: delete unused big integer variables
* accounts/abi: replace uses of BytesToBig with use of encoding/binary
* common: remove BytesToBig
* common: remove Bytes2Big
* common: remove BigTrue
* cmd/utils: add BigFlag and use it for error-checked integer flags
While here, remove environment variable processing for DirectoryFlag
because we don't use it.
* core: add missing error checks in genesis block parser
* common: remove String2Big
* cmd/evm: use utils.BigFlag
* common/math: check for 256 bit overflow in ParseBig
This is supposed to prevent silent overflow/truncation of values in the
genesis block JSON. Without this check, a genesis block that set a
balance larger than 256 bits would lead to weird behaviour in the VM.
* cmd/utils: fixup import
2017-02-26 22:21:51 +01:00
Péter Szilágyi
d4fd06c3dc
all: blidly swap out glog to our log15, logs need rework
2017-02-23 12:16:44 +02:00
Jeffrey Wilcke
024d41d0c2
core, core/state, core/vm: remove exported account getters ( #3618 )
...
Removed exported statedb object accessors, reducing the chance for nasty
bugs to creep in. It's also ugly and unnecessary to have these methods.
2017-02-22 23:29:59 +01:00
Péter Szilágyi
b7f010de52
tests: cleanup tester blockchain after test run ( #3692 )
2017-02-20 11:54:23 +01:00
Jeffrey Wilcke
c12f4df910
params: core, core/vm, miner: 64bit gas instructions
...
Reworked the EVM gas instructions to use 64bit integers rather than
arbitrary size big ints. All gas operations, be it additions,
multiplications or divisions, are checked and guarded against 64 bit
integer overflows.
In additon, most of the protocol paramaters in the params package have
been converted to uint64 and are now constants rather than variables.
* common/math: added overflow check ops
* core: vmenv, env renamed to evm
* eth, internal/ethapi, les: unmetered eth_call and cancel methods
* core/vm: implemented big.Int pool for evm instructions
* core/vm: unexported intPool methods & verification methods
* core/vm: added memoryGasCost overflow check and test
2017-02-13 21:44:25 +01:00
Jeffrey Wilcke
57f4e90257
Revert "params: core, core/vm, miner: 64bit gas instructions ( #3514 )"
...
This reverts commit 8b57c49490
.
2017-02-13 15:15:12 +01:00
Jeffrey Wilcke
8b57c49490
params: core, core/vm, miner: 64bit gas instructions ( #3514 )
...
Reworked the EVM gas instructions to use 64bit integers rather than
arbitrary size big ints. All gas operations, be it additions,
multiplications or divisions, are checked and guarded against 64 bit
integer overflows.
In additon, most of the protocol paramaters in the params package have
been converted to uint64 and are now constants rather than variables.
* common/math: added overflow check ops
* core: vmenv, env renamed to evm
* eth, internal/ethapi, les: unmetered eth_call and cancel methods
* core/vm: implemented big.Int pool for evm instructions
* core/vm: unexported intPool methods & verification methods
* core/vm: added memoryGasCost overflow check and test
2017-02-02 15:25:42 +01:00
Nick Johnson
17d92233d9
cmd/geth, core: add support for recording SHA3 preimages ( #3543 )
2017-01-17 12:19:50 +01:00
Jeffrey Wilcke
3160fd24ba
tests: unskip test
2017-01-12 10:32:21 +01:00
Péter Szilágyi
18c77744ff
all: fix spelling errors
2017-01-06 19:44:35 +02:00
Felix Lange
f2da6581ba
all: fix issues reported by honnef.co/go/simple/cmd/gosimple
2017-01-06 18:18:07 +01:00
Felix Lange
7731061903
core/vm: move Log to core/types
...
This significantly reduces the dependency closure of ethclient, which no
longer depends on core/vm as of this change.
All uses of vm.Logs are replaced by []*types.Log. NewLog is gone too,
the constructor simply returned a literal.
2017-01-06 14:15:22 +01:00
Jeffrey Wilcke
bbc4ea4ae8
core/vm: improved EVM run loop & instruction calling ( #3378 )
...
The run loop, which previously contained custom opcode executes have been
removed and has been simplified to a few checks.
Each operation consists of 4 elements: execution function, gas cost function,
stack validation function and memory size function. The execution function
implements the operation's runtime behaviour, the gas cost function implements
the operation gas costs function and greatly depends on the memory and stack,
the stack validation function validates the stack and makes sure that enough
items can be popped off and pushed on and the memory size function calculates
the memory required for the operation and returns it.
This commit also allows the EVM to go unmetered. This is helpful for offline
operations such as contract calls.
2017-01-05 11:52:10 +01:00
Jeffrey Wilcke
3fc7c97827
core, core/vm: implemented a generic environment ( #3348 )
...
Environment is now a struct (not an interface). This
reduces a lot of tech-debt throughout the codebase where a virtual
machine environment had to be implemented in order to test or run it.
The new environment is suitable to be used en the json tests, core
consensus and light client.
2016-12-06 02:16:03 +01:00
Felix Lange
bca7bfa927
tests: update from github.com/ethereum/tests @ f21c49dc816e
2016-11-24 22:54:50 +01:00
Jeffrey Wilcke
12d654a6fc
core, core/state: fixed consensus issue added touch revert
...
Implemented proper touch revert journal entries and copied a Parity
consensus bug in order to remain in sync with the current longest chain.
2016-11-24 22:12:54 +01:00
Zsolt Felfoldi
b10bcd924b
core/types: turn off nonce checking for Call messages
2016-11-14 14:16:06 +01:00
Jeffrey Wilcke
a91908e567
tests: updated
2016-11-13 23:26:07 +01:00
Jeffrey Wilcke
4dca5d4db7
core/types, params: EIP#155
2016-11-13 14:55:30 +01:00
Jeffrey Wilcke
5cd86443ee
tests: added new EIP158 tests
2016-11-13 10:44:06 +01:00
Jeffrey Wilcke
445feaeef5
core, core/state, trie: EIP158, reprice & skip empty account write
...
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>
2016-11-13 10:44:04 +01:00
Jeffrey Wilcke
64af2aafda
core, core/vm: added gas price variance table
...
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.
2016-10-14 18:09:17 +02:00
Felix Lange
eeb2a1a6e3
Merge pull request #3094 from fjl/tests-update
...
tests: update test files from github.com/ethereum/tests @ 45bc1d21d3c1
2016-10-06 16:19:53 +02:00
Felix Lange
1b7b2ba216
tests: update test files from github.com/ethereum/tests @ 45bc1d21d3c1
...
Two new tests are skipped because they're buggy. Making some newer
random state tests work required implementing the 'compressed return
value encoding'.
2016-10-06 15:36:21 +02:00
Felix Lange
1f1ea18b54
core/state: implement reverts by journaling all changes
...
This commit replaces the deep-copy based state revert mechanism with a
linear complexity journal. This commit also hides several internal
StateDB methods to limit the number of ways in which calling code can
use the journal incorrectly.
As usual consultation and bug fixes to the initial implementation were
provided by @karalabe, @obscuren and @Arachnid. Thank you!
2016-10-06 15:32:16 +02:00
Péter Szilágyi
cb84e3f029
cmd, core, internal, light, tests: avoid hashing the code in the VM
2016-10-01 16:01:58 +03:00
Felix Lange
a59a93f476
core/state: track all accounts in canon state
...
This change introduces a global, per-state cache that keeps account data
in the canon state. Thanks to @karalabe for lots of fixes.
2016-09-26 10:09:52 +02:00
Nick Johnson
781915f183
core/vm: Refactor tracing to make Tracer the main interface
...
This CL makes several refactors:
- Define a Tracer interface, implementing the `CaptureState` method
- Add the VM environment as the first argument of
`Tracer.CaptureState`
- Rename existing functionality `StructLogger` an make it an
implementation of `Tracer`
- Delete `StructLogCollector` and make `StructLogger` collect the logs
directly
- Change all callers to use the new `StructLogger` where necessary and
extract logs from that.
- Deletes the apparently obsolete and likely nonfunctional 'TraceCall'
from the eth API.
Callers that only wish accumulated logs can use the `StructLogger`
implementation straightforwardly. Callers that wish to efficiently
capture VM traces and operate on them without excessive copying can now
implement the `Tracer` interface to receive VM state at each step and
do with it as they wish.
This CL also removes the accumulation of logs from the vm.Environment;
this was necessary as part of the refactor, but also simplifies it by
removing a responsibility that doesn't directly belong to the
Environment.
2016-08-22 09:26:15 +01:00
Péter Szilágyi
2c2e389b77
cmd, core, eth, miner, params, tests: finalize the DAO fork
2016-07-15 16:52:55 +03:00
Péter Szilágyi
461cdb593b
core, params, tests: add DAO hard-fork balance moves
2016-07-15 16:52:55 +03:00
zsfelfoldi
00787fe781
core: added CheckNonce() to Message interface
2016-07-11 12:35:23 +02:00
Péter Szilágyi
6362a9d610
Revert "test, cmd/evm, core, core/vm: illegal code hash implementation"
...
This reverts commit 7a5b571c67
.
2016-06-29 11:44:51 +03:00
Jeffrey Wilcke
7a5b571c67
test, cmd/evm, core, core/vm: illegal code hash implementation
...
This implements a generic approach to enabling soft forks by allowing
anyone to put in hashes of contracts that should not be interacted from.
This will help "The DAO" in their endevour to stop any whithdrawals from
any DAO contract by convincing the mining community to accept their code
hash.
2016-06-22 11:38:25 +03:00
zsfelfoldi
f9917c8c7b
core: improved chainDb using sequential keys
2016-06-07 16:38:56 +02:00
Felix Lange
ca18202eb9
eth: enable bad block reports
...
We used to have reporting of bad blocks, but it was disabled
before the Frontier release. We need it back because users
are usually unable to provide the full RLP data of a bad
block when it occurs.
A shortcoming of this particular implementation is that the
origin peer is not tracked for blocks received during eth/63
sync. No origin peer info is still better than no report at
all though.
2016-05-25 02:02:51 +02:00
Felix Lange
6fdd0893c3
all: fix go vet warnings
2016-04-15 11:17:27 +02:00
Felix Lange
d04a2e7557
all: update license information
2016-04-15 09:48:05 +02:00
Felix Lange
83877a0f9d
tests: remove eth, node, accounts dependencies
...
Unlocking the accounts in the test doesn't help with anything.
2016-04-12 15:34:39 +02:00
Jeffrey Wilcke
f0cbebb19f
core: added basic chain configuration
...
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.
2016-04-01 01:01:10 +02:00
Jeffrey Wilcke
14013372ae
core: Added EVM configuration options
...
The EVM is now initialised with an additional configured object that
allows you to turn on debugging options.
2016-03-23 23:02:42 +01:00
Jeffrey Wilcke
342ae7ce7d
core, core/vm, tests: changed the initialisation behaviour of the EVM
...
The EVM was previously initialised and created for every CALL, CALLCODE,
DELEGATECALL and CREATE. This PR changes this behaviour so that the same
EVM can be used through the session and beyond as long as the
Environment sticks around.
2016-03-23 00:04:00 +01:00
Péter Szilágyi
a6903ad6a5
Merge pull request #2260 from karalabe/ethash-cache-fixes
...
Godeps, eth, tests: update ethash, used shared for testing
2016-02-24 17:58:12 +02:00
Péter Szilágyi
0a5ee08e2b
Godeps, eth, tests: update ethash, used shared for testing
2016-02-24 13:29:47 +02:00
Ricardo Catalinas Jiménez
436fc8d76a
all: Rename crypto.Sha3{,Hash}() to crypto.Keccak256{,Hash}()
...
As we aren't really using the standarized SHA-3
2016-02-21 22:34:34 +00:00
Jeffrey Wilcke
5b283663b4
core: Added new TD strategy which mitigate the risk for selfish mining
...
Assuming the following scenario where a miner has 15% of all hashing
power and the ability to exert a moderate control over the network to
the point where if the attacker sees a message A, it can't stop A from
propagating, but what it **can** do is send a message B and ensure that
most nodes see B before A. The attacker can then selfish mine and
augment selfish mining strategy by giving his own blocks an advantage.
This change makes the time at which a block is received less relevant
and so the level of control an attacker has over the network no longer
makes a difference.
This change changes the current td algorithm `B_td > C_td` to the new
algorithm `B_td > C_td || B_td == C_td && rnd < 0.5`.
2016-02-18 10:12:13 +01:00
Jeffrey Wilcke
b6d88a0e9f
core, core/vm, crypto: fixes for homestead
...
* Removed some strange code that didn't apply state reverting properly
* Refactored code setting from vm & state transition to the executioner
* Updated tests
2016-02-18 10:11:48 +01:00
Jeffrey Wilcke
4f4d2b6474
tests: updated homestead tests
2016-02-18 10:08:18 +01:00
Gustav Simonsson
371871d685
parmas, crypto, core, core/vm: homestead consensus protocol changes
...
* 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
2016-02-18 10:08:11 +01:00
Péter Szilágyi
1e806c4c77
cmd, common, core, eth, node, rpc, tests, whisper, xeth: use protocol stacks
2015-11-27 11:06:12 +02:00
Gustav Simonsson
220b0bf6e5
Update common test files
2015-11-20 12:53:36 +01:00
Péter Szilágyi
9dc5de51a2
tests: fix data race in bad-block-report disabling during tests
2015-11-05 13:29:50 +02:00
Drake Burroughs
05ea8926c3
cmd/utils, crypto: add --lightkdf flag for lighter KDF
2015-10-28 18:46:39 +01:00
Gustav Simonsson
145366c07e
tests: update JSON files, add new wrappers
2015-10-23 14:25:18 +02:00
Jeffrey Wilcke
80f26086ee
core, tests: get_hash fix
...
Make sure that we're fetching the hash from the current chain and not
the canonical chain.
2015-10-21 02:31:46 +02:00
Felix Lange
de8d5aaa92
core, core/state: move gas tracking out of core/state
...
The amount of gas available for tx execution was tracked in the
StateObject representing the coinbase account. This commit makes the gas
counter a separate type in package core, which avoids unintended
consequences of intertwining the counter with state logic.
2015-10-17 10:24:34 +02:00
Gustav Simonsson
1b1f293082
core/state, core, miner: handle missing root error from state.New
2015-10-16 02:22:06 +02:00
Gustav Simonsson
e1616f77c7
core, core/vm, cmd/evm: remove redundant balance check
2015-10-06 12:42:34 +02:00
Jeffrey Wilcke
7c7692933c
cmd/geth, cmd/utils, core, rpc: renamed to blockchain
...
* Renamed ChainManager to BlockChain
* Checkpointing is no longer required and never really properly worked
when the state was corrupted.
2015-10-04 01:13:56 +02:00
Jeffrey Wilcke
361082ec4b
cmd/evm, core/vm, test: refactored VM and core
...
* Moved `vm.Transfer` to `core` package and changed execution to call
`env.Transfer` instead of `core.Transfer` directly.
* core/vm: byte code VM moved to jump table instead of switch
* Moved `vm.Transfer` to `core` package and changed execution to call
`env.Transfer` instead of `core.Transfer` directly.
* Byte code VM now shares the same code as the JITVM
* Renamed Context to Contract
* Changed initialiser of state transition & unexported methods
* Removed the Execution object and refactor `Call`, `CallCode` &
`Create` in to their own functions instead of being methods.
* Removed the hard dep on the state for the VM. The VM now
depends on a Database interface returned by the environment. In the
process the core now depends less on the statedb by usage of the env
* Moved `Log` from package `core/state` to package `core/vm`.
2015-10-04 01:13:54 +02:00
Jeffrey Wilcke
49ae538506
Merge pull request #1405 from fjl/lean-trie
...
core, trie: new trie
2015-10-01 04:34:38 -07:00
Felix Lange
a2d5a60418
core, core/state: batch-based state sync
2015-09-22 22:57:37 +02:00
Gustav Simonsson
5621308949
tests: add test for StateTests/stCallCodes.json
2015-09-21 11:34:02 +02:00
Gustav Simonsson
47ca6904b3
tests: use lastblockhash field to validate reorgs and block headers
2015-09-18 17:48:31 +02:00
Gustav Simonsson
075815e5ff
tests: update common test wrappers and test files
2015-09-18 13:08:36 +02:00
Felix Lange
8c4dab77ba
all: move common.Database to package ethdb
2015-09-14 23:36:30 +02:00
Péter Szilágyi
cdc2662c40
core: split out TD from database and all internals
2015-09-11 17:42:25 +03:00
Gustav Simonsson
fe8093b71f
Add TestBcForkUncleTests and update JSON files
2015-08-31 16:45:00 +02:00
Gustav Simonsson
7324176f70
Add tests for uncle timestamps and refactor timestamp type
2015-08-25 04:46:11 +02:00
Jeffrey Wilcke
36f7fe61c3
core, tests: Double SUICIDE fix
2015-08-20 18:22:50 +02:00
Jeffrey Wilcke
9cacec70f9
cmd/evm, core/vm, tests: changed DisableVm to EnableVm
2015-08-11 18:43:22 +02:00
Jeffrey Wilcke
2fcf7f1241
Merge pull request #1604 from obscuren/db-merge
...
core, eth, trie, xeth: merged state, chain, extra databases in one
2015-08-09 05:16:37 -07:00
Jeffrey Wilcke
a23478c0be
core, eth, trie, xeth: merged state, chain, extra databases in one
2015-08-07 22:29:02 +02:00
Jeffrey Wilcke
ac697326a6
core/vm: reduced big int allocations
...
Reduced big int allocation by making stack items modifiable. Instead of
adding items such as `common.Big0` to the stack, `new(big.Int)` is
added instead. One must expect that any item that is added to the stack
might change.
2015-08-07 12:52:23 +02:00
Jeffrey Wilcke
184e9ae9a8
core, tests: reduced state copy by N calls
...
Reduced the amount of state copied that are required by N calls by doing
a balance check prior to any state modifications.
2015-08-07 12:52:23 +02:00
Jeffrey Wilcke
846f34f78b
core/vm, tests: implemented semi-jit vm
...
* changed stack and removed stack ptr. Let go decide on slice reuse.
2015-08-07 12:52:17 +02:00
Jeffrey Wilcke
71d32f54f7
core, miner: added difficulty bomb
2015-08-05 13:09:09 +02:00
Jeffrey Wilcke
03c39d4fc0
tests: updated
2015-07-29 15:01:42 +02:00
Jeffrey Wilcke
1fad8798ec
Merge pull request #1515 from fjl/license-fixes
...
all: fix license headers one more time
2015-07-28 04:29:42 -07:00
Jeffrey Wilcke
9afda6ab8c
core: 5 ether block reward
2015-07-25 17:47:20 +02:00
Felix Lange
bfbcfbe4a9
all: fix license headers one more time
...
I forgot to update one instance of "go-ethereum" in commit 3f047be5a
.
2015-07-23 18:35:11 +02:00
Felix Lange
3f047be5aa
all: update license headers to distiguish GPL/LGPL
...
All code outside of cmd/ is licensed as LGPL. The headers
now reflect this by calling the whole work "the go-ethereum library".
2015-07-22 18:51:45 +02:00
Felix Lange
593b1b65e7
tests: document RLP tests
2015-07-17 15:42:23 +02:00
Felix Lange
5da82077d1
cmd/ethtest, tests: add support for RLP JSON tests
2015-07-17 15:13:24 +02:00
Jeffrey Wilcke
a32c51effd
cmd, core, eth, common: genesis preparation
...
Implemented the --genesis flag thru which we can set a custom genesis
block, including the official Ethereum genesis block.
2015-07-10 17:37:41 +02:00
Gustav Simonsson
b08abe64e4
Unskip SimpleTx3, check err in pre/post state validations
2015-07-08 13:09:22 +02:00
Gustav Simonsson
0b53a5c673
Update Ethereum JSON test files and wrappers
2015-07-08 13:08:42 +02:00
Felix Lange
bdae4fd573
all: add some godoc synopsis comments
2015-07-07 14:12:45 +02:00
Felix Lange
ea54283b30
all: update license information
2015-07-07 14:12:44 +02:00
Jeffrey Wilcke
35cd355c14
cmd,eth,rpc,tests: default coinbase
2015-07-07 10:32:05 +02:00
Gustav Simonsson
b7e8d954ef
Add TestBcGasPricer, comments and unskip tests
2015-07-06 13:56:56 +02:00
Jeffrey Wilcke
aa4502060b
Merge pull request #1400 from obscuren/badblock-reporting
...
core, miner, tests: added test, implemented bad block reporting
2015-07-06 02:03:50 -07:00
Jeffrey Wilcke
bcc1660abc
core, miner, tests: added test, implemented bad block reporting
2015-07-05 15:14:31 +02:00
Gustav Simonsson
0f04af5916
Fix core error forwarding, unify OOG VM err
2015-07-04 09:27:42 +02:00
Jeffrey Wilcke
ab16ce70fc
core, miner, tests: renamed state methods
...
* Update => SyncIntermediate
* Added SyncObjects
SyncIntermediate only updates whatever has changed, but, as a side
effect, requires much more disk space.
SyncObjects will only sync whatever is required for a block and will not
save intermediate state to disk. As drawback this requires more time
when more txs come in.
2015-07-04 02:51:36 +02:00
Gustav Simonsson
ff97059a99
Update Ethereum JSON tests, skip failing
2015-07-03 09:40:07 +02:00
Gustav Simonsson
4c490db6af
Use uint64 for block header timestamp
2015-06-30 10:52:11 +02:00
Felix Lange
1d42888d30
core/types: make blocks immutable
2015-06-29 18:51:47 +02:00
Felix Lange
654564e164
core/types: make transactions immutable
2015-06-29 18:51:47 +02:00
obscuren
398d08a8dd
tests: SetGasLimit
2015-06-21 17:09:19 +02:00
Taylor Gerring
0743243dce
Add --skip option to CLI
...
Disassociates hardcoded tests to skip when running via CLI. Tests still
skipped when running `go test`
2015-06-19 11:38:23 +02:00
Taylor Gerring
a9659e6dcf
recover test logic
2015-06-18 23:46:42 +02:00
Taylor Gerring
8d3faf69d0
Build error fixes
2015-06-18 22:38:17 +02:00
Taylor Gerring
baea8e87e5
Rebase cleanup
2015-06-18 22:27:44 +02:00
Taylor Gerring
01ec4dbb12
Add stdin option
2015-06-18 22:24:07 +02:00
Taylor Gerring
30444db020
Add lost rebase changes
2015-06-18 22:20:45 +02:00
Taylor Gerring
c941a39b75
Cleanup logging
2015-06-18 22:20:45 +02:00
Taylor Gerring
8507c867b9
Fix geth blocktest command
2015-06-18 22:20:45 +02:00
Taylor Gerring
6ff956394a
DRY file loading
2015-06-18 22:20:45 +02:00
Taylor Gerring
ac0637c413
More consistent test interfaces + test skipping
2015-06-18 22:20:44 +02:00
Taylor Gerring
b6d40a9312
Cleanup/reorg
2015-06-18 22:20:44 +02:00
Taylor Gerring
c5d6fcbaba
Return error up stack instead of passing testing var down
2015-06-18 22:20:44 +02:00
Taylor Gerring
24554629b1
DRY log check
2015-06-18 22:15:08 +02:00
Taylor Gerring
7c6ef0ddac
Separate and identify tests runners
2015-06-18 22:15:07 +02:00
Taylor Gerring
1b26d4f220
Flatten helper directory
2015-06-18 22:15:07 +02:00
Taylor Gerring
e82100367f
Fix paths
2015-06-18 22:13:42 +02:00
Taylor Gerring
a67a15528a
Split tests from helper code
2015-06-18 22:13:42 +02:00
Taylor Gerring
7b9fbb088a
Flatten vm directory
2015-06-18 22:13:41 +02:00
Jeffrey Wilcke
2cea410656
Merge pull request #1282 from obscuren/state-cleanup
...
core/state: cleanup & optimisations
2015-06-18 05:29:53 -07:00
obscuren
a977f3c0dc
xeth, tests: fixed api
2015-06-17 11:44:40 +02:00
obscuren
787a61bb27
core/state, core/vm: reworked storage get / set to use common.Hash
2015-06-17 11:24:40 +02:00
Gustav Simonsson
8f372c867d
Update Ethereum JSON test files
2015-06-16 12:09:25 +02:00
Jeffrey Wilcke
6609d45ef4
Merge pull request #1228 from obscuren/vm-optimisations
...
core/vm: optimisations
2015-06-11 03:32:39 -07:00
obscuren
38c61f6f25
core, core/vm: added structure logging
...
This also reduces the time required spend in the VM
2015-06-10 12:23:49 +02:00
obscuren
6a5c9aff3b
tests: check gas limit error
2015-06-09 22:49:33 +02:00
Gustav Simonsson
15166f880b
Skip BlockTests/bcValidBlockTests SimpleTx3
2015-06-09 15:53:31 +02:00
Gustav Simonsson
d8e55a5cc3
Skip VMTests RandomTests temporarily until they are fixed
2015-06-09 15:40:43 +02:00
Gustav Simonsson
e885a2912b
Update Ethereum JSON test files
2015-06-09 15:39:24 +02:00
obscuren
246db4250b
tests: use state logs instead own kept logs
2015-06-04 19:48:23 +02:00
Jeffrey Wilcke
122d2db095
Merge pull request #1150 from fjl/fix-jumpdest
...
core/vm: improve JUMPDEST analysis
2015-06-03 09:11:56 -07:00
Felix Lange
c9ed9d253a
tests/files: update tests to d309b4679a58d2
2015-06-03 16:25:06 +02:00
Gustav Simonsson
0fa9d2431f
Add new 0th gen uncle test
2015-06-02 14:47:23 +02:00
Gustav Simonsson
8a76b45253
Use older version of stSpecialTest until JUMPDEST fix is merged
2015-06-02 12:25:43 +02:00
Gustav Simonsson
8962af2e42
Update Ethereum JSON test files
2015-06-02 12:15:25 +02:00
Gustav Simonsson
5a692ba4f6
Update Ethereum JSON test files
2015-06-01 22:34:44 +02:00
Gustav Simonsson
b4818a003a
Update Ethereum JSON test files
2015-05-29 13:12:54 +02:00
obscuren
6c2f6f5b03
tests: removed missing block test
2015-05-26 13:48:10 +02:00
obscuren
03faccfb08
tests: updated
2015-05-26 13:48:10 +02:00
Gustav Simonsson
6ad817e17b
Add StateTests/RandomTests and VMTests/RandomTests
2015-05-21 23:04:46 +02:00
Gustav Simonsson
6a72cd45e2
Add wrapper for BlockTests/bcWalletTest.json
2015-05-18 16:28:54 +02:00
Gustav Simonsson
36419defd1
Update Ethereum JSON test files
2015-05-18 12:45:24 +02:00
obscuren
9617aa8e19
tests: added conditional skip on long running VM tests
...
Set the TEST_VM_COMPLEX env var to test complex vm tests which require a
lot of ram and quite some time.
2015-05-20 00:21:24 +02:00
obscuren
f5af1fdca8
core/vm: RETURN op code returns pointer to memory rather than copy
2015-05-20 00:21:23 +02:00
obscuren
648b352424
tests/vm: updated tests and skipped output for specific tests
...
Skipped tests due to large return value
2015-05-20 00:21:23 +02:00
Gustav Simonsson
619e8a4f03
Add StateTests/RandomTests but skip for now
2015-05-15 19:17:40 +02:00
Gustav Simonsson
32276e8b01
Update StateTests and nil create return on failed code deposit
2015-05-15 18:49:31 +02:00
Gustav Simonsson
830bdb1cfd
Update Ethereum JSON tests
2015-05-15 16:08:00 +02:00
Gustav Simonsson
dadf01de60
unskip StateTests/stTransactionTest and use test tx nonce
2015-05-15 16:05:11 +02:00
Gustav Simonsson
e389585f1f
Change default keystore dir
2015-05-12 18:33:04 +02:00
Gustav Simonsson
2c1b0ff17e
Update key store to new spec but keep address field for now
...
* Also fix address types post-rebase
2015-05-12 17:22:17 +02:00
Bas van Kervel
b79dd188d9
replaced several path.* with filepath.* which is platform independent
2015-05-12 14:24:11 +02:00
obscuren
7eed47fad5
miner, tests: fixed block test
2015-05-09 12:51:40 +02:00
Gustav Simonsson
79eb40fc9f
Add bcTotalDifficultyTest and unskip now working tx tests
2015-05-07 13:03:22 +02:00
Gustav Simonsson
2b716aec54
Update JSON test files
2015-05-07 12:44:29 +02:00
Gustav Simonsson
7bc1f487b8
Unskip now working tests, remove debug print
2015-05-06 23:25:44 +02:00
Gustav Simonsson
f4341c7b7f
Unskip working blocktests following ethash cache reusage
2015-05-05 08:34:29 +02:00
obscuren
735b029db9
core: return the index of the block that failed when inserting a chain
2015-04-29 14:00:24 +02:00
Gustav Simonsson
34c94d5fcd
Add loading of block test privkey if present
2015-04-27 20:30:26 +02:00
Gustav Simonsson
2a61611c4f
Update JSON tests
2015-04-27 19:09:20 +02:00
Gustav Simonsson
7a223721a5
Add block header validations for block tests
2015-04-23 05:32:56 +02:00
Gustav Simonsson
49da462e92
Include ZeroByteAtTheEnd and RandomByteAtTheEnd tests
2015-04-22 23:16:19 +02:00
Gustav Simonsson
ec6acacc53
Unskip BlockTests/bcInvalidHeaderTest.json wrongUncleHash
2015-04-22 23:16:19 +02:00
Gustav Simonsson
9834f855fa
Finally, glorious HEX
2015-04-22 23:16:19 +02:00
Gustav Simonsson
24de35ef09
Add StateTests/stMemoryStressTest.json but skip for now
2015-04-22 23:16:19 +02:00
Gustav Simonsson
5c70333a12
Exclude TransactionWithSvalue0 as it expects invalid s value to be valid
2015-04-22 23:16:18 +02:00
Gustav Simonsson
8ec8bff11c
Update github.com/ethereum/tests files
2015-04-22 23:16:18 +02:00
Gustav Simonsson
573bc3e05e
Explicitly skip TransactionTests/tt10mbDataField.json
2015-04-22 23:16:17 +02:00
Gustav Simonsson
7254278c09
Add test wrapper for VMTests/vmInputLimits1.json
2015-04-22 23:16:17 +02:00
Gustav Simonsson
b448390889
Further fixes to block test wrapper
...
* 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
2015-04-21 05:23:10 +02:00
Gustav Simonsson
805345d135
Add block tests wrapper and fixes for tx tests
...
* 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
2015-04-20 17:46:35 +02:00
Felix Lange
c453f1f370
tests: hopefully improve test conversion helpers
...
(cherry picked from commit 035a30acbe
)
2015-04-19 00:07:09 +02:00
Felix Lange
235ed7ecb9
cmd/geth, tests: enable running multiple tests from a single file
...
This commit also changes the block test loading so tests containing
invalid RLP blocks can be loaded and return an error only when they are
run.
(cherry picked from commit 898ba87984
)
2015-04-19 00:06:52 +02:00
Gustav Simonsson
c617a6ec79
Fixes for TransactionTests
...
* 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
2015-04-15 22:37:16 +02:00
Gustav Simonsson
2d8a2d0c99
Update JSON tests
2015-04-15 22:36:33 +02:00
Gustav Simonsson
6d20d634ca
Enable more tx tests by expecting most common encoding of values
2015-04-10 12:34:55 +02:00
Gustav Simonsson
6dc2146ed7
Remove unneeded map assignments for working tx RLP tests
2015-04-10 12:03:46 +02:00
Gustav Simonsson
9ac5671c18
Add TransactionTests wrapped as Go tests
...
* 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
2015-04-10 11:55:31 +02:00
Gustav Simonsson
1e18f4544b
Update JSON test files
2015-04-10 11:52:31 +02:00
obscuren
a7750c929b
Fixed tests to reflect log changes
2015-04-08 20:45:39 +02:00
obscuren
9c55576c7b
Block header changed & console miner control
...
* miner control moved to `admin.miner`
* miner option to set extra data
* block extra now bytes
2015-04-05 18:59:18 +02:00
obscuren
a0e44e3281
basic glog
2015-04-04 12:40:11 +02:00
obscuren
4558e04c0d
Merge commit 'f6bd4b16e38f9cacd57b57befdeeaed789a473c4' into develop
2015-04-03 12:29:13 +02:00
obscuren
c59c826ab4
fixed stack level
2015-04-03 11:27:56 +02:00
obscuren
fd5c5b2969
Merge commit '812cbff1a28d89b44a0c8c5a210ac61c7e19da35' into develop
2015-04-03 10:50:18 +02:00
obscuren
b8124ec791
Removed old (unused) argument
2015-04-01 23:58:26 +02:00
obscuren
109b27b552
Merge commit '4e3ffbcf9bae7e44e45fd1b6e504b3645040d73c' into develop
2015-04-01 17:50:19 +02:00
obscuren
516423cdac
Merge commit 'f801183b8bea24ce9988fbd06c2f17fedfc3587f' into develop
2015-04-01 17:41:58 +02:00
obscuren
0a554a1f27
Blocktest fixed, Execution fixed
...
* Added new CreateAccount method which properly overwrites previous
accounts (excluding balance)
* Fixed block tests (100% success)
2015-04-01 10:53:32 +02:00
obscuren
2ef0bc03ec
Merge commit 'ec181b308addc30c04973e9058960d579c84eef5' into develop
2015-03-31 16:25:22 +02:00
obscuren
d0fa0a234d
Merge commit 'a718515b3d43f00497231f981b5ea757b71d55ff' into develop
2015-03-26 13:14:24 +01:00
obscuren
ff9d66e096
Cleaned up changes
2015-03-24 15:23:16 +01:00
obscuren
23bccbbc58
Modified according to poc 9 changes
...
* Refund of value
2015-03-24 15:15:17 +01:00
obscuren
d6da533345
Merge commit '24066dca4646c8a376aa5dfbceec0a4b3f872c11' into develop
2015-03-24 13:39:49 +01:00
obscuren
4877e52c15
Merge commit '58c6cc8fd7ff8a27004ed62d912e0a61ae1b73bb' into develop
2015-03-24 11:22:58 +01:00
obscuren
7b8a47f484
removed legacy code
2015-03-23 22:05:12 +01:00
zelig
a983a215dc
fix ethtest logging
2015-03-23 17:08:49 +00:00
obscuren
0330077d76
moved state and vm to core
2015-03-23 16:59:09 +01:00
Gustav Simonsson
5d31a475e9
Fix new types for blocktests and comment out non-working log level setter
2015-03-23 16:32:20 +01:00
Gustav Simonsson
60de4d6dd1
gofmt
2015-03-23 16:32:20 +01:00
Gustav Simonsson
08bb472c91
Add validation of post state accounts to block tests
2015-03-23 16:32:20 +01:00
obscuren
013427bde2
Merge branch 'develop' into conversion
2015-03-19 21:18:29 +01:00
obscuren
b4a51de602
Merge commit 'f144a95940a5df0809bb028eef7b337125423602' into develop
2015-03-19 21:14:51 +01:00
obscuren
d4e5747d04
Merge branch 'develop' into conversion
2015-03-19 14:31:41 +01:00
obscuren
e67d32b467
Merge commit '85fa3790ac9f67232f0e31e7f861c66ef0e0047e' into develop
2015-03-18 22:13:08 +01:00
obscuren
942980609f
conversions
2015-03-18 11:44:25 +01:00
obscuren
86661de077
Fixed tests and bloom
2015-03-17 18:00:03 +01:00
obscuren
c21293cd91
bloom
2015-03-17 16:05:17 +01:00
obscuren
0fa7859b94
Fixed VM & Tests w/ conversion
2015-03-17 13:24:25 +01:00
obscuren
ff55c6f5ba
Merge branch 'develop' into conversion
...
Conflicts:
common/types.go
2015-03-17 13:09:22 +01:00
obscuren
b0ebccb31e
fixed to
2015-03-17 12:56:29 +01:00
obscuren
9663493ba0
Merge commit 'dffaa678f966f87dcd011671a16b554b29a37549' into develop
2015-03-17 12:02:50 +01:00
obscuren
843db4978e
updated blockpool
2015-03-16 23:10:26 +01:00
obscuren
b523441361
Moved ethutil => common
2015-03-16 11:27:38 +01:00
obscuren
d9966d6158
merge
2015-03-14 23:37:21 +01:00
Felix Lange
a80be98f31
tests: add helper functions for block tests
2015-03-13 18:41:09 +01:00
obscuren
f76cc6699e
Changed context and ADDMOD, MULMOD
...
* Cleaned up VM execution. VM run now takes a context
* ADDMOD/MULMOD - removed incorrect cast
2015-03-13 13:44:15 +01:00
obscuren
3a88da578f
Merge commit '6051345bc9ab8ccf74a49c43342771e0c2cba588' into develop
2015-03-12 22:32:05 +01:00
obscuren
310ca62285
Removed some of that gas pre pay magic
2015-03-12 22:29:10 +01:00
obscuren
2ae90e1eba
Merge commit '3ff7a627d1921be0aeacdd8eb2853ba4537487eb' into develop
2015-03-12 20:01:46 +01:00
obscuren
11390a986a
run all test
2015-03-12 19:43:20 +01:00
obscuren
347cb272be
fixed ethtest
2015-03-12 19:41:56 +01:00
obscuren
d1c872bace
Merge commit '412e8b0e377bd89fc8fc858bd09c89deee805c1e' into develop
2015-03-12 19:15:12 +01:00
obscuren
96496888ed
Merge commit '92c6150199395eea6c9893b631cc990e3ff72a33' into develop
2015-03-12 00:57:28 +01:00
Felix Lange
269cfbb8ac
Merge branch origin/develop into accounts-integration
...
Conflicts:
cmd/blocktest/main.go
cmd/mist/debugger.go
cmd/utils/cmd.go
2015-03-10 17:14:31 +01:00
Felix Lange
80985f97da
cmd/evm, core, ethdb, state, tests/helper: remove ReadConfig calls
2015-03-10 02:39:53 +01:00
obscuren
9007f2bbdc
reworked stack
2015-03-10 00:25:27 +01:00
obscuren
0795fd2701
wip
2015-03-09 23:34:31 +01:00
obscuren
21fd722abc
Merge commit '3deb470b2d07d28040a381722022cdf8867a829a' into poc-9
2015-03-09 11:43:46 +01:00
obscuren
19efebe91e
Updated tests and fixed suicide
2015-03-09 11:28:35 +01:00
obscuren
93cdffca3a
Merge commit 'c1cafb56d5da57a44f1d766c5299f11664b93921' into poc-9
2015-03-09 01:02:12 +01:00
obscuren
30584c7cfb
Merge commit 'e2c75b0fa17394553b93fe7ddd62c0f6a6441119' into poc-9
2015-03-08 15:29:27 +01:00
obscuren
ca1093f848
Merge commit '4e8a9a1cd4a10370fc4a888af0fb2def6f1b961b' into poc-9
2015-03-05 17:51:26 +01:00
obscuren
a7181bd304
merge
2015-03-05 17:49:29 +01:00
Paweł Bylica
0af08eca1f
Fix VM tests not checked
2015-03-05 14:35:27 +01:00
obscuren
ee0a1bec6c
GasLimit check updated
2015-03-03 17:05:51 +01:00
obscuren
c74c07eed1
Fixed error for invalid transaction
2015-03-03 16:20:38 +01:00
obscuren
6518da7c01
Merge commit 'a6e04ab05150d1b5aa4adb297f3e5146b1559b02' into poc-9
2015-03-03 15:39:34 +01:00
obscuren
651b2158ba
Merge commit '42a210b571b9358df16da148d9724c2ef9abbca5' into poc-9
2015-03-03 15:16:52 +01:00
obscuren
9f359dfffa
Merge commit 'd9d40888ce9498b25925ccbf1447b1f62597aa2f' into poc-9
2015-03-03 13:56:59 +01:00
obscuren
2a50931684
Merge commit '0867e4fae96c0b0d234f1710119a129f8b0d96f7' into poc-9
2015-03-03 13:29:59 +01:00
obscuren
fa831206c6
Updated gast costs
2015-03-03 13:29:52 +01:00
obscuren
ffa6b99ab6
Merge commit '4659b51b50394c596f0548eb53390c80ba96e392' into poc-9
2015-03-03 12:31:09 +01:00
obscuren
524bf9e858
wup
2015-03-03 12:30:57 +01:00
obscuren
e73d7725df
Merge commit 'b7ec9fbb0e49e345a8a2566226a76d50b48266a7' into poc-9
2015-03-03 12:26:24 +01:00
obscuren
1650b59cd9
Delet => Delete
2015-03-03 12:21:27 +01:00
obscuren
49da6a8d80
Fixed test helper
2015-03-03 11:56:28 +01:00
obscuren
fa910966ed
Redone rlp
2015-03-03 11:18:50 +01:00
obscuren
2f647c443a
Merge commit 'd0354b844028220b31f55c2cdbe9d4cc546d4b52' into poc-9
2015-03-03 11:11:24 +01:00
obscuren
c1ef19bef9
quad mem
2015-03-03 11:11:11 +01:00
obscuren
fe7ab662f0
Merge commit '41c9dc973d2dc8614db6c1e3dbb2ec5564935368' into poc-9
2015-03-02 18:00:10 +01:00
obscuren
200f66537c
updated tests
2015-03-02 17:55:45 +01:00
obscuren
0823254c3b
Add 'tests/files/' from commit 'ce7204fa17560f6a76c7592bf5f23d29f22042d6'
...
git-subtree-dir: tests/files
git-subtree-mainline: 4f3f881c9b
git-subtree-split: ce7204fa17
2015-03-02 16:43:12 +01:00
obscuren
4f3f881c9b
removed tests
2015-03-02 16:36:34 +01:00
obscuren
b13735b400
updated tests
2015-03-02 16:34:03 +01:00
obscuren
ea9a549bbd
Removed exported fields from state object and added proper set/getters
2015-02-20 14:19:34 +01:00
Felix Lange
b3b6210886
tests/vm: add non-test Go file
...
This removes the annoying warning printed by "go install ./...".
2015-02-20 11:40:58 +01:00
obscuren
95cfaa1b37
disabled test
2015-02-13 23:26:41 +01:00
obscuren
3f03197dae
Updated tests
2015-02-04 07:39:02 -08:00
obscuren
6fecb150d6
Updated tests
2015-02-02 19:55:38 -08:00
obscuren
d52878c744
Removed some VMEnv & Added VmType() to vm.Environment
2015-02-01 15:29:57 +01:00
Paweł Bylica
d5f38f5690
JitVM: the EVM JIT bridge
2015-01-22 18:00:15 +01:00
obscuren
4df2e1ef5c
updated tests
2015-01-22 00:37:58 +01:00
obscuren
d5d9746ca3
updated tests
2015-01-15 10:46:42 +01:00
obscuren
bb55307a9d
Updated tests
2015-01-13 20:31:31 +01:00
obscuren
82beaabf6a
Fixed consensus issue
2015-01-13 14:57:51 +01:00
obscuren
1e5353824a
updated tests
2015-01-13 10:32:02 +01:00
obscuren
4704a0a288
remove pre compiled for tests
2015-01-13 10:30:52 +01:00
obscuren
750d70c202
updated tests
2015-01-13 00:25:45 +01:00
obscuren
8a1b51c716
updated tests
2015-01-12 16:13:30 +01:00
obscuren
75cd9cd2de
updated tests
2015-01-12 14:40:40 +01:00
obscuren
00348756bc
updated tests
2015-01-12 13:49:47 +01:00
obscuren
491c23a728
Moved the TD method from block processor.
2015-01-09 22:42:36 +01:00
obscuren
8c7b764d47
updated tests
2015-01-09 21:18:34 +01:00
obscuren
db4aaedcbd
Moved ptrie => trie. Removed old trie
2015-01-08 11:47:04 +01:00
obscuren
fed3e6a808
Refactored ethutil.Config.Db out
2015-01-07 13:17:48 +01:00
obscuren
f0ec751237
Updated tests
2015-01-06 20:22:31 +01:00
obscuren
952287db29
Updated tests
2015-01-05 17:40:23 +01:00
obscuren
ca1b2a1a91
Changed prev_hash to block_hash, state transition now uses vm env
...
* PREVHASH => BLOCKHASH( N )
* State transition object uses VMEnv as it's query interface
* Updated vm.Enviroment has GetHash( n ) for BLOCKHASH instruction
* Added GetHash to xeth, core, utils & test environments
2015-01-03 17:18:43 +01:00
obscuren
55e55826ee
Changed JUMP(I) behaviour.
...
* All jumps must land on a JUMPDEST instruction byte.
* The byte may not be part of a PUSH*
2015-01-02 17:35:55 +01:00
obscuren
24f89f8bd9
Squashed commit of the following:
...
commit 2e75a216c7
Author: CJentzsch <jentzsch.software@gmail.com>
Date: Fri Jan 2 17:05:20 2015 +0100
new jumpdest interpretation
commit 7aab71f656
Author: CJentzsch <jentzsch.software@gmail.com>
Date: Fri Jan 2 16:55:59 2015 +0100
added complete exp tests
commit 3340f4dbfc
Author: CJentzsch <jentzsch.software@gmail.com>
Date: Fri Jan 2 14:26:55 2015 +0100
retuning gas prices of recursive bombs to test limits
commit 456b5791bb
Author: CJentzsch <jentzsch.software@gmail.com>
Date: Fri Jan 2 14:08:55 2015 +0100
more init code, systemoperations and transaction tests
commit 1f5552feb4
Author: wanderer <mjbecze@gmail.com>
Date: Mon Dec 29 20:11:41 2014 -0500
added balance tests
commit 4d37c1cea2
Author: wanderer <mjbecze@gmail.com>
Date: Sat Dec 27 20:30:42 2014 -0500
added trie tests for branches on
detel
commit 2fdc7bfbd1
Author: CJentzsch <jentzsch.software@gmail.com>
Date: Sat Dec 27 22:46:21 2014 +0100
more random tests
commit 98fe404e6a
Merge: aafb5f7
8c34e93
Author: CJentzsch <jentzsch.software@gmail.com>
Date: Tue Dec 23 16:36:13 2014 +0100
Merge remote-tracking branch 'origin/develop' into develop
commit aafb5f768b
Author: CJentzsch <jentzsch.software@gmail.com>
Date: Tue Dec 23 16:35:35 2014 +0100
first failing random tests
commit 8c34e93b51
Author: wanderer <mjbecze@gmail.com>
Date: Tue Dec 23 10:01:20 2014 -0500
added stackOverFlow test to initCode
commit 8a285d258a
Merge: a4ccc6e
6567f9d
Author: CJentzsch <jentzsch.software@gmail.com>
Date: Sat Dec 20 13:08:18 2014 +0100
Merge remote-tracking branch 'origin/develop' into develop
commit a4ccc6e72e
Author: CJentzsch <jentzsch.software@gmail.com>
Date: Sat Dec 20 13:07:54 2014 +0100
CALLCODE <-> RETURN
commit 6567f9d0b2
Author: wanderer <mjbecze@gmail.com>
Date: Thu Dec 18 23:39:30 2014 -0500
add refund tests
commit 07cfec33f8
Author: wanderer <mjbecze@gmail.com>
Date: Thu Dec 18 18:30:46 2014 -0500
added trieTest anyorder
commit 86c3b8cfad
Merge: b227b10
71b5d6e
Author: CJentzsch <jentzsch.software@gmail.com>
Date: Thu Dec 18 21:43:06 2014 +0100
Merge branch 'develop' of https://github.com/ethereum/tests into develop
commit b227b10f5d
Author: CJentzsch <jentzsch.software@gmail.com>
Date: Thu Dec 18 21:42:41 2014 +0100
more refund tests
commit 71b5d6e0a3
Author: wanderer <mjbecze@gmail.com>
Date: Thu Dec 18 12:13:55 2014 -0500
updated index.js
commit aefcb9716e
Author: CJentzsch <jentzsch.software@gmail.com>
Date: Thu Dec 18 09:31:43 2014 +0100
transaction tests and refund tests
commit ccbf120c36
Author: CJentzsch <jentzsch.software@gmail.com>
Date: Sat Dec 13 23:03:21 2014 +0100
added stInitCodeTest.json
commit cbf5afdef8
Author: CJentzsch <jentzsch.software@gmail.com>
Date: Fri Dec 12 22:03:54 2014 +0100
update recursive create
commit a70c4b51a4
Author: Gav Wood <i@gavwood.com>
Date: Fri Dec 12 17:22:41 2014 +0100
Fix return tests.
commit f146467607
Author: Gav Wood <i@gavwood.com>
Date: Fri Dec 12 16:33:51 2014 +0100
Add test file.
commit c2bd8d1d7a
Author: Gav Wood <i@gavwood.com>
Date: Fri Dec 12 14:27:38 2014 +0100
Alter "" to null.
commit ce6344b770
Author: Gav Wood <i@gavwood.com>
Date: Fri Dec 12 14:22:19 2014 +0100
Trie testing.
commit 779f25d36c
Author: CJentzsch <jentzsch.software@gmail.com>
Date: Thu Dec 11 22:59:56 2014 +0100
first random test
commit 68175386c0
Author: CJentzsch <jentzsch.software@gmail.com>
Date: Thu Dec 11 21:34:50 2014 +0100
update gas prices
commit ad322fbb58
Author: CJentzsch <jentzsch.software@gmail.com>
Date: Mon Dec 8 06:01:17 2014 +0100
Log as array
commit f989f42618
Author: CJentzsch <jentzsch.software@gmail.com>
Date: Fri Dec 5 15:12:12 2014 +0100
state log tests
commit 4bc65d1129
Author: CJentzsch <jentzsch.software@gmail.com>
Date: Thu Dec 4 18:18:49 2014 +0100
add calldataload, codecopy, extcodecopy tests
commit 12cfae18e3
Author: CJentzsch <jentzsch.software@gmail.com>
Date: Thu Dec 4 15:57:56 2014 +0100
add calldataload test
commit 086caf3701
Author: CJentzsch <jentzsch.software@gmail.com>
Date: Wed Dec 3 08:31:03 2014 +0100
protocol update (CALLCODE <-> RETURN), topics in log are arrays not sets
commit e6c92673b9
Author: CJentzsch <jentzsch.software@gmail.com>
Date: Mon Dec 1 21:14:08 2014 +0100
update state tests with logs
commit 4089b809fb
Author: CJentzsch <jentzsch.software@gmail.com>
Date: Mon Dec 1 18:19:40 2014 +0100
update gas costs
commit cfdca62277
Merge: 2e5175e
f59f89d
Author: Christoph Jentzsch <jentzsch.software@gmail.com>
Date: Mon Dec 1 18:04:51 2014 +0100
Merge pull request #42 from negedzuregal/fix
vmTest fix
commit f59f89d876
Author: alon muroch <alonmuroch@gmail.com>
Date: Mon Dec 1 16:18:12 2014 +0100
vmEnvironmentalInfoTest CALLDATACOPY, CODECOPY, EXTCODECOPY fix
commit 68da13fe3e
Author: alon muroch <alonmuroch@gmail.com>
Date: Mon Dec 1 11:10:57 2014 +0100
vmArithmeticTest exp fix
commit 2e5175e818
Author: ethers <ethereum@outlook.com>
Date: Sun Nov 30 19:55:51 2014 +0100
add vmLogTest
commit b5b9408e64
Author: Heiko Heiko <heiko@heiko.org>
Date: Sun Nov 30 16:27:27 2014 +0100
updated genesis to new header w/o min_gas_price
commit 8e69fbfa98
Author: ethers <ethereum@outlook.com>
Date: Fri Nov 21 17:42:05 2014 -0800
add special tests
commit 90f4f942e6
Author: ethers <ethereum@outlook.com>
Date: Thu Nov 20 19:01:09 2014 -0800
typo
commit c5e5228e0d
Author: Christoph Jentzsch <jentzsch.software@gmail.com>
Date: Thu Nov 20 17:04:06 2014 +0100
Removed log,post,out,gas,callcreates if exception occured
commit 9c0232a2b9
Author: Christoph Jentzsch <jentzsch.software@gmail.com>
Date: Wed Nov 19 18:19:05 2014 +0100
MakeMoney test
commit 3ba0007e86
Author: Christoph Jentzsch <jentzsch.software@gmail.com>
Date: Wed Nov 19 16:23:04 2014 +0100
Added log sections in all vmtests + log tests
commit d84be4fe07
Merge: c8497ab
76d2542
Author: Christoph Jentzsch <jentzsch.software@gmail.com>
Date: Wed Nov 19 10:00:24 2014 +0100
Merge remote-tracking branch 'origin/develop' into develop
commit c8497ab257
Author: Christoph Jentzsch <jentzsch.software@gmail.com>
Date: Wed Nov 19 10:00:02 2014 +0100
new push32 test and renaming
commit 76d25420e1
Author: ethers <ethereum@outlook.com>
Date: Mon Nov 17 18:59:30 2014 -0800
adding test
commit 0be275e757
Merge: 1d42d1d
d90868c
Author: Christoph Jentzsch <jentzsch.software@gmail.com>
Date: Mon Nov 17 22:47:34 2014 +0100
Merge remote-tracking branch 'origin/develop' into develop
commit 1d42d1d7c6
Author: Christoph Jentzsch <jentzsch.software@gmail.com>
Date: Mon Nov 17 22:46:51 2014 +0100
fix ecrecover2
commit d90868c307
Merge: 1f38c8c
6dbcf6b
Author: Christoph Jentzsch <jentzsch.software@gmail.com>
Date: Mon Nov 17 20:26:59 2014 +0100
Merge pull request #39 from wanderer/develop
added test for max call depth on creation
commit 6dbcf6b0d6
Author: wanderer <mjbecze@gmail.com>
Date: Mon Nov 17 14:06:43 2014 -0500
spelling fix
commit 6fc07a7f81
Author: wanderer <mjbecze@gmail.com>
Date: Sat Nov 15 21:39:16 2014 -0500
added test for max call depth on creation
commit 1f38c8c0a2
Merge: 279b284
cd85ca1
Author: martin becze <wanderer@users.noreply.github.com>
Date: Fri Nov 14 20:10:21 2014 -0500
Merge pull request #38 from wanderer/develop
updated test 'jeff' in trietest.json
commit cd85ca17ed
Author: martin becze <wanderer@users.noreply.github.com>
Date: Fri Nov 14 19:59:34 2014 -0500
Update trietest.json
commit 279b284c0d
Merge: 89675a7
6cae937
Author: martin becze <wanderer@users.noreply.github.com>
Date: Fri Nov 14 17:43:49 2014 -0500
Merge pull request #37 from wanderer/develop
Update trietest.json
commit 6cae937e5e
Author: martin becze <wanderer@users.noreply.github.com>
Date: Fri Nov 14 17:20:03 2014 -0500
Update trietest.json
'emptyValues' should have the same root as 'puppy'
commit 89675a7153
Merge: f1de1cc
32f0c47
Author: Christoph Jentzsch <jentzsch.software@gmail.com>
Date: Thu Nov 13 23:17:49 2014 +0100
Merge remote-tracking branch 'origin/develop' into develop
commit f1de1cc97a
Author: Christoph Jentzsch <jentzsch.software@gmail.com>
Date: Thu Nov 13 23:17:13 2014 +0100
Fix CallRecursiveBomb2
commit 32f0c47c68
Merge: ab50e76
3da90d0
Author: martin becze <wanderer@users.noreply.github.com>
Date: Thu Nov 13 15:26:49 2014 -0500
Merge pull request #36 from wanderer/develop
converted back to arrary format
commit ab50e76652
Merge: d06b792
78f1e4a
Author: Christoph Jentzsch <jentzsch.software@gmail.com>
Date: Thu Nov 13 07:52:35 2014 +0100
Merge pull request #35 from ethers/delOld
rename tests since they are valid opcodes that exist
commit 3da90d01f6
Author: wanderer <mjbecze@gmail.com>
Date: Wed Nov 12 22:22:47 2014 -0500
converted back to arrary format
commit 78f1e4a945
Author: ethers <ethereum@outlook.com>
Date: Wed Nov 12 19:11:06 2014 -0800
rename tests since they are valid opcodes that exist
commit d06b792cd0
Author: Christoph Jentzsch <jentzsch.software@gmail.com>
Date: Wed Nov 12 07:00:17 2014 +0100
minor change in CallSha256_1_nonzeroValue test
commit d434ecdcc3
Author: Christoph Jentzsch <jentzsch.software@gmail.com>
Date: Wed Nov 12 06:56:31 2014 +0100
Added CallSha256_1_nonzeroValue test
commit 2c06f34cc0
Author: Christoph Jentzsch <jentzsch.software@gmail.com>
Date: Tue Nov 11 18:10:26 2014 +0100
Store return value of call to precompiled contracts
commit 4b0c3b29ae
Author: Christoph Jentzsch <jentzsch.software@gmail.com>
Date: Tue Nov 11 17:51:14 2014 +0100
Fix gas cost for OOG calls
commit 63bcca7604
Author: Heiko Heiko <heiko@heiko.org>
Date: Tue Nov 11 08:59:19 2014 +0100
fix: genesis test
commit 6e0310c1ea
Merge: 30c266c
2927763
Author: Christoph Jentzsch <jentzsch.software@gmail.com>
Date: Tue Nov 11 08:34:36 2014 +0100
Merge remote-tracking branch 'origin/develop' into develop
commit 30c266caff
Author: Christoph Jentzsch <jentzsch.software@gmail.com>
Date: Tue Nov 11 08:33:59 2014 +0100
jump to position outside code stops execution
commit 2927763d68
Author: ethers <ethereum@outlook.com>
Date: Mon Nov 10 14:10:22 2014 -0800
RandomTests were removed
commit a0fa91b2b8
Merge: 6092484
fcba866
Author: Christoph Jentzsch <jentzsch.software@gmail.com>
Date: Mon Nov 10 22:22:05 2014 +0100
Merge branch 'develop' of https://github.com/ethereum/tests into develop
commit 60924843f0
Author: Christoph Jentzsch <jentzsch.software@gmail.com>
Date: Mon Nov 10 22:21:37 2014 +0100
Unintended Exceptions work like OOG
commit fcba866721
Author: ethers <TODO>
Date: Thu Nov 6 14:19:59 2014 -0800
add StateTests
commit a441074ba4
Author: Christoph Jentzsch <jentzsch.software@gmail.com>
Date: Thu Nov 6 17:54:36 2014 +0100
Updated precompiled contracts test
commit 0afa72c82b
Author: Christoph Jentzsch <jentzsch.software@gmail.com>
Date: Thu Nov 6 15:27:45 2014 +0100
Added precompiledContracts tests
commit 6be83dd5a1
Author: Christoph Jentzsch <jentzsch.software@gmail.com>
Date: Thu Nov 6 13:31:34 2014 +0100
Update gas cost for PoC7
commit c18b8ab2d3
Merge: 66c2e1f
9a93258
Author: Christoph Jentzsch <jentzsch.software@gmail.com>
Date: Thu Nov 6 09:19:53 2014 +0100
Merge remote-tracking branch 'origin/develop' into develop
commit 66c2e1f642
Author: Christoph Jentzsch <jentzsch.software@gmail.com>
Date: Thu Nov 6 09:19:22 2014 +0100
Updated SIGNEXTEND tests
commit 9a9325822e
Author: ethers <TODO>
Date: Wed Nov 5 16:20:26 2014 -0800
part of 9b4e768
- Delete vmNamecoin.json
commit e229374f46
Merge: 189527e
9b4e768
Author: Christoph Jentzsch <jentzsch.software@gmail.com>
Date: Wed Nov 5 20:59:49 2014 +0100
Merge remote-tracking branch 'origin/develop' into develop
commit 189527e563
Author: Christoph Jentzsch <jentzsch.software@gmail.com>
Date: Wed Nov 5 20:59:20 2014 +0100
added dynamic jump out of code
commit 9b4e768995
Author: Christoph Jentzsch <jentzsch.software@gmail.com>
Date: Wed Nov 5 20:41:54 2014 +0100
Delete vmNamecoin.json
commit 4669b5694b
Merge: a567fed
aaba185
Author: Christoph Jentzsch <jentzsch.software@gmail.com>
Date: Wed Nov 5 15:00:12 2014 +0100
Merge remote-tracking branch 'origin/develop' into develop
commit a567fedaa7
Author: Christoph Jentzsch <jentzsch.software@gmail.com>
Date: Wed Nov 5 14:59:08 2014 +0100
added state systemOperationsTest
commit aaba185ceb
Merge: 79d7cbf
fa782ae
Author: ethers <ethereum@outlook.com>
Date: Tue Nov 4 12:15:40 2014 -0800
Merge pull request #32 from ethers/indexjs
updates needed per restructure
commit fa782aed93
Author: ethers <TODO>
Date: Tue Nov 4 11:28:56 2014 -0800
updates needed per restructure
commit 79d7cbfc4a
Merge: 9120274
1c1ba8d
Author: Christoph Jentzsch <jentzsch.software@gmail.com>
Date: Tue Nov 4 13:32:11 2014 +0100
Merge remote-tracking branch 'origin/develop' into develop
commit 9120274a46
Author: Christoph Jentzsch <jentzsch.software@gmail.com>
Date: Tue Nov 4 13:31:27 2014 +0100
Update tests to latest protocol changes (PoC7)
commit 1c1ba8d161
Merge: 014d370
3aebe53
Author: Christoph Jentzsch <jentzsch.software@gmail.com>
Date: Tue Nov 4 13:30:52 2014 +0100
Merge pull request #31 from CJentzsch/develop
Restructered tests in folders in accordance to test suites
commit 3aebe532e5
Author: Christoph Jentzsch <jentzsch.software@gmail.com>
Date: Mon Nov 3 13:58:21 2014 +0100
Updated vmNamecoin.json to new sstore prices
commit 8a0be21839
Author: Christoph Jentzsch <jentzsch.software@gmail.com>
Date: Mon Nov 3 13:53:00 2014 +0100
Added example state test
commit 83643addbc
Author: Christoph Jentzsch <jentzsch.software@gmail.com>
Date: Mon Nov 3 13:36:25 2014 +0100
removed systemoperationstests
commit 3930ca3a9a
Author: Christoph Jentzsch <jentzsch.software@gmail.com>
Date: Mon Nov 3 13:22:15 2014 +0100
Restructered tests in folders in accordance to test suites
commit 014d370b5d
Author: Christoph Jentzsch <jentzsch.software@gmail.com>
Date: Wed Oct 29 21:23:56 2014 +0100
New SIGNEXTEND tets
commit 155d449be2
Author: Christoph Jentzsch <jentzsch.software@gmail.com>
Date: Wed Oct 29 20:59:05 2014 +0100
New tests for BNOT and SIGNEXTEND
commit c9eae764b8
Author: Christoph Jentzsch <jentzsch.software@gmail.com>
Date: Tue Oct 28 12:58:27 2014 +0100
Update SSTORE gas cost and BNOT instead of NEG
commit ad2a75ac58
Author: Christoph Jentzsch <jentzsch.software@gmail.com>
Date: Thu Oct 23 16:05:49 2014 +0200
Added new recursive bombs
commit 834c52af64
Author: Christoph Jentzsch <jentzsch.software@gmail.com>
Date: Thu Oct 23 12:01:05 2014 +0200
Changing gas cost to zero at stackunderflow
commit c73a8a89d2
Author: Jeffrey Wilcke <obscuren@users.noreply.github.com>
Date: Wed Oct 22 13:04:45 2014 +0200
Reverted back to original value.
commit b9a8c92422
Author: martin becze <wanderer@users.noreply.github.com>
Date: Tue Oct 21 17:02:52 2014 -0400
fix spelling error
commit b48ae74af4
Author: Christoph Jentzsch <jentzsch.software@gmail.com>
Date: Tue Oct 21 17:26:26 2014 +0200
Added failing random tests
commit bee0a4100c
Merge: 5050d20
b315da6
Author: Christoph Jentzsch <jentzsch.software@gmail.com>
Date: Tue Oct 21 17:15:05 2014 +0200
Merge remote-tracking branch 'origin/master' into develop
commit 5050d20b4d
Merge: 7516685
ba35362
Author: Christoph Jentzsch <jentzsch.software@gmail.com>
Date: Mon Oct 20 20:18:20 2014 +0200
Merge pull request #26 from wanderer/develop
Add a package.json for node.js
commit ba35362876
Author: wanderer <mjbecze@gmail.com>
Date: Sun Oct 19 23:59:47 2014 -0400
turned tests into a node module
commit 751668571e
Author: ethers <ethereum@outlook.com>
Date: Thu Oct 16 17:08:20 2014 -0700
json was invalid and missing quotes
commit 0e687cee47
Author: Jeffrey Wilcke <obscuren@users.noreply.github.com>
Date: Thu Oct 16 17:13:24 2014 +0200
Update vmEnvironmentalInfoTest.json
commit 78a78e2e6c
Author: Christoph Jentzsch <jentzsch.software@gmail.com>
Date: Wed Oct 15 14:19:11 2014 +0200
updated genesis_hash
commit b315da618b
Merge: 7a7e198
0a76a3a
Author: Christoph Jentzsch <jentzsch.software@gmail.com>
Date: Tue Oct 14 10:33:26 2014 +0200
Merge pull request #23 from ethers/fix22
numbers should be strings #22
commit 0a76a3a312
Author: ethers <ethereum@outlook.com>
Date: Mon Oct 13 14:45:30 2014 -0700
numbers should be strings #22
commit 1f67385f13
Author: Christoph Jentzsch <jentzsch.software@gmail.com>
Date: Sat Oct 11 13:18:00 2014 +0200
Added some MUL tests
commit 7a7e198395
Author: Christoph Jentzsch <jentzsch.software@gmail.com>
Date: Sat Oct 11 13:11:59 2014 +0200
Added some MUL tests
commit 46eb6283ae
Author: Christoph Jentzsch <jentzsch.software@gmail.com>
Date: Sat Oct 11 12:18:13 2014 +0200
tested new opcodes (JUMPDEST,CALLCODE) and created test for CALL/CREATE depth
commit 8d38d62d10
Author: Nick Savers <nicksavers@gmail.com>
Date: Fri Oct 10 18:09:41 2014 +0200
INVALID stops the operation and doesn't cost gas
commit ed6eba7c8e
Author: Christoph Jentzsch <jentzsch.software@gmail.com>
Date: Wed Oct 8 19:08:48 2014 +0200
Update + ABA recursive bomb which needs maximum recursion limit of 1024
commit 2d72050db1
Author: Christoph Jentzsch <jentzsch.software@gmail.com>
Date: Wed Oct 8 14:37:18 2014 +0200
Applied recent protocol changes (PoC7) to existin tests
commit dfe66cab3f
Merge: 4513623
1a67a96
Author: Christoph Jentzsch <jentzsch.software@gmail.com>
Date: Wed Oct 8 11:05:51 2014 +0200
Merge remote-tracking branch 'origin/develop'
Conflicts:
genesishashestest.json
commit 1a67a96cff
Merge: a4f5f45
ffd6bc9
Author: vbuterin <v@buterin.com>
Date: Tue Oct 7 15:10:23 2014 +0100
Merge pull request #18 from CJentzsch/develop
CallToNameRegistratorOutOfGas balance correction
commit ffd6bc97ad
Merge: a4f5f45
9779d67
Author: Christoph Jentzsch <jentzsch.software@gmail.com>
Date: Tue Oct 7 15:47:34 2014 +0200
Merge remote-tracking branch 'origin/develop' into develop
commit 9779d67b8c
Author: Christoph Jentzsch <jentzsch.software@gmail.com>
Date: Tue Oct 7 15:45:53 2014 +0200
CallToNameRegistratorOutOfGas balance correction
Even if execution fails, the value gets transferred.
commit a4f5f45228
Merge: 49a9f47
b6d7cba
Author: vbuterin <v@buterin.com>
Date: Tue Oct 7 14:13:12 2014 +0100
Merge pull request #17 from CJentzsch/develop
Added A calls B calls A contracts
commit b6d7cba499
Merge: 865cb40
49a9f47
Author: Christoph Jentzsch <jentzsch.software@gmail.com>
Date: Tue Oct 7 15:02:51 2014 +0200
Merge remote-tracking branch 'upstream/develop' into develop
commit 865cb4083d
Author: Christoph Jentzsch <jentzsch.software@gmail.com>
Date: Tue Oct 7 15:02:36 2014 +0200
Added A calls B calls A contracts
commit 49a9f47aec
Merge: 3b0ec43
94a493b
Author: Jeffrey Wilcke <obscuren@users.noreply.github.com>
Date: Tue Oct 7 10:56:17 2014 +0200
Merge pull request #16 from CJentzsch/develop
corrected amount of used gas for CallToNameRegistratorOutOfGas
commit 94a493b0d9
Merge: 72853c4
3b0ec43
Author: Christoph Jentzsch <jentzsch.software@gmail.com>
Date: Tue Oct 7 10:51:32 2014 +0200
Merge remote-tracking branch 'upstream/develop' into develop
commit 72853c4382
Author: Christoph Jentzsch <jentzsch.software@gmail.com>
Date: Tue Oct 7 10:51:07 2014 +0200
corrected amount of used gas for CallToNameRegistratorOutOfGas
commit 3b0ec436e4
Merge: aec3252
222068b
Author: vbuterin <v@buterin.com>
Date: Tue Oct 7 05:52:43 2014 +0100
Merge pull request #15 from CJentzsch/develop
corrected tests and different style for storage
commit 222068b9ba
Merge: c169653
aec3252
Author: Christoph Jentzsch <jentzsch.software@gmail.com>
Date: Mon Oct 6 21:17:28 2014 +0200
Merge remote-tracking branch 'upstream/develop' into develop
commit c1696531a6
Author: Christoph Jentzsch <jentzsch.software@gmail.com>
Date: Mon Oct 6 21:17:09 2014 +0200
corrected tests and different style for storage
commit aec3252b8e
Merge: 25f9fd5
e17a909
Author: vbuterin <v@buterin.com>
Date: Mon Oct 6 09:39:46 2014 +0100
Merge pull request #14 from CJentzsch/develop
corrected gas limit in vmSystemOperationsTest
commit e17a909f70
Merge: 33fcab5
25f9fd5
Author: Christoph Jentzsch <jentzsch.software@gmail.com>
Date: Mon Oct 6 10:31:51 2014 +0200
Merge remote-tracking branch 'upstream/develop' into develop
commit 33fcab5727
Author: Christoph Jentzsch <jentzsch.software@gmail.com>
Date: Mon Oct 6 10:30:04 2014 +0200
Bug fix, corrected gasLimit in vmSystemOperationsTest
commit 25f9fd542a
Author: Vitalik Buterin <v@buterin.com>
Date: Sat Oct 4 15:47:00 2014 -0400
one more vm test
commit 2d561a5373
Author: Vitalik Buterin <v@buterin.com>
Date: Sat Oct 4 15:15:37 2014 -0400
separated out vmtests
commit b0c48fa8d6
Merge: cb8261a
6cae166
Author: vbuterin <v@buterin.com>
Date: Sat Oct 4 17:18:02 2014 +0100
Merge pull request #13 from CJentzsch/develop
Added comprehensive EVM test suite. All commands are tested.
commit 6cae166f6f
Author: Christoph Jentzsch <jentzsch.software@gmail.com>
Date: Wed Oct 1 15:34:23 2014 +0200
Delete tmp.json
commit 4ff906fbc2
Author: Christoph Jentzsch <jentzsch.software@gmail.com>
Date: Wed Oct 1 14:06:32 2014 +0200
corrected CALLSTATELESS tests
commit 5b3fee6806
Author: Christoph Jentzsch <jentzsch.software@gmail.com>
Date: Mon Sep 29 13:08:44 2014 +0200
Completed vm tests. Added ADDMOD, MULMOD, POST, CALLSTATELESS
commit 9cdd218083
Author: Christoph Jentzsch <jentzsch.software@gmail.com>
Date: Sat Sep 27 21:48:09 2014 +0200
Added IOandFlowOperation-, PushDupSwap- and SystemOperations- tests. Removed empty storage from adresses.
commit 28ed968b46
Author: Christoph Jentzsch <jentzsch.software@gmail.com>
Date: Tue Sep 23 15:49:22 2014 +0200
Added blockInfoTest
commit ffbd5a35b5
Author: Christoph Jentzsch <jentzsch.software@gmail.com>
Date: Tue Sep 23 15:37:52 2014 +0200
Added environmentalInfo- and sha3- test
commit 54c14f1ff3
Author: Christoph Jentzsch <jentzsch.software@gmail.com>
Date: Mon Sep 22 13:06:57 2014 +0200
Added bitwise logic operation test
commit d0af113aab
Author: Christoph Jentzsch <jentzsch.software@gmail.com>
Date: Sat Sep 20 01:42:51 2014 +0200
Added vm arithmetic test
commit cb8261a78b
Author: Jeffrey Wilcke <obscuren@users.noreply.github.com>
Date: Fri Sep 19 13:15:44 2014 +0200
Update genesishashestest.json
commit 4513623da1
Author: Maran <maran.hidskes@gmail.com>
Date: Tue Jul 22 12:24:46 2014 +0200
Update keyaddrtest to be valid JSON
commit e8cb5c221d
Author: Vitalik Buterin <v@buterin.com>
Date: Mon Jul 21 23:30:33 2014 -0400
Added next/prev trie test
commit 98823c04b3
Author: Vitalik Buterin <v@buterin.com>
Date: Mon Jul 14 02:51:31 2014 -0400
Replaced with deterministic test
commit 357eb21e4d
Author: Vitalik Buterin <v@buterin.com>
Date: Sun Jul 13 16:12:56 2014 -0400
Added my own random and namecoin tests (pyethereum)
commit 00cd0cce8f
Author: Gav Wood <i@gavwood.com>
Date: Sat Jul 12 21:20:04 2014 +0200
Output hex strings.
commit ddfa3af45d
Author: Gav Wood <i@gavwood.com>
Date: Thu Jul 10 11:28:35 2014 +0100
Everything a string.
commit d659f469a9
Author: Gav Wood <i@gavwood.com>
Date: Thu Jul 10 10:16:25 2014 +0100
Code fixes.
commit 5e83ea8228
Author: Gav Wood <i@gavwood.com>
Date: Sun Jul 6 16:17:12 2014 +0200
Prettier VM tests.
commit a09aae0efe
Author: Gav Wood <i@gavwood.com>
Date: Sun Jul 6 15:46:01 2014 +0200
Fix VM tests.
commit ec9a044a17
Merge: 4bb6461
5e0123f
Author: Jeffrey Wilcke <obscuren@users.noreply.github.com>
Date: Fri Jul 4 15:56:52 2014 +0200
Merge pull request #10 from romanman/patch-1
Update vmtests.json
commit 5e0123fbe1
Author: romanman <roman.mandeleil@gmail.com>
Date: Fri Jul 4 10:23:04 2014 +0100
Update vmtests.json
commit 2b6da2f5f2
Author: romanman <roman.mandeleil@gmail.com>
Date: Thu Jul 3 17:45:04 2014 +0100
Update vmtests.json
arith testcase updated
commit 4bb646117d
Merge: bba3898
a33b309
Author: Gav Wood <i@gavwood.com>
Date: Wed Jul 2 19:43:22 2014 +0200
Merge branch 'develop' of github.com:/ethereum/tests into develop
commit bba38980bd
Author: Gav Wood <i@gavwood.com>
Date: Wed Jul 2 19:43:06 2014 +0200
New tests.
commit a33b309d99
Author: Vitalik Buterin <v@buterin.com>
Date: Wed Jul 2 10:14:05 2014 -0400
Testing submodules
commit 50318217ca
Author: Vitalik Buterin <v@buterin.com>
Date: Wed Jul 2 10:10:46 2014 -0400
Testing submodules
commit 57fa655522
Author: Vitalik Buterin <v@buterin.com>
Date: Wed Jul 2 10:09:08 2014 -0400
Testing submodules
commit ea0eb0a8c8
Author: Gav Wood <i@gavwood.com>
Date: Tue Jul 1 15:19:34 2014 +0200
Latest genesis block.
commit 25bb76b69c
Author: Jeffrey Wilcke <obscuren@users.noreply.github.com>
Date: Mon Jun 30 13:25:04 2014 +0200
Reset
commit 74c6d8424e
Author: Jeffrey Wilcke <obscuren@users.noreply.github.com>
Date: Mon Jun 30 12:10:06 2014 +0200
Updated wrong test
commit 9ea3a60291
Author: Jeffrey Wilcke <obscuren@users.noreply.github.com>
Date: Sat Jun 28 18:48:28 2014 +0200
Fixed roots
commit 5fc3ac0e92
Author: Gav Wood <i@gavwood.com>
Date: Sat Jun 28 18:40:06 2014 +0200
Simple hex test.
commit edd3a00c2a
Author: Gav Wood <i@gavwood.com>
Date: Sat Jun 28 18:22:18 2014 +0200
Additional test for jeff. Now use the 0x... notation.
commit 5021e0dd83
Author: Gav Wood <i@gavwood.com>
Date: Fri Jun 27 21:35:26 2014 +0200
VM test framework updated.
commit c818d13202
Author: Gav Wood <i@gavwood.com>
Date: Fri Jun 27 18:18:24 2014 +0200
Removed arrays from Trie tests JSON as per conformance guide and changed
vocabulary to match other tests.
VM test updates.
commit 714770ffb3
Author: Gav Wood <i@gavwood.com>
Date: Wed Jun 11 11:32:42 2014 +0100
Added Gav's new address.
commit 9345bc13d4
Merge: a2257f3
78576dd
Author: Gav Wood <i@gavwood.com>
Date: Fri May 30 17:50:38 2014 +0200
Merge branch 'master' of github.com:ethereum/tests into develop
commit a2257f3471
Author: Gav Wood <i@gavwood.com>
Date: Fri May 30 17:50:18 2014 +0200
VM tests.
commit 78576dd3d3
Author: Heiko Heiko <heiko@heiko.org>
Date: Fri May 30 17:19:09 2014 +0200
changes based on new account structure nonce, balance, storage, code
commit 125839e848
Merge: 42e14ec
356a329
Author: Jeffrey Wilcke <obscuren@users.noreply.github.com>
Date: Thu May 22 09:58:45 2014 +0200
Merge pull request #5 from bkirwi/master
Fix invalid JSON (removed trailing comma) and add test names
commit 356a3296bc
Author: Ben Kirwin <ben@kirw.in>
Date: Thu May 22 00:20:48 2014 -0400
Add some arbitrary test names
This should now conform to the format specified in the README.
commit 42e14ec54f
Author: Chen Houwu <chenhouwu@gmail.com>
Date: Wed May 21 23:27:40 2014 +0800
revert to correct data
commit 4300197a74
Author: Chen Houwu <chenhouwu@gmail.com>
Date: Wed May 21 22:42:23 2014 +0800
fix: wrong sha3 hash because of the wrong rlp hex
commit a0d01b1a0b
Author: Chen Houwu <chenhouwu@gmail.com>
Date: Wed May 21 22:29:53 2014 +0800
fix: wrong rlp hex
commit 6bc2fc7405
Merge: 66bc366
c31a93c
Author: Jeffrey Wilcke <obscuren@users.noreply.github.com>
Date: Wed May 21 14:11:37 2014 +0200
Merge pull request #4 from ethers/master
fix file name that seems to have been a typo
commit c31a93c27a
Author: ethers <ethereum@outlook.com>
Date: Tue May 20 15:42:39 2014 -0700
fix file name that seems to have been a typo
commit 66bc3665c1
Author: Heiko Heiko <heiko@heiko.org>
Date: Tue May 20 17:36:35 2014 +0200
fix: represent integers as strings
commit ede5499da6
Author: Heiko Heiko <heiko@heiko.org>
Date: Tue May 20 17:21:09 2014 +0200
add: current initial alloc and genesis hashes
commit 5131429abb
Author: Ben Kirwin <ben@kirw.in>
Date: Mon May 19 11:18:31 2014 -0400
Delete a comma
This should now be parseable as JSON.
commit f44a859331
Author: Chen Houwu <chenhouwu@gmail.com>
Date: Sun May 18 15:04:42 2014 +0800
add: case when value is long, ensure it's not get rlp encoded as node
commit e1ae4ad449
Author: Gav Wood <i@gavwood.com>
Date: Mon May 12 14:40:47 2014 +0100
PoC-5 VM tests.
commit 2b6c136dda
Author: Vitalik Buterin <v@buterin.com>
Date: Sun May 11 21:42:41 2014 -0400
Moved txt to json
commit cbccbf977c
Merge: edbb8d4
45a0974
Author: Vitalik Buterin <v@buterin.com>
Date: Thu May 8 21:54:48 2014 -0400
New commit
commit edbb8d407e
Author: Vitalik Buterin <v@buterin.com>
Date: Tue May 6 16:53:43 2014 -0400
Removed unneeded test, added new tests
commit 45a0974f6f
Merge: 15dd8fd
5fd2a98
Author: Gav Wood <i@gavwood.com>
Date: Sun Apr 27 12:53:47 2014 +0100
Merge pull request #3 from autolycus/develop
Fixed formatting and added test cases
commit 5fd2a98fcb
Author: Carl Allendorph <callendorph@gmail.com>
Date: Sat Apr 19 13:26:14 2014 -0700
Added some new test cases for the rlp encoding.
commit 4ba150954e
Author: Carl Allendorph <callendorph@gmail.com>
Date: Sat Apr 19 12:48:42 2014 -0700
Converted spaces to tabs to be compliant with the coding standards defined in cpp-ethereum
commit 15dd8fd794
Author: Gav Wood <i@gavwood.com>
Date: Fri Feb 28 12:54:47 2014 +0000
RLP tests and Trie updates.
commit 33f80fef21
Author: Gav Wood <i@gavwood.com>
Date: Fri Feb 28 11:39:35 2014 +0000
Hex encode tests done.
commit e1f5e12abb
Author: Gav Wood <i@gavwood.com>
Date: Fri Feb 28 11:22:49 2014 +0000
Fix RLP tests.
commit f87ce15ad2
Author: Gav Wood <i@gavwood.com>
Date: Thu Feb 27 13:28:11 2014 +0000
Fix empty string.
commit c006ed4ffd
Author: Gav Wood <i@gavwood.com>
Date: Mon Feb 24 10:24:39 2014 +0000
Tests fix.
commit 510ff56363
Author: Gav Wood <i@gavwood.com>
Date: Fri Feb 21 18:54:08 2014 +0000
Updated the tests.
commit a0ec843832
Author: Gav Wood <i@gavwood.com>
Date: Fri Feb 21 18:49:24 2014 +0000
Moved over to new format, but RLP tests still need updating.
commit 660cd26f31
Author: Gav Wood <i@gavwood.com>
Date: Fri Feb 21 18:35:51 2014 +0000
More docs.
commit 6ad14c1a15
Author: Gav Wood <i@gavwood.com>
Date: Fri Feb 21 18:33:39 2014 +0000
Added VM test suite.
Added TODO.
Renamed old files.
commit f91ad7b385
Author: Vitalik Buterin <v@buterin.com>
Date: Wed Jan 8 11:26:58 2014 -0500
update trie algorithm
commit 6da2954462
Merge: cc42246
131c610
Author: Vitalik Buterin <v@buterin.com>
Date: Wed Jan 8 08:15:38 2014 -0500
merge
commit cc4224675f
Author: Vitalik Buterin <v@buterin.com>
Date: Tue Jan 7 14:35:26 2014 -0500
Updated trie test
commit 131c610da6
Merge: 121632b
7613302
Author: vbuterin <v@buterin.com>
Date: Wed Jan 1 06:40:54 2014 -0800
Merge pull request #1 from obscuren/master
Update trietest.txt
commit 7613302b49
Author: obscuren <obscuren@users.noreply.github.com>
Date: Wed Jan 1 15:25:21 2014 +0100
Update trietest.txt
New proposed explanatory format
commit 121632bedd
Author: Vitalik Buterin <v@buterin.com>
Date: Wed Jan 1 08:26:18 2014 -0500
Added obscure's tests
commit ef6c5506c3
Author: Vitalik Buterin <v@buterin.com>
Date: Tue Dec 31 19:04:48 2013 -0500
Fixed tests a bit
commit 345e4bcfef
Merge: 2c81698
e4bbea4
Author: Vitalik Buterin <v@buterin.com>
Date: Tue Dec 31 15:52:46 2013 -0500
Merge branch 'master' of github.com:ethereum/tests
commit 2c81698f31
Author: Vitalik Buterin <v@buterin.com>
Date: Mon Dec 30 21:09:40 2013 -0500
Added first three tests
commit e4bbea400f
Author: vbuterin <v@buterin.com>
Date: Mon Dec 30 18:09:03 2013 -0800
Initial commit
2015-01-02 17:33:14 +01:00
obscuren
4dc7ee9087
Closure => Context
2015-01-02 16:14:12 +01:00
obscuren
a4dc12f12c
Additional comments and added name to error output
2014-12-31 11:21:39 +01:00
obscuren
77924757a8
Merge branch 'develop' into poc8
2014-12-30 17:16:35 +01:00