diff --git a/capabilities/blockchain/evm/go.mod b/capabilities/blockchain/evm/go.mod index 52dfc863..726e93a3 100644 --- a/capabilities/blockchain/evm/go.mod +++ b/capabilities/blockchain/evm/go.mod @@ -4,8 +4,8 @@ go 1.25.3 require ( github.com/ethereum/go-ethereum v1.17.2 - github.com/smartcontractkit/chainlink-protos/cre/go v0.0.0-20260615191028-c2b8c77fd0d6 - github.com/smartcontractkit/cre-sdk-go v1.12.1-0.20260616122152-41e074085729 + github.com/smartcontractkit/chainlink-protos/cre/go v0.0.0-20260611014504-5f00275cf10d + github.com/smartcontractkit/cre-sdk-go v1.12.1-0.20260611161230-05e667f70291 github.com/stretchr/testify v1.11.1 google.golang.org/protobuf v1.36.11 ) @@ -30,9 +30,9 @@ require ( github.com/tklauser/go-sysconf v0.3.12 // indirect github.com/tklauser/numcpus v0.6.1 // indirect go.opentelemetry.io/auto/sdk v1.2.1 // indirect - go.opentelemetry.io/otel v1.44.0 // indirect - go.opentelemetry.io/otel/metric v1.44.0 // indirect - go.opentelemetry.io/otel/trace v1.44.0 // indirect + go.opentelemetry.io/otel v1.40.0 // indirect + go.opentelemetry.io/otel/metric v1.40.0 // indirect + go.opentelemetry.io/otel/trace v1.40.0 // indirect golang.org/x/sys v0.41.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect ) diff --git a/capabilities/blockchain/evm/go.sum b/capabilities/blockchain/evm/go.sum index 8f62837d..fc781c61 100644 --- a/capabilities/blockchain/evm/go.sum +++ b/capabilities/blockchain/evm/go.sum @@ -56,10 +56,10 @@ github.com/shirou/gopsutil v3.21.4-0.20210419000835-c7a38de76ee5+incompatible h1 github.com/shirou/gopsutil v3.21.4-0.20210419000835-c7a38de76ee5+incompatible/go.mod h1:5b4v6he4MtMOwMlS0TUMTu2PcXUg8+E1lC7eC3UO/RA= github.com/shopspring/decimal v1.4.0 h1:bxl37RwXBklmTi0C79JfXCEBD1cqqHt0bbgBAGFp81k= github.com/shopspring/decimal v1.4.0/go.mod h1:gawqmDU56v4yIKSwfBSFip1HdCCXN8/+DMd9qYNcwME= -github.com/smartcontractkit/chainlink-protos/cre/go v0.0.0-20260615191028-c2b8c77fd0d6 h1:FpQsvpgmOpzv/GItvJ3SBm21V2OmndaBHrNuT184EyQ= -github.com/smartcontractkit/chainlink-protos/cre/go v0.0.0-20260615191028-c2b8c77fd0d6/go.mod h1:vTFHTCbLui4Vn8fTmAadfE3rdnvfrDwOmMujmW857D0= -github.com/smartcontractkit/cre-sdk-go v1.12.1-0.20260616122152-41e074085729 h1:z5iYIzSvpHCT3dkThbSAzLFJm3M1KVP8NEGiWkUp6KY= -github.com/smartcontractkit/cre-sdk-go v1.12.1-0.20260616122152-41e074085729/go.mod h1:Gj6AYO6RZ7m7XYu/l2Kxq4MFy9VeUDVtOMDGK6v0cXE= +github.com/smartcontractkit/chainlink-protos/cre/go v0.0.0-20260611014504-5f00275cf10d h1:ARqO0XoNTrrI+s0bgz2VKaquUkC/BTwoKTqmhK4TH0I= +github.com/smartcontractkit/chainlink-protos/cre/go v0.0.0-20260611014504-5f00275cf10d/go.mod h1:vTFHTCbLui4Vn8fTmAadfE3rdnvfrDwOmMujmW857D0= +github.com/smartcontractkit/cre-sdk-go v1.12.1-0.20260611161230-05e667f70291 h1:Osz7D2PfRFmCC2iiZm+0gv5u6IBHxkMj8ID0WVvC+yI= +github.com/smartcontractkit/cre-sdk-go v1.12.1-0.20260611161230-05e667f70291/go.mod h1:hPMxrdvG716J9dUH42hjvMvND7H4pvytu1YPi5+bJcQ= github.com/stretchr/testify v1.11.1 h1:7s2iGBzp5EwR7/aIZr8ao5+dra3wiQyKjjFuvgVKu7U= github.com/stretchr/testify v1.11.1/go.mod h1:wZwfW3scLgRK+23gO65QZefKpKQRnfz6sD981Nm4B6U= github.com/supranational/blst v0.3.16 h1:bTDadT+3fK497EvLdWRQEjiGnUtzJ7jjIUMF0jqwYhE= @@ -70,14 +70,14 @@ github.com/tklauser/numcpus v0.6.1 h1:ng9scYS7az0Bk4OZLvrNXNSAO2Pxr1XXRAPyjhIx+F github.com/tklauser/numcpus v0.6.1/go.mod h1:1XfjsgE2zo8GVw7POkMbHENHzVg3GzmoZ9fESEdAacY= go.opentelemetry.io/auto/sdk v1.2.1 h1:jXsnJ4Lmnqd11kwkBV2LgLoFMZKizbCi5fNZ/ipaZ64= go.opentelemetry.io/auto/sdk v1.2.1/go.mod h1:KRTj+aOaElaLi+wW1kO/DZRXwkF4C5xPbEe3ZiIhN7Y= -go.opentelemetry.io/otel v1.44.0 h1:JjwHmHpA4iZ3wBxluu2fbbE7j4kqlE8jXyAyPXH7HqU= -go.opentelemetry.io/otel v1.44.0/go.mod h1:BMgjTHL9WPRlRjL2oZCBTL4whCGtXch2H4BhOPIAyYc= -go.opentelemetry.io/otel/metric v1.44.0 h1:1w0gILTcHdr3YI+ixLyjemwrVnsMURbTZFrSYCdDdmc= -go.opentelemetry.io/otel/metric v1.44.0/go.mod h1:8O7hanEPBNgEMmybD3s2VBKcgWOCsA6tzHBPODAiquo= +go.opentelemetry.io/otel v1.40.0 h1:oA5YeOcpRTXq6NN7frwmwFR0Cn3RhTVZvXsP4duvCms= +go.opentelemetry.io/otel v1.40.0/go.mod h1:IMb+uXZUKkMXdPddhwAHm6UfOwJyh4ct1ybIlV14J0g= +go.opentelemetry.io/otel/metric v1.40.0 h1:rcZe317KPftE2rstWIBitCdVp89A2HqjkxR3c11+p9g= +go.opentelemetry.io/otel/metric v1.40.0/go.mod h1:ib/crwQH7N3r5kfiBZQbwrTge743UDc7DTFVZrrXnqc= go.opentelemetry.io/otel/sdk v1.40.0 h1:KHW/jUzgo6wsPh9At46+h4upjtccTmuZCFAc9OJ71f8= go.opentelemetry.io/otel/sdk v1.40.0/go.mod h1:Ph7EFdYvxq72Y8Li9q8KebuYUr2KoeyHx0DRMKrYBUE= -go.opentelemetry.io/otel/trace v1.44.0 h1:jxF5CsGYCe74MCRx2X4g7WsY/VBKRqqpNvXlX/6gtIk= -go.opentelemetry.io/otel/trace v1.44.0/go.mod h1:oLl1jrMQAVo6v3GAggN+1VH9VIz9iUSvW53sW1Q8PIE= +go.opentelemetry.io/otel/trace v1.40.0 h1:WA4etStDttCSYuhwvEa8OP8I5EWu24lkOzp+ZYblVjw= +go.opentelemetry.io/otel/trace v1.40.0/go.mod h1:zeAhriXecNGP/s2SEG3+Y8X9ujcJOTqQ5RgdEJcawiA= golang.org/x/sync v0.18.0 h1:kr88TuHDroi+UVf+0hZnirlk8o8T+4MrK6mr60WkH/I= golang.org/x/sync v0.18.0/go.mod h1:9KTHXmSnoGruLpwFjVSX0lNNA75CykiMECbovNTZqGI= golang.org/x/sys v0.0.0-20190916202348-b4ddaad3f8a3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= diff --git a/capabilities/blockchain/solana/go.mod b/capabilities/blockchain/solana/go.mod index 6e86d621..347833cb 100644 --- a/capabilities/blockchain/solana/go.mod +++ b/capabilities/blockchain/solana/go.mod @@ -4,8 +4,8 @@ go 1.25.3 require ( github.com/gagliardetto/binary v0.8.0 - github.com/smartcontractkit/chainlink-protos/cre/go v0.0.0-20260615191028-c2b8c77fd0d6 - github.com/smartcontractkit/cre-sdk-go v1.12.1-0.20260616122152-41e074085729 + github.com/smartcontractkit/chainlink-protos/cre/go v0.0.0-20260611014504-5f00275cf10d + github.com/smartcontractkit/cre-sdk-go v1.12.1-0.20260611161230-05e667f70291 github.com/stretchr/testify v1.11.1 google.golang.org/protobuf v1.36.11 ) diff --git a/capabilities/blockchain/solana/go.sum b/capabilities/blockchain/solana/go.sum index a1453b96..423280f7 100644 --- a/capabilities/blockchain/solana/go.sum +++ b/capabilities/blockchain/solana/go.sum @@ -45,10 +45,10 @@ github.com/rogpeppe/go-internal v1.14.1/go.mod h1:MaRKkUm5W0goXpeCfT7UZI6fk/L7L7 github.com/shopspring/decimal v1.3.1/go.mod h1:DKyhrW/HYNuLGql+MJL6WCR6knT2jwCFRcu2hWCYk4o= github.com/shopspring/decimal v1.4.0 h1:bxl37RwXBklmTi0C79JfXCEBD1cqqHt0bbgBAGFp81k= github.com/shopspring/decimal v1.4.0/go.mod h1:gawqmDU56v4yIKSwfBSFip1HdCCXN8/+DMd9qYNcwME= -github.com/smartcontractkit/chainlink-protos/cre/go v0.0.0-20260615191028-c2b8c77fd0d6 h1:FpQsvpgmOpzv/GItvJ3SBm21V2OmndaBHrNuT184EyQ= -github.com/smartcontractkit/chainlink-protos/cre/go v0.0.0-20260615191028-c2b8c77fd0d6/go.mod h1:vTFHTCbLui4Vn8fTmAadfE3rdnvfrDwOmMujmW857D0= -github.com/smartcontractkit/cre-sdk-go v1.12.1-0.20260616122152-41e074085729 h1:z5iYIzSvpHCT3dkThbSAzLFJm3M1KVP8NEGiWkUp6KY= -github.com/smartcontractkit/cre-sdk-go v1.12.1-0.20260616122152-41e074085729/go.mod h1:Gj6AYO6RZ7m7XYu/l2Kxq4MFy9VeUDVtOMDGK6v0cXE= +github.com/smartcontractkit/chainlink-protos/cre/go v0.0.0-20260611014504-5f00275cf10d h1:ARqO0XoNTrrI+s0bgz2VKaquUkC/BTwoKTqmhK4TH0I= +github.com/smartcontractkit/chainlink-protos/cre/go v0.0.0-20260611014504-5f00275cf10d/go.mod h1:vTFHTCbLui4Vn8fTmAadfE3rdnvfrDwOmMujmW857D0= +github.com/smartcontractkit/cre-sdk-go v1.12.1-0.20260611161230-05e667f70291 h1:Osz7D2PfRFmCC2iiZm+0gv5u6IBHxkMj8ID0WVvC+yI= +github.com/smartcontractkit/cre-sdk-go v1.12.1-0.20260611161230-05e667f70291/go.mod h1:hPMxrdvG716J9dUH42hjvMvND7H4pvytu1YPi5+bJcQ= github.com/streamingfast/logging v0.0.0-20230608130331-f22c91403091 h1:RN5mrigyirb8anBEtdjtHFIufXdacyTi6i4KBfeNXeo= github.com/streamingfast/logging v0.0.0-20230608130331-f22c91403091/go.mod h1:VlduQ80JcGJSargkRU4Sg9Xo63wZD/l8A5NC/Uo1/uU= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= diff --git a/capabilities/networking/confidentialhttp/go.mod b/capabilities/networking/confidentialhttp/go.mod index 4b27b5ab..857271a0 100644 --- a/capabilities/networking/confidentialhttp/go.mod +++ b/capabilities/networking/confidentialhttp/go.mod @@ -3,8 +3,8 @@ module github.com/smartcontractkit/cre-sdk-go/capabilities/networking/confidenti go 1.25.3 require ( - github.com/smartcontractkit/chainlink-protos/cre/go v0.0.0-20260615191028-c2b8c77fd0d6 - github.com/smartcontractkit/cre-sdk-go v1.12.1-0.20260616122152-41e074085729 + github.com/smartcontractkit/chainlink-protos/cre/go v0.0.0-20260611014504-5f00275cf10d + github.com/smartcontractkit/cre-sdk-go v1.12.1-0.20260611161230-05e667f70291 ) require ( diff --git a/capabilities/networking/confidentialhttp/go.sum b/capabilities/networking/confidentialhttp/go.sum index c9901b09..e1976498 100644 --- a/capabilities/networking/confidentialhttp/go.sum +++ b/capabilities/networking/confidentialhttp/go.sum @@ -18,10 +18,10 @@ github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 h1:Jamvg5psRI github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/shopspring/decimal v1.4.0 h1:bxl37RwXBklmTi0C79JfXCEBD1cqqHt0bbgBAGFp81k= github.com/shopspring/decimal v1.4.0/go.mod h1:gawqmDU56v4yIKSwfBSFip1HdCCXN8/+DMd9qYNcwME= -github.com/smartcontractkit/chainlink-protos/cre/go v0.0.0-20260615191028-c2b8c77fd0d6 h1:FpQsvpgmOpzv/GItvJ3SBm21V2OmndaBHrNuT184EyQ= -github.com/smartcontractkit/chainlink-protos/cre/go v0.0.0-20260615191028-c2b8c77fd0d6/go.mod h1:vTFHTCbLui4Vn8fTmAadfE3rdnvfrDwOmMujmW857D0= -github.com/smartcontractkit/cre-sdk-go v1.12.1-0.20260616122152-41e074085729 h1:z5iYIzSvpHCT3dkThbSAzLFJm3M1KVP8NEGiWkUp6KY= -github.com/smartcontractkit/cre-sdk-go v1.12.1-0.20260616122152-41e074085729/go.mod h1:Gj6AYO6RZ7m7XYu/l2Kxq4MFy9VeUDVtOMDGK6v0cXE= +github.com/smartcontractkit/chainlink-protos/cre/go v0.0.0-20260611014504-5f00275cf10d h1:ARqO0XoNTrrI+s0bgz2VKaquUkC/BTwoKTqmhK4TH0I= +github.com/smartcontractkit/chainlink-protos/cre/go v0.0.0-20260611014504-5f00275cf10d/go.mod h1:vTFHTCbLui4Vn8fTmAadfE3rdnvfrDwOmMujmW857D0= +github.com/smartcontractkit/cre-sdk-go v1.12.1-0.20260611161230-05e667f70291 h1:Osz7D2PfRFmCC2iiZm+0gv5u6IBHxkMj8ID0WVvC+yI= +github.com/smartcontractkit/cre-sdk-go v1.12.1-0.20260611161230-05e667f70291/go.mod h1:hPMxrdvG716J9dUH42hjvMvND7H4pvytu1YPi5+bJcQ= github.com/stretchr/testify v1.11.1 h1:7s2iGBzp5EwR7/aIZr8ao5+dra3wiQyKjjFuvgVKu7U= github.com/stretchr/testify v1.11.1/go.mod h1:wZwfW3scLgRK+23gO65QZefKpKQRnfz6sD981Nm4B6U= golang.org/x/sys v0.40.0 h1:DBZZqJ2Rkml6QMQsZywtnjnnGvHza6BTfYFWY9kjEWQ= diff --git a/capabilities/networking/http/client.pb.go b/capabilities/networking/http/client.pb.go index 3fb302a1..6a93e882 100644 --- a/capabilities/networking/http/client.pb.go +++ b/capabilities/networking/http/client.pb.go @@ -121,59 +121,6 @@ func (x *HeaderValues) GetValues() []string { return nil } -// MtlsAuth represents the private-key/cert pair for mtls auth. -type MtlsAuth struct { - state protoimpl.MessageState `protogen:"open.v1"` - PrivateKey []byte `protobuf:"bytes,1,opt,name=private_key,json=privateKey,proto3" json:"private_key,omitempty"` - Certificate []byte `protobuf:"bytes,2,opt,name=certificate,proto3" json:"certificate,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *MtlsAuth) Reset() { - *x = MtlsAuth{} - mi := &file_capabilities_networking_http_v1alpha_client_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *MtlsAuth) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MtlsAuth) ProtoMessage() {} - -func (x *MtlsAuth) ProtoReflect() protoreflect.Message { - mi := &file_capabilities_networking_http_v1alpha_client_proto_msgTypes[2] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use MtlsAuth.ProtoReflect.Descriptor instead. -func (*MtlsAuth) Descriptor() ([]byte, []int) { - return file_capabilities_networking_http_v1alpha_client_proto_rawDescGZIP(), []int{2} -} - -func (x *MtlsAuth) GetPrivateKey() []byte { - if x != nil { - return x.PrivateKey - } - return nil -} - -func (x *MtlsAuth) GetCertificate() []byte { - if x != nil { - return x.Certificate - } - return nil -} - type Request struct { state protoimpl.MessageState `protogen:"open.v1"` Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` @@ -184,14 +131,13 @@ type Request struct { Timeout *durationpb.Duration `protobuf:"bytes,5,opt,name=timeout,proto3" json:"timeout,omitempty"` // Request timeout duration CacheSettings *CacheSettings `protobuf:"bytes,6,opt,name=cache_settings,json=cacheSettings,proto3" json:"cache_settings,omitempty"` MultiHeaders map[string]*HeaderValues `protobuf:"bytes,7,rep,name=multi_headers,json=multiHeaders,proto3" json:"multi_headers,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` - Mtls *MtlsAuth `protobuf:"bytes,8,opt,name=mtls,proto3,oneof" json:"mtls,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *Request) Reset() { *x = Request{} - mi := &file_capabilities_networking_http_v1alpha_client_proto_msgTypes[3] + mi := &file_capabilities_networking_http_v1alpha_client_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -203,7 +149,7 @@ func (x *Request) String() string { func (*Request) ProtoMessage() {} func (x *Request) ProtoReflect() protoreflect.Message { - mi := &file_capabilities_networking_http_v1alpha_client_proto_msgTypes[3] + mi := &file_capabilities_networking_http_v1alpha_client_proto_msgTypes[2] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -216,7 +162,7 @@ func (x *Request) ProtoReflect() protoreflect.Message { // Deprecated: Use Request.ProtoReflect.Descriptor instead. func (*Request) Descriptor() ([]byte, []int) { - return file_capabilities_networking_http_v1alpha_client_proto_rawDescGZIP(), []int{3} + return file_capabilities_networking_http_v1alpha_client_proto_rawDescGZIP(), []int{2} } func (x *Request) GetUrl() string { @@ -269,13 +215,6 @@ func (x *Request) GetMultiHeaders() map[string]*HeaderValues { return nil } -func (x *Request) GetMtls() *MtlsAuth { - if x != nil { - return x.Mtls - } - return nil -} - type Response struct { state protoimpl.MessageState `protogen:"open.v1"` StatusCode uint32 `protobuf:"varint,1,opt,name=status_code,json=statusCode,proto3" json:"status_code,omitempty"` @@ -289,7 +228,7 @@ type Response struct { func (x *Response) Reset() { *x = Response{} - mi := &file_capabilities_networking_http_v1alpha_client_proto_msgTypes[4] + mi := &file_capabilities_networking_http_v1alpha_client_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -301,7 +240,7 @@ func (x *Response) String() string { func (*Response) ProtoMessage() {} func (x *Response) ProtoReflect() protoreflect.Message { - mi := &file_capabilities_networking_http_v1alpha_client_proto_msgTypes[4] + mi := &file_capabilities_networking_http_v1alpha_client_proto_msgTypes[3] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -314,7 +253,7 @@ func (x *Response) ProtoReflect() protoreflect.Message { // Deprecated: Use Response.ProtoReflect.Descriptor instead. func (*Response) Descriptor() ([]byte, []int) { - return file_capabilities_networking_http_v1alpha_client_proto_rawDescGZIP(), []int{4} + return file_capabilities_networking_http_v1alpha_client_proto_rawDescGZIP(), []int{3} } func (x *Response) GetStatusCode() uint32 { @@ -355,11 +294,7 @@ const file_capabilities_networking_http_v1alpha_client_proto_rawDesc = "" + "\x05store\x18\x01 \x01(\bR\x05store\x122\n" + "\amax_age\x18\x02 \x01(\v2\x19.google.protobuf.DurationR\x06maxAge\"&\n" + "\fHeaderValues\x12\x16\n" + - "\x06values\x18\x01 \x03(\tR\x06values\"M\n" + - "\bMtlsAuth\x12\x1f\n" + - "\vprivate_key\x18\x01 \x01(\fR\n" + - "privateKey\x12 \n" + - "\vcertificate\x18\x02 \x01(\fR\vcertificate\"\x9b\x05\n" + + "\x06values\x18\x01 \x03(\tR\x06values\"\xc9\x04\n" + "\aRequest\x12\x10\n" + "\x03url\x18\x01 \x01(\tR\x03url\x12\x16\n" + "\x06method\x18\x02 \x01(\tR\x06method\x12X\n" + @@ -367,15 +302,13 @@ const file_capabilities_networking_http_v1alpha_client_proto_rawDesc = "" + "\x04body\x18\x04 \x01(\fR\x04body\x123\n" + "\atimeout\x18\x05 \x01(\v2\x19.google.protobuf.DurationR\atimeout\x12Z\n" + "\x0ecache_settings\x18\x06 \x01(\v23.capabilities.networking.http.v1alpha.CacheSettingsR\rcacheSettings\x12d\n" + - "\rmulti_headers\x18\a \x03(\v2?.capabilities.networking.http.v1alpha.Request.MultiHeadersEntryR\fmultiHeaders\x12G\n" + - "\x04mtls\x18\b \x01(\v2..capabilities.networking.http.v1alpha.MtlsAuthH\x00R\x04mtls\x88\x01\x01\x1a:\n" + + "\rmulti_headers\x18\a \x03(\v2?.capabilities.networking.http.v1alpha.Request.MultiHeadersEntryR\fmultiHeaders\x1a:\n" + "\fHeadersEntry\x12\x10\n" + "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" + "\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\x1as\n" + "\x11MultiHeadersEntry\x12\x10\n" + "\x03key\x18\x01 \x01(\tR\x03key\x12H\n" + - "\x05value\x18\x02 \x01(\v22.capabilities.networking.http.v1alpha.HeaderValuesR\x05value:\x028\x01B\a\n" + - "\x05_mtls\"\xb2\x03\n" + + "\x05value\x18\x02 \x01(\v22.capabilities.networking.http.v1alpha.HeaderValuesR\x05value:\x028\x01\"\xb2\x03\n" + "\bResponse\x12\x1f\n" + "\vstatus_code\x18\x01 \x01(\rR\n" + "statusCode\x12Y\n" + @@ -403,37 +336,35 @@ func file_capabilities_networking_http_v1alpha_client_proto_rawDescGZIP() []byte return file_capabilities_networking_http_v1alpha_client_proto_rawDescData } -var file_capabilities_networking_http_v1alpha_client_proto_msgTypes = make([]protoimpl.MessageInfo, 9) +var file_capabilities_networking_http_v1alpha_client_proto_msgTypes = make([]protoimpl.MessageInfo, 8) var file_capabilities_networking_http_v1alpha_client_proto_goTypes = []any{ (*CacheSettings)(nil), // 0: capabilities.networking.http.v1alpha.CacheSettings (*HeaderValues)(nil), // 1: capabilities.networking.http.v1alpha.HeaderValues - (*MtlsAuth)(nil), // 2: capabilities.networking.http.v1alpha.MtlsAuth - (*Request)(nil), // 3: capabilities.networking.http.v1alpha.Request - (*Response)(nil), // 4: capabilities.networking.http.v1alpha.Response - nil, // 5: capabilities.networking.http.v1alpha.Request.HeadersEntry - nil, // 6: capabilities.networking.http.v1alpha.Request.MultiHeadersEntry - nil, // 7: capabilities.networking.http.v1alpha.Response.HeadersEntry - nil, // 8: capabilities.networking.http.v1alpha.Response.MultiHeadersEntry - (*durationpb.Duration)(nil), // 9: google.protobuf.Duration + (*Request)(nil), // 2: capabilities.networking.http.v1alpha.Request + (*Response)(nil), // 3: capabilities.networking.http.v1alpha.Response + nil, // 4: capabilities.networking.http.v1alpha.Request.HeadersEntry + nil, // 5: capabilities.networking.http.v1alpha.Request.MultiHeadersEntry + nil, // 6: capabilities.networking.http.v1alpha.Response.HeadersEntry + nil, // 7: capabilities.networking.http.v1alpha.Response.MultiHeadersEntry + (*durationpb.Duration)(nil), // 8: google.protobuf.Duration } var file_capabilities_networking_http_v1alpha_client_proto_depIdxs = []int32{ - 9, // 0: capabilities.networking.http.v1alpha.CacheSettings.max_age:type_name -> google.protobuf.Duration - 5, // 1: capabilities.networking.http.v1alpha.Request.headers:type_name -> capabilities.networking.http.v1alpha.Request.HeadersEntry - 9, // 2: capabilities.networking.http.v1alpha.Request.timeout:type_name -> google.protobuf.Duration + 8, // 0: capabilities.networking.http.v1alpha.CacheSettings.max_age:type_name -> google.protobuf.Duration + 4, // 1: capabilities.networking.http.v1alpha.Request.headers:type_name -> capabilities.networking.http.v1alpha.Request.HeadersEntry + 8, // 2: capabilities.networking.http.v1alpha.Request.timeout:type_name -> google.protobuf.Duration 0, // 3: capabilities.networking.http.v1alpha.Request.cache_settings:type_name -> capabilities.networking.http.v1alpha.CacheSettings - 6, // 4: capabilities.networking.http.v1alpha.Request.multi_headers:type_name -> capabilities.networking.http.v1alpha.Request.MultiHeadersEntry - 2, // 5: capabilities.networking.http.v1alpha.Request.mtls:type_name -> capabilities.networking.http.v1alpha.MtlsAuth - 7, // 6: capabilities.networking.http.v1alpha.Response.headers:type_name -> capabilities.networking.http.v1alpha.Response.HeadersEntry - 8, // 7: capabilities.networking.http.v1alpha.Response.multi_headers:type_name -> capabilities.networking.http.v1alpha.Response.MultiHeadersEntry - 1, // 8: capabilities.networking.http.v1alpha.Request.MultiHeadersEntry.value:type_name -> capabilities.networking.http.v1alpha.HeaderValues - 1, // 9: capabilities.networking.http.v1alpha.Response.MultiHeadersEntry.value:type_name -> capabilities.networking.http.v1alpha.HeaderValues - 3, // 10: capabilities.networking.http.v1alpha.Client.SendRequest:input_type -> capabilities.networking.http.v1alpha.Request - 4, // 11: capabilities.networking.http.v1alpha.Client.SendRequest:output_type -> capabilities.networking.http.v1alpha.Response - 11, // [11:12] is the sub-list for method output_type - 10, // [10:11] is the sub-list for method input_type - 10, // [10:10] is the sub-list for extension type_name - 10, // [10:10] is the sub-list for extension extendee - 0, // [0:10] is the sub-list for field type_name + 5, // 4: capabilities.networking.http.v1alpha.Request.multi_headers:type_name -> capabilities.networking.http.v1alpha.Request.MultiHeadersEntry + 6, // 5: capabilities.networking.http.v1alpha.Response.headers:type_name -> capabilities.networking.http.v1alpha.Response.HeadersEntry + 7, // 6: capabilities.networking.http.v1alpha.Response.multi_headers:type_name -> capabilities.networking.http.v1alpha.Response.MultiHeadersEntry + 1, // 7: capabilities.networking.http.v1alpha.Request.MultiHeadersEntry.value:type_name -> capabilities.networking.http.v1alpha.HeaderValues + 1, // 8: capabilities.networking.http.v1alpha.Response.MultiHeadersEntry.value:type_name -> capabilities.networking.http.v1alpha.HeaderValues + 2, // 9: capabilities.networking.http.v1alpha.Client.SendRequest:input_type -> capabilities.networking.http.v1alpha.Request + 3, // 10: capabilities.networking.http.v1alpha.Client.SendRequest:output_type -> capabilities.networking.http.v1alpha.Response + 10, // [10:11] is the sub-list for method output_type + 9, // [9:10] is the sub-list for method input_type + 9, // [9:9] is the sub-list for extension type_name + 9, // [9:9] is the sub-list for extension extendee + 0, // [0:9] is the sub-list for field type_name } func init() { file_capabilities_networking_http_v1alpha_client_proto_init() } @@ -441,14 +372,13 @@ func file_capabilities_networking_http_v1alpha_client_proto_init() { if File_capabilities_networking_http_v1alpha_client_proto != nil { return } - file_capabilities_networking_http_v1alpha_client_proto_msgTypes[3].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: unsafe.Slice(unsafe.StringData(file_capabilities_networking_http_v1alpha_client_proto_rawDesc), len(file_capabilities_networking_http_v1alpha_client_proto_rawDesc)), NumEnums: 0, - NumMessages: 9, + NumMessages: 8, NumExtensions: 0, NumServices: 1, }, diff --git a/capabilities/networking/http/client_sdk_test.go b/capabilities/networking/http/client_sdk_test.go index 8514cf07..4190b314 100644 --- a/capabilities/networking/http/client_sdk_test.go +++ b/capabilities/networking/http/client_sdk_test.go @@ -25,14 +25,7 @@ var anyResponse = &http.Response{ } var anyContext = []byte{4, 5, 6} -var anyReportBody = []byte(`{"data": "example"}`) -var anyReport = func() []byte { - metadata := make([]byte, cre.ReportMetadataHeaderLength) - for i := range cre.ReportMetadataHeaderLength { - metadata[i] = byte(i % 256) - } - return append(metadata, anyReportBody...) -}() +var anyReport = `prepended metadata: {"data": "example"}` var anySigs = []*sdk.AttributedSignature{ { Signature: []byte{7, 8, 9}, @@ -47,7 +40,7 @@ var anyReportResponse = &sdk.ReportResponse{ ConfigDigest: []byte{1, 2, 3}, SeqNr: 112, ReportContext: anyContext, - RawReport: anyReport, + RawReport: []byte(anyReport), Sigs: anySigs, } diff --git a/capabilities/networking/http/go.mod b/capabilities/networking/http/go.mod index 3ff77558..6b01e1f0 100644 --- a/capabilities/networking/http/go.mod +++ b/capabilities/networking/http/go.mod @@ -3,8 +3,8 @@ module github.com/smartcontractkit/cre-sdk-go/capabilities/networking/http go 1.25.3 require ( - github.com/smartcontractkit/chainlink-protos/cre/go v0.0.0-20260615191028-c2b8c77fd0d6 - github.com/smartcontractkit/cre-sdk-go v1.12.1-0.20260616122152-41e074085729 + github.com/smartcontractkit/chainlink-protos/cre/go v0.0.0-20260611014504-5f00275cf10d + github.com/smartcontractkit/cre-sdk-go v1.12.1-0.20260611161230-05e667f70291 github.com/stretchr/testify v1.11.1 google.golang.org/protobuf v1.36.11 ) diff --git a/capabilities/networking/http/go.sum b/capabilities/networking/http/go.sum index 8479e44a..109ee24c 100644 --- a/capabilities/networking/http/go.sum +++ b/capabilities/networking/http/go.sum @@ -24,10 +24,10 @@ github.com/rogpeppe/go-internal v1.14.1 h1:UQB4HGPB6osV0SQTLymcB4TgvyWu6ZyliaW0t github.com/rogpeppe/go-internal v1.14.1/go.mod h1:MaRKkUm5W0goXpeCfT7UZI6fk/L7L7so1lCWt35ZSgc= github.com/shopspring/decimal v1.4.0 h1:bxl37RwXBklmTi0C79JfXCEBD1cqqHt0bbgBAGFp81k= github.com/shopspring/decimal v1.4.0/go.mod h1:gawqmDU56v4yIKSwfBSFip1HdCCXN8/+DMd9qYNcwME= -github.com/smartcontractkit/chainlink-protos/cre/go v0.0.0-20260615191028-c2b8c77fd0d6 h1:FpQsvpgmOpzv/GItvJ3SBm21V2OmndaBHrNuT184EyQ= -github.com/smartcontractkit/chainlink-protos/cre/go v0.0.0-20260615191028-c2b8c77fd0d6/go.mod h1:vTFHTCbLui4Vn8fTmAadfE3rdnvfrDwOmMujmW857D0= -github.com/smartcontractkit/cre-sdk-go v1.12.1-0.20260616122152-41e074085729 h1:z5iYIzSvpHCT3dkThbSAzLFJm3M1KVP8NEGiWkUp6KY= -github.com/smartcontractkit/cre-sdk-go v1.12.1-0.20260616122152-41e074085729/go.mod h1:Gj6AYO6RZ7m7XYu/l2Kxq4MFy9VeUDVtOMDGK6v0cXE= +github.com/smartcontractkit/chainlink-protos/cre/go v0.0.0-20260611014504-5f00275cf10d h1:ARqO0XoNTrrI+s0bgz2VKaquUkC/BTwoKTqmhK4TH0I= +github.com/smartcontractkit/chainlink-protos/cre/go v0.0.0-20260611014504-5f00275cf10d/go.mod h1:vTFHTCbLui4Vn8fTmAadfE3rdnvfrDwOmMujmW857D0= +github.com/smartcontractkit/cre-sdk-go v1.12.1-0.20260611161230-05e667f70291 h1:Osz7D2PfRFmCC2iiZm+0gv5u6IBHxkMj8ID0WVvC+yI= +github.com/smartcontractkit/cre-sdk-go v1.12.1-0.20260611161230-05e667f70291/go.mod h1:hPMxrdvG716J9dUH42hjvMvND7H4pvytu1YPi5+bJcQ= github.com/stretchr/testify v1.11.1 h1:7s2iGBzp5EwR7/aIZr8ao5+dra3wiQyKjjFuvgVKu7U= github.com/stretchr/testify v1.11.1/go.mod h1:wZwfW3scLgRK+23gO65QZefKpKQRnfz6sD981Nm4B6U= golang.org/x/sys v0.40.0 h1:DBZZqJ2Rkml6QMQsZywtnjnnGvHza6BTfYFWY9kjEWQ= diff --git a/capabilities/scheduler/cron/go.mod b/capabilities/scheduler/cron/go.mod index 2dedfbd7..de0cebef 100644 --- a/capabilities/scheduler/cron/go.mod +++ b/capabilities/scheduler/cron/go.mod @@ -3,8 +3,8 @@ module github.com/smartcontractkit/cre-sdk-go/capabilities/scheduler/cron go 1.25.3 require ( - github.com/smartcontractkit/chainlink-protos/cre/go v0.0.0-20260615191028-c2b8c77fd0d6 - github.com/smartcontractkit/cre-sdk-go v1.12.1-0.20260616122152-41e074085729 + github.com/smartcontractkit/chainlink-protos/cre/go v0.0.0-20260611014504-5f00275cf10d + github.com/smartcontractkit/cre-sdk-go v1.12.1-0.20260611161230-05e667f70291 google.golang.org/protobuf v1.36.11 ) diff --git a/capabilities/scheduler/cron/go.sum b/capabilities/scheduler/cron/go.sum index c9901b09..e1976498 100644 --- a/capabilities/scheduler/cron/go.sum +++ b/capabilities/scheduler/cron/go.sum @@ -18,10 +18,10 @@ github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 h1:Jamvg5psRI github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/shopspring/decimal v1.4.0 h1:bxl37RwXBklmTi0C79JfXCEBD1cqqHt0bbgBAGFp81k= github.com/shopspring/decimal v1.4.0/go.mod h1:gawqmDU56v4yIKSwfBSFip1HdCCXN8/+DMd9qYNcwME= -github.com/smartcontractkit/chainlink-protos/cre/go v0.0.0-20260615191028-c2b8c77fd0d6 h1:FpQsvpgmOpzv/GItvJ3SBm21V2OmndaBHrNuT184EyQ= -github.com/smartcontractkit/chainlink-protos/cre/go v0.0.0-20260615191028-c2b8c77fd0d6/go.mod h1:vTFHTCbLui4Vn8fTmAadfE3rdnvfrDwOmMujmW857D0= -github.com/smartcontractkit/cre-sdk-go v1.12.1-0.20260616122152-41e074085729 h1:z5iYIzSvpHCT3dkThbSAzLFJm3M1KVP8NEGiWkUp6KY= -github.com/smartcontractkit/cre-sdk-go v1.12.1-0.20260616122152-41e074085729/go.mod h1:Gj6AYO6RZ7m7XYu/l2Kxq4MFy9VeUDVtOMDGK6v0cXE= +github.com/smartcontractkit/chainlink-protos/cre/go v0.0.0-20260611014504-5f00275cf10d h1:ARqO0XoNTrrI+s0bgz2VKaquUkC/BTwoKTqmhK4TH0I= +github.com/smartcontractkit/chainlink-protos/cre/go v0.0.0-20260611014504-5f00275cf10d/go.mod h1:vTFHTCbLui4Vn8fTmAadfE3rdnvfrDwOmMujmW857D0= +github.com/smartcontractkit/cre-sdk-go v1.12.1-0.20260611161230-05e667f70291 h1:Osz7D2PfRFmCC2iiZm+0gv5u6IBHxkMj8ID0WVvC+yI= +github.com/smartcontractkit/cre-sdk-go v1.12.1-0.20260611161230-05e667f70291/go.mod h1:hPMxrdvG716J9dUH42hjvMvND7H4pvytu1YPi5+bJcQ= github.com/stretchr/testify v1.11.1 h1:7s2iGBzp5EwR7/aIZr8ao5+dra3wiQyKjjFuvgVKu7U= github.com/stretchr/testify v1.11.1/go.mod h1:wZwfW3scLgRK+23gO65QZefKpKQRnfz6sD981Nm4B6U= golang.org/x/sys v0.40.0 h1:DBZZqJ2Rkml6QMQsZywtnjnnGvHza6BTfYFWY9kjEWQ= diff --git a/go.mod b/go.mod index 373646ac..4dc8e4b6 100644 --- a/go.mod +++ b/go.mod @@ -5,7 +5,7 @@ go 1.25.3 require ( github.com/ethereum/go-ethereum v1.17.2 github.com/shopspring/decimal v1.4.0 - github.com/smartcontractkit/chainlink-protos/cre/go v0.0.0-20260615191028-c2b8c77fd0d6 + github.com/smartcontractkit/chainlink-protos/cre/go v0.0.0-20260611014504-5f00275cf10d github.com/stretchr/testify v1.11.1 google.golang.org/protobuf v1.36.11 ) diff --git a/go.sum b/go.sum index f5f0c5e1..dfdad979 100644 --- a/go.sum +++ b/go.sum @@ -27,8 +27,8 @@ github.com/rogpeppe/go-internal v1.14.1 h1:UQB4HGPB6osV0SQTLymcB4TgvyWu6ZyliaW0t github.com/rogpeppe/go-internal v1.14.1/go.mod h1:MaRKkUm5W0goXpeCfT7UZI6fk/L7L7so1lCWt35ZSgc= github.com/shopspring/decimal v1.4.0 h1:bxl37RwXBklmTi0C79JfXCEBD1cqqHt0bbgBAGFp81k= github.com/shopspring/decimal v1.4.0/go.mod h1:gawqmDU56v4yIKSwfBSFip1HdCCXN8/+DMd9qYNcwME= -github.com/smartcontractkit/chainlink-protos/cre/go v0.0.0-20260615191028-c2b8c77fd0d6 h1:FpQsvpgmOpzv/GItvJ3SBm21V2OmndaBHrNuT184EyQ= -github.com/smartcontractkit/chainlink-protos/cre/go v0.0.0-20260615191028-c2b8c77fd0d6/go.mod h1:vTFHTCbLui4Vn8fTmAadfE3rdnvfrDwOmMujmW857D0= +github.com/smartcontractkit/chainlink-protos/cre/go v0.0.0-20260611014504-5f00275cf10d h1:ARqO0XoNTrrI+s0bgz2VKaquUkC/BTwoKTqmhK4TH0I= +github.com/smartcontractkit/chainlink-protos/cre/go v0.0.0-20260611014504-5f00275cf10d/go.mod h1:vTFHTCbLui4Vn8fTmAadfE3rdnvfrDwOmMujmW857D0= github.com/stretchr/testify v1.11.1 h1:7s2iGBzp5EwR7/aIZr8ao5+dra3wiQyKjjFuvgVKu7U= github.com/stretchr/testify v1.11.1/go.mod h1:wZwfW3scLgRK+23gO65QZefKpKQRnfz6sD981Nm4B6U= golang.org/x/sys v0.40.0 h1:DBZZqJ2Rkml6QMQsZywtnjnnGvHza6BTfYFWY9kjEWQ=