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

Chore/merge master to prod #9

Merged
merged 136 commits into from
Feb 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
136 commits
Select commit Hold shift + click to select a range
cfb95ce
Update participants.mdx
NodeJom Dec 8, 2023
d501d7a
Update participants.mdx
NodeJom Dec 8, 2023
088c486
Merge pull request #1 from NodeJom/patch-2
NodeJom Dec 8, 2023
078fb65
Merge pull request #2 from NodeJom/patch-1
NodeJom Dec 8, 2023
fdc8060
Update participants.mdx
aztbll Dec 8, 2023
5c65e43
Create Remote_Signing.mdx
msobh13 Dec 9, 2023
5910d92
Merge branch 'master' into master
NodeJom Dec 12, 2023
b959e75
Update Remote_Signing.mdx
msobh13 Dec 13, 2023
18a986f
Update Remote_Signing.mdx
msobh13 Dec 13, 2023
c59e525
Update local-network.mdx
aquariusluo Dec 14, 2023
947699d
testnet docs updated for testnet 15 v0.28.1
bengtlofgren Dec 14, 2023
86d0d61
Merge pull request #227 from anoma/bengt/testnet-15-patch
bengtlofgren Dec 14, 2023
75e61a5
Merge pull request #226 from aquariusluo/master
bengtlofgren Dec 14, 2023
0188b56
Merge pull request #221 from NodeJom/master
bengtlofgren Dec 14, 2023
a8fc594
Merge pull request #222 from aztbll/patch-1
bengtlofgren Dec 14, 2023
5e91ec5
better docs for joining network
bengtlofgren Dec 15, 2023
3bc0239
Merge pull request #228 from anoma/bengt/join-pregen-validator
bengtlofgren Dec 15, 2023
d14ec03
Merge pull request #224 from msobh13/patch-2
bengtlofgren Dec 19, 2023
3ea93ee
first iteration of fixes
bengtlofgren Dec 19, 2023
ea3496c
improvements done
bengtlofgren Dec 20, 2023
9c8a00d
Merge pull request #231 from anoma/bengt/remote-signing
bengtlofgren Dec 20, 2023
8d66512
cleanup
bengtlofgren Jan 2, 2024
9965d47
chain id corrected
bengtlofgren Jan 5, 2024
258df84
Merge pull request #232 from anoma/bengt/cleanup
bengtlofgren Jan 5, 2024
6d44385
Fix typos
rex4539 Jan 5, 2024
0e62742
changed most namadaw functions
bengtlofgren Jan 10, 2024
b3be9e5
shielded expedition added
bengtlofgren Jan 12, 2024
9cd0f09
shielded expedition docs
bengtlofgren Jan 12, 2024
199912c
fixed broken import
bengtlofgren Jan 12, 2024
ab623f9
Merge pull request #234 from anoma/bengt/new-wallet
bengtlofgren Jan 12, 2024
c874001
Fix genesis-bond script.
jasondavies Jan 12, 2024
200a9a2
Merge pull request #236 from plutomonkey/fix-genesis-bond
bengtlofgren Jan 15, 2024
8840ace
Merge pull request #233 from rex4539/typos
bengtlofgren Jan 15, 2024
28df659
avatar field added
bengtlofgren Jan 15, 2024
0dd5db8
Merge pull request #237 from anoma/bengt/avatar
bengtlofgren Jan 15, 2024
e6c91a1
reference to older binaries
ekkis Jan 15, 2024
3a8da70
fix: typo
YES-Lee Jan 16, 2024
7210983
now v0.30.0
bengtlofgren Jan 17, 2024
e2e03be
Fix typos
gin Jan 21, 2024
3f4d952
Merge pull request #241 from gin/master
bengtlofgren Jan 24, 2024
8cb1dfc
Merge pull request #240 from YES-Lee/patch-1
bengtlofgren Jan 24, 2024
25ba4a5
Merge pull request #239 from ekkis/patch-1
bengtlofgren Jan 24, 2024
09758e2
Merge pull request #242 from anoma/bengt/update-version
bengtlofgren Jan 24, 2024
017cd79
fixed stuff
bengtlofgren Jan 28, 2024
7c77edc
Merge pull request #244 from anoma/bengt/v0.30
bengtlofgren Jan 28, 2024
c4182f3
governance had some issues
bengtlofgren Jan 29, 2024
110ffec
Merge pull request #245 from anoma/bengt/governance-pgf
bengtlofgren Jan 29, 2024
135b275
se docs
bengtlofgren Jan 30, 2024
3d05b49
docs updated for the newest se
bengtlofgren Jan 31, 2024
bce4261
memo field reminder
bengtlofgren Jan 31, 2024
a60cd39
env variable added
bengtlofgren Jan 31, 2024
61d02cd
env variable fixed
bengtlofgren Jan 31, 2024
0e462a4
Merge pull request #246 from anoma/bengt/se-docs
bengtlofgren Feb 1, 2024
d79f93f
governance docs updated
bengtlofgren Feb 1, 2024
bc35096
Fix wallet derive command
giansalex Feb 1, 2024
173c9f8
Merge pull request #247 from anoma/bengt/gov-fixes
bengtlofgren Feb 1, 2024
ddbd3ff
Merge pull request #248 from giansalex/patch-1
bengtlofgren Feb 1, 2024
fec68ae
Update shielded-transfers.mdx
amadison79 Feb 2, 2024
65ef71b
new gov fixes added
bengtlofgren Feb 2, 2024
17f97b4
Merge pull request #250 from anoma/bengt/gov-fixes2
bengtlofgren Feb 2, 2024
31e3c0c
Update pre-requisites.mdx
mohammedpatla Feb 2, 2024
87f7cf7
Merge pull request #251 from mohammedpatla/master
bengtlofgren Feb 4, 2024
37bf371
Merge pull request #249 from amadison79/patch-4
bengtlofgren Feb 4, 2024
84bda5a
small pr
bengtlofgren Feb 4, 2024
2d2a40d
Merge pull request #252 from anoma/bengt/gov-fixes3
bengtlofgren Feb 4, 2024
272f5f1
masp-fixes
bengtlofgren Feb 4, 2024
7e2437e
Merge pull request #253 from anoma/bengt/masp-fixes1
bengtlofgren Feb 4, 2024
bb6ad9a
new se
bengtlofgren Feb 5, 2024
2e19346
Merge pull request #258 from anoma/bengt/se-2
bengtlofgren Feb 5, 2024
671fb6a
accounts
bengtlofgren Feb 6, 2024
68205a5
Merge pull request #259 from anoma/bengt/se-2
bengtlofgren Feb 6, 2024
90c277e
redelgate command added
bengtlofgren Feb 6, 2024
970bcc9
Merge pull request #260 from anoma/bengt/redelegate
bengtlofgren Feb 6, 2024
4f160a0
corrected chain id
bengtlofgren Feb 6, 2024
92a6261
Merge pull request #262 from anoma/bengt/fix-network-pull
bengtlofgren Feb 6, 2024
57120d8
fix namada version
brentstone Feb 6, 2024
479bb71
update pos for users
brentstone Feb 6, 2024
db8358f
Merge pull request #263 from anoma/brent/fix-docs-version-tag-031
bengtlofgren Feb 7, 2024
5db5ab7
Merge pull request #264 from anoma/brent/update-pos-docs
bengtlofgren Feb 7, 2024
b7a9820
change to Namada 0.31.2
brentstone Feb 7, 2024
ba7e755
Merge pull request #265 from anoma/brent/upgrade-to-0312
bengtlofgren Feb 8, 2024
24d37d7
jailing for validators
brentstone Feb 8, 2024
6de0dcd
user interactions with jailed validators
brentstone Feb 8, 2024
a50b815
Merge pull request #266 from anoma/brent/jailing
bengtlofgren Feb 8, 2024
42befa8
fixed parse error
bengtlofgren Feb 9, 2024
104b65f
example for offline proposal added
bengtlofgren Feb 9, 2024
f9967d3
Merge pull request #267 from anoma/bengt/specs1
bengtlofgren Feb 9, 2024
5f404e3
Merge pull request #268 from anoma/bengt/offline-proposal
bengtlofgren Feb 9, 2024
17846ca
tally_epoch is in past
bengtlofgren Feb 9, 2024
f9c220a
signing keys essential
bengtlofgren Feb 9, 2024
1dc0c09
Merge pull request #269 from anoma/bengt/offline-proposal2
bengtlofgren Feb 9, 2024
7c1df8d
Add "abstain" option to on-chain-governance.mdx
phy-chain Feb 12, 2024
9a6cc98
gov specs improved slightly
bengtlofgren Feb 13, 2024
55bc9af
Merge pull request #272 from anoma/bengt/gov-specs2
bengtlofgren Feb 13, 2024
446ecf3
small changes
bengtlofgren Feb 13, 2024
08188cc
Merge pull request #273 from anoma/bengt/vps
bengtlofgren Feb 13, 2024
ee49b0b
upgrayydddd
bengtlofgren Feb 13, 2024
2082b1a
Merge pull request #270 from phy-chain/patch-1
bengtlofgren Feb 13, 2024
d0c30d5
updated for v0.31.4
bengtlofgren Feb 13, 2024
bb207cf
Minor editing
cwgoes Feb 13, 2024
6877268
Merge pull request #276 from anoma/bengt/ibc-update
bengtlofgren Feb 13, 2024
0a29024
Merge pull request #275 from anoma/cwgoes/minor-edits
cwgoes Feb 13, 2024
88c5aad
Merge pull request #274 from anoma/bengt/upgrade-v0.31.4
bengtlofgren Feb 13, 2024
a9b4e08
add shielding transfer over IBC
yito88 Feb 13, 2024
3939992
jolly good old english -> America ain't got no US
bengtlofgren Feb 14, 2024
30647ee
How are we meant to play scrabble without the z in ize
bengtlofgren Feb 14, 2024
37a0daf
Merge pull request #279 from anoma/bengt/cuppa-tea
bengtlofgren Feb 14, 2024
b171422
reorg seaorg
bengtlofgren Feb 14, 2024
57adda0
meta jsons changed and also docs->specs references
bengtlofgren Feb 14, 2024
2642191
Merge pull request #280 from anoma/bengt/restructure
bengtlofgren Feb 14, 2024
1b1340f
Minor edits after structural rework
cwgoes Feb 14, 2024
3b854c6
Merge pull request #281 from anoma/cwgoes/minor-edits-2
bengtlofgren Feb 14, 2024
c9501ad
Merge pull request #278 from anoma/yuji/ibc-shielding-transfer
bengtlofgren Feb 14, 2024
8af4b17
Update electing.mdx
nodiums Feb 15, 2024
dc817a0
voting periods and grace epoch added
bengtlofgren Feb 15, 2024
c205997
delegates voting window added
bengtlofgren Feb 15, 2024
2e35637
Merge pull request #284 from anoma/bengt/gov-stuff
bengtlofgren Feb 15, 2024
7d6489c
corrected
bengtlofgren Feb 15, 2024
524bb9e
update protocol version to 0.31.4
brentstone Feb 16, 2024
fcac2cb
Merge pull request #287 from anoma/brent/update-0314
bengtlofgren Feb 16, 2024
24cc9af
Merge pull request #286 from anoma/bengt/gov-stuff2
bengtlofgren Feb 16, 2024
8d87e21
Merge pull request #282 from nodiums/patch-1
bengtlofgren Feb 16, 2024
44069e0
proposal docs
bengtlofgren Feb 16, 2024
2476daf
remove signing keys
bengtlofgren Feb 16, 2024
1693a46
signatures flag corrected
bengtlofgren Feb 16, 2024
b94182b
Merge pull request #289 from anoma/bengt/offline-txs
bengtlofgren Feb 16, 2024
61f1fab
Merge pull request #288 from anoma/bengt/proposal-docs
bengtlofgren Feb 19, 2024
733b005
update to v0.31.5
brentstone Feb 19, 2024
185696e
Merge pull request #292 from anoma/brent/update-0315
brentstone Feb 19, 2024
04b82c6
pos address stuff
bengtlofgren Feb 20, 2024
e89fce8
Merge pull request #293 from anoma/bengt/validator-keys
bengtlofgren Feb 20, 2024
63d9c43
--node changes
bengtlofgren Feb 22, 2024
29dd896
Merge pull request #295 from anoma/bengt/dash-dash-node
bengtlofgren Feb 22, 2024
2988d0e
update to 0.31.6
brentstone Feb 24, 2024
7e57457
Merge pull request #298 from anoma/brent/update-0316
brentstone Feb 24, 2024
d93f2a1
Merge branch 'master' into production
EvgenyKhlivetsky Feb 24, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/docs/pages/integrating-with-namada/sdk.en-US.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ The Namada software development kit (SDK) can be found in the `namada` repo unde

