From c1f1ecd4be9d343a0d75db1604f7a850372af6b1 Mon Sep 17 00:00:00 2001 From: Ana <134174965+anaye1997@users.noreply.github.com> Date: Mon, 29 Jan 2024 00:52:58 +1100 Subject: [PATCH 1/3] :sparkles: update manta-atlantic sync page (#229) Signed-off-by: Anathan (Ana) Ye --- docs/manta-atlantic/Collation/03-SetupAndRun/04-sync.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/docs/manta-atlantic/Collation/03-SetupAndRun/04-sync.md b/docs/manta-atlantic/Collation/03-SetupAndRun/04-sync.md index ef2f8559..ce53abe9 100644 --- a/docs/manta-atlantic/Collation/03-SetupAndRun/04-sync.md +++ b/docs/manta-atlantic/Collation/03-SetupAndRun/04-sync.md @@ -46,10 +46,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 @@ -58,7 +59,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 @@ -67,3 +68,7 @@ sudo -H -u manta bash -c "basename $(ls "${lib_path}"/chains/manta/db/full/MANIF sudo -H -u manta bash -c "basename $(ls "${lib_path}"/polkadot/chains/polkadot/db/full/MANIFEST-*) > \"${lib_path}\"/polkadot/chains/polkadot/db/full/CURRENT" sudo -H -u manta bash -c "basename $(ls "${lib_path}"/polkadot/chains/polkadot/db/full/parachains/db/MANIFEST-*) > \"${lib_path}\"/polkadot/chains/polkadot/db/full/parachains/db/CURRENT" ``` + +list available snapshot date are +* `2024-01-28UTC` (latest) +* `2023-12-05UTC` From 283e46a7ad6c9c969bfd0bc597a7ac86000c068f Mon Sep 17 00:00:00 2001 From: Ana <134174965+anaye1997@users.noreply.github.com> Date: Mon, 29 Jan 2024 01:10:58 +1100 Subject: [PATCH 2/3] :sparkles: update manta-atlantic sync page 2 (#230) Signed-off-by: Anathan (Ana) Ye --- .../manta-atlantic/Collation/03-SetupAndRun/04-sync.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/manta-atlantic/Collation/03-SetupAndRun/04-sync.md b/docs/manta-atlantic/Collation/03-SetupAndRun/04-sync.md index ce53abe9..40cf1332 100644 --- a/docs/manta-atlantic/Collation/03-SetupAndRun/04-sync.md +++ b/docs/manta-atlantic/Collation/03-SetupAndRun/04-sync.md @@ -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 @@ -68,7 +72,3 @@ sudo -H -u manta bash -c "basename $(ls "${lib_path}"/chains/manta/db/full/MANIF sudo -H -u manta bash -c "basename $(ls "${lib_path}"/polkadot/chains/polkadot/db/full/MANIFEST-*) > \"${lib_path}\"/polkadot/chains/polkadot/db/full/CURRENT" sudo -H -u manta bash -c "basename $(ls "${lib_path}"/polkadot/chains/polkadot/db/full/parachains/db/MANIFEST-*) > \"${lib_path}\"/polkadot/chains/polkadot/db/full/parachains/db/CURRENT" ``` - -list available snapshot date are -* `2024-01-28UTC` (latest) -* `2023-12-05UTC` From 5aba87b0ece2703bc9dc14d08793800cfd4bf1ef Mon Sep 17 00:00:00 2001 From: Chan J Date: Mon, 29 Jan 2024 17:34:18 +0800 Subject: [PATCH 3/3] chore: update xcMANTA token (#231) --- docs/mantaToken/mantaToken.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/mantaToken/mantaToken.md b/docs/mantaToken/mantaToken.md index 864fc17d..b2ee69f7 100644 --- a/docs/mantaToken/mantaToken.md +++ b/docs/mantaToken/mantaToken.md @@ -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.