Dynamic amount in unroll closure (#173)

* update UnrollClosure

* update TrustedOnboarding flow + add TrustedOnboarding e2e test

* fix linter: grpc.Dial

* add comment

* integration tests: faucet the ASP with 2 utxos
This commit is contained in:
Louis Singer
2024-05-28 12:13:03 +02:00
committed by GitHub
parent 2dae630daf
commit dca302df69
18 changed files with 523 additions and 723 deletions

View File

@@ -66,9 +66,8 @@ func NewService(
})
}
gatewayOpts := grpc.WithTransportCredentials(gatewayCreds)
ctx := context.Background()
conn, err := grpc.DialContext(
ctx, svcConfig.gatewayAddress(), gatewayOpts,
conn, err := grpc.NewClient(
svcConfig.gatewayAddress(), gatewayOpts,
)
if err != nil {
return nil, err
@@ -86,6 +85,7 @@ func NewService(
},
}),
)
ctx := context.Background()
if err := arkv1.RegisterArkServiceHandler(
ctx, gwmux, conn,
); err != nil {