Skip to content

Commit

Permalink
Merge branch 'main' into production
Browse files Browse the repository at this point in the history
  • Loading branch information
grarco committed Nov 17, 2022
2 parents c135b7a + 250ad3c commit 6ba819c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ rustup update
Once Rust is installed, clone the Namada Trusted Setup Ceremony GitHub repository and change directories into `namada-trusted-setup`:
```
git clone https://github.com/anoma/namada-trusted-setup.git
cd namada-trusted-setup && git checkout v1.0.0-10
cd namada-trusted-setup && git checkout v1.0.0-beta.11
```

Build the binary:
Expand Down
2 changes: 1 addition & 1 deletion phase2-coordinator/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ async fn generate_secret() -> Result<()> {
let secret = hex::encode(secret_bytes);
std::env::set_var("ACCESS_SECRET", &secret);
let env = match std::env::var("AWS_S3_PROD") {
Ok(val) if val == "true" => "prod",
Ok(val) if val == "true" => "production",
_ => "master",
};

Expand Down
2 changes: 1 addition & 1 deletion phase2-coordinator/src/s3.rs
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ impl S3Ctx {
/// Retrieve the compressed token folder.
pub async fn get_tokens(&self) -> Result<Vec<u8>> {
let key = match std::env::var("AWS_S3_PROD") {
Ok(t) if t == "true" => format!("prod/{}", TOKENS_ZIP_FILE),
Ok(t) if t == "true" => format!("production/{}", TOKENS_ZIP_FILE),
_ => format!("master/{}", TOKENS_ZIP_FILE),
};

Expand Down

0 comments on commit 6ba819c

Please sign in to comment.