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

Refactor anoma commands to namada #794

Closed
wants to merge 192 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
192 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
db9a764
TestTxEnv::spawn_accounts should ignore internal addresses
james-chf Oct 26, 2022
a284eca
Add changelog
james-chf Oct 26, 2022
4673045
Add changelog
james-chf Oct 26, 2022
22813da
Update spawn_accounts to ignore implicit addresses
james-chf Oct 27, 2022
f6e4dbc
Remove comment
james-chf Oct 27, 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
258b910
wasm tx test for changing validator commission rate
brentstone Nov 4, 2022
6610a65
fix error convention
brentstone 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
7c610ba
refactor out VotingPower(Delta) in pos crate, distinguish total and v…
brentstone Sep 14, 2022
b491647
continue refactoring away VotingPower
brentstone Sep 16, 2022
6936e9b
refactor VotingPower out of PoS VP
brentstone Sep 16, 2022
edcea79
Update wasm tx_(un)bond with VotingPower removal
brentstone Sep 20, 2022
1a8ed03
change `validator_total_deltas` -> `validator_deltas`
brentstone Sep 20, 2022
9e17233
keep voting_power as a possible client query
brentstone Sep 20, 2022
69adeeb
more voting_power removal and accurate variable renaming
brentstone Sep 20, 2022
2d3a6e5
fmt + cleanup after cherrypicking commits from #388
brentstone Oct 30, 2022
b7db0f7
clippy: suppress unused validation vars (may need later)
brentstone Oct 30, 2022
c8bd374
fix `TendermintValidator::power`
brentstone Oct 30, 2022
adc6602
fix client voting power query
brentstone Oct 30, 2022
d07f47e
clean up naming of "validator total deltas" -> "validator deltas"
brentstone Nov 7, 2022
a1bc0eb
fix pos state machine test
brentstone Nov 7, 2022
dcea2da
client: replace voting power with bonded stake in queries, etc
brentstone Nov 9, 2022
661506d
convert to tm voting power in `update_epoch`
brentstone Nov 9, 2022
4c7af18
remove comments to self
brentstone Nov 10, 2022
decb52f
changelog: add #707
brentstone Nov 11, 2022
b7a2b86
[ci] wasm checksums update
github-actions[bot] Nov 11, 2022
7df04fc
changelog: add #570
tzemanovic Nov 15, 2022
0724c22
Merge branch 'tomas/rpc-sub-vp-pos' (#570)
tzemanovic Nov 15, 2022
a9e9042
Merge branch 'brent/remove-f64' (#436)
tzemanovic Nov 16, 2022
5d086c6
Merge branch 'brent/remove-staking-address' (#687)
tzemanovic Nov 16, 2022
4381caa
Merge branch 'tomas/native-token-param' (#582)
tzemanovic Nov 16, 2022
7cab394
Merge branch 'tomas/implicit-vps' (#592)
tzemanovic Nov 16, 2022
06911fa
Merge branch 'james/mainline/last-block' (#650)
tzemanovic Nov 16, 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
9e0dd9f
Merge branch 'tiago/main/event-log' (#674)
tzemanovic Nov 16, 2022
8c1e5d1
Merge branch 'james/mainline/dont-spawn-internal-account-vps' (#694)
tzemanovic Nov 16, 2022
4b95c01
changelog: add #719
tzemanovic Nov 16, 2022
2e443a5
Merge branch 'fraccaman+grarco/refactor-governance-storage-api' (#719)
tzemanovic Nov 16, 2022
dfc5553
Merge branch 'brent/validator-commission-rates' (#695)
tzemanovic Nov 16, 2022
9c81efb
Merge branch 'brent/update-pos-params' (#708)
tzemanovic Nov 16, 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
6cc4825
Merge branch 'brent/refactor-voting-power' (#707)
tzemanovic Nov 17, 2022
490b9e5
Update tests/src/vm_host_env/tx.rs
tzemanovic Nov 17, 2022
901f887
Merge branch 'tomas/implicit-vps' (#592)
tzemanovic Nov 17, 2022
2b0c380
Merge branch 'bat/native-vp-test-tooling' (#592)
tzemanovic Nov 17, 2022
d480c51
Merge branch 'tomas/fix-init-validator-vp-validation' (#763)
tzemanovic Nov 17, 2022
91504ee
Merge branch 'bat/rename-cli-fee-args' (#775)
tzemanovic Nov 17, 2022
62798ec
Merge branch 'main' into draft
tzemanovic Nov 17, 2022
8929369
fixup! Merge branch 'main' into draft
tzemanovic Nov 17, 2022
b36c8a6
add new crate "namada_core" for core types, storage_api, tx_env, vp_env
tzemanovic Nov 4, 2022
7dd2d31
update paths for core split and apply many small fixes
tzemanovic Nov 4, 2022
f5ec90c
pos: replace generic types with concrete types from core
tzemanovic Nov 21, 2022
a0f0db9
docs/overview: update deps graph and add a generated one too
tzemanovic Nov 21, 2022
53ff095
rename `s/anoma/namada` in paths
tzemanovic Nov 24, 2022
5f3a4aa
s/anoma/namada in files
tzemanovic Nov 24, 2022
6f042e8
`make fmt`
tzemanovic Nov 24, 2022
0b0ac27
`make -C wasm_for_tests/wasm_source`
tzemanovic Nov 24, 2022
79bd9fb
wasm: update checksums
tzemanovic Nov 24, 2022
622e821
fix default chain IDs lengths
tzemanovic Nov 24, 2022
5ca8d17
s/namada-network-config/anoma-network-config
tzemanovic Nov 25, 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
  •  
  •  
  •  
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/unreleased/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/unreleased/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/unreleased/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))
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/unreleased/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/unreleased/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/unreleased/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/unreleased/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/unreleased/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/unreleased/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))
2 changes: 2 additions & 0 deletions .changelog/unreleased/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))
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Don't fake a wasm VP for internal addresses in tx tests
([#694](https://github.com/anoma/namada/pull/694))
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
---

28 changes: 14 additions & 14 deletions .github/workflows/build-and-test-bridge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ 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]
Expand Down Expand Up @@ -239,7 +239,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 @@ -341,7 +341,7 @@ jobs:
run: sccache --stop-server || true


anoma-e2e-eth:
namada-e2e-eth:
runs-on: ${{ matrix.os }}
timeout-minutes: 80
strategy:
Expand All @@ -357,14 +357,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 @@ -465,7 +465,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 @@ -480,13 +480,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 @@ -496,7 +496,7 @@ 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()
Expand Down
28 changes: 14 additions & 14 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ jobs:
BUCKET_NAME: namada-wasm-master
AWS_REGION: eu-west-1

anoma:
namada:
runs-on: ${{ matrix.os }}
timeout-minutes: 80
needs: [build-wasm]
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,7 +499,7 @@ 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()
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
7 changes: 4 additions & 3 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 Down
8 changes: 4 additions & 4 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Contributing to Anoma
# Contributing to Namada

Thank you for the interest in contributing to Anoma!
Thank you for the interest in contributing to Namada!

All contributors are expected to follow the [Code of Conduct](CODE_OF_CONDUCT.md).

Expand All @@ -12,7 +12,7 @@ Every pull request should start with an issue. A pull request should be as atomi

### Changelog

To track changes in Anoma and provide a nicely formatted change log with the releases, we utilize the [unclog CLI tool](https://github.com/informalsystems/unclog). Please do not modify the [change log](CHANGELOG.md) in your PRs, this file will be updated by the repository maintainers.
To track changes in Namada and provide a nicely formatted change log with the releases, we utilize the [unclog CLI tool](https://github.com/informalsystems/unclog). Please do not modify the [change log](CHANGELOG.md) in your PRs, this file will be updated by the repository maintainers.

With every PR, please make a separate commit that adds a record in the `.changelog` directory with a section that this PR belongs to together with a high-level description of the change.

Expand All @@ -37,7 +37,7 @@ unclog add \
--message <message>
```

The message should be a high-level description of the changes that should explain the scope of the change and affected components to Anoma's users (while git commit messages should target developers).
The message should be a high-level description of the changes that should explain the scope of the change and affected components to Namada's users (while git commit messages should target developers).

If none of the sections fit, new sections may be added. To find the existing section names, you can use e.g.:

Expand Down
Loading