You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10-4Lines changed: 10 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
# migrate-masp-events
2
2
3
3
Tool developed to migrate MASP events on full or validator nodes
4
-
produced by Namada [`v1.1.x`](https://github.com/anoma/namada/releases/tag/v1.1.5).
4
+
produced by Namada [`v1.1.x`](https://github.com/anoma/namada/releases/tag/v1.1.5) to [`v101.0.0`](https://github.com/anoma/namada/releases/tag/v101.0.0).
5
5
Events should be migrated by node operators who intend to serve
6
6
MASP related data from their RPC servers (e.g. to be consumed by
7
7
MASP indexers).
@@ -12,9 +12,15 @@ Simply run `make`. You will need recent Go and Rust toolchains
12
12
available in your `PATH`. The resulting binary is `migrate-masp-events`.
13
13
14
14
## Usage
15
+
```
16
+
$ ./migrate-masp-events -h
17
+
Usage of ./migrate-masp-events:
15
18
16
-
$ migrate-masp-events -h
17
-
$ migrate-masp-events <subcmd> -h
19
+
./migrate-masp-events last-state print last block state in the blockstore db of cometbft
20
+
./migrate-masp-events migrate migrate old masp events (<= namada v1.1.5) in the state db of cometbft
21
+
./migrate-masp-events print-blocks print all data in the blockstore db of cometbft
22
+
./migrate-masp-events print-events print all end blocks events in the state db of cometbft
23
+
```
18
24
19
25
## Migration instructions
20
26
@@ -28,7 +34,7 @@ important, as the migrations require access to historical tx data.
28
34
- In practice, only the `state.db` needs to be backed up,
29
35
but there is no harm in creating a backup of the entire
30
36
directory structure
31
-
3. Locate a MASP indexer webserver that is still running `v1.2.0`
37
+
3. Locate a MASP indexer webserver that is still running `v1.2.0` or `v1.2.1`
32
38
- Its http endpoint will look something like <https://masp.indexer/api/v1>
0 commit comments