Skip to content

Commit 0273f8f

Browse files
authored
Merge pull request #484 from Guitarheroua/guitarheroua/4506-cff-encoding-optional
2 parents cb57f00 + e25f1bd commit 0273f8f

File tree

7 files changed

+104
-79
lines changed

7 files changed

+104
-79
lines changed

adapters/access.go

+51-28
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ package adapters
2121
import (
2222
"context"
2323
"fmt"
24+
"github.com/onflow/flow/protobuf/go/flow/entities"
2425

2526
jsoncdc "github.com/onflow/cadence/encoding/json"
2627
"github.com/onflow/flow-emulator/emulator"
@@ -188,6 +189,7 @@ func (a *AccessAdapter) GetTransactionResult(
188189
id flowgo.Identifier,
189190
_ flowgo.Identifier,
190191
_ flowgo.Identifier,
192+
requiredEventEncodingVersion entities.EventEncodingVersion,
191193
) (
192194
*access.TransactionResult,
193195
error,
@@ -197,11 +199,13 @@ func (a *AccessAdapter) GetTransactionResult(
197199
return nil, convertError(err)
198200
}
199201

200-
result.Events, err = ConvertCCFEventsToJsonEvents(result.Events)
201-
if err != nil {
202-
return nil, convertError(err)
202+
// Convert CCF events to JSON events, else return CCF encoded version
203+
if requiredEventEncodingVersion == entities.EventEncodingVersion_JSON_CDC_V0 {
204+
result.Events, err = ConvertCCFEventsToJsonEvents(result.Events)
205+
if err != nil {
206+
return nil, convertError(err)
207+
}
203208
}
204-
205209
a.logger.Debug().
206210
Str("txID", id.String()).
207211
Msg("📝 GetTransactionResult called")
@@ -323,6 +327,7 @@ func (a *AccessAdapter) GetEventsForHeightRange(
323327
_ context.Context,
324328
eventType string,
325329
startHeight, endHeight uint64,
330+
requiredEventEncodingVersion entities.EventEncodingVersion,
326331
) ([]flowgo.BlockEvents, error) {
327332
events, err := a.emulator.GetEventsForHeightRange(eventType, startHeight, endHeight)
328333
if err != nil {
@@ -331,12 +336,14 @@ func (a *AccessAdapter) GetEventsForHeightRange(
331336

332337
eventCount := 0
333338

334-
// Convert CCF events to JSON events
335-
for i := range events {
336-
events[i].Events, err = ConvertCCFEventsToJsonEvents(events[i].Events)
337-
eventCount = eventCount + len(events[i].Events)
338-
if err != nil {
339-
return nil, convertError(err)
339+
// Convert CCF events to JSON events, else return CCF encoded version
340+
if requiredEventEncodingVersion == entities.EventEncodingVersion_JSON_CDC_V0 {
341+
for i := range events {
342+
events[i].Events, err = ConvertCCFEventsToJsonEvents(events[i].Events)
343+
eventCount = eventCount + len(events[i].Events)
344+
if err != nil {
345+
return nil, convertError(err)
346+
}
340347
}
341348
}
342349

@@ -354,6 +361,7 @@ func (a *AccessAdapter) GetEventsForBlockIDs(
354361
_ context.Context,
355362
eventType string,
356363
blockIDs []flowgo.Identifier,
364+
requiredEventEncodingVersion entities.EventEncodingVersion,
357365
) ([]flowgo.BlockEvents, error) {
358366
events, err := a.emulator.GetEventsForBlockIDs(eventType, blockIDs)
359367
if err != nil {
@@ -362,12 +370,14 @@ func (a *AccessAdapter) GetEventsForBlockIDs(
362370

363371
eventCount := 0
364372

365-
// Convert CCF events to JSON events
366-
for i := range events {
367-
events[i].Events, err = ConvertCCFEventsToJsonEvents(events[i].Events)
368-
eventCount = eventCount + len(events[i].Events)
369-
if err != nil {
370-
return nil, convertError(err)
373+
// Convert CCF events to JSON events, else return CCF encoded version
374+
if requiredEventEncodingVersion == entities.EventEncodingVersion_JSON_CDC_V0 {
375+
for i := range events {
376+
events[i].Events, err = ConvertCCFEventsToJsonEvents(events[i].Events)
377+
eventCount = eventCount + len(events[i].Events)
378+
if err != nil {
379+
return nil, convertError(err)
380+
}
371381
}
372382
}
373383

@@ -391,7 +401,12 @@ func (a *AccessAdapter) GetExecutionResultByID(_ context.Context, _ flowgo.Ident
391401
return nil, nil
392402
}
393403

394-
func (a *AccessAdapter) GetTransactionResultByIndex(_ context.Context, blockID flowgo.Identifier, index uint32) (*access.TransactionResult, error) {
404+
func (a *AccessAdapter) GetTransactionResultByIndex(
405+
_ context.Context,
406+
blockID flowgo.Identifier,
407+
index uint32,
408+
requiredEventEncodingVersion entities.EventEncodingVersion,
409+
) (*access.TransactionResult, error) {
395410
results, err := a.emulator.GetTransactionResultsByBlockID(blockID)
396411
if err != nil {
397412
return nil, convertError(err)
@@ -400,11 +415,13 @@ func (a *AccessAdapter) GetTransactionResultByIndex(_ context.Context, blockID f
400415
return nil, convertError(&types.TransactionNotFoundError{ID: flowgo.Identifier{}})
401416
}
402417

403-
// Convert CCF events to JSON events
404-
for i := range results {
405-
results[i].Events, err = ConvertCCFEventsToJsonEvents(results[i].Events)
406-
if err != nil {
407-
return nil, convertError(err)
418+
// Convert CCF events to JSON events, else return CCF encoded version
419+
if requiredEventEncodingVersion == entities.EventEncodingVersion_JSON_CDC_V0 {
420+
for i := range results {
421+
results[i].Events, err = ConvertCCFEventsToJsonEvents(results[i].Events)
422+
if err != nil {
423+
return nil, convertError(err)
424+
}
408425
}
409426
}
410427

@@ -419,17 +436,23 @@ func (a *AccessAdapter) GetTransactionsByBlockID(_ context.Context, blockID flow
419436
return result, nil
420437
}
421438

422-
func (a *AccessAdapter) GetTransactionResultsByBlockID(_ context.Context, blockID flowgo.Identifier) ([]*access.TransactionResult, error) {
439+
func (a *AccessAdapter) GetTransactionResultsByBlockID(
440+
_ context.Context,
441+
blockID flowgo.Identifier,
442+
requiredEventEncodingVersion entities.EventEncodingVersion,
443+
) ([]*access.TransactionResult, error) {
423444
result, err := a.emulator.GetTransactionResultsByBlockID(blockID)
424445
if err != nil {
425446
return nil, convertError(err)
426447
}
427448

428-
// Convert CCF events to JSON events
429-
for i := range result {
430-
result[i].Events, err = ConvertCCFEventsToJsonEvents(result[i].Events)
431-
if err != nil {
432-
return nil, convertError(err)
449+
// Convert CCF events to JSON events, else return CCF encoded version
450+
if requiredEventEncodingVersion == entities.EventEncodingVersion_JSON_CDC_V0 {
451+
for i := range result {
452+
result[i].Events, err = ConvertCCFEventsToJsonEvents(result[i].Events)
453+
if err != nil {
454+
return nil, convertError(err)
455+
}
433456
}
434457
}
435458

adapters/access_test.go

+12-10
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ import (
2323
"fmt"
2424
"testing"
2525

26+
"github.com/onflow/flow/protobuf/go/flow/entities"
27+
2628
"github.com/stretchr/testify/require"
2729

2830
"github.com/golang/mock/gomock"
@@ -341,7 +343,7 @@ func TestAccess(t *testing.T) {
341343
Return(&emuResult, nil).
342344
Times(1)
343345

344-
result, err := adapter.GetTransactionResult(context.Background(), txID, blockID, collectionID)
346+
result, err := adapter.GetTransactionResult(context.Background(), txID, blockID, collectionID, entities.EventEncodingVersion_JSON_CDC_V0)
345347
assert.Equal(t, expected, *result)
346348
assert.NoError(t, err)
347349

@@ -351,7 +353,7 @@ func TestAccess(t *testing.T) {
351353
Return(nil, fmt.Errorf("some error")).
352354
Times(1)
353355

354-
result, err = adapter.GetTransactionResult(context.Background(), txID, blockID, collectionID)
356+
result, err = adapter.GetTransactionResult(context.Background(), txID, blockID, collectionID, entities.EventEncodingVersion_JSON_CDC_V0)
355357
assert.Nil(t, result)
356358
assert.Error(t, err)
357359

@@ -562,7 +564,7 @@ func TestAccess(t *testing.T) {
562564
Return(blockEvents, nil).
563565
Times(1)
564566

565-
result, err := adapter.GetEventsForHeightRange(context.Background(), eventType, startHeight, endHeight)
567+
result, err := adapter.GetEventsForHeightRange(context.Background(), eventType, startHeight, endHeight, entities.EventEncodingVersion_JSON_CDC_V0)
566568
assert.Equal(t, expected, result)
567569
assert.NoError(t, err)
568570

@@ -572,7 +574,7 @@ func TestAccess(t *testing.T) {
572574
Return(nil, fmt.Errorf("some error")).
573575
Times(1)
574576

575-
result, err = adapter.GetEventsForHeightRange(context.Background(), eventType, startHeight, endHeight)
577+
result, err = adapter.GetEventsForHeightRange(context.Background(), eventType, startHeight, endHeight, entities.EventEncodingVersion_JSON_CDC_V0)
576578
assert.Nil(t, result)
577579
assert.Error(t, err)
578580

@@ -604,7 +606,7 @@ func TestAccess(t *testing.T) {
604606
Return(blockEvents, nil).
605607
Times(1)
606608

607-
result, err := adapter.GetEventsForBlockIDs(context.Background(), eventType, blockIDs)
609+
result, err := adapter.GetEventsForBlockIDs(context.Background(), eventType, blockIDs, entities.EventEncodingVersion_JSON_CDC_V0)
608610
assert.Equal(t, expected, result)
609611
assert.NoError(t, err)
610612

@@ -614,7 +616,7 @@ func TestAccess(t *testing.T) {
614616
Return(nil, fmt.Errorf("some error")).
615617
Times(1)
616618

617-
result, err = adapter.GetEventsForBlockIDs(context.Background(), eventType, blockIDs)
619+
result, err = adapter.GetEventsForBlockIDs(context.Background(), eventType, blockIDs, entities.EventEncodingVersion_JSON_CDC_V0)
618620
assert.Nil(t, result)
619621
assert.Error(t, err)
620622

@@ -643,7 +645,7 @@ func TestAccess(t *testing.T) {
643645
Return(results, nil).
644646
Times(1)
645647

646-
result, err := adapter.GetTransactionResultByIndex(context.Background(), blockID, index)
648+
result, err := adapter.GetTransactionResultByIndex(context.Background(), blockID, index, entities.EventEncodingVersion_JSON_CDC_V0)
647649
assert.Equal(t, convertedTXResult, result)
648650
assert.NoError(t, err)
649651

@@ -653,7 +655,7 @@ func TestAccess(t *testing.T) {
653655
Return(nil, fmt.Errorf("some error")).
654656
Times(1)
655657

656-
result, err = adapter.GetTransactionResultByIndex(context.Background(), blockID, index)
658+
result, err = adapter.GetTransactionResultByIndex(context.Background(), blockID, index, entities.EventEncodingVersion_JSON_CDC_V0)
657659
assert.Nil(t, result)
658660
assert.Error(t, err)
659661

@@ -712,7 +714,7 @@ func TestAccess(t *testing.T) {
712714
Return(results, nil).
713715
Times(1)
714716

715-
result, err := adapter.GetTransactionResultsByBlockID(context.Background(), blockID)
717+
result, err := adapter.GetTransactionResultsByBlockID(context.Background(), blockID, entities.EventEncodingVersion_JSON_CDC_V0)
716718
assert.Equal(t, expected, result)
717719
assert.NoError(t, err)
718720

@@ -722,7 +724,7 @@ func TestAccess(t *testing.T) {
722724
Return(nil, fmt.Errorf("some error")).
723725
Times(1)
724726

725-
result, err = adapter.GetTransactionResultsByBlockID(context.Background(), blockID)
727+
result, err = adapter.GetTransactionResultsByBlockID(context.Background(), blockID, entities.EventEncodingVersion_JSON_CDC_V0)
726728
assert.Nil(t, result)
727729
assert.Error(t, err)
728730

go.mod

+10-7
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ require (
1212
github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0
1313
github.com/improbable-eng/grpc-web v0.15.0
1414
github.com/logrusorgru/aurora v2.0.3+incompatible
15-
github.com/onflow/cadence v0.42.0
15+
github.com/onflow/cadence v0.42.1
1616
github.com/onflow/flow-archive v1.3.4-0.20230503192214-9e81e82d4dcc
17-
github.com/onflow/flow-go v0.32.2-0.20231017202518-0b275f42906c
18-
github.com/onflow/flow-go-sdk v0.41.11
17+
github.com/onflow/flow-go v0.32.3
18+
github.com/onflow/flow-go-sdk v0.41.12
1919
github.com/onflow/flow-go/crypto v0.24.9
2020
github.com/onflow/flow-nft/lib/go/contracts v1.1.0
21-
github.com/onflow/flow/protobuf/go/flow v0.3.2-0.20231017162044-5d0f9b6dfdb2
21+
github.com/onflow/flow/protobuf/go/flow v0.3.2-0.20231018182244-e72527c55c63
2222
github.com/onflow/nft-storefront/lib/go/contracts v0.0.0-20221222181731-14b90207cead
2323
github.com/prometheus/client_golang v1.16.0
2424
github.com/psiemens/graceland v1.0.0
@@ -120,9 +120,9 @@ require (
120120
github.com/multiformats/go-multistream v0.4.1 // indirect
121121
github.com/multiformats/go-varint v0.0.7 // indirect
122122
github.com/onflow/atree v0.6.0 // indirect
123-
github.com/onflow/flow-core-contracts/lib/go/contracts v1.2.4-0.20230703193002-53362441b57d // indirect
124-
github.com/onflow/flow-core-contracts/lib/go/templates v1.2.3 // indirect
125-
github.com/onflow/flow-ft/lib/go/contracts v0.7.0 // indirect
123+
github.com/onflow/flow-core-contracts/lib/go/contracts v1.2.4-0.20231016154253-a00dbf7c061f // indirect
124+
github.com/onflow/flow-core-contracts/lib/go/templates v1.2.4-0.20231016154253-a00dbf7c061f // indirect
125+
github.com/onflow/flow-ft/lib/go/contracts v0.7.1-0.20230711213910-baad011d2b13 // indirect
126126
github.com/onflow/sdks v0.5.0 // indirect
127127
github.com/onflow/wal v0.0.0-20230529184820-bc9f8244608d // indirect
128128
github.com/opentracing/opentracing-go v1.2.0 // indirect
@@ -190,3 +190,6 @@ require (
190190
modernc.org/sqlite v1.21.1 // indirect
191191
nhooyr.io/websocket v1.8.7 // indirect
192192
)
193+
194+
//TODO: Remove when both version will be merged
195+
replace github.com/onflow/flow-go v0.32.3 => github.com/Guitarheroua/flow-go v0.0.0-20231024184136-247768e776f7

go.sum

+15-15
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,8 @@ github.com/CloudyKit/fastprinter v0.0.0-20170127035650-74b38d55f37a/go.mod h1:EF
7272
github.com/CloudyKit/jet v2.1.3-0.20180809161101-62edd43e4f88+incompatible/go.mod h1:HPYO+50pSWkPoj9Q/eq0aRGByCL6ScRlUmiEX5Zgm+w=
7373
github.com/DataDog/zstd v1.4.5 h1:EndNeuB0l9syBZhut0wns3gV1hL8zX8LIu6ZiVHWLIQ=
7474
github.com/DataDog/zstd v1.4.5/go.mod h1:1jcaCB/ufaK+sKp1NBhlGmpz41jOoPQ35bpF36t7BBo=
75+
github.com/Guitarheroua/flow-go v0.0.0-20231024184136-247768e776f7 h1:rptpyuz0/h3Izuo4sDevpJH8MnvjOeXAqW9KNGOdPJQ=
76+
github.com/Guitarheroua/flow-go v0.0.0-20231024184136-247768e776f7/go.mod h1:8D+qwwEwS6X4/hl7hanIX3sK4StBi+/75pAnqEctvB0=
7577
github.com/Joker/hpp v1.0.0/go.mod h1:8x5n+M1Hp5hC0g8okX3sR3vFQwynaX/UgSOM9MeBKzY=
7678
github.com/Joker/jade v1.0.1-0.20190614124447-d475f43051e7/go.mod h1:6E6s8o2AE4KhCrqr6GRJjdC/gNfTdxkIXvuGZZda2VM=
7779
github.com/Knetic/govaluate v3.0.1-0.20171022003610-9aa49832a739+incompatible/go.mod h1:r7JcOSlj0wfOMncg0iLm8Leh48TZaKVeNIfJntJ2wa0=
@@ -284,7 +286,6 @@ github.com/fxamacker/circlehash v0.3.0/go.mod h1:3aq3OfVvsWtkWMb6A1owjOQFA+TLsD5
284286
github.com/gabriel-vasile/mimetype v1.4.2 h1:w5qFW6JKBz9Y393Y4q372O9A7cUSequkh1Q7OhCmWKU=
285287
github.com/gammazero/deque v0.1.0 h1:f9LnNmq66VDeuAlSAapemq/U7hJ2jpIWa4c09q8Dlik=
286288
github.com/gammazero/deque v0.1.0/go.mod h1:KQw7vFau1hHuM8xmI9RbgKFbAsQFWmBpqQ2KenFLk6M=
287-
github.com/gammazero/workerpool v1.1.2 h1:vuioDQbgrz4HoaCi2q1HLlOXdpbap5AET7xu5/qj87g=
288289
github.com/gavv/httpexpect v2.0.0+incompatible/go.mod h1:x+9tiU1YnrOvnB725RkpoLv1M62hOWzwo5OXotisrKc=
289290
github.com/gballet/go-libpcsclite v0.0.0-20190607065134-2772fd86a8ff/go.mod h1:x7DCsMOv1taUwEWCzT4cmDeAkigA5/QCwUodaVOe8Ww=
290291
github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04=
@@ -792,29 +793,27 @@ github.com/onflow/atree v0.1.0-beta1.0.20211027184039-559ee654ece9/go.mod h1:+6x
792793
github.com/onflow/atree v0.6.0 h1:j7nQ2r8npznx4NX39zPpBYHmdy45f4xwoi+dm37Jk7c=
793794
github.com/onflow/atree v0.6.0/go.mod h1:gBHU0M05qCbv9NN0kijLWMgC47gHVNBIp4KmsVFi0tc=
794795
github.com/onflow/cadence v0.20.1/go.mod h1:7mzUvPZUIJztIbr9eTvs+fQjWWHTF8veC+yk4ihcNIA=
795-
github.com/onflow/cadence v0.42.0 h1:XatyCy1pZu10x+JouRU6cZ9A50dF3uM+ubqYUER1/Vk=
796-
github.com/onflow/cadence v0.42.0/go.mod h1:raU8va8QRyTa/eUbhej4mbyW2ETePfSaywoo36MddgE=
796+
github.com/onflow/cadence v0.42.1 h1:Til0aa+TX2o9CM/0OFUPEssP0BoZBfpFRa4qefRgr0E=
797+
github.com/onflow/cadence v0.42.1/go.mod h1:raU8va8QRyTa/eUbhej4mbyW2ETePfSaywoo36MddgE=
797798
github.com/onflow/flow-archive v1.3.4-0.20230503192214-9e81e82d4dcc h1:C4ZniFeOv+pHlDLJdGc/4e3NklSjVuvaXKN47980gnY=
798799
github.com/onflow/flow-archive v1.3.4-0.20230503192214-9e81e82d4dcc/go.mod h1:UPsvKk/37Atosif4wlBl3gsLbGJyGpdXYpXDsWtMVBE=
799-
github.com/onflow/flow-core-contracts/lib/go/contracts v1.2.4-0.20230703193002-53362441b57d h1:B7PdhdUNkve5MVrekWDuQf84XsGBxNZ/D3x+QQ8XeVs=
800-
github.com/onflow/flow-core-contracts/lib/go/contracts v1.2.4-0.20230703193002-53362441b57d/go.mod h1:xAiV/7TKhw863r6iO3CS5RnQ4F+pBY1TxD272BsILlo=
801-
github.com/onflow/flow-core-contracts/lib/go/templates v1.2.3 h1:X25A1dNajNUtE+KoV76wQ6BR6qI7G65vuuRXxDDqX7E=
802-
github.com/onflow/flow-core-contracts/lib/go/templates v1.2.3/go.mod h1:dqAUVWwg+NlOhsuBHex7bEWmsUjsiExzhe/+t4xNH6A=
803-
github.com/onflow/flow-ft/lib/go/contracts v0.7.0 h1:XEKE6qJUw3luhsYmIOteXP53gtxNxrwTohgxJXCYqBE=
804-
github.com/onflow/flow-ft/lib/go/contracts v0.7.0/go.mod h1:kTMFIySzEJJeupk+7EmXs0EJ6CBWY/MV9fv9iYQk+RU=
805-
github.com/onflow/flow-go v0.32.2-0.20231017202518-0b275f42906c h1:QJGwyt9t6TbRbIAO7+wl7t2OUOfhaaB/9PC9RCxW5lc=
806-
github.com/onflow/flow-go v0.32.2-0.20231017202518-0b275f42906c/go.mod h1:Jv1NHZrnluiB/eb7GXaZAY3ZBoJOuQ1ClTLG9VyPJRE=
800+
github.com/onflow/flow-core-contracts/lib/go/contracts v1.2.4-0.20231016154253-a00dbf7c061f h1:S8yIZw9LFXfYD1V5H9BiixihHw3GrXVPrmfplSzYaww=
801+
github.com/onflow/flow-core-contracts/lib/go/contracts v1.2.4-0.20231016154253-a00dbf7c061f/go.mod h1:jM6GMAL+m0hjusUgiYDNrixPQ6b9s8xjoJQoEu5bHQI=
802+
github.com/onflow/flow-core-contracts/lib/go/templates v1.2.4-0.20231016154253-a00dbf7c061f h1:Ep+Mpo2miWMe4pjPGIaEvEzshRep30dvNgxqk+//FrQ=
803+
github.com/onflow/flow-core-contracts/lib/go/templates v1.2.4-0.20231016154253-a00dbf7c061f/go.mod h1:ZeLxwaBkzuSInESGjL8/IPZWezF+YOYsYbMrZlhN+q4=
804+
github.com/onflow/flow-ft/lib/go/contracts v0.7.1-0.20230711213910-baad011d2b13 h1:B4ll7e3j+MqTJv2122Enq3RtDNzmIGRu9xjV7fo7un0=
805+
github.com/onflow/flow-ft/lib/go/contracts v0.7.1-0.20230711213910-baad011d2b13/go.mod h1:kTMFIySzEJJeupk+7EmXs0EJ6CBWY/MV9fv9iYQk+RU=
807806
github.com/onflow/flow-go-sdk v0.24.0/go.mod h1:IoptMLPyFXWvyd9yYA6/4EmSeeozl6nJoIv4FaEMg74=
808-
github.com/onflow/flow-go-sdk v0.41.11 h1:x1nS91Tn0M4BZbZNSCMU7Vjgx9yjBJfjWWAIOihxDVk=
809-
github.com/onflow/flow-go-sdk v0.41.11/go.mod h1:M6wvgjcpfnmaqM+3IgaVgbHWRCmns3sbg3KfYj4+5MM=
807+
github.com/onflow/flow-go-sdk v0.41.12 h1:SrdHxpjqUHSjwToCTtcuvquSmjW9AA/QuwY9aex9f8c=
808+
github.com/onflow/flow-go-sdk v0.41.12/go.mod h1:WJh4pkajUdLdcwqXqwhd0eLm4wz0cvw1vTgHZo4//NE=
810809
github.com/onflow/flow-go/crypto v0.21.3/go.mod h1:vI6V4CY3R6c4JKBxdcRiR/AnjBfL8OSD97bJc60cLuQ=
811810
github.com/onflow/flow-go/crypto v0.24.9 h1:0EQp+kSZYJepMIiSypfJVe7tzsPcb6UXOdOtsTCDhBs=
812811
github.com/onflow/flow-go/crypto v0.24.9/go.mod h1:fqCzkIBBMRRkciVrvW21rECKq1oD7Q6u+bCI78lfNX0=
813812
github.com/onflow/flow-nft/lib/go/contracts v1.1.0 h1:rhUDeD27jhLwOqQKI/23008CYfnqXErrJvc4EFRP2a0=
814813
github.com/onflow/flow-nft/lib/go/contracts v1.1.0/go.mod h1:YsvzYng4htDgRB9sa9jxdwoTuuhjK8WYWXTyLkIigZY=
815814
github.com/onflow/flow/protobuf/go/flow v0.2.2/go.mod h1:gQxYqCfkI8lpnKsmIjwtN2mV/N2PIwc1I+RUK4HPIc8=
816-
github.com/onflow/flow/protobuf/go/flow v0.3.2-0.20231017162044-5d0f9b6dfdb2 h1:PvDTPiMYERXeuEPDSuF67Lm+dG9soy3tMOO6VtRcKwM=
817-
github.com/onflow/flow/protobuf/go/flow v0.3.2-0.20231017162044-5d0f9b6dfdb2/go.mod h1:NA2pX2nw8zuaxfKphhKsk00kWLwfd+tv8mS23YXO4Sk=
815+
github.com/onflow/flow/protobuf/go/flow v0.3.2-0.20231018182244-e72527c55c63 h1:SX8OhYbyKBExhy4qEDR/Hw6MVTBTzlDb8LfCHfFyte4=
816+
github.com/onflow/flow/protobuf/go/flow v0.3.2-0.20231018182244-e72527c55c63/go.mod h1:NA2pX2nw8zuaxfKphhKsk00kWLwfd+tv8mS23YXO4Sk=
818817
github.com/onflow/nft-storefront/lib/go/contracts v0.0.0-20221222181731-14b90207cead h1:2j1Unqs76Z1b95Gu4C3Y28hzNUHBix7wL490e61SMSw=
819818
github.com/onflow/nft-storefront/lib/go/contracts v0.0.0-20221222181731-14b90207cead/go.mod h1:E3ScfQb5XcWJCIAdtIeEnr5i5l2y60GT0BTXeIHseWg=
820819
github.com/onflow/sdks v0.5.0 h1:2HCRibwqDaQ1c9oUApnkZtEAhWiNY2GTpRD5+ftdkN8=
@@ -1571,6 +1570,7 @@ google.golang.org/genproto v0.0.0-20230711160842-782d3b101e98 h1:Z0hjGZePRE0ZBWo
15711570
google.golang.org/genproto v0.0.0-20230711160842-782d3b101e98/go.mod h1:S7mY02OqCJTD0E1OiQy1F72PWFB4bZJ87cAtLPYgDR0=
15721571
google.golang.org/genproto/googleapis/api v0.0.0-20230711160842-782d3b101e98 h1:FmF5cCW94Ij59cfpoLiwTgodWmm60eEV0CjlsVg2fuw=
15731572
google.golang.org/genproto/googleapis/api v0.0.0-20230711160842-782d3b101e98/go.mod h1:rsr7RhLuwsDKL7RmgDDCUc6yaGr1iqceVb5Wv6f6YvQ=
1573+
google.golang.org/genproto/googleapis/bytestream v0.0.0-20230530153820-e85fd2cbaebc h1:g3hIDl0jRNd9PPTs2uBzYuaD5mQuwOkZY0vSc0LR32o=
15741574
google.golang.org/genproto/googleapis/rpc v0.0.0-20230711160842-782d3b101e98 h1:bVf09lpb+OJbByTj913DRJioFFAjf/ZGxEz7MajTp2U=
15751575
google.golang.org/genproto/googleapis/rpc v0.0.0-20230711160842-782d3b101e98/go.mod h1:TUfxEVdsvPg18p6AslUXFoLdpED4oBnGwyqk3dV1XzM=
15761576
google.golang.org/grpc v1.12.0/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw=

0 commit comments

Comments
 (0)