@@ -23,27 +23,27 @@ func isPanic(err string) bool {
23
23
strings .Contains (err , "nil pointer dereference" )
24
24
}
25
25
26
- func TestOptimismClientWithKeccak256CommitmentIntegration (t * testing.T ) {
26
+ func TestOpClientKeccak256MalformedInputs (t * testing.T ) {
27
27
if ! runIntegrationTests || runTestnetIntegrationTests {
28
28
t .Skip ("Skipping test as TESTNET env set or INTEGRATION var not set" )
29
29
}
30
30
31
- // nil commitment. Should return an error but currently is not. This needs to be fixed by OP
32
- // t.Run("nil commitment case", func(t *testing.T) {
33
- // var commit op_plasma.CommitmentData
34
- // _, err := daClient.GetInput(ts.Ctx, commit)
35
- // require.Error(t, err)
36
- // assert.True(t, !isPanic(err.Error()))
37
- // })
38
-
39
31
t .Parallel ()
40
-
41
32
testCfg := e2e .TestConfig (useMemory ())
42
33
testCfg .UseKeccak256ModeS3 = true
43
-
44
34
ts , kill := e2e .CreateTestSuite (t , testCfg )
45
35
defer kill ()
46
36
37
+ // nil commitment. Should return an error but currently is not. This needs to be fixed by OP
38
+ // Ref: https://github.com/ethereum-optimism/optimism/issues/11987
39
+ //daClient := op_plasma.NewDAClient(ts.Address(), false, true)
40
+ //t.Run("nil commitment case", func(t *testing.T) {
41
+ // var commit op_plasma.CommitmentData
42
+ // _, err := daClient.GetInput(ts.Ctx, commit)
43
+ // require.Error(t, err)
44
+ // assert.True(t, !isPanic(err.Error()))
45
+ //})
46
+
47
47
daClientPcFalse := op_plasma .NewDAClient (ts .Address (), false , false )
48
48
49
49
t .Run ("input bad data to SetInput & GetInput" , func (t * testing.T ) {
0 commit comments