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

Update token parameters and fundamental units #400

Closed
wants to merge 21 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
9b5a8d9
move ledger's protocol module into shared crate
tzemanovic Oct 5, 2022
84777a2
protocol: update imports and add missing rustdoc
tzemanovic Oct 6, 2022
2b36531
add deps for router macro and update `Cargo.lock`s
tzemanovic Oct 6, 2022
0c9b0bc
shared: add new queries router macro to replicate handwritten RPC paths
tzemanovic Oct 6, 2022
c593917
apps: replace RPC module and its handlers with new queries mod
tzemanovic Oct 6, 2022
66c632c
changelog: add #553
tzemanovic Oct 7, 2022
6813526
wasm: update checksums
tzemanovic Oct 24, 2022
d6d8c13
move the current RPC patterns under "shell" sub-router
tzemanovic Oct 7, 2022
eb921d3
router: add `with_options` for handlers that use request/response
tzemanovic Oct 14, 2022
e550e12
[ci] wasm checksums update
github-actions[bot] Oct 24, 2022
cf91e26
shared: implement PosReadOnly for Storage
tzemanovic Oct 7, 2022
433c371
RPC: add PoS is_validator and bond_amount queries
tzemanovic Oct 7, 2022
b3c373d
queries: add more PoS queries and use them for gov
tzemanovic Oct 11, 2022
786c67b
[ci] wasm checksums update
github-actions[bot] Oct 24, 2022
333a272
Merge branch 'tomas/rpc-queries-router' (#553)
tzemanovic Oct 24, 2022
19d1b53
Merge branch 'tomas/rpc-sub-shell' (#569)
tzemanovic Oct 24, 2022
27d6a4d
Merge branch 'tomas/rpc-sub-vp-pos' (#570)
tzemanovic Oct 24, 2022
c79fa52
Change fundamental unit of native stoken token from micro to nano units
brentstone Aug 30, 2022
e092c90
change `votes_per_token` to 1/100 per fundamental token unit (namnam)
brentstone Aug 30, 2022
e30eaa2
change back to 10^6 namnam = 1 nam, votes_per_token = 1 namnam
brentstone Sep 8, 2022
76b37b7
fix bug from rebase: make fundamental unit of whole token to be micro
brentstone Sep 16, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .changelog/unreleased/improvements/553-rpc-queries-router.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
- Replace the handcrafted RPC paths with a new `router!` macro RPC queries
definition that handles dynamic path matching, type-safe handler function
dispatch and also generates type-safe client methods for the queries.
([#553](https://github.com/anoma/namada/pull/553))
10 changes: 8 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions apps/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ abciplus = [
]

[dependencies]
namada = {path = "../shared", features = ["wasm-runtime", "ferveo-tpke", "rand", "secp256k1-sign-verify"]}
namada = {path = "../shared", features = ["wasm-runtime", "ferveo-tpke", "rand", "tendermint-rpc", "secp256k1-sign-verify"]}
ark-serialize = "0.3.0"
ark-std = "0.3.0"
# branch = "bat/arse-merkle-tree"
Expand Down Expand Up @@ -104,7 +104,7 @@ prost = "0.9.0"
prost-types = "0.9.0"
rand = {version = "0.8", default-features = false}
rand_core = {version = "0.6", default-features = false}
rayon = "=1.5.1"
rayon = "=1.5.3"
regex = "1.4.5"
reqwest = "0.11.4"
rlimit = "0.5.4"
Expand Down
Loading