From ac49af8eb2dbe8137bf90627a2abffc1d19a8c02 Mon Sep 17 00:00:00 2001 From: sh-cha Date: Tue, 24 Dec 2024 14:42:36 +0900 Subject: [PATCH] check msg type url in msgexec --- e2e/batch_reconstruction_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/e2e/batch_reconstruction_test.go b/e2e/batch_reconstruction_test.go index 03454d0..5aac1b0 100644 --- a/e2e/batch_reconstruction_test.go +++ b/e2e/batch_reconstruction_test.go @@ -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)