Skip to content

Commit ac49af8

Browse files
committed
check msg type url in msgexec
1 parent 1da2792 commit ac49af8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

e2e/batch_reconstruction_test.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,9 @@ func fillOracleData(ctx context.Context, block *cmtypes.Block, chain *L1Chain) e
280280
if err != nil {
281281
return err
282282
}
283+
if authzMsg.Msgs[0].TypeUrl != "/opinit.opchild.v1.MsgUpdateOracle" {
284+
continue
285+
}
283286
msg := new(opchildv1.MsgUpdateOracle)
284287

285288
err = authzMsg.Msgs[0].UnmarshalTo(msg)

0 commit comments

Comments
 (0)