-
Notifications
You must be signed in to change notification settings - Fork 122
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
Conversation
cfc253c
to
93c3658
Compare
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); |
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.
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"]} |
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.
This is 0.11.0 branch with changes to ?Send
PR here anoma/namada#900
93c3658
to
7ac457f
Compare
7ac457f
to
ffebd50
Compare
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.
Looks good to me!
So we can use
RPC.shell()
andRPC.vp()
calls!