Skip to content

Commit

Permalink
fix offchain code
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanRHall committed Oct 25, 2024
1 parent 9030620 commit 9a5bec8
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@ func TestCCIPReader_CommitReportsGTETimestamp(t *testing.T) {
S: [32]byte{4},
},
},
RmnRawVs: big.NewInt(100),
})
assert.NoError(t, err)
s.sb.Commit()
Expand Down
2 changes: 0 additions & 2 deletions core/capabilities/ccip/ccipevm/commitcodec.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ func (c *CommitPluginCodecV1) Encode(ctx context.Context, report cciptypes.Commi
PriceUpdates: priceUpdates,
MerkleRoots: merkleRoots,
RmnSignatures: rmnSignatures,
RmnRawVs: report.RMNRawVs.Int,
}

packed, err := ccipEncodingUtilsABI.Pack("exposeCommitReport", commitReport)
Expand Down Expand Up @@ -154,7 +153,6 @@ func (c *CommitPluginCodecV1) Decode(ctx context.Context, bytes []byte) (cciptyp
GasPriceUpdates: gasPriceUpdates,
},
RMNSignatures: rmnSignatures,
RMNRawVs: cciptypes.NewBigInt(commitReport.RmnRawVs),
}, nil
}

Expand Down
1 change: 0 additions & 1 deletion core/capabilities/ccip/ccipevm/commitcodec_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ var randomCommitReport = func() cciptypes.CommitPluginReport {
{R: utils.RandomBytes32(), S: utils.RandomBytes32()},
{R: utils.RandomBytes32(), S: utils.RandomBytes32()},
},
RMNRawVs: cciptypes.NewBigInt(utils.RandUint256()),
}
}

Expand Down

0 comments on commit 9a5bec8

Please sign in to comment.