params: enable Byzantium on Ropsten/tests, fix failures

This commit is contained in:
Péter Szilágyi
2017-09-14 10:59:05 +03:00
parent 9be07de539
commit 701d60c889
3 changed files with 26 additions and 18 deletions

View File

@ -928,7 +928,7 @@ func TestReorgSideEvent(t *testing.T) {
replacementBlocks, _ := GenerateChain(gspec.Config, genesis, db, 4, func(i int, gen *BlockGen) {
tx, err := types.SignTx(types.NewContractCreation(gen.TxNonce(addr1), new(big.Int), big.NewInt(1000000), new(big.Int), nil), signer, key1)
if i == 2 {
gen.OffsetTime(-1)
gen.OffsetTime(-9)
}
if err != nil {
t.Fatalf("failed to create tx: %v", err)