Concordium / concordium-wallet-proxy

Apache License 2.0
6 stars 3 forks source link

Migrate wallet-proxy to use the node GRPC API V2. #81

Closed vikt0r0 closed 1 year ago

vikt0r0 commented 1 year ago

Purpose

Migrate the client to use the node GRPC API V2.

Depends on https://github.com/Concordium/concordium-client/pull/243

Changes

General

Proxy handlers

Handlers that do not need migration

Checklist

vikt0r0 commented 1 year ago

Should the version be bumped to 0.26?

vikt0r0 commented 1 year ago

Thanks! I resolved the comments, do you want to do the local testing prior to this being merged?

I also planned on doing some tests, especially due to changes introduced post-review - should I still conduct these, or would that perhaps be double the work if you are doing it as well?

abizjak commented 1 year ago

Thanks! I resolved the comments, do you want to do the local testing prior to this being merged?

I also planned on doing some tests, especially due to changes introduced post-review - should I still conduct these, or would that perhaps be double the work if you are doing it as well?

No. Please do the finalization task. Merge this.

abizjak commented 1 year ago

I tested this now compared to the existing one on testnet and mostly the responses agree. However submissionStatus returns a different error code when the transaction type is not supported.

See https://github.com/Concordium/concordium-wallet-proxy/issues/24 which was actually fixed before, but is now reintroduced again.

I made a PR to fix it https://github.com/Concordium/concordium-wallet-proxy/pull/83