Skip to content

Commit

Permalink
Fix error message.
Browse files Browse the repository at this point in the history
  • Loading branch information
winder committed Jun 28, 2024
1 parent 7b98c20 commit 39f8c3f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/services/ocr3/plugins/ccip/execute/plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ func buildSingleChainReport(
tree, err := constructMerkleTree(ctx, hasher, report)
if err != nil {
return cciptypes.ExecutePluginReportSingleChain{}, 0,
fmt.Errorf("unable to constructing merkle tree from messages: %w", err)
fmt.Errorf("unable to construct merkle tree from messages: %w", err)
}
lggr.Debugw(
"constructing merkle tree",
Expand Down
2 changes: 1 addition & 1 deletion core/services/ocr3/plugins/ccip/execute/plugin_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@ func Test_buildSingleChainReport_Errors(t *testing.T) {
},
{
name: "wrong sequence numbers",
wantErr: "message with sequence number 102 outside of report range [100 -> 101]",
wantErr: "sequence number 102 outside of report range [100 -> 101]",
args: args{
report: cciptypes.ExecutePluginCommitDataWithMessages{
ExecutePluginCommitData: cciptypes.ExecutePluginCommitData{
Expand Down

0 comments on commit 39f8c3f

Please sign in to comment.