diff --git a/op-dispute-mon/mon/extract/caller.go b/op-dispute-mon/mon/extract/caller.go index 03c130cd3dc8..0b88360b69ae 100644 --- a/op-dispute-mon/mon/extract/caller.go +++ b/op-dispute-mon/mon/extract/caller.go @@ -55,7 +55,8 @@ func (g *GameCallerCreator) CreateContract(ctx context.Context, game gameTypes.G faultTypes.PermissionedGameType, faultTypes.AsteriscGameType, faultTypes.AlphabetGameType, - faultTypes.FastGameType: + faultTypes.FastGameType, + faultTypes.AsteriscKonaGameType: fdg, err := contracts.NewFaultDisputeGameContract(ctx, g.m, game.Proxy, g.caller) if err != nil { return nil, fmt.Errorf("failed to create fault dispute game contract: %w", err) diff --git a/op-dispute-mon/mon/extract/caller_test.go b/op-dispute-mon/mon/extract/caller_test.go index 065f06c051ac..61c7f349c82b 100644 --- a/op-dispute-mon/mon/extract/caller_test.go +++ b/op-dispute-mon/mon/extract/caller_test.go @@ -47,10 +47,14 @@ func TestMetadataCreator_CreateContract(t *testing.T) { name: "validFastGameType", game: types.GameMetadata{GameType: uint32(faultTypes.FastGameType), Proxy: fdgAddr}, }, + { + name: "validAsteriscKonaGameType", + game: types.GameMetadata{GameType: uint32(faultTypes.AsteriscKonaGameType), Proxy: fdgAddr}, + }, { name: "InvalidGameType", - game: types.GameMetadata{GameType: 3, Proxy: fdgAddr}, - expectedErr: fmt.Errorf("unsupported game type: 3"), + game: types.GameMetadata{GameType: 4, Proxy: fdgAddr}, + expectedErr: fmt.Errorf("unsupported game type: 4"), }, }