Skip to content

Commit 8ed459a

Browse files
author
Gianmarco Fraccaroli
committed
fix: change .anoma to .namada
1 parent f25f335 commit 8ed459a

7 files changed

Lines changed: 10 additions & 10 deletions

File tree

.github/workflows/build-and-test-bridge.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ jobs:
239239
name: logs-e2e${{ matrix.make.suffix }}-${{ github.sha }}
240240
path: |
241241
/tmp/.*/logs/
242-
/tmp/.*/e2e-test.*/setup/validator-*/.anoma/logs/*.log
242+
/tmp/.*/e2e-test.*/setup/validator-*/.namada/logs/*.log
243243
retention-days: 5
244244
- name: Print sccache stats
245245
if: always()

.github/workflows/build-and-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ jobs:
241241
name: logs-e2e${{ matrix.make.suffix }}-${{ github.sha }}
242242
path: |
243243
/tmp/.*/logs/
244-
/tmp/.*/e2e-test.*/setup/validator-*/.anoma/logs/*.log
244+
/tmp/.*/e2e-test.*/setup/validator-*/.namada/logs/*.log
245245
retention-days: 5
246246
- name: Print sccache stats
247247
if: always()

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# Anoma default home dir
2-
/.anoma
1+
# Namad default home dir
2+
/.namada
33

44
# Generated by Cargo
55
# will have compiled files and executables

apps/src/lib/cli.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1272,7 +1272,7 @@ pub mod args {
12721272
const ARCHIVE_DIR: ArgOpt<PathBuf> = arg_opt("archive-dir");
12731273
const BASE_DIR: ArgDefault<PathBuf> = arg_default(
12741274
"base-dir",
1275-
DefaultFn(|| match env::var("ANOMA_BASE_DIR") {
1275+
DefaultFn(|| match env::var("NAMADA_BASE_DIR") {
12761276
Ok(dir) => dir.into(),
12771277
Err(_) => config::DEFAULT_BASE_DIR.into(),
12781278
}),
@@ -1387,9 +1387,9 @@ pub mod args {
13871387
.arg(BASE_DIR.def().about(
13881388
"The base directory is where the nodes, client and wallet \
13891389
configuration and state is stored. This value can also \
1390-
be set via `ANOMA_BASE_DIR` environment variable, but \
1390+
be set via `NAMADA_BASE_DIR` environment variable, but \
13911391
the argument takes precedence, if specified. Defaults to \
1392-
`.anoma`.",
1392+
`.namada`.",
13931393
))
13941394
.arg(WASM_DIR.def().about(
13951395
"Directory with built WASM validity predicates, \

apps/src/lib/config/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ use thiserror::Error;
2020
use crate::cli;
2121

2222
/// Base directory contains global config and chain directories.
23-
pub const DEFAULT_BASE_DIR: &str = ".anoma";
23+
pub const DEFAULT_BASE_DIR: &str = ".namada";
2424
/// Default WASM dir.
2525
pub const DEFAULT_WASM_DIR: &str = "wasm";
2626
/// The WASM checksums file contains the hashes of built WASMs. It is inside the

docker/namada/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ WORKDIR /app
2828
RUN git clone -b v0.1.1-abcipp --single-branch https://github.com/heliaxdev/tendermint.git && cd tendermint && make build
2929

3030
FROM debian:bullseye-slim AS runtime
31-
ENV ANOMA_BASE_DIR=/.anoma
31+
ENV NAMADA_BASE_NADIR=/.namada
3232
ENV ANOMA_LOG_COLOR=false
3333

3434
RUN apt-get update && apt-get install libcurl4-openssl-dev -y && apt-get clean

documentation/docs/src/user-guide/ledger.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Note that you need to have [joined a network](./getting-started.md) before you s
1010

1111
The node will attempt to connect to the persistent validator nodes and other peers in the network, and synchronize to the latest block.
1212

13-
By default, the ledger will store its configuration and state in the `.anoma` directory relative to the current working directory. You can use the `--base-dir` CLI global argument or `ANOMA_BASE_DIR` environment variable to change it.
13+
By default, the ledger will store its configuration and state in the `.namada` directory relative to the current working directory. You can use the `--base-dir` CLI global argument or `NAMADA_BASE_DIR` environment variable to change it.
1414

1515
The ledger also needs access to the built WASM files that are used in the genesis block. These files are included in release and shouldn't be modified, otherwise your node will fail with a consensus error on the genesis block. By default, these are expected to be in the `wasm` directory, relative to the current working directory. This can also be set with the `--wasm-dir` CLI global argument, `ANOMA_WASM_DIR` environment variable or the configuration file.
1616

0 commit comments

Comments
 (0)