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

Fix the abcipp feature flag #871

Merged
merged 231 commits into from
Dec 9, 2022
Merged
Show file tree
Hide file tree
Changes from 229 commits
Commits
Show all changes
231 commits
Select commit Hold shift + click to select a range
8b2b1b5
Update docstrings of Storage fields relating to blocks
james-chf Oct 19, 2022
59ae5e8
Remove unnecessary clone
james-chf Oct 20, 2022
3afcc1a
add native_token to genesis config
tzemanovic Oct 11, 2022
858b5e9
add native_token to Shell and cli::Context and use it
tzemanovic Oct 11, 2022
78d9860
add native_token to storage and `StorageRead::get_native_token`
tzemanovic Oct 25, 2022
4416df6
PoS: replace hard-coded staking token address
tzemanovic Oct 25, 2022
4c9e727
gov: replace hard-coded nam with native token
tzemanovic Oct 25, 2022
3880c61
slash_fund: replace hard-coded nam with native_token
tzemanovic Oct 25, 2022
e0c02c3
tests: update for native_token
tzemanovic Oct 25, 2022
f1a6799
[ci] wasm checksums update
github-actions[bot] Oct 25, 2022
922f3b9
use address string encoding for WASM FFI and add native_token to VpEnv
tzemanovic Oct 26, 2022
2c7524d
wasm: add vp_implicit from a copy of vp_user
tzemanovic Oct 13, 2022
893a473
add implicit_vp to protocol parameters and genesis
tzemanovic Oct 13, 2022
c35ff1e
storage: load implicit VP from parameters
tzemanovic Oct 13, 2022
c6f75c7
protocol: allow to use implicit accounts in inner txs
tzemanovic Oct 13, 2022
c3e1007
test/e2e: add test for transfer from implicit account
tzemanovic Oct 13, 2022
21696a5
wasm/vp_implicit: rm change handling from implicit VP
tzemanovic Oct 13, 2022
4673045
Add changelog
james-chf Oct 26, 2022
ee53772
test/wasm/vp_implicit: use implicit addresses as vp_owner
tzemanovic Oct 31, 2022
8918fae
wasm: add tx_reveal_pk
tzemanovic Oct 31, 2022
acec160
wasm/vp_implicit: add support and tests for revealing PK
tzemanovic Oct 31, 2022
dc0b95b
vp_prelude: refactor `key::get` to re-use new `storage_api::key::get`
tzemanovic Oct 31, 2022
b712040
add manual "reveal-pk" command and automatically reveal when needed
tzemanovic Oct 31, 2022
2f4c6d2
test/e2e: add test for implicit account's PK revealing
tzemanovic Oct 31, 2022
26161c6
[ci] wasm checksums update
github-actions[bot] Oct 31, 2022
484c0e7
changelog: add #592
tzemanovic Oct 31, 2022
c37ecf4
replace floating point arithm from token module with rust_decimal
brentstone Aug 30, 2022
4c59b99
[ci] wasm checksums update
github-actions[bot] Oct 26, 2022
072c44f
changelog: #436
tzemanovic Oct 26, 2022
40af102
remove staking reward address from all code
brentstone Oct 25, 2022
a084c96
remove staking reward address from genesis toml files
brentstone Oct 26, 2022
c2f4dcd
[ci] wasm checksums update
github-actions[bot] Oct 26, 2022
77ae81b
client: remove staking rewards address from init-validator result
tzemanovic Oct 26, 2022
df0b168
wallet: remove validator rewards key
tzemanovic Oct 26, 2022
8ed508c
remove staking rewards address from cli strings and docs strings
tzemanovic Oct 26, 2022
cce7f18
changelog: #687
tzemanovic Oct 26, 2022
22d845b
replace floating point arithm from token module with rust_decimal
brentstone Aug 30, 2022
97523f4
[ci] wasm checksums update
github-actions[bot] Oct 26, 2022
d08da6e
changelog: #436
tzemanovic Oct 26, 2022
29eb68f
remove staking reward address from all code
brentstone Oct 25, 2022
020f6bf
remove staking reward address from genesis toml files
brentstone Oct 26, 2022
3eb21f7
client: remove staking rewards address from init-validator result
tzemanovic Oct 26, 2022
b54b5c0
wallet: remove validator rewards key
tzemanovic Oct 26, 2022
9852d28
remove staking rewards address from cli strings and docs strings
tzemanovic Oct 26, 2022
70fa58b
changelog: #687
tzemanovic Oct 26, 2022
da7bffc
introduce validator commission rate and changes
brentstone Sep 21, 2022
3fbc30e
require commission rate input data for new validators
brentstone Sep 23, 2022
4b88573
epoched commission rate and tx for validator to change their rate
brentstone Sep 27, 2022
4ff76d8
commission rate: query + refactor validator change tx
brentstone Sep 28, 2022
77dfff4
add missing commission rate-related instances
brentstone Oct 26, 2022
5b6565e
include and update `rust_decimal`
brentstone Oct 26, 2022
288bf33
bug fix from splitting this PR off of #388
brentstone Oct 26, 2022
3704ef6
cleaning: incl fmt + clippy
brentstone Oct 26, 2022
0e097d8
init validator: add commission rate required args for tests
brentstone Oct 26, 2022
80283b2
fix commission rate validation on validator initialization
brentstone Oct 28, 2022
9d8a0d0
improve docs
brentstone Oct 28, 2022
629e1c5
[ci] wasm checksums update
github-actions[bot] Oct 31, 2022
70702a1
[ci] wasm checksums update
github-actions[bot] Oct 31, 2022
34af207
fix: rename native token in e2e genesis file
Nov 2, 2022
54a5baa
governance: refactor with storage api
Oct 31, 2022
7bfd932
governance: more refactor
Nov 2, 2022
079cffa
governance: more refactor
Nov 2, 2022
cff984c
shared: implement PosReadOnly for Storage
tzemanovic Oct 7, 2022
8adbfa2
RPC: add PoS is_validator and bond_amount queries
tzemanovic Oct 7, 2022
9974c1e
queries: add more PoS queries and use them for gov
tzemanovic Oct 11, 2022
6b8e378
queries/router: rm dbg prints
tzemanovic Nov 2, 2022
8ba2812
queries/shell: refactor to single def
tzemanovic Nov 2, 2022
fa7ef5c
governance: more refactor
Nov 2, 2022
1eb7f1e
chore: rebuild wasm for test
Nov 2, 2022
b16f850
governance: more refactor
Nov 2, 2022
cdccf8f
shared/queries: refactor prefix iter using storage_api
tzemanovic Nov 2, 2022
74ce017
[ci] wasm checksums update
github-actions[bot] Nov 2, 2022
93cb948
Implement event log
sug0 Oct 24, 2022
8339255
Update apps/src/lib/client/tx.rs
sug0 Nov 2, 2022
ee5c559
Update apps/src/lib/client/tendermint_rpc_types.rs
sug0 Nov 2, 2022
ecf8d7a
Move namada_apps::node::ledger::events to the shared crate
james-chf Nov 2, 2022
676e1e1
[ci] wasm checksums update
github-actions[bot] Nov 3, 2022
89ea525
Code review suggestions
sug0 Nov 3, 2022
f71f5fe
Update apps/src/lib/client/tx.rs
tzemanovic Nov 3, 2022
932d94c
Small fixes
sug0 Nov 3, 2022
b2597c7
[ci] wasm checksums update
github-actions[bot] Nov 3, 2022
c82b072
bump Rust to v1.65.0, yay!
tzemanovic Nov 4, 2022
d747b16
wallet/store: fix unused print alias arg
tzemanovic Nov 4, 2022
5a6ab0a
bump Rust nightly to 2022-11-03
tzemanovic Nov 4, 2022
a4371ab
update rustfmt config for nightly-2022-11-03
tzemanovic Nov 4, 2022
258b910
wasm tx test for changing validator commission rate
brentstone Nov 4, 2022
6610a65
fix error convention
brentstone Nov 4, 2022
5caaa81
fix newly found clippy issues
tzemanovic Nov 4, 2022
c53c854
[feat]: Add multitoken suppor to the TestTxEnv. Add ability to execut…
batconjurer Nov 4, 2022
563d218
commission change wasm tx test: fix and update validation
brentstone Nov 4, 2022
7d652e3
bug fix: consensus key validation error
brentstone Nov 4, 2022
9b4f2be
fix get of epoched commission rate before pipeline
brentstone Nov 4, 2022
6778fd0
add max change info to query of validator commission rate
brentstone Nov 4, 2022
b900354
fix pos state machine test
brentstone Nov 7, 2022
7b6de40
[ci] wasm checksums update
github-actions[bot] Nov 7, 2022
302a08c
changes in response to review comments
brentstone Nov 8, 2022
dcfd6af
validator VP that checks source and signature for a commission rate c…
brentstone Nov 9, 2022
9068938
add max commission rate info to validation and pos state machine test
brentstone Nov 9, 2022
9b175c4
fix: critical flaw in pos VP that was prematurely returning true
brentstone Nov 9, 2022
fea59bd
add vp validator to wasms
brentstone Nov 9, 2022
feead24
changelog: add #582
tzemanovic Nov 9, 2022
105410e
pos/vp: do not return early on unknown permitted key
tzemanovic Nov 9, 2022
2a7da24
changelog: add #763
tzemanovic Nov 9, 2022
12fc417
[ci] wasm checksums update
github-actions[bot] Nov 9, 2022
757ba1d
async tx to change validator commission rate
brentstone Nov 9, 2022
42b0bfa
addressing 2nd round of review comments
brentstone Nov 10, 2022
476877e
[ci] wasm checksums update
github-actions[bot] Nov 10, 2022
6b92f2c
changelog: add #695
tzemanovic Nov 10, 2022
862d840
clarify+rename 'epoch_storage_key' as 'epoch_duration_storage_key'
brentstone Aug 29, 2022
d953ee6
add max_staking_reward_rate to PosParams
brentstone Aug 29, 2022
a5897bd
add new parameters needed for rewards PD controller to the Parameters…
brentstone Sep 8, 2022
9ad5b56
rename `votes_per_token` to `tm_votes_per_token` since this will only…
brentstone Sep 9, 2022
32588d5
update max inflation rate in params (formerly max_staking_rewards_rate)
brentstone Sep 9, 2022
9bb70f4
add target_staked_ratio to PoS params
brentstone Sep 9, 2022
4b1eb5f
specify read or write intentions for parameters storage keys
brentstone Sep 12, 2022
e3994dc
rename reward_rate -> inflation_rate for pos
brentstone Sep 18, 2022
8ba80cb
documentation updates + unused imports removal
brentstone Sep 20, 2022
f16ec20
remove BasisPoints and change relevant parameters to Decimal type
brentstone Sep 8, 2022
9683b44
add fns to multiply Decimal and integer type, return truncated integer
brentstone Sep 8, 2022
f7ae3ce
more decimal_mult function uses
brentstone Sep 8, 2022
4f89a63
fix correct inner type of ValidationError::TotalVotingPowerTooLarge
brentstone Sep 12, 2022
9d904df
clean comments and toml files of basis points
brentstone Oct 26, 2022
1ba6ee2
update rust_decimal version + fmt
brentstone Oct 26, 2022
265b071
fix initial staked ratio parameter at genesis
brentstone Oct 21, 2022
0d0f394
fix: write all fields in Parameters storage in `init_storage`
brentstone Sep 30, 2022
2fd4ed5
storage change: last inflation rate -> last inflation token amount
brentstone Oct 18, 2022
b5ae9bb
fix arb_amount to max out at max tm voting power (fix wasm test bug)
brentstone Oct 27, 2022
6ed8bce
update toml files with latest parameters and values
brentstone Sep 21, 2022
0a8b491
Update rewards parameters and distribution
brentstone Sep 20, 2022
a079234
updates to accommodate `tm_votes_per_token` relative to namnam
brentstone Oct 28, 2022
9e7088f
fmt and includes
brentstone Oct 28, 2022
6e51bc4
[ci] wasm checksums update
github-actions[bot] Nov 8, 2022
c34c33b
update comments
brentstone Nov 9, 2022
9ca0546
remove `staked_ratio` and `pos_inflation_amount` from `ParametersConfig`
brentstone Nov 9, 2022
52e6f09
remove `min_duration` from `ParametersConfig`
brentstone Nov 10, 2022
c6cc0f5
changelog: add #708
brentstone Nov 11, 2022
4e76c28
[ci] wasm checksums update
github-actions[bot] Nov 11, 2022
7df04fc
changelog: add #570
tzemanovic Nov 15, 2022
6d4bc08
governance: added method, fmt, clippy
Nov 16, 2022
e295eeb
pos: use method
Nov 16, 2022
20ad42b
changelog: add #674
tzemanovic Nov 16, 2022
4b95c01
changelog: add #719
tzemanovic Nov 16, 2022
875c54a
make: clean any existing WASM files before WASM build
tzemanovic Nov 17, 2022
d299ba3
[feat]: Renamed 'fee' CLI arguments to 'gas'.
batconjurer Nov 14, 2022
75cb390
changelog: add #775
tzemanovic Nov 17, 2022
9751f1a
Update shared/src/ledger/parameters/mod.rs
tzemanovic Nov 17, 2022
490b9e5
Update tests/src/vm_host_env/tx.rs
tzemanovic Nov 17, 2022
14639ad
rename slash rate params with `min`, update default `PosParam` values
brentstone Nov 18, 2022
e3fbf35
refactor out VotingPower(Delta) in pos crate, distinguish total and v…
brentstone Sep 14, 2022
528b24a
continue refactoring away VotingPower
brentstone Sep 16, 2022
5da2a80
refactor VotingPower out of PoS VP
brentstone Sep 16, 2022
251f9d4
Update wasm tx_(un)bond with VotingPower removal
brentstone Sep 20, 2022
7d31f7d
change `validator_total_deltas` -> `validator_deltas`
brentstone Sep 20, 2022
08b1bdf
keep voting_power as a possible client query
brentstone Sep 20, 2022
4e161ac
more voting_power removal and accurate variable renaming
brentstone Sep 20, 2022
530e315
fmt + cleanup after cherrypicking commits from #388
brentstone Oct 30, 2022
cdd8b71
clippy: suppress unused validation vars (may need later)
brentstone Oct 30, 2022
d65654b
fix `TendermintValidator::power`
brentstone Oct 30, 2022
3e34cae
fix client voting power query
brentstone Oct 30, 2022
116a77a
clean up naming of "validator total deltas" -> "validator deltas"
brentstone Nov 7, 2022
372667a
fix pos state machine test
brentstone Nov 7, 2022
b22f2bc
client: replace voting power with bonded stake in queries, etc
brentstone Nov 9, 2022
615408b
convert to tm voting power in `update_epoch`
brentstone Nov 9, 2022
6c0b900
remove comments to self
brentstone Nov 10, 2022
13ad178
changelog: add #707
brentstone Nov 11, 2022
d30a3ba
[ci] wasm checksums update
github-actions[bot] Nov 11, 2022
e4329a2
changelog: add #797
juped Nov 21, 2022
648cda2
Merge branch 'ray/797-changelog' into main
juped Nov 21, 2022
dc68916
deleted out of date TS docs
bengtlofgren Nov 25, 2022
bc540f9
Merge pull request #823 from anoma/bengt/trusted-setup-doc-fix
Fraccaman Nov 25, 2022
d000498
First attempt at fixing shared abcipp
james-chf Nov 7, 2022
6201b80
Use ferveo-tpke flag to stop tendermint-rpc being pulled into wasm
james-chf Nov 7, 2022
e94fe47
Add check-abcipp command
james-chf Nov 7, 2022
09d316e
Add changelog
james-chf Nov 9, 2022
04b313a
Fix up for namada v0.10.1
james-chf Nov 28, 2022
d912dd3
Fix changelog
james-chf Nov 28, 2022
70b760a
ci: update rust/docker image
Nov 28, 2022
75f2e1b
Merge remote-tracking branch 'namada/tomas/rpc-sub-vp-pos' (#570) int…
juped Nov 29, 2022
b202ece
Merge remote-tracking branch 'namada/brent/remove-f64' (#436) into main
juped Nov 29, 2022
6c6de49
Merge remote-tracking branch 'namada/brent/remove-staking-address' (#…
juped Nov 29, 2022
1640e12
Merge remote-tracking branch 'namada/tomas/native-token-param' (#582)…
juped Nov 29, 2022
97a5877
Merge remote-tracking branch 'namada/tomas/implicit-vps' (#592) into …
juped Nov 29, 2022
187e895
Merge remote-tracking branch 'namada/james/mainline/last-block' (#650…
juped Nov 29, 2022
8ebc94c
Merge remote-tracking branch 'namada/tiago/main/event-log' (#674) int…
juped Nov 29, 2022
d469e14
Merge remote-tracking branch 'namada/james/mainline/dont-spawn-intern…
juped Nov 29, 2022
75187d7
Merge remote-tracking branch 'namada/fraccaman+grarco/refactor-govern…
juped Nov 29, 2022
1a6e71c
Merge remote-tracking branch 'namada/brent/validator-commission-rates…
juped Nov 29, 2022
bfd9d33
Merge remote-tracking branch 'namada/brent/update-pos-params' (#708) …
juped Nov 29, 2022
64f7881
Merge remote-tracking branch 'namada/brent/refactor-voting-power' (#7…
juped Nov 29, 2022
b34b66a
Merge remote-tracking branch 'namada/bat/native-vp-test-tooling' (#59…
juped Nov 29, 2022
351b217
Merge remote-tracking branch 'namada/tomas/fix-init-validator-vp-vali…
juped Nov 30, 2022
b550189
Merge remote-tracking branch 'namada/bat/rename-cli-fee-args' (#775) …
juped Nov 29, 2022
cca41ca
maint: patch funty 1.2.0
juped Nov 30, 2022
280339e
Merge remote-tracking branch 'namada/james/mainline/fix-abcipp' (#754…
juped Nov 30, 2022
76d89e9
fix: use multitoken credit_tokens() in tests
juped Nov 30, 2022
6ed4833
Merge branch 'ray/fix-test-merge' into main
juped Nov 30, 2022
40a44cf
Merge remote-tracking branch 'namada/rust-1.65.0' (#736) into main
juped Nov 30, 2022
8530a2e
maint: fix incorrect clippy placation in previous merge
juped Nov 30, 2022
8fa1ac2
tx: sign hash of code rather than full code blob
murisi Jul 24, 2022
57e41ae
changelog: add #807
juped Nov 30, 2022
7309e7e
proto/types: remove an & to placate 1.65 clippy
juped Nov 30, 2022
60f2a11
add new crate "namada_core" for core types, storage_api, tx_env, vp_env
tzemanovic Nov 4, 2022
2d0c543
update paths for core split and apply many small fixes
tzemanovic Nov 4, 2022
043143d
pos: replace generic types with concrete types from core
tzemanovic Nov 21, 2022
4fdd8c7
docs/overview: update deps graph and add a generated one too
tzemanovic Nov 21, 2022
dbb207b
changelog: add #733
tzemanovic Nov 25, 2022
676184d
[ci] wasm checksums update
github-actions[bot] Nov 30, 2022
d8c5e44
wasm: update checksums.json
juped Nov 30, 2022
4f79b7a
Merge remote-tracking branch 'namada/murisi/smaller-signing' (#807) i…
juped Nov 30, 2022
dceaba5
Merge remote-tracking branch 'namada/tomas+brent/core-crate-split' (#…
juped Nov 30, 2022
1b43813
apps: s/anoma/namada/ in paths
juped Nov 30, 2022
32daecf
s/anoma/namada in all files
juped Nov 30, 2022
8d02b67
make fmt
juped Nov 30, 2022
a81b59e
fix default chain IDs lengths
tzemanovic Nov 24, 2022
916fc6f
wasm_for_tests: rebuild all
juped Nov 30, 2022
78ee51d
wasm: update checksums.json
juped Nov 30, 2022
4603b80
Merge remote-tracking branch 'namada/tomas/clean-wasm-before-build' (…
juped Nov 30, 2022
244c7a5
Merge branch 'ray/anoma-to-namada' into main
juped Nov 30, 2022
7ed315a
Namada 0.11.0
juped Nov 30, 2022
3d5a19f
Merge tag 'v0.11.0' into tomas/eth-0.11.0-merge
tzemanovic Dec 6, 2022
b6cea36
move eth-bridge types and storage mods to core
tzemanovic Dec 6, 2022
a123542
fix 0.11.0 merge
tzemanovic Dec 6, 2022
d5b4898
fix `make check-abcipp` and `make clippy-abcipp`
tzemanovic Dec 7, 2022
6d7e6be
Merge branch 'tomas/fix-abcipp-build' (#869)
tzemanovic Dec 7, 2022
ba060a8
more abcipp fixes
tzemanovic Dec 7, 2022
f5df5a4
[fix]: Fixed FinalizeBlock method
batconjurer Dec 7, 2022
b97ae5b
[feat]: Fixed up the abcipp feature flag
batconjurer Dec 8, 2022
046d400
[fix] abcipp ethereum_events unit test
tzemanovic Dec 8, 2022
300c620
Makefile: add core to clippy-abcipp and test-unit-abcipp and fix shared
tzemanovic Dec 8, 2022
b148a02
[chore]: Added some docstrings
batconjurer Dec 9, 2022
6d8fd0d
tiny refactor vote_extensions
tzemanovic Dec 9, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions .changelog/v0.10.1/bug-fixes/797-fix-shielded-to-shielded.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Avoid reading from nonexistent storage keys in shielded-to-shielded transfers.
([#797](https://github.com/anoma/namada/pull/797))
2 changes: 2 additions & 0 deletions .changelog/v0.11.0/bug-fixes/754-fix-abcipp.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Fix building with the `abcipp` feature again
([#754](https://github.com/anoma/namada/pull/754))
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Fixed validation of a validator initialization transaction.
([#763](https://github.com/anoma/namada/pull/763))
2 changes: 2 additions & 0 deletions .changelog/v0.11.0/features/582-native-token-param.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Allow to set the native token via genesis configuration.
([#582](https://github.com/anoma/namada/pull/582))
6 changes: 6 additions & 0 deletions .changelog/v0.11.0/features/592-implicit-vp.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
- Added a validity predicate for implicit accounts. This is set in
protocol parameters and may be changed via governance. Additionally,
added automatic public key reveal in the client that use an implicit
account that hasn't revealed its PK yet as a source. It's also
possible to manually submit reveal transaction with client command
([#592](https://github.com/anoma/namada/pull/592))
2 changes: 2 additions & 0 deletions .changelog/v0.11.0/features/687-remove-staking-address.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- PoS: Removed staking reward addresses in preparation of auto-staked rewards
system. ([#687](https://github.com/anoma/namada/pull/687))
4 changes: 4 additions & 0 deletions .changelog/v0.11.0/features/695-validator-commission-rates.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
- Allow to set validator's commission rates and a limit on change of commission
rate per epoch. Commission rate can be changed via a transaction authorized
by the validator, but the limit is immutable value, set when the validator's
account is initialized. ([#695](https://github.com/anoma/namada/pull/695))
5 changes: 5 additions & 0 deletions .changelog/v0.11.0/features/707-refactor-voting-powers.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
- Optimize the PoS code to depend only on bonded stake, removing
the VotingPower(Delta) structs. This mitigates some previous
information loss in PoS calculations. Instead, the notion of
voting power is only relevant when communicating with Tendermint.
([#707](https://github.com/anoma/namada/pull/707))
4 changes: 4 additions & 0 deletions .changelog/v0.11.0/features/708-update-pos-params.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
- Update the set of parameters in the PoS system according to the
latest spec and standardizes the use of the rust_decimal crate
for parameters and calculations that require fractional numbers.
([#708](https://github.com/anoma/namada/pull/708))
2 changes: 2 additions & 0 deletions .changelog/v0.11.0/features/775-rename-cli-fee-args.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Renamed transaction CLI arguments `--fee-amount` and `--fee-token` to `--gas-
amount` and `--gas-token`. ([#775](https://github.com/anoma/namada/pull/775))
2 changes: 2 additions & 0 deletions .changelog/v0.11.0/improvements/436-remove-f64.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Refactored token decimal formatting.
([#436](https://github.com/anoma/namada/pull/436))
1 change: 1 addition & 0 deletions .changelog/v0.11.0/improvements/570-rpc-sub-vp-pos.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Added PoS specific queries ([#570](https://github.com/anoma/namada/pull/570))
3 changes: 3 additions & 0 deletions .changelog/v0.11.0/improvements/674-event-log.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- Added a custom events store and replaced WebSocket client for
transaction results with query endpoints to the events store.
([#674](https://github.com/anoma/namada/pull/674))
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Refactored governance code to use storage_api.
([#719](https://github.com/anoma/namada/pull/719))
4 changes: 4 additions & 0 deletions .changelog/v0.11.0/improvements/733-core-crate-split.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
- Public parts of shared `namada` crate have been split up into a
`namada_core` crate. The `namada_proof_of_stake`, `namada_vp_prelude`
and `namada_tx_prelude` crates now depend on this `namada_core` crate.
([#733](https://github.com/anoma/namada/pull/733))
2 changes: 2 additions & 0 deletions .changelog/v0.11.0/improvements/807-smaller-signing.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Sign over the hash of code rather than code in transaction signing.
([#807](https://github.com/anoma/namada/pull/807))
2 changes: 2 additions & 0 deletions .changelog/v0.11.0/miscellaneous/650-last-block.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Improve some docstrings relating to block heights
([#650](https://github.com/anoma/namada/pull/650))
1 change: 1 addition & 0 deletions .changelog/v0.11.0/summary.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Namada 0.11.0 is a scheduled minor release.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: Bug Report
about: Create a bug report for Anoma.
about: Create a bug report for Namada.
labels: bug
---

Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: Feature Request
about: Request a new feature in Anoma.
about: Request a new feature in Namada.
labels: enhancement
---

34 changes: 17 additions & 17 deletions .github/workflows/build-and-test-bridge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
timeout-minutes: 30
runs-on: ${{ matrix.os }}
container:
image: ghcr.io/anoma/namada:wasm-0.8.0
image: ghcr.io/anoma/namada:wasm-0.11.0
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -136,15 +136,15 @@ jobs:
BUCKET_NAME: namada-wasm-master
AWS_REGION: eu-west-1

anoma-eth:
namada-eth:
runs-on: ${{ matrix.os }}
timeout-minutes: 80
needs: [build-wasm]
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
nightly_version: [nightly-2022-05-20]
nightly_version: [nightly-2022-11-03]
mold_version: [1.7.0]
make:
- name: ABCI
Expand Down Expand Up @@ -240,7 +240,7 @@ jobs:
if: always()
run: sccache --stop-server || true

anoma-release-eth:
namada-release-eth:
runs-on: ${{ matrix.os }}
timeout-minutes: 25
strategy:
Expand Down Expand Up @@ -342,7 +342,7 @@ jobs:
run: sccache --stop-server || true


anoma-e2e-eth:
namada-e2e-eth:
runs-on: ${{ matrix.os }}
timeout-minutes: 80
strategy:
Expand All @@ -358,14 +358,14 @@ jobs:
cache_key: anoma
cache_version: v2
tendermint_artifact: tendermint-unreleased-ad825dcadbd4b98c3f91ce5a711e4fb36a69c377
wait_for: anoma-release-eth (ubuntu-latest, 1.7.0, ABCI Release build, anoma-e2e-release, v2)
wait_for: namada-release-eth (ubuntu-latest, 1.7.0, ABCI Release build, namada-e2e-release, v2)
- name: e2e
suffix: ''
index: 1
cache_key: anoma
cache_version: v2
tendermint_artifact: tendermint-unreleased-ad825dcadbd4b98c3f91ce5a711e4fb36a69c377
wait_for: anoma-release-eth (ubuntu-latest, 1.7.0, ABCI Release build, anoma-e2e-release, v2)
wait_for: namada-release-eth (ubuntu-latest, 1.7.0, ABCI Release build, namada-e2e-release, v2)

env:
CARGO_INCREMENTAL: 0
Expand Down Expand Up @@ -466,7 +466,7 @@ jobs:
with:
name: wasm-${{ github.event.pull_request.head.sha|| github.sha }}
path: ./wasm
- name: Download anoma binaries
- name: Download namada binaries
uses: actions/download-artifact@v3
with:
name: binaries${{ matrix.make.suffix }}-${{ github.event.pull_request.head.sha || github.sha }}
Expand All @@ -481,13 +481,13 @@ jobs:
- name: Run e2e test
run: python3 .github/workflows/scripts/schedule-e2e.py
env:
ANOMA_TENDERMINT_WEBSOCKET_TIMEOUT: 20
ANOMA_E2E_USE_PREBUILT_BINARIES: "true"
ANOMA_E2E_KEEP_TEMP: "true"
ANOMA_TM_STDOUT: "false"
ANOMA_LOG_COLOR: "false"
ANOMA_MASP_PARAMS_DIR: "/home/runner/work/masp"
ANOMA_LOG: "info"
NAMADA_TENDERMINT_WEBSOCKET_TIMEOUT: 20
NAMADA_E2E_USE_PREBUILT_BINARIES: "true"
NAMADA_E2E_KEEP_TEMP: "true"
NAMADA_TM_STDOUT: "false"
NAMADA_LOG_COLOR: "false"
NAMADA_MASP_PARAMS_DIR: "/home/runner/work/masp"
NAMADA_LOG: "info"
RUSTFLAGS: "-C linker=clang -C link-arg=-fuse-ld=/usr/local/bin/mold"
INDEX: ${{ matrix.make.index }}
- name: Upload e2e logs
Expand All @@ -497,11 +497,11 @@ jobs:
name: logs-e2e-${{ matrix.make.index }}-${{ github.event.pull_request.head.sha || github.sha }}
path: |
/tmp/.*/logs/
/tmp/.*/e2e-test.*/setup/validator-*/.anoma/logs/*.log
/tmp/.*/e2e-test.*/setup/validator-*/.namada/logs/*.log
retention-days: 5
- name: Print sccache stats
if: always()
run: sccache --show-stats
- name: Stop sccache server
if: always()
run: sccache --stop-server || true
run: sccache --stop-server || true
34 changes: 17 additions & 17 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
timeout-minutes: 30
runs-on: ${{ matrix.os }}
container:
image: ghcr.io/anoma/namada:wasm-0.8.0
image: ghcr.io/anoma/namada:wasm-0.11.0
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -138,15 +138,15 @@ jobs:
BUCKET_NAME: namada-wasm-master
AWS_REGION: eu-west-1

anoma:
namada:
runs-on: ${{ matrix.os }}
timeout-minutes: 80
needs: [build-wasm]
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
nightly_version: [nightly-2022-05-20]
nightly_version: [nightly-2022-11-03]
mold_version: [1.7.0]
make:
- name: ABCI
Expand Down Expand Up @@ -242,7 +242,7 @@ jobs:
if: always()
run: sccache --stop-server || true

anoma-release:
namada-release:
runs-on: ${{ matrix.os }}
timeout-minutes: 25
strategy:
Expand Down Expand Up @@ -344,7 +344,7 @@ jobs:
run: sccache --stop-server || true


anoma-e2e:
namada-e2e:
runs-on: ${{ matrix.os }}
timeout-minutes: 80
strategy:
Expand All @@ -360,14 +360,14 @@ jobs:
cache_key: anoma
cache_version: v2
tendermint_artifact: tendermint-unreleased-ad825dcadbd4b98c3f91ce5a711e4fb36a69c377
wait_for: anoma-release (ubuntu-latest, 1.7.0, ABCI Release build, anoma-e2e-release, v2)
wait_for: namada-release (ubuntu-latest, 1.7.0, ABCI Release build, namada-e2e-release, v2)
- name: e2e
suffix: ''
index: 1
cache_key: anoma
cache_version: v2
tendermint_artifact: tendermint-unreleased-ad825dcadbd4b98c3f91ce5a711e4fb36a69c377
wait_for: anoma-release (ubuntu-latest, 1.7.0, ABCI Release build, anoma-e2e-release, v2)
wait_for: namada-release (ubuntu-latest, 1.7.0, ABCI Release build, namada-e2e-release, v2)

env:
CARGO_INCREMENTAL: 0
Expand Down Expand Up @@ -468,7 +468,7 @@ jobs:
with:
name: wasm-${{ github.event.pull_request.head.sha|| github.sha }}
path: ./wasm
- name: Download anoma binaries
- name: Download namada binaries
uses: actions/download-artifact@v3
with:
name: binaries${{ matrix.make.suffix }}-${{ github.event.pull_request.head.sha || github.sha }}
Expand All @@ -483,13 +483,13 @@ jobs:
- name: Run e2e test
run: python3 .github/workflows/scripts/schedule-e2e.py
env:
ANOMA_TENDERMINT_WEBSOCKET_TIMEOUT: 20
ANOMA_E2E_USE_PREBUILT_BINARIES: "true"
ANOMA_E2E_KEEP_TEMP: "true"
ANOMA_TM_STDOUT: "false"
ANOMA_LOG_COLOR: "false"
ANOMA_MASP_PARAMS_DIR: "/home/runner/work/masp"
ANOMA_LOG: "info"
NAMADA_TENDERMINT_WEBSOCKET_TIMEOUT: 20
NAMADA_E2E_USE_PREBUILT_BINARIES: "true"
NAMADA_E2E_KEEP_TEMP: "true"
NAMADA_TM_STDOUT: "false"
NAMADA_LOG_COLOR: "false"
NAMADA_MASP_PARAMS_DIR: "/home/runner/work/masp"
NAMADA_LOG: "info"
RUSTFLAGS: "-C linker=clang -C link-arg=-fuse-ld=/usr/local/bin/mold"
INDEX: ${{ matrix.make.index }}
- name: Upload e2e logs
Expand All @@ -499,11 +499,11 @@ jobs:
name: logs-e2e-${{ matrix.make.index }}-${{ github.event.pull_request.head.sha || github.sha }}
path: |
/tmp/.*/logs/
/tmp/.*/e2e-test.*/setup/validator-*/.anoma/logs/*.log
/tmp/.*/e2e-test.*/setup/validator-*/.namada/logs/*.log
retention-days: 5
- name: Print sccache stats
if: always()
run: sccache --show-stats
- name: Stop sccache server
if: always()
run: sccache --stop-server || true
run: sccache --stop-server || true
2 changes: 1 addition & 1 deletion .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest]
nightly_version: [nightly-2022-05-20]
nightly_version: [nightly-2022-11-03]
make:
- name: Clippy
command: clippy
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest]
nightly_version: [nightly-2022-05-20]
nightly_version: [nightly-2022-11-03]
make:
- name: Audit
command: audit
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest]
nightly_version: [nightly-2022-05-20]
nightly_version: [nightly-2022-11-03]
mdbook_version: [rust-lang/[email protected]]
mdbook_mermaid: [badboy/[email protected]]
mdbook_linkcheck: [Michael-F-Bryan/[email protected]]
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
anoma_cache_version: [v1]
namada_cache_version: [v1]
make:
- name: Build package
command: package
Expand Down Expand Up @@ -70,8 +70,8 @@ jobs:
path: |
~/.cargo/registry
~/.cargo/git
key: ${{ runner.os }}-anoma-release-${{ matrix.anoma_cache_version }}-${{ hashFiles('**/Cargo.lock') }}
restore-keys: ${{ runner.os }}-anoma-release-${{ matrix.anoma_cache_version }}
key: ${{ runner.os }}-namada-release-${{ matrix.namada_cache_version }}-${{ hashFiles('**/Cargo.lock') }}
restore-keys: ${{ runner.os }}-namada-release-${{ matrix.namada_cache_version }}
- name: Start sccache server
run: sccache --start-server
- name: ${{ matrix.make.name }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/scripts/e2e.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"e2e::ledger_tests::proposal_submission": 35,
"e2e::ledger_tests::run_ledger": 5,
"e2e::ledger_tests::run_ledger_load_state_and_reset": 5,
"e2e::ledger_tests::test_anoma_shuts_down_if_tendermint_dies": 2,
"e2e::ledger_tests::test_namada_shuts_down_if_tendermint_dies": 2,
"e2e::ledger_tests::test_genesis_validators": 9,
"e2e::ledger_tests::test_node_connectivity_and_consensus": 20,
"e2e::wallet_tests::wallet_address_cmds": 1,
Expand Down
9 changes: 5 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Anoma default home dir
# Namada default home dir
/.namada
/.anoma

# Generated by Cargo
Expand All @@ -7,8 +8,8 @@ debug/
target/

# Release packages
/anoma-*/
/anoma-*.tar.gz
/namada-*/
/namada-*.tar.gz

# These are backup files generated by rustfmt
**/*.rs.bk
Expand All @@ -26,4 +27,4 @@ target/
wasm/*.wasm

# app version string file
/apps/version.rs
/apps/version.rs
Loading