Skip to content

feat: validator client refactoring + wasm compatible nyxd client #3726

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

Merged
merged 24 commits into from
Aug 17, 2023

Conversation

jstuczyn
Copy link
Contributor

@jstuczyn jstuczyn commented Aug 1, 2023

Description

This PR is a step 2 of the master plan of making our rust nyxd client fully compatible with wasm. I've refactored bunch of internal code and a result all client traits compile to wasm and so does the DirectSecp256k1HdWallet.

~~The remaining work (for step 3) would be to fully implemenent the WasmRpcClient -> it will most likely use reqwest. ~~

The remaining work (for this PR) includes dealing with all outstanding todo!() and unimplemented!() such as implementing all queries/signing operations for the contract clients.

As requested by @tommyv1987 this branch/RP now includes changes introduced in #3744 and #3758. All of them will be merged at once here.

@jstuczyn jstuczyn added this to the Daim milestone Aug 1, 2023
@jstuczyn jstuczyn force-pushed the feature/validator-client-housekeeping branch from 920b9e3 to 3ec3503 Compare August 1, 2023 17:16
@jstuczyn jstuczyn marked this pull request as ready for review August 2, 2023 16:02
@jstuczyn jstuczyn requested a review from octol as a code owner August 2, 2023 16:02
@jstuczyn jstuczyn force-pushed the feature/validator-client-housekeeping branch 2 times, most recently from c836657 to abf8363 Compare August 3, 2023 14:19
@benedettadavico benedettadavico modified the milestones: Daim, Toblerone Aug 7, 2023
@benedettadavico benedettadavico modified the milestones: Toblerone, Milkybar Aug 14, 2023
@jstuczyn jstuczyn force-pushed the feature/validator-client-housekeeping branch 2 times, most recently from e45a0c5 to e787bf9 Compare August 14, 2023 10:12
@jstuczyn jstuczyn changed the title Feature/validator client housekeeping [step2 of wasm nyxd-client]: feat: validator client refactoring Aug 15, 2023
@jstuczyn jstuczyn self-assigned this Aug 15, 2023
@jstuczyn jstuczyn force-pushed the feature/validator-client-housekeeping branch from 85a0c70 to 35e2100 Compare August 17, 2023 09:49
* wasm-compatible reqwest-based rpc client

* better constructors for the reqwest based client

* fixed usages of the client

* introduced /network/details endpoint to nym-api to return used network information (#3758)

* introduced /network/details endpoint to nym-api to return used network information

* introduced endpoints for nym contract information
@jstuczyn jstuczyn force-pushed the feature/validator-client-housekeeping branch from 35e2100 to e849dc1 Compare August 17, 2023 09:59
@jstuczyn jstuczyn changed the title [step2 of wasm nyxd-client]: feat: validator client refactoring feat: validator client refactoring + wasm compatible nyxd client Aug 17, 2023
@tommyv1987 tommyv1987 self-requested a review August 17, 2023 12:21
Copy link
Contributor

@tommyv1987 tommyv1987 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

time to get the house in order

@tommyv1987 tommyv1987 merged commit aa64256 into develop Aug 17, 2023
@tommyv1987 tommyv1987 deleted the feature/validator-client-housekeeping branch August 17, 2023 12:22
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.

3 participants