Skip to content

Commit 18c1ea9

Browse files
committed
bumped go.mod
1 parent a702de8 commit 18c1ea9

File tree

4 files changed

+37
-25
lines changed

4 files changed

+37
-25
lines changed

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ require (
2121
github.com/prometheus/client_model v0.6.1
2222
github.com/prometheus/common v0.63.0
2323
github.com/shopspring/decimal v1.4.0
24-
github.com/smartcontractkit/chainlink-common v0.7.1-0.20250610115239-54755c8caea7
25-
github.com/smartcontractkit/chainlink-framework/capabilities v0.0.0-20250610115353-09ffa82fc97d
24+
github.com/smartcontractkit/chainlink-common v0.7.1-0.20250617133454-9f01f00e6ea8
25+
github.com/smartcontractkit/chainlink-framework/capabilities v0.0.0-20250617140007-2d049506d93d
2626
github.com/smartcontractkit/chainlink-framework/chains v0.0.0-20250522110034-65c54665034a
2727
github.com/smartcontractkit/chainlink-framework/metrics v0.0.0-20250522110034-65c54665034a
2828
github.com/smartcontractkit/chainlink-framework/multinode v0.0.0-20250522110034-65c54665034a

go.sum

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -636,10 +636,10 @@ github.com/shurcooL/vfsgen v0.0.0-20200824052919-0d455de96546/go.mod h1:TrYk7fJV
636636
github.com/sirupsen/logrus v1.4.1/go.mod h1:ni0Sbl8bgC9z8RoU9G6nDWqqs/fq4eDPysMBDgk/93Q=
637637
github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE=
638638
github.com/sirupsen/logrus v1.8.1/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0=
639-
github.com/smartcontractkit/chainlink-common v0.7.1-0.20250610115239-54755c8caea7 h1:hwsBcXLqP3pNvOkfv+jqNDug6GWiBFU+dKYeibYQfWg=
640-
github.com/smartcontractkit/chainlink-common v0.7.1-0.20250610115239-54755c8caea7/go.mod h1:H7gOuN4Jzf+DWllfP5Pb7AiCWBMQrDX1D1KYXAEhdnw=
641-
github.com/smartcontractkit/chainlink-framework/capabilities v0.0.0-20250610115353-09ffa82fc97d h1:MVHAqFJ4x2ISLXf8dIr8hwSNrCEz2XMPYgx58ygwR+c=
642-
github.com/smartcontractkit/chainlink-framework/capabilities v0.0.0-20250610115353-09ffa82fc97d/go.mod h1:FPHXxR+EZjiBse56y6uj+xjONG2e+29jitzdUq41AqM=
639+
github.com/smartcontractkit/chainlink-common v0.7.1-0.20250617133454-9f01f00e6ea8 h1:b9g3M6Re82Kf82eXWL6OafKzQ/DmGt479zrSvdpVRMM=
640+
github.com/smartcontractkit/chainlink-common v0.7.1-0.20250617133454-9f01f00e6ea8/go.mod h1:1ntZ0rtQpPx6h+xlcOJp0ccqHFaxTzW2Z62FJG358q0=
641+
github.com/smartcontractkit/chainlink-framework/capabilities v0.0.0-20250617140007-2d049506d93d h1:3qtkjhV76h2KN6zMqZ5/bT0cbWwqYfe8/EGCrFKoh10=
642+
github.com/smartcontractkit/chainlink-framework/capabilities v0.0.0-20250617140007-2d049506d93d/go.mod h1:VnW3saDDwJNCIjYrcLNNlC2M9Tt478f0rt4lHJVCnUE=
643643
github.com/smartcontractkit/chainlink-framework/chains v0.0.0-20250522110034-65c54665034a h1:1CrY+turGOYaSEs4efA4zJprX0G2Uk+0dcDO1eCsHhk=
644644
github.com/smartcontractkit/chainlink-framework/chains v0.0.0-20250522110034-65c54665034a/go.mod h1:X+a4k2a+2G2/yeAaRQMCTLmlhNdQYAeN6v+ZpLzRZww=
645645
github.com/smartcontractkit/chainlink-framework/metrics v0.0.0-20250522110034-65c54665034a h1:bFYBcW0cmhq0G8NSjPxSFfL/fVODuhEGluyWOxJTqqk=

pkg/report/datafeeds/decode.go

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import (
1111

1212
"github.com/smartcontractkit/chainlink-common/pkg/beholder"
1313

14+
"github.com/smartcontractkit/chainlink-framework/capabilities/writetarget/monitoring/pb/common"
1415
df "github.com/smartcontractkit/chainlink-framework/capabilities/writetarget/monitoring/pb/data-feeds/on-chain/registry"
1516
wt "github.com/smartcontractkit/chainlink-framework/capabilities/writetarget/monitoring/pb/platform"
1617
"github.com/smartcontractkit/chainlink-framework/capabilities/writetarget/report/platform"
@@ -106,16 +107,16 @@ func NewFeedUpdated(
106107
BenchmarkVal: ToBenchmarkVal(feedID, benchmarkPrice),
107108

108109
// Head data - when was the event produced on-chain
109-
BlockHash: m.BlockHash,
110-
BlockHeight: m.BlockHeight,
111-
BlockTimestamp: m.BlockTimestamp,
110+
BlockData: m.BlockData,
112111

113112
ExecutionContext: m.ExecutionContext,
114113
}
115114

116115
if includeTxInfo {
117-
fu.TxSender = m.Transmitter
118-
fu.TxReceiver = m.Forwarder
116+
fu.TransactionData = &common.TransactionData{
117+
TxSender: m.Transmitter,
118+
TxReceiver: m.Forwarder,
119+
}
119120
}
120121

121122
return fu

pkg/report/datafeeds/decode_test.go

Lines changed: 25 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -93,12 +93,17 @@ func runTests(t *testing.T, data []byte, processor *datafeeds.Processor, por boo
9393

9494
BenchmarkVal: math.NaN(),
9595

96-
BlockHash: "0xaa",
97-
BlockHeight: "17",
98-
BlockTimestamp: 0x66f5bf69,
96+
BlockData: &commonpb.BlockData{
97+
BlockHash: "0xaa",
98+
BlockHeight: "17",
99+
BlockTimestamp: 0x66f5bf69,
100+
},
101+
102+
TransactionData: &commonpb.TransactionData{
103+
TxSender: "example-transmitter",
104+
TxReceiver: "example-forwarder",
105+
},
99106

100-
TxSender: "example-transmitter",
101-
TxReceiver: "example-forwarder",
102107
ExecutionContext: &commonpb.ExecutionContext{},
103108
},
104109
{
@@ -109,12 +114,17 @@ func runTests(t *testing.T, data []byte, processor *datafeeds.Processor, por boo
109114
Report: []uint8{},
110115
BenchmarkVal: 3000.69,
111116

112-
BlockHash: "0xaa",
113-
BlockHeight: "17",
114-
BlockTimestamp: 0x66f5bf69,
117+
BlockData: &commonpb.BlockData{
118+
BlockHash: "0xaa",
119+
BlockHeight: "17",
120+
BlockTimestamp: 0x66f5bf69,
121+
},
122+
123+
TransactionData: &commonpb.TransactionData{
124+
TxSender: "example-transmitter",
125+
TxReceiver: "example-forwarder",
126+
},
115127

116-
TxSender: "example-transmitter",
117-
TxReceiver: "example-forwarder",
118128
ExecutionContext: &commonpb.ExecutionContext{},
119129
},
120130
}
@@ -154,10 +164,11 @@ func runTests(t *testing.T, data []byte, processor *datafeeds.Processor, por boo
154164
Transmitter: "example-transmitter",
155165
Success: true,
156166

157-
// Block Info
158-
BlockHash: "0xaa",
159-
BlockHeight: "17",
160-
BlockTimestamp: 0x66f5bf69,
167+
BlockData: &commonpb.BlockData{
168+
BlockHash: "0xaa",
169+
BlockHeight: "17",
170+
BlockTimestamp: 0x66f5bf69,
171+
},
161172

162173
ExecutionContext: &commonpb.ExecutionContext{},
163174
},

0 commit comments

Comments
 (0)