Skip to content

Commit

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

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

0 comments on commit ac49af8

Please sign in to comment.