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

Conversation

adrianbrink
Copy link
Member

@adrianbrink adrianbrink commented Nov 16, 2022

based on #733

relevant commits:

for f in apps/**/*anoma*; do echo "$f"; mv "$f" "$(echo $f | sed -e 's/anoma/namada/')"; done
LC_ALL=C find . \( -path ./target -prune -o -path ./.git -prune -o -path ./.changelog -prune -o -path ./CHANGELOG.md -prune -o -path '*/book.toml' -prune -o -path '*.wasm' -prune \) -o -type f -exec sed -i -r 's/ANOMA/NAMADA/g; s/Anoma/Namada/g; s/anoma/namada/g; s/github.com\/namada/github.com\/anoma/; s/ghcr.io\/namada/ghcr.io\/anoma/; s/cache_key:\ namada/cache_key: anoma/; s/namada-iac/anoma-iac/; s/namada-github/anoma-github/; s/namada-network-config/anoma-network-config/' {} \;

(assuming GNU sed - if you wanna run this with mac default sed, change -i to -i '')
and add

diff --git a/.gitignore b/.gitignore
index 5e9e876760..5832cd2626 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1,6 @@
 # Namada default home dir
 /.namada
+/.anoma

 # Generated by Cargo
 # will have compiled files and executables

james-chf and others added 30 commits October 20, 2022 18:46
The implicit VP is loaded from protocol parameters
When an implicit account is being used as a source of a tx which it
has to sign, the client will first check that its PK is revealed and
if not submit it and wait for it before continuing.
* brent/refactor-voting-power:
  [ci] wasm checksums update
  changelog: add #707
  remove comments to self
  convert to tm voting power in `update_epoch`
  client: replace voting power with bonded stake in queries, etc
  fix pos state machine test
  clean up naming of "validator total deltas" -> "validator deltas"
  fix client voting power query
  fix `TendermintValidator::power`
  clippy: suppress unused validation vars (may need later)
  fmt + cleanup after cherrypicking commits from #388
  more voting_power removal and accurate variable renaming
  keep voting_power as a possible client query
  change `validator_total_deltas` -> `validator_deltas`
  Update wasm tx_(un)bond with VotingPower removal
  refactor VotingPower out of PoS VP
  continue refactoring away VotingPower
  refactor out VotingPower(Delta) in pos crate, distinguish total and validator deltas
* tomas/implicit-vps:
  Update shared/src/ledger/parameters/mod.rs
* bat/native-vp-test-tooling:
  Update tests/src/vm_host_env/tx.rs
  [feat]: Add multitoken suppor to the TestTxEnv. Add ability to execute wasm blobs on a TestTxEnv in order to test them with native vps
* tomas/fix-init-validator-vp-validation:
  changelog: add #763
  pos/vp: do not return early on unknown permitted key
* bat/rename-cli-fee-args:
  changelog: add #775
  [feat]: Renamed 'fee' CLI arguments to 'gas'.
* main:
  [ci] wasm checksums update
  ci: added missing make file recipe
  Make clippy happy; buidl WASM locally
  Avoid any reads when delta is 0
  fix masp e2e tests
  fix query balance argument for sub-prefix
  fix for key_may_exist
  test/e2e: re-enable IBC test
  shared/storage: fix get_non_existence_proof block height check
  ci: minor fix
  ci: parallel e2e, update mold, add timing artifact, add coverage artifact
@tzemanovic tzemanovic self-assigned this Nov 21, 2022
@tzemanovic
Copy link
Member

there're some missing changes in .github/* and .gitignore - I'm gonna rebase on #733 and add these

@tzemanovic tzemanovic force-pushed the adrian/anoma_to_namada branch from 71f127a to b8d251a Compare November 24, 2022 13:39
@tzemanovic tzemanovic marked this pull request as draft November 24, 2022 13:51
skip patterns:
- `github.com/anoma`
- `ghcr.io/anoma`
- `cache_key: anoma`
- `anoma-iac`
- `anoma-github`
@tzemanovic tzemanovic force-pushed the adrian/anoma_to_namada branch from b8d251a to 5f3a4aa Compare November 24, 2022 14:03
@tzemanovic tzemanovic marked this pull request as ready for review November 24, 2022 17:56
@tzemanovic tzemanovic requested a review from juped November 24, 2022 17:56
@tzemanovic tzemanovic mentioned this pull request Nov 25, 2022
@tzemanovic
Copy link
Member

merged via 244c7a5

@tzemanovic tzemanovic closed this Dec 1, 2022
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.

6 participants