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

feat: implement async client trait #173

Merged
merged 1 commit into from
Dec 23, 2022

Conversation

mateuszjasiuk
Copy link
Collaborator

So we can use RPC.shell() and RPC.vp() calls!

@mateuszjasiuk mateuszjasiuk force-pushed the feat/implement-asyn-client-trait branch 2 times, most recently from cfc253c to 93c3658 Compare December 16, 2022 13:46
const abci = new Abci(rpc);
const myValidatorsRes = await abci.query_my_validators(addresses);
const query = new Query(rpc);
const myValidatorsRes = await query.query_my_validators(addresses);
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

query.query_ does not look nice, but I think we can figure out naming later :)

borsh = "0.9.0"
chrono = "0.4.22"
getrandom = { version = "0.2.7", features = ["js"] }
gloo-utils = { version = "0.1.5", features = ["serde"] }
js-sys = "0.3.60"
masp_primitives = { git = "https://github.com/anoma/masp", rev = "bee40fc465f6afbd10558d12fe96eb1742eee45c" }
namada = {git = "https://github.com/anoma/namada", tag = "v0.11.0", features = ["ferveo-tpke"]}
namada = {git = "https://github.com/anoma/namada", branch = "mateusz/0.11.0", features = ["ferveo-tpke", "async-client"]}
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This is 0.11.0 branch with changes to ?Send
PR here anoma/namada#900

@mateuszjasiuk mateuszjasiuk marked this pull request as ready for review December 16, 2022 13:48
@mateuszjasiuk mateuszjasiuk force-pushed the feat/implement-asyn-client-trait branch from 93c3658 to 7ac457f Compare December 16, 2022 13:54
@github-actions
Copy link
Contributor

github-actions bot commented Dec 16, 2022

@mateuszjasiuk mateuszjasiuk force-pushed the feat/implement-asyn-client-trait branch from 7ac457f to ffebd50 Compare December 16, 2022 13:59
Copy link
Collaborator

@jurevans jurevans left a comment

Choose a reason for hiding this comment

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

Looks good to me!

@github-actions github-actions bot temporarily deployed to pull request December 16, 2022 14:11 Inactive
@mateuszjasiuk mateuszjasiuk merged commit a234ec2 into main Dec 23, 2022
@mateuszjasiuk mateuszjasiuk deleted the feat/implement-asyn-client-trait branch September 13, 2024 09:34
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