From 68ece02e4e63af4708430933357d10d953fb2d2c Mon Sep 17 00:00:00 2001 From: Ryan Hall Date: Fri, 25 Oct 2024 17:30:34 -0400 Subject: [PATCH] fix offchain code --- .../ccip/ccip_integration_tests/ccipreader/ccipreader_test.go | 1 - core/capabilities/ccip/ccipevm/commitcodec.go | 2 -- core/capabilities/ccip/ccipevm/commitcodec_test.go | 1 - 3 files changed, 4 deletions(-) diff --git a/core/capabilities/ccip/ccip_integration_tests/ccipreader/ccipreader_test.go b/core/capabilities/ccip/ccip_integration_tests/ccipreader/ccipreader_test.go index ff5d62205d0..61036ea60e6 100644 --- a/core/capabilities/ccip/ccip_integration_tests/ccipreader/ccipreader_test.go +++ b/core/capabilities/ccip/ccip_integration_tests/ccipreader/ccipreader_test.go @@ -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() diff --git a/core/capabilities/ccip/ccipevm/commitcodec.go b/core/capabilities/ccip/ccipevm/commitcodec.go index 21236721724..31501ea96c4 100644 --- a/core/capabilities/ccip/ccipevm/commitcodec.go +++ b/core/capabilities/ccip/ccipevm/commitcodec.go @@ -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) @@ -154,7 +153,6 @@ func (c *CommitPluginCodecV1) Decode(ctx context.Context, bytes []byte) (cciptyp GasPriceUpdates: gasPriceUpdates, }, RMNSignatures: rmnSignatures, - RMNRawVs: cciptypes.NewBigInt(commitReport.RmnRawVs), }, nil } diff --git a/core/capabilities/ccip/ccipevm/commitcodec_test.go b/core/capabilities/ccip/ccipevm/commitcodec_test.go index a53fced7857..2449aa5ef04 100644 --- a/core/capabilities/ccip/ccipevm/commitcodec_test.go +++ b/core/capabilities/ccip/ccipevm/commitcodec_test.go @@ -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()), } }