Skip to content

Commit

Permalink
s/anoma/namada in files
Browse files Browse the repository at this point in the history
skip patterns:
- `github.com/anoma`
- `ghcr.io/anoma`
- `cache_key: anoma`
- `anoma-iac`
- `anoma-github`
  • Loading branch information
tzemanovic committed Nov 24, 2022
1 parent 53ff095 commit 5f3a4aa
Show file tree
Hide file tree
Showing 119 changed files with 785 additions and 784 deletions.
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
14 changes: 7 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ build-test:
$(cargo) build --tests

build-release:
ANOMA_DEV=false $(cargo) build --release --package namada_apps --manifest-path Cargo.toml
NAMADA_DEV=false $(cargo) build --release --package namada_apps --manifest-path Cargo.toml

install-release:
ANOMA_DEV=false $(cargo) install --path ./apps --locked
NAMADA_DEV=false $(cargo) install --path ./apps --locked

check-release:
ANOMA_DEV=false $(cargo) check --release --package namada_apps
NAMADA_DEV=false $(cargo) check --release --package namada_apps

package: build-release
scripts/make-package.sh
Expand All @@ -44,13 +44,13 @@ check:
clippy-wasm = $(cargo) +$(nightly) clippy --manifest-path $(wasm)/Cargo.toml --all-targets -- -D warnings

clippy:
ANOMA_DEV=false $(cargo) +$(nightly) clippy --all-targets -- -D warnings && \
NAMADA_DEV=false $(cargo) +$(nightly) clippy --all-targets -- -D warnings && \
make -C $(wasms) clippy && \
make -C $(wasms_for_tests) clippy && \
$(foreach wasm,$(wasm_templates),$(clippy-wasm) && ) true

clippy-abcipp:
ANOMA_DEV=false $(cargo) +$(nightly) clippy --all-targets \
NAMADA_DEV=false $(cargo) +$(nightly) clippy --all-targets \
--manifest-path ./apps/Cargo.toml \
--no-default-features \
--features "std testing abcipp" && \
Expand All @@ -72,7 +72,7 @@ clippy-fix:
$(cargo) +$(nightly) clippy --fix -Z unstable-options --all-targets --allow-dirty --allow-staged

install: tendermint
ANOMA_DEV=false $(cargo) install --path ./apps --locked
NAMADA_DEV=false $(cargo) install --path ./apps --locked

tendermint:
./scripts/get_tendermint.sh
Expand Down Expand Up @@ -183,7 +183,7 @@ build-wasm-scripts-docker: build-wasm-image-docker
docker run --rm -v ${PWD}:/__w/namada/namada namada-wasm make build-wasm-scripts

debug-wasm-scripts-docker: build-wasm-image-docker
docker run --rm -v ${PWD}:/usr/local/rust/wasm anoma-wasm make debug-wasm-scripts
docker run --rm -v ${PWD}:/usr/local/rust/wasm namada-wasm make debug-wasm-scripts

# Build the validity predicate and transactions wasm
build-wasm-scripts:
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ the form of native protocol tokens. A multi-asset shielded transfer
wallet is provided in order to facilitate safe and private user
interaction with the protocol.

* Blogpost: [Introducing Namada: Shielded transfers with any assets](https://medium.com/anomanetwork/introducing-namada-shielded-transfers-with-any-assets-dce2e579384c)
* Blogpost: [Introducing Namada: Shielded transfers with any assets](https://medium.com/namadanetwork/introducing-namada-shielded-transfers-with-any-assets-dce2e579384c)

## 📓 Docs

Expand All @@ -29,13 +29,13 @@ interaction with the protocol.
## 💾 Installing

There is a single command to build and install Anoma executables from source (the node, the client and the wallet). This command will also verify that a compatible version of [Tendermint](#dependencies) is available and if not, attempt to install it. Note that currently at least 16GB RAM is needed to build from source.
There is a single command to build and install Namada executables from source (the node, the client and the wallet). This command will also verify that a compatible version of [Tendermint](#dependencies) is available and if not, attempt to install it. Note that currently at least 16GB RAM is needed to build from source.

```shell
make install
```

After installation, the main `anoma` executable will be available on path.
After installation, the main `namada` executable will be available on path.

To find how to use it, check out the [User Guide section of the docs](https://docs.namada.net/user-guide/index.html).

Expand All @@ -49,9 +49,9 @@ Guide.
# Build the provided validity predicate and transaction wasm modules
make build-wasm-scripts-docker

# Development (debug) build Anoma, which includes a validator and some default
# Development (debug) build Namada, which includes a validator and some default
# accounts, whose keys and addresses are available in the wallet
ANOMA_DEV=true make
NAMADA_DEV=true make
```

### Before submitting a PR, pls make sure to run the following
Expand All @@ -66,7 +66,7 @@ make clippy

## 🧾 Logging

To change the log level, set `ANOMA_LOG` environment variable to one of:
To change the log level, set `NAMADA_LOG` environment variable to one of:

* `error`
* `warn`
Expand Down
8 changes: 4 additions & 4 deletions apps/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,25 +19,25 @@ path = "src/lib/mod.rs"
[[bin]]
doc = false
name = "namada"
path = "src/bin/anoma/main.rs"
path = "src/bin/namada/main.rs"

# Namada node
[[bin]]
doc = false
name = "namadan"
path = "src/bin/anoma-node/main.rs"
path = "src/bin/namada-node/main.rs"

# Namada client
[[bin]]
doc = false
name = "namadac"
path = "src/bin/anoma-client/main.rs"
path = "src/bin/namada-client/main.rs"

# Namada wallet
[[bin]]
doc = false
name = "namadaw"
path = "src/bin/anoma-wallet/main.rs"
path = "src/bin/namada-wallet/main.rs"

[features]
default = ["std", "abciplus"]
Expand Down
Loading

0 comments on commit 5f3a4aa

Please sign in to comment.