-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Moving to a TS-first gRPC compilation solution #58
Conversation
Same functionality, less hassle. I am now a much better and happier man because of these changes. |
rpc AcquireLock (AcquireLockRequest) returns (AcquireLockResponse); | ||
rpc ReleaseLock (ReleaseLockRequest) returns (google.protobuf.Empty); | ||
} | ||
|
||
message AcquireLockRequest { | ||
string chain_name = 1; | ||
optional string address = 2; | ||
// FIXME: We are missing waitToAcquireTimeout. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why are we missing waitToAcquireTimeout
? is it bc it's not supported or bc it's not implemented here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes that would be something that is addressed within Issue #55
src/grpc/client.ts
Outdated
@@ -19,7 +20,9 @@ export class ClientWalletManager implements IClientWalletManager { | |||
this.logger = createLogger(options?.logger, options?.logLevel, { label: 'WalletManager' }); | |||
this.managers = {} as Record<ChainName, ChainWalletManager>; | |||
|
|||
this.grpcClient = new WalletManagerProtocol(`${host}:${port}`, grpc.credentials.createInsecure()) | |||
// this.walletManagerGRPCClient = new WalletManagerProtocol(`${host}:${port}`, grpc.credentials.createInsecure()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we get rid of this if it's not used?
No description provided.