Skip to content

Commit

Permalink
feat: bump tofnd to 1.0.1 (#1046)
Browse files Browse the repository at this point in the history
  • Loading branch information
StephenFluin authored Jul 15, 2024
1 parent b3fdf6c commit 4e812d5
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 14 deletions.
2 changes: 1 addition & 1 deletion src/pages/resources/contract-addresses/mainnet.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import UpgradePath from '/src/upgrade-path.md'
| `chain-id` | `axelar-dojo-1` |
| `axelar-core` version | `v0.35.5` |
| `vald` version | `v0.35.5` |
| `tofnd` version | `v0.10.1` |
| `tofnd` version | `v1.0.1` |

## EVM contract addresses

Expand Down
2 changes: 1 addition & 1 deletion src/pages/resources/contract-addresses/testnet.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import UpgradePathTestnet from '/src/upgrade-path-testnet.md'
| `chain-id` | `axelartestnet-lisbon-3` |
| `axelar-core` version | `v0.35.5` |
| `vald` version | `v0.35.5` |
| `tofnd` version | `v0.10.1` |
| `tofnd` version | `v1.0.1` |

## EVM contract addresses

Expand Down
26 changes: 18 additions & 8 deletions src/pages/validator/amplifier/verifier-onboarding.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -27,31 +27,41 @@ There are three ways to set up and run a verifier:
<tab-item title="Source">
Install `tofnd` from source by cloning and building the [`tofnd` repository](https://github.com/axelarnetwork/tofnd).

Create a default mneumonic and configuration in `~/.tofnd/` with:
```bash
git clone [email protected]:axelarnetwork/tofnd.git --recursive
cd tofnd
cargo build --release --locked
```

This will create a binary in the `target/release` directory. You can move this binary to a location in your `PATH` or run it directly from the `target/release` directory.

Create a default mneumonic and configuration in `~/.tofnd/`, then back it up and delete it.

```bash
~/Downloads/tofnd*-v0.10.5 -m create
tofnd -m create
mv ~/.tofnd/export ~/.tofnd/export-new-location
```
</tab-item>

<tab-item title="Binary">
Download the [`tofnd` binary](https://github.com/axelarnetwork/tofnd/releases) depending on the type of machine you have:
- Linux: [`tofnd-linux-amd64-v0.10.5`](https://github.com/axelarnetwork/tofnd/releases/download/v0.10.5/tofnd-linux-amd64-v0.10.5)
- Apple Mac (AMD64 or ARM): [`tofnd-darwin-amd64-v0.10.5`](https://github.com/axelarnetwork/tofnd/releases/download/v0.10.5/tofnd-darwin-amd64-v0.10.5)
- Linux: [`tofnd-linux-amd64-v1.0.1`](https://github.com/axelarnetwork/tofnd/releases/download/v1.0.1/tofnd-linux-amd64-v1.0.1)
- Apple Mac (AMD64 or ARM): [`tofnd-darwin-amd64-v1.0.1`](https://github.com/axelarnetwork/tofnd/releases/download/v1.0.1/tofnd-darwin-amd64-v1.0.1)

Create a default mneumonic and configuration in `~/.tofnd/` with:
Create a default mneumonic and configuration in `~/.tofnd/`, then back it up and delete it.

```bash
~/Downloads/tofnd*-v0.10.5 -m create
~/Downloads/tofnd*-v1.0.1 -m create
mv ~/.tofnd/export ~/.tofnd/export-new-location
```
</tab-item>

<tab-item title="Docker">
Pull and run the latest version of `tofnd` from Docker:

```bash
docker pull axelarnet/tofnd:v0.10.5
docker run -p 50051:50051 --env MNEMONIC_CMD=auto --env NOPASSWORD=true --env ADDRESS=0.0.0.0 -v tofnd:/.tofnd axelarnet/tofnd:v0.10.5
docker pull axelarnet/tofnd:v1.0.1
docker run -p 50051:50051 --env MNEMONIC_CMD=auto --env NOPASSWORD=true --env ADDRESS=0.0.0.0 -v tofnd:/.tofnd axelarnet/tofnd:v1.0.1
```

Leave this process running in the background, and perform additional commands in a new terminal window or shell.
Expand Down
2 changes: 1 addition & 1 deletion src/pages/validator/external-chains/centrifuge.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ it is possible it won't be able to access the `/data` folder, to be sure either:
```bash
chown -R 1000:1000 /mnt/my_volume/data
```
- Run the containe as root adding `user: root` to your service definition in the docker-compose below (not recommended)
- Run the container as root adding `user: root` to your service definition in the docker-compose below (not recommended)
</Callout>

<Callout type="warning">
Expand Down
6 changes: 3 additions & 3 deletions src/pages/validator/setup/manual.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ Check the appropriate version for the network accordingly:
<tab-item title="Mainnet">
```bash
AXELARD_RELEASE=v0.35.5
TOFND_RELEASE=v0.10.1
TOFND_RELEASE=v1.0.1
WASMVM_RELEASE=v1.3.1
```

</tab-item>
<tab-item title="Testnet">
```bash
AXELARD_RELEASE=v0.35.5
TOFND_RELEASE=v0.10.1
TOFND_RELEASE=v1.0.1
WASMVM_RELEASE=v1.3.1
```

Expand Down Expand Up @@ -332,7 +332,7 @@ cd binaries
# put the tag/version that we are upgrading to
# set versions: the below is an example and the numbers should be replaced
# AXELARD_RELEASE=v0.17.1
# TOFND_RELEASE=v0.10.1
# TOFND_RELEASE=v1.0.1

AXELARD_RELEASE=<GIVE_VERSION>
TOFND_RELEASE=<GIVE_VERSION> # if we are upgrading tofnd too
Expand Down

0 comments on commit 4e812d5

Please sign in to comment.