Skip to content

Commit 4475105

Browse files
authored
Merge branch 'brent/update-readme' (#1)
Polish README
2 parents 0150a46 + 4fb4d5c commit 4475105

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

README.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# migrate-masp-events
22

33
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).
55
Events should be migrated by node operators who intend to serve
66
MASP related data from their RPC servers (e.g. to be consumed by
77
MASP indexers).
@@ -12,9 +12,15 @@ Simply run `make`. You will need recent Go and Rust toolchains
1212
available in your `PATH`. The resulting binary is `migrate-masp-events`.
1313

1414
## Usage
15+
```
16+
$ ./migrate-masp-events -h
17+
Usage of ./migrate-masp-events:
1518
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+
```
1824

1925
## Migration instructions
2026

@@ -28,7 +34,7 @@ important, as the migrations require access to historical tx data.
2834
- In practice, only the `state.db` needs to be backed up,
2935
but there is no harm in creating a backup of the entire
3036
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`
3238
- Its http endpoint will look something like <https://masp.indexer/api/v1>
3339
4. Run the events migration software
3440
```

0 commit comments

Comments
 (0)