[release/1.3.4] 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 Conflicts: common/registrar/ethreg/api.go core/tx_pool.go core/vm/jit_test.go
This commit is contained in:
@ -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)
|
||||
|
||||
|
Reference in New Issue
Block a user