Skip to content

Commit

Permalink
authz msg length check
Browse files Browse the repository at this point in the history
  • Loading branch information
sh-cha committed Dec 24, 2024
1 parent 9e38fed commit 00cb5dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion e2e/batch_reconstruction_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ func fillOracleData(ctx context.Context, block *cmtypes.Block, chain *L1Chain) e
if err != nil {
return err
}
if len(authzMsg.Msgs) != 0 || authzMsg.Msgs[0].TypeUrl != "/opinit.opchild.v1.MsgUpdateOracle" {
if len(authzMsg.Msgs) != 1 || authzMsg.Msgs[0].TypeUrl != "/opinit.opchild.v1.MsgUpdateOracle" {
continue
}
msg := new(opchildv1.MsgUpdateOracle)
Expand Down

0 comments on commit 00cb5dd

Please sign in to comment.