Skip to content

Commit b5de26d

Browse files
update flow-go
1 parent 4f9b51f commit b5de26d

File tree

5 files changed

+13
-13
lines changed

5 files changed

+13
-13
lines changed

bootstrap/bootstrap.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ type EVMGatewayNodeBuilder struct {
8383
config.Config
8484
Logger zerolog.Logger
8585
componentBuilder component.ComponentManagerBuilder
86-
components []cmd.NamedComponentFunc[config.Config]
86+
components []cmd.NamedComponentFactory[config.Config]
8787
postShutdownFns []func() error
8888
modules []namedModuleFunc
8989

@@ -158,9 +158,9 @@ func (fnb *EVMGatewayNodeBuilder) initDB() error {
158158
}
159159

160160
func (fnb *EVMGatewayNodeBuilder) Component(name string, f cmd.ReadyDoneFactory[config.Config]) *EVMGatewayNodeBuilder {
161-
fnb.components = append(fnb.components, cmd.NamedComponentFunc[config.Config]{
162-
FN: f,
163-
Name: name,
161+
fnb.components = append(fnb.components, cmd.NamedComponentFactory[config.Config]{
162+
ComponentFactory: f,
163+
Name: name,
164164
})
165165
return fnb
166166
}

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ require (
88
github.com/hashicorp/go-multierror v1.1.1
99
github.com/onflow/atree v0.8.0
1010
github.com/onflow/cadence v1.2.2
11-
github.com/onflow/flow-go v0.38.0-preview.0.0.20241127200547-bacae248590d
11+
github.com/onflow/flow-go v0.38.0-preview.0.4.0.20241211211009-759daa544649
1212
github.com/onflow/flow-go-sdk v1.2.3
1313
github.com/onflow/go-ethereum v1.14.7
1414
github.com/prometheus/client_golang v1.18.0

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -743,8 +743,8 @@ github.com/onflow/flow-ft/lib/go/contracts v1.0.1 h1:Ts5ob+CoCY2EjEd0W6vdLJ7hLL3
743743
github.com/onflow/flow-ft/lib/go/contracts v1.0.1/go.mod h1:PwsL8fC81cjnUnTfmyL/HOIyHnyaw/JA474Wfj2tl6A=
744744
github.com/onflow/flow-ft/lib/go/templates v1.0.1 h1:FDYKAiGowABtoMNusLuRCILIZDtVqJ/5tYI4VkF5zfM=
745745
github.com/onflow/flow-ft/lib/go/templates v1.0.1/go.mod h1:uQ8XFqmMK2jxyBSVrmyuwdWjTEb+6zGjRYotfDJ5pAE=
746-
github.com/onflow/flow-go v0.38.0-preview.0.0.20241127200547-bacae248590d h1:HzvFJzdaRtVzJ0lXR8rvbT7maCjfX4CdZZqt/vD+7iM=
747-
github.com/onflow/flow-go v0.38.0-preview.0.0.20241127200547-bacae248590d/go.mod h1:c4ubAQ2WIMYY/TOaBvbajROEFWv2HwhKeGOsEdLPIM0=
746+
github.com/onflow/flow-go v0.38.0-preview.0.4.0.20241211211009-759daa544649 h1:9JCb0qdirFgkTOQ+iKrnX+3Q5Xh9/hFCP9yM7Ky/QKA=
747+
github.com/onflow/flow-go v0.38.0-preview.0.4.0.20241211211009-759daa544649/go.mod h1:c4ubAQ2WIMYY/TOaBvbajROEFWv2HwhKeGOsEdLPIM0=
748748
github.com/onflow/flow-go-sdk v1.2.3 h1:jb+0dIXBO12Zt8x3c2xDXYPv6k3sRTUvhe59M+EcXTI=
749749
github.com/onflow/flow-go-sdk v1.2.3/go.mod h1:jMaffBTlAIdutx+pBhRIigLZFIBYSDDST0Uax1rW2qo=
750750
github.com/onflow/flow-nft/lib/go/contracts v1.2.2 h1:XFERNVUDGbZ4ViZjt7P1cGD80mO1PzUJYPfdhXFsGbQ=

tests/go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ require (
66
github.com/goccy/go-json v0.10.2
77
github.com/onflow/cadence v1.2.2
88
github.com/onflow/crypto v0.25.2
9-
github.com/onflow/flow-emulator v1.1.1-0.20241125195348-4e121ffb12af
9+
github.com/onflow/flow-emulator v1.1.1-0.20241212150837-28eb6a46d91f
1010
github.com/onflow/flow-evm-gateway v0.0.0-20240201154855-4d4d3d3f19c7
11-
github.com/onflow/flow-go v0.38.0-preview.0.0.20241127200547-bacae248590d
11+
github.com/onflow/flow-go v0.38.0-preview.0.4.0.20241211211009-759daa544649
1212
github.com/onflow/flow-go-sdk v1.2.3
1313
github.com/onflow/go-ethereum v1.14.7
1414
github.com/rs/zerolog v1.33.0

tests/go.sum

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -906,14 +906,14 @@ github.com/onflow/flow-core-contracts/lib/go/contracts v1.4.0 h1:R86HaOuk6vpuECZ
906906
github.com/onflow/flow-core-contracts/lib/go/contracts v1.4.0/go.mod h1:9asTBnB6Tw2UlVVtQKyS/egYv3xr4zVlJnJ75z1dfac=
907907
github.com/onflow/flow-core-contracts/lib/go/templates v1.4.0 h1:u2DAG8pk0xFH7TwS70t1gSZ/FtIIZWMSNyiu4SeXBYg=
908908
github.com/onflow/flow-core-contracts/lib/go/templates v1.4.0/go.mod h1:pN768Al/wLRlf3bwugv9TyxniqJxMu4sxnX9eQJam64=
909-
github.com/onflow/flow-emulator v1.1.1-0.20241125195348-4e121ffb12af h1:VO9GygdHSeO6UpN8PHHOIXJ5vVG/1LZd2KqrH6elPL8=
910-
github.com/onflow/flow-emulator v1.1.1-0.20241125195348-4e121ffb12af/go.mod h1:8cKIt/iHkdsYmOETXe2D28UC3DvOSC/zpX6bi6DcNyE=
909+
github.com/onflow/flow-emulator v1.1.1-0.20241212150837-28eb6a46d91f h1:u102x6G1Y2TDH20ssNi4idh81ntP3EOgM7IWPrNlEnA=
910+
github.com/onflow/flow-emulator v1.1.1-0.20241212150837-28eb6a46d91f/go.mod h1:D/qlW9iRE2k1Nmhu1wGl/z5MXBOm+ysVODlIs3PLSJU=
911911
github.com/onflow/flow-ft/lib/go/contracts v1.0.1 h1:Ts5ob+CoCY2EjEd0W6vdLJ7hLL3SsEftzXG2JlmSe24=
912912
github.com/onflow/flow-ft/lib/go/contracts v1.0.1/go.mod h1:PwsL8fC81cjnUnTfmyL/HOIyHnyaw/JA474Wfj2tl6A=
913913
github.com/onflow/flow-ft/lib/go/templates v1.0.1 h1:FDYKAiGowABtoMNusLuRCILIZDtVqJ/5tYI4VkF5zfM=
914914
github.com/onflow/flow-ft/lib/go/templates v1.0.1/go.mod h1:uQ8XFqmMK2jxyBSVrmyuwdWjTEb+6zGjRYotfDJ5pAE=
915-
github.com/onflow/flow-go v0.38.0-preview.0.0.20241127200547-bacae248590d h1:HzvFJzdaRtVzJ0lXR8rvbT7maCjfX4CdZZqt/vD+7iM=
916-
github.com/onflow/flow-go v0.38.0-preview.0.0.20241127200547-bacae248590d/go.mod h1:c4ubAQ2WIMYY/TOaBvbajROEFWv2HwhKeGOsEdLPIM0=
915+
github.com/onflow/flow-go v0.38.0-preview.0.4.0.20241211211009-759daa544649 h1:9JCb0qdirFgkTOQ+iKrnX+3Q5Xh9/hFCP9yM7Ky/QKA=
916+
github.com/onflow/flow-go v0.38.0-preview.0.4.0.20241211211009-759daa544649/go.mod h1:c4ubAQ2WIMYY/TOaBvbajROEFWv2HwhKeGOsEdLPIM0=
917917
github.com/onflow/flow-go-sdk v1.2.3 h1:jb+0dIXBO12Zt8x3c2xDXYPv6k3sRTUvhe59M+EcXTI=
918918
github.com/onflow/flow-go-sdk v1.2.3/go.mod h1:jMaffBTlAIdutx+pBhRIigLZFIBYSDDST0Uax1rW2qo=
919919
github.com/onflow/flow-nft/lib/go/contracts v1.2.2 h1:XFERNVUDGbZ4ViZjt7P1cGD80mO1PzUJYPfdhXFsGbQ=

0 commit comments

Comments
 (0)