## Quick Start

A good starting point to see the SDK in use is to check-out the [namada interface](https://github.com/anoma/namada-interface/tree/main/packages/shared/lib/src/sdk) repo. This repo contains a simple web application that uses the SDK to interact with the Namada blockchain. However, it is important to note the added complexity arising from the application integrating javascript using [wasm-bindgen](https://rustwasm.github.io/docs/wasm-bindgen/), which is not necesary.
A good starting point to see the SDK in use is to check-out the [namada interface](https://github.com/anoma/namada-interface/tree/main/packages/shared/lib/src/sdk) repo. This repo contains a simple web application that uses the SDK to interact with the Namada blockchain. However, it is important to note the added complexity arising from the application integrating javascript using [wasm-bindgen](https://rustwasm.github.io/docs/wasm-bindgen/), which is not necessary.

## Installation

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ struct MultisigAccount {
}
```

Multisignature accounts, because they are initialised by an on-chain transaction, will always have their public key revealed to the ledger. However, when keypairs are generated in an offline fashion, the user must submit a transaction in order to reveal their public key. Because of this, it is helpful to add the field `revealed` to the account struct.
Multisignature accounts, because they are initialized by an on-chain transaction, will always have their public key revealed to the ledger. However, when keypairs are generated in an offline fashion, the user must submit a transaction in order to reveal their public key. Because of this, it is helpful to add the field `revealed` to the account struct.

```rust
use namada_sdk::core::types::key::common::{PublicKey, SecretKey};
Expand Down
4 changes: 2 additions & 2 deletions packages/docs/pages/introduction.en-US.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ Here are some useful tips for reading this book:

- Comments start with `#`:

`# this is a comment make sure you read them!`
`# this is a comment. Make sure you read them!`

- Sample outputs start with an arrow:

`➜ this is an example command line output useful for comparing`

- User-defined inputs are in angle brackets:

`$ this is a command you should run <with your own input>`
`this is a command you should run "<with your own input>"`

## About this documentation

Expand Down
2 changes: 2 additions & 0 deletions packages/docs/pages/introduction/install/binaries.en-US.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ latest_release_url=$(curl -s "https://api.github.com/repos/anoma/namada/releases
wget "$latest_release_url"
```

Older versions of the binaries are available from Github -- see the [releases page](https://github.com/anoma/namada/releases)

Unzip the `tar` using the following command:
```shell copy
#Assuming the user only has one namada tar file in the current directory
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ Finally, you should have GLIBC `v2.33` or higher.

**Ubuntu 22.04**: glibc is installed by default and you don't have to do anything more.

**Ubuntu 18.04 and Ubuntu 22.04**: glibc has `v2.27` and `v2.29` respectively, by default which is lower than the required version to run Namada. We recommend to directly [install from source](../source.mdx) or upgrade to Ubuntu 22.04, instead of updating glibc to the required version, since the latter way can be a messy and tedious task. In case updating glibc would interest you, this [website](http://www.linuxfromscratch.org/lfs/view/9.0-systemd/chapter05/glibc.html) gives you the steps to build the package from source.
**Ubuntu 18.04 and Ubuntu 20.04**: glibc has `v2.27` and `v2.29` respectively, by default which is lower than the required version to run Namada. We recommend to directly [install from source](../source.mdx) or upgrade to Ubuntu 22.04, instead of updating glibc to the required version, since the latter way can be a messy and tedious task. In case updating glibc would interest you, this [website](http://www.linuxfromscratch.org/lfs/view/9.0-systemd/chapter05/glibc.html) gives you the steps to build the package from source.
2 changes: 1 addition & 1 deletion packages/docs/pages/introduction/install/docker.en-US.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ For example if you wanted to build the docker image for Namada v0.16.0 and chain

```bash copy
export CHAIN_ID=public-testnet-69.0.b20a1337aa1
export BRANCH=v0.16.0
export BRANCH=v0.28.2 #The latest branch of Namada
```

Then you can build the docker image by running:
Expand Down
6 changes: 3 additions & 3 deletions packages/docs/pages/introduction/install/source.en-US.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ import { Callout } from 'nextra-theme-docs'
# Install from source

<Callout type="warning">
Please note that, although installing from source is the recommended route for installing namada, it can prove to be difficult, and is not recommended for beginners. For a first time installation, the installation process can take up to an hour. Building binaries from source can also take a long time, depending on your machine.
Please note that, although installing from source is the recommended route for installing namada, it can prove to be difficult, and is not recommended for beginners. For a first time installation, the installation process can take up to an hour. Building binaries from source can also take a long time, depending on the machine.
</Callout>

## Pre-requisites

Make sure you have the correct [pre-requisites](./source/pre-requisites.mdx) downloaded and installed.
Ensure the correct [pre-requisites](./source/pre-requisites.mdx) have been downloaded and installed.

## Installing Namada
Now that you have all the required dependencies installed, you can clone the source code from the [Namada repository](https://github.com/anoma/namada) and build it with:
Once all the required dependencies have been installed, the next step is to clone the source code from the [Namada repository](https://github.com/anoma/namada) and build it with:

```shell copy
git clone https://github.com/anoma/namada.git
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Then, install the remaining dependencies.
**Ubuntu:** running the following command should install everything needed:

```shell copy
sudo apt-get install -y make git-core libssl-dev pkg-config libclang-12-dev build-essential protobuf-compiler
sudo apt-get install -y make git-core libssl-dev pkg-config libclang-12-dev build-essential protobuf-compiler libudev-dev
```

**Mac:** installing the Xcode command line tools should provide you with almost everything you need:
Expand Down
5 changes: 2 additions & 3 deletions packages/docs/pages/introduction/quick-start.en-US.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ We recommend this step with [tmux](https://www.hamvocke.com/blog/a-quick-and-eas
tmux

# inside the tmux/or not

namadan ledger run

# can detach the tmux (Ctrl-B then D)
Expand All @@ -47,15 +46,15 @@ This should sync your node to the ledger and will take a while (depending on you
First you will need an implicit account in order to receive tokens. You can generate one with:

```shell copy
namadaw address gen --alias <your-go-to-alias>
namadaw gen --alias <your-go-to-alias>
```

For the remainder of this introduction, let's assume your go-to alias is `stanley`.

This will generate a new account and store it in the default keychain. You can see the account with:

```shell copy
namadaw address list
namadaw list --addr
```

{/* #TODO: ADD some output */}
Expand Down
23 changes: 17 additions & 6 deletions packages/docs/pages/networks/testnets.en-US.mdx
Original file line number Diff line number Diff line change
@@ -1,15 +1,26 @@
import { Callout } from 'nextra-theme-docs'

# Namada Testnets

For more context read:

[Announcing Namada Public Testnets](https://blog.namada.net/announcing-namada-public-testnets/)

## Latest Testnet
- Namada public testnet 15:
- From date: 14th of December 2023 17:00 UTC
- Namada protocol version: `v0.28.0`
## Shielded expedition

< Callout type = "info" emoji = "👷" >
For the shielded expedition, it is important to remember to add the `--memo` flag to every transaction. The memo should be filled with the `tpknam` submitted at the shielded-expedition registration period.
For example `namadac transfer --source me --target you --amount 10 --token naan --signing-keys my-key --memo tpknamq1337mypubkey1964qqqqqq`
< /Callout>

The `balances.toml` file is located at `https://github.com/anoma/namada-shielded-expedition`.

- Namada Shielded expedition 2:
- From date: 6th of February 2024 18:00 UTC
- Namada protocol version: `v0.31.6`
- Cometbft version: `0.37.2`
- CHAIN_ID: `tbd`
- CHAIN_ID: `shielded-expedition.88f17d1d14`


The history of all testnets can be found [here](./testnets/testnet-history.mdx).

Expand All @@ -34,7 +45,7 @@ If you find a bug, please submit an issue with the `bug` [issue template](https:
## Testnet flowchart
![testnet_flowchart](/images/testnet_flowchart.png)

The Namada public testnet is permissionless, anyone can join without the authorisation of a centralised party. Expect frequent upgrades (every two weeks).
The Namada public testnet is permissionless, anyone can join without the authorisation of a centralized party. Expect frequent upgrades (every two weeks).

## Block explorer

Expand Down
22 changes: 11 additions & 11 deletions packages/docs/pages/networks/testnets/environment-setup.en-US.mdx
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
import {Steps} from 'nextra-theme-docs'
import { Steps } from 'nextra-theme-docs'
import { Callout } from 'nextra-theme-docs'

# Environment setup

<Callout type="info">
< Callout type = "info" >
If you don't want to build Namada from source you can [install Namada from binaries](../../introduction/install/binaries.mdx).
Note that building from source can be a difficult process and is not recommended for beginners.
</Callout>
< /Callout>

Export the following variables:

```bash copy
export NAMADA_TAG=v0.23.1
export NAMADA_TAG=v0.31.6
```


## Installing Namada
<Steps>
< Steps >
### Install all pre-requisites
- [Rust](https://www.rust-lang.org/tools/install)
- [CometBFT](../../introduction/installing-cometbft.mdx)
Expand All @@ -37,17 +37,17 @@ sudo apt-get update -y
sudo apt-get install build-essential make pkg-config libssl-dev libclang-dev -y
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
```
</Steps>
< /Steps>
## Installing CometBFT
<Steps>
< Steps >
### See the installing CometBFT section [here](../../introduction/installing-cometbft.mdx) for instructions on how to install CometBFT.
### Copy both the namada and CometBFT binaries to somewhere on $PATH (or use the relative paths). This step may or may not be necessary.

- namada binaries can be found in `/target/release`
- CometBFT is likely in `$HOME/Downloads/cometbft`
</Steps>
< /Steps>
## Check ports
<Steps>
< Steps >
### Open ports on your machine:
- 26656
- 26657
Expand All @@ -66,6 +66,6 @@ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
- Make sure you are using the correct CometBFT version
- `cometbft version` should output `0.37.2`
- Make sure you are using the correct Namada version
- `namada --version` should output `Namada v0.23.1`
- `namada --version` should output `Namada v0.31.6`

</Steps>
< /Steps>
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,15 @@ Before a testnet launches, you can apply to be a genesis validator.

### Set up

Follow [this guide](../../operators/validators/validator-setup.mdx#pre-genesis) on how to generate your "pre-genesis" validator files.
Follow [this guide](../../operators/validators/validator-setup.mdx#pre-genesis) on how to generate "pre-genesis" validator files.

<Callout>
All pre-genesis validators are expected to bond `1000000` NAM tokens. At least that many tokens will be allocated to the pre-genesis validator key
For the shielded expedition, the `balances.toml` file has been published at the [namada-shieled-expedition repository](https://github.com/anoma/namada-shielded-expedition).
Amounts bonded in the bonding transactions must be less than or equal to the amounts specified in the `balances.toml` file.
It is recommended to leave at least 1000 `NAAN` unbonded for transaction fees.
</Callout>

After this, you'll have a signed `transactions.toml` file, the contents of which will look something like the following:
After this, you will have a signed `transactions.toml` file, the contents of which will look something like the following:

```toml
[[established_account]]
Expand Down Expand Up @@ -66,7 +68,12 @@ This file contains only public information and is safe to share publicly.


### Submitting the config
If you want to be a genesis validator for the testnet, please make a pull request to https://github.com/anoma/namada-testnets adding your signed `transactions.toml` file to the relevant directory (e.g. `namada-public-testnet-2` for the second public testnet), renaming it to `$alias.toml`.

<Callout>
For the shielded expedition, use the repository `https://github.com/anoma/namada-shielded-expedition` instead of `https://github.com/anoma/namda-testnets`.
</Callout>

If you want to be a genesis validator for the testnet, please make a pull request to `https://github.com/anoma/namada-testnets` (`https://github.com/anoma/namada-shielded-expedition` for the Shielded expedition) adding your **signed** `transactions.toml` file to the relevant directory (e.g. `namada-public-testnet-2` for the second public testnet), renaming it to `"<your-alias>"".toml`.
E.g. if you chose your alias to be "bertha", submit the file with the name `bertha.toml`. You can see what an example PR looks like [here](https://github.com/anoma/namada-testnets/pull/2616).

### Wait for the `CHAIN_ID`
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,47 @@
import { Callout } from 'nextra-theme-docs'

# Joining the latest testnet

Depending on whether you are a genesis validator, you can join the latest testnet either as a genesis validator or as a full node.

## Joining as a genesis validator
Joining the testnet validator is identical to that of a mainnet validator.

For this reason, please refer to [these docs](../../operators/validators/validator-setup.mdx#start-validating).
In order to join the network as a genesis validator, you will need to have been selected in the genesis ceremony. If you have not been selected, you can still join as a full node.

<Callout>
For the shielded expedition, only the top 114 pilots have been selected as genesis validators. If you were not selected, you can still bond to one of the genesis validators or become a post-genesis validator.
</Callout>

If you have been selected. You must run the following command:

```bash
CHAIN_ID="<chain-id>"
VALIDATOR_ALIAS="<your-validator-alias>"
NAMADA_NETWORK_CONFIGS_SERVER="https://github.com/anoma/namada-shielded-expedition/releases/download/shielded-expedition.88f17d1d14" namadac utils join-network --chain-id $CHAIN_ID --genesis-validator $VALIDATOR_ALIAS
```

<Callout>
Note that if you use the above command, your pre-genesis wallet must be in the default base directory (`$BASE_DIR`). If the wallet is not in the default base directory, you must use the flag `--pre-genesis-path` instead. The value for this will be `$BASE_DIR/pre-genesis/$VALIDATOR_ALIAS`.

E.g if your base directory is `.namada` and your validator alias is `my-validator`, then run the command

```bash
CHAIN_ID="<chain-id>"
VALIDATOR_ALIAS="my-validator"
BASE_DIR=".namada"
NAMADA_NETWORK_CONFIGS_SERVER="https://github.com/anoma/namada-shielded-expedition/releases/download/shielded-expedition.88f17d1d14" namadac utils join-network --chain-id $CHAIN_ID --pre-genesis-path $BASE_DIR/pre-genesis/$VALIDATOR_ALIAS
```
</Callout>

Running the node of a pre-genesis validator is identical to that of a mainnet validator.

For this reason, please refer to [these docs](../../operators/validators/validator-setup.mdx#start-validating) for running the node.

## Submitting bonding transactions as a non-genesis validator
If your public key has been allocated `NAM` (`NAAN` for the shielded expedition), you can bond to a genesis validator as a pre-genesis transaction.
Please follw the steps [here](../../operators/networks/genesis-flow/participants.mdx#bond-to-a-pre-genesis-validator-account) in order to submit these transactions.

Remember to sign these transactions as well.

## Joining as a full node
If you are not a genesis validator, please follow the steps for [joining as a full node](../../operators/ledger/running-a-full-node.mdx).
Expand Down
26 changes: 21 additions & 5 deletions packages/docs/pages/networks/testnets/testnet-history.en-US.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,31 @@ This page covers all installation steps required by various upgrades to testnets

## Latest Upgrade

No upgrades are currently scheduled.
## Namada shielded expedition 2 `v0.31.6` upgrade

In order to upgrade to the latest version of the Namada protocol, please follow the steps from [this hackmd](https://hackmd.io/EBTtfPiZT7yoRjxYRcbiPQ)

## Shielded expedition

- Namada Shielded expedition 2:
- From date: 6th of February 2024 18:00 UTC
- Namada protocol version: `v0.31.6`
- Cometbft version: `0.37.2`
- CHAIN_ID: `shielded-expedition.88f17d1d14`

- Namada Shielded expedition 1 (offline):
- From date: 1st of February 2024 18:00 UTC
- Namada protocol version: `v0.31.0`
- Cometbft version: `0.37.2`
- CHAIN_ID: `shielded-expedition.3d767ac5d5`

## Latest Testnet

- Namada public testnet 15:
- From date: 14th of December 2023 17:00 UTC
- Namada protocol version: `v0.28.0`
- Namada public testnet 15 (offline):
- From date: 18th of December 2023 17:00 UTC
- Namada protocol version: `v0.28.1`
- Cometbft version: `0.37.2`
- CHAIN_ID: `tbd`
- CHAIN_ID: `public-testnet-15.0dacadb8d663`


## Testnet History Timeline
Expand Down
1 change: 1 addition & 0 deletions packages/docs/pages/operators/_meta.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"hardware": "Hardware requirements",
"ledger": "Running a full node",
"remote-signing": "Remote signing",
"validators": "Validators",
"networks": "Starting a network",
"ibc": "IBC Relayers",
Expand Down
2 changes: 1 addition & 1 deletion packages/docs/pages/operators/eth-bridge.en-US.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ The bridge is a combination of smart contracts on Ethereum as well as ledger pro

## Design

The full design specs can be found [here](https://specs.namada.net/interoperability/ethereum-bridge).
The full design specs can be found [here](https://specs.namada.net/modules/ethereum-bridge).

A short outline of the design is outlined below.

Expand Down
10 changes: 5 additions & 5 deletions packages/docs/pages/operators/ibc.en-US.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Below, we discuss first how to enable this connection between two pre-existing c

## Configure Hermes
Hermes is an IBC relayer to relay IBC packets between chains.
Namada uses a [fork of Hermes supporting Namada chains](https://github.com/heliaxdev/hermes/tree/v1.7.1-namada-beta4).
Namada uses a [fork of Hermes supporting Namada chains](https://github.com/heliaxdev/hermes/tree/v1.7.4-namada-beta7).

### Make Hermes config file
One essential piece of the puzzle is to create a `config.toml` file that describes what connections will be set up that the relayer will be responsible for.
Expand Down Expand Up @@ -123,7 +123,7 @@ One can download the latest binary release from our [releases page](https://gith

E.g.
```bash copy
export TAG="v1.7.1-namada-beta4"
export TAG="v1.7.4-namada-beta7"
export ARCH="x86_64-unknown-linux-gnu" # or "aarch64-apple-darwin"
curl -Lo /tmp/hermes.tar.gz https://github.com/heliaxdev/hermes/releases/download/${TAG}/hermes-${TAG}-${ARCH}.tar.gz
tar -xvzf /tmp/hermes.tar.gz -C /usr/local/bin
Expand All @@ -140,7 +140,7 @@ This is also true for the command `cp ./target/release/hermes /usr/local/bin/` b

### From source
```bash copy
export TAG="v1.7.1-namada-beta4"
export TAG="v1.7.4-namada-beta7"

git clone https://github.com/heliaxdev/hermes.git
git checkout $TAG
Expand All @@ -166,7 +166,7 @@ cp ./target/release/hermes /usr/local/bin/
### Create the relayer account
On each chain, there must be a `relayer` account. The alias should be the same as `chains.key_name` in the config. On a namada chain, this can be done by running
```bash copy
namadaw key gen --alias relayer
namadaw gen --alias relayer
```

This will generate a key for the relayer account. The key will be stored in the `wallet.toml` that is found in the [base directory](./ledger/base-directory.mdx) of the node, inside the `chain-id` folder. For example, if the `chain-id` is `namada-test.0a4c6786dbda39f786`, the `wallet.toml` will be found in `$HOME/.local/share/namada/namada-test.0a4c6786dbda39f786/wallet.toml` (on a ubuntu machine where `base-dir` has not been set up properly).
Expand Down Expand Up @@ -293,7 +293,7 @@ First, you will need to export some environment variables:

```bash copy
export NAMADA_DIR="<path-to-namada-source-directory>"
export TAG="v1.7.1-namada-beta4"
export TAG="v1.7.4-namada-beta7"
```

```bash copy
Expand Down
Loading
Loading