aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJeffrey Wilcke <geffobscura@gmail.com>2016-01-20 06:50:00 +0800
committerJeffrey Wilcke <geffobscura@gmail.com>2016-02-18 17:11:48 +0800
commitb6d88a0e9f9aaeb47d585d79c768d457b545af90 (patch)
tree49e667cd929ce6b561961ac741d9ff0f82e61261 /tests
parent4f4d2b647488eaa056613fa6f026229ac91f066a (diff)
downloaddexon-b6d88a0e9f9aaeb47d585d79c768d457b545af90.tar.gz
dexon-b6d88a0e9f9aaeb47d585d79c768d457b545af90.tar.zst
dexon-b6d88a0e9f9aaeb47d585d79c768d457b545af90.zip
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
Diffstat (limited to 'tests')
-rw-r--r--tests/state_test.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/state_test.go b/tests/state_test.go
index 1ee162613..4c1820944 100644
--- a/tests/state_test.go
+++ b/tests/state_test.go
@@ -130,6 +130,15 @@ func TestStateTransaction(t *testing.T) {
}
}
+func TestStateTransition(t *testing.T) {
+ params.HomesteadBlock = big.NewInt(1000000)
+
+ fn := filepath.Join(stateTestDir, "stTransitionTest.json")
+ if err := RunStateTest(fn, StateSkipTests); err != nil {
+ t.Error(err)
+ }
+}
+
func TestCallCreateCallCode(t *testing.T) {
params.HomesteadBlock = big.NewInt(1000000)
s'>+13 * - Switch to USES=libtoolamdmi32014-06-112-2/+3 * Fix properties on pkg-plistbapt2014-01-221-1/+0 * - Update gdbm to 1.11johans2013-12-293-7/+22 * Add NO_STAGE all over the place in preparation for the staging support (cat: ...bapt2013-09-211-0/+1