From 8c5cb181353a22b39993821d50f8a39a48b38ae6 Mon Sep 17 00:00:00 2001 From: Andrii Slisarchuk Date: Thu, 14 Mar 2024 07:12:53 +0200 Subject: [PATCH 1/2] Added SubscribeTransactionStatuses --- adapters/access.go | 4 ++++ go.mod | 2 ++ go.sum | 4 ++-- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/adapters/access.go b/adapters/access.go index 808d6402..275e85bc 100644 --- a/adapters/access.go +++ b/adapters/access.go @@ -537,6 +537,10 @@ func (a *AccessAdapter) SubscribeBlockDigestsFromLatest(_ context.Context, _ flo return nil } +func (a *AccessAdapter) SubscribeTransactionStatuses(_ context.Context, _ *flowgo.TransactionBody) subscription.Subscription { + return nil +} + func ConvertCCFEventsToJsonEvents(events []flowgo.Event) ([]flowgo.Event, error) { converted := make([]flowgo.Event, 0, len(events)) diff --git a/go.mod b/go.mod index d6056d5b..7144f56b 100644 --- a/go.mod +++ b/go.mod @@ -207,3 +207,5 @@ require ( nhooyr.io/websocket v1.8.7 // indirect rsc.io/tmplfunc v0.0.3 // indirect ) + +replace github.com/onflow/flow-go v0.33.2-0.20240313182108-0bb799709506 => github.com/Guitarheroua/flow-go v0.0.0-20240313194452-c74a3b6a40a7 diff --git a/go.sum b/go.sum index 113cce15..f47a3630 100644 --- a/go.sum +++ b/go.sum @@ -72,6 +72,8 @@ github.com/CloudyKit/fastprinter v0.0.0-20200109182630-33d98a066a53/go.mod h1:+3 github.com/CloudyKit/jet/v3 v3.0.0/go.mod h1:HKQPgSJmdK8hdoAbKUUWajkHyHo4RaU5rMdUywE7VMo= github.com/DataDog/zstd v1.5.2 h1:vUG4lAyuPCXO0TLbXvPv7EB7cNK1QV/luu55UHLrrn8= github.com/DataDog/zstd v1.5.2/go.mod h1:g4AWEaM3yOg3HYfnJ3YIawPnVdXJh9QME85blwSAmyw= +github.com/Guitarheroua/flow-go v0.0.0-20240313194452-c74a3b6a40a7 h1:pFSQsI6AejcQeVrlQc+bDtjO7psItNBJYZF3O0iO3Sw= +github.com/Guitarheroua/flow-go v0.0.0-20240313194452-c74a3b6a40a7/go.mod h1:IwdMip6NAVpmpxNqBawp8FwsZtIRXUbkzDK/NPGauuw= github.com/Joker/hpp v1.0.0/go.mod h1:8x5n+M1Hp5hC0g8okX3sR3vFQwynaX/UgSOM9MeBKzY= github.com/Knetic/govaluate v3.0.1-0.20171022003610-9aa49832a739+incompatible/go.mod h1:r7JcOSlj0wfOMncg0iLm8Leh48TZaKVeNIfJntJ2wa0= github.com/Microsoft/go-winio v0.6.1 h1:9/kr64B9VUZrLm5YYwbGtUJnMgqWVOdUAXu6Migciow= @@ -826,8 +828,6 @@ github.com/onflow/flow-core-contracts/lib/go/templates v0.15.1 h1:EjWjbyVEA+bMxX github.com/onflow/flow-core-contracts/lib/go/templates v0.15.1/go.mod h1:c09d6sNyF/j5/pAynK7sNPb1XKqJqk1rxZPEqEL+dUo= github.com/onflow/flow-ft/lib/go/contracts v0.7.1-0.20230711213910-baad011d2b13 h1:B4ll7e3j+MqTJv2122Enq3RtDNzmIGRu9xjV7fo7un0= github.com/onflow/flow-ft/lib/go/contracts v0.7.1-0.20230711213910-baad011d2b13/go.mod h1:kTMFIySzEJJeupk+7EmXs0EJ6CBWY/MV9fv9iYQk+RU= -github.com/onflow/flow-go v0.33.2-0.20240313182108-0bb799709506 h1:8K5FUudDowiIoQ6gw88V6N9NIiC3GbzxqwAXZDq0un8= -github.com/onflow/flow-go v0.33.2-0.20240313182108-0bb799709506/go.mod h1:IwdMip6NAVpmpxNqBawp8FwsZtIRXUbkzDK/NPGauuw= github.com/onflow/flow-go-sdk v0.24.0/go.mod h1:IoptMLPyFXWvyd9yYA6/4EmSeeozl6nJoIv4FaEMg74= github.com/onflow/flow-go-sdk v0.46.0 h1:mrIQziCDe6Oi5HH/aPFvYluh1XUwO6lYpoXLWrBZc2s= github.com/onflow/flow-go-sdk v0.46.0/go.mod h1:azVWF0yHI8wT1erF0vuYGqQZybl6Frbc+0Zu3rIPeHc= From 03755cb739e5e1e92d10f5f13ce1997583632517 Mon Sep 17 00:00:00 2001 From: Andrii Slisarchuk Date: Thu, 21 Mar 2024 16:11:15 +0200 Subject: [PATCH 2/2] Changed flow-go version --- go.mod | 2 +- go.sum | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index 7144f56b..752810b1 100644 --- a/go.mod +++ b/go.mod @@ -208,4 +208,4 @@ require ( rsc.io/tmplfunc v0.0.3 // indirect ) -replace github.com/onflow/flow-go v0.33.2-0.20240313182108-0bb799709506 => github.com/Guitarheroua/flow-go v0.0.0-20240313194452-c74a3b6a40a7 +replace github.com/onflow/flow-go v0.33.2-0.20240313182108-0bb799709506 => github.com/Guitarheroua/flow-go v0.33.2-0.20240321090914-a2eb6f7d3549 diff --git a/go.sum b/go.sum index f47a3630..74de5d14 100644 --- a/go.sum +++ b/go.sum @@ -72,8 +72,8 @@ github.com/CloudyKit/fastprinter v0.0.0-20200109182630-33d98a066a53/go.mod h1:+3 github.com/CloudyKit/jet/v3 v3.0.0/go.mod h1:HKQPgSJmdK8hdoAbKUUWajkHyHo4RaU5rMdUywE7VMo= github.com/DataDog/zstd v1.5.2 h1:vUG4lAyuPCXO0TLbXvPv7EB7cNK1QV/luu55UHLrrn8= github.com/DataDog/zstd v1.5.2/go.mod h1:g4AWEaM3yOg3HYfnJ3YIawPnVdXJh9QME85blwSAmyw= -github.com/Guitarheroua/flow-go v0.0.0-20240313194452-c74a3b6a40a7 h1:pFSQsI6AejcQeVrlQc+bDtjO7psItNBJYZF3O0iO3Sw= -github.com/Guitarheroua/flow-go v0.0.0-20240313194452-c74a3b6a40a7/go.mod h1:IwdMip6NAVpmpxNqBawp8FwsZtIRXUbkzDK/NPGauuw= +github.com/Guitarheroua/flow-go v0.33.2-0.20240321090914-a2eb6f7d3549 h1:r6qNl/yRxE8l3iUzznkt4fPbgeWxjTAvR8n6kT6ypVI= +github.com/Guitarheroua/flow-go v0.33.2-0.20240321090914-a2eb6f7d3549/go.mod h1:IwdMip6NAVpmpxNqBawp8FwsZtIRXUbkzDK/NPGauuw= github.com/Joker/hpp v1.0.0/go.mod h1:8x5n+M1Hp5hC0g8okX3sR3vFQwynaX/UgSOM9MeBKzY= github.com/Knetic/govaluate v3.0.1-0.20171022003610-9aa49832a739+incompatible/go.mod h1:r7JcOSlj0wfOMncg0iLm8Leh48TZaKVeNIfJntJ2wa0= github.com/Microsoft/go-winio v0.6.1 h1:9/kr64B9VUZrLm5YYwbGtUJnMgqWVOdUAXu6Migciow=