Skip to content
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

Merged
merged 7 commits into from
May 17, 2023

Conversation

CiottiGiorgio
Copy link
Contributor

No description provided.

@CiottiGiorgio
Copy link
Contributor Author

Same functionality, less hassle. I am now a much better and happier man because of these changes.

@CiottiGiorgio CiottiGiorgio marked this pull request as ready for review May 17, 2023 10:03
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.
Copy link
Contributor

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?

Copy link
Contributor Author

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

@@ -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())
Copy link
Contributor

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?

@CiottiGiorgio CiottiGiorgio merged commit fd5e07d into feat/wallet-manager-grpc May 17, 2023
@CiottiGiorgio CiottiGiorgio deleted the feat/grpc-compiler branch May 17, 2023 12:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants