Commit 9b93ae25 authored by Adrian Sutton's avatar Adrian Sutton

op-e2e: Fix alphabet absolute prestate.

parent b8196518
...@@ -15,6 +15,7 @@ import ( ...@@ -15,6 +15,7 @@ import (
// deployDisputeGameContracts deploys the DisputeGameFactory, AlphabetVM and FaultDisputeGame contracts // deployDisputeGameContracts deploys the DisputeGameFactory, AlphabetVM and FaultDisputeGame contracts
// It configures the alphabet fault game as game type 0 (faultGameType) // It configures the alphabet fault game as game type 0 (faultGameType)
// If/when the dispute game factory becomes a predeployed contract this can be removed and just use the // If/when the dispute game factory becomes a predeployed contract this can be removed and just use the
// predeployed version
func deployDisputeGameContracts(require *require.Assertions, ctx context.Context, client *ethclient.Client, opts *bind.TransactOpts, gameDuration uint64) *bindings.DisputeGameFactory { func deployDisputeGameContracts(require *require.Assertions, ctx context.Context, client *ethclient.Client, opts *bind.TransactOpts, gameDuration uint64) *bindings.DisputeGameFactory {
ctx, cancel := context.WithTimeout(ctx, 5*time.Minute) ctx, cancel := context.WithTimeout(ctx, 5*time.Minute)
defer cancel() defer cancel()
......
...@@ -32,7 +32,7 @@ const ( ...@@ -32,7 +32,7 @@ const (
) )
var alphaExtraData = common.Hex2Bytes("1000000000000000000000000000000000000000000000000000000000000000") var alphaExtraData = common.Hex2Bytes("1000000000000000000000000000000000000000000000000000000000000000")
var alphabetVMAbsolutePrestate = uint256.NewInt(140).Bytes32() var alphabetVMAbsolutePrestate = uint256.NewInt(96).Bytes32()
type FactoryHelper struct { type FactoryHelper struct {
t *testing.T t *testing.T
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment