Skip to content

Commit

Permalink
Merge branch 'main' into patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
anaye1997 authored Jan 29, 2024
2 parents fa02444 + 5aba87b commit e07884f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
11 changes: 8 additions & 3 deletions docs/manta-atlantic/Collation/03-SetupAndRun/04-sync.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,11 @@ if you cannot wait for the recommended sync mechanism to complete, you may obtai
- verify that the node is syncing correctly
- wait for both parachain and relay-chain idle messages to appear in the logs

fast-sync commands (requires [aws cli](https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html)):
list available snapshot date are
* `2024-01-28UTC` (latest)
* `2023-12-05UTC`

fast-sync commands (requires [zstd](https://github.com/facebook/zstd)):
```bash
#!/bin/bash

Expand All @@ -46,10 +50,11 @@ sudo systemctl stop manta.service

# sync manta blockchain database
lib_path="/var/lib/substrate" # change this accordingly
snapshot_date="2024-01-28UTC" # change this accordingly
identity="$(sudo -H -u manta cat "${lib_path}"/chains/manta/db/full/IDENTITY)"
echo "identity: ${identity}"
sudo -H -u manta rm -r "${lib_path}"/chains/manta/db/full
curl -L https://manta-polkadot.s3.amazonaws.com/backup/2023-12-05UTC/manta.tar.zst | sudo -H -u manta tar --zstd -C "${lib_path}"/chains/manta -xv
curl -L https://manta-polkadot.s3.amazonaws.com/backup/"${snapshot_date}"/manta.tar.zst | sudo -H -u manta tar --zstd -C "${lib_path}"/chains/manta -xv
echo "${identity}" | sudo -H -u manta tee "${lib_path}"/chains/manta/db/full/IDENTITY

# sync polkadot blockchain database
Expand All @@ -58,7 +63,7 @@ identity_para="$(sudo -H -u manta cat "${lib_path}"/polkadot/chains/polkadot/db/
echo "identity_relay: ${identity_relay}"
echo "identity_para: ${identity_para}"
sudo -H -u manta rm -r "${lib_path}"/polkadot/chains/polkadot/db/full
curl -L https://manta-polkadot.s3.amazonaws.com/backup/2023-12-05UTC/manta-polkadot.tar.zst | sudo -H -u manta tar --zstd -C "${lib_path}"/polkadot/chains/polkadot -xv
curl -L https://manta-polkadot.s3.amazonaws.com/backup/"${snapshot_date}"/manta-polkadot.tar.zst | sudo -H -u manta tar --zstd -C "${lib_path}"/polkadot/chains/polkadot -xv
echo "${identity_relay}" | sudo -H -u manta tee "${lib_path}"/polkadot/chains/polkadot/db/full/IDENTITY
echo "${identity_para}" | sudo -H -u manta tee "${lib_path}"/polkadot/chains/polkadot/db/full/parachains/db/IDENTITY

Expand Down
2 changes: 1 addition & 1 deletion docs/mantaToken/mantaToken.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Manta Network offers an unrivaled environment to deliver on the scalability dema
| Decimals | 18 |
| MANTA (Manta Pacific) | 0x95CeF13441Be50d20cA4558CC0a27B601aC544E5 |
| MANTA (BSC) | 0x8581cc815e40615998f4561f3e24e68066293595 |
| MANTA (MoonBeam) | 0xfFFffFFf7D3875460d4509eb8d0362c611B4E841 |
| xcMANTA (MoonBeam) | 0xfFFffFFf7D3875460d4509eb8d0362c611B4E841 |
| Chain | Manta Pacific |

- The total supply of $MANTA at Genesis: 1,000,000,000.
Expand Down

0 comments on commit e07884f

Please sign in to comment.