Skip to content

Commit

Permalink
Merge pull request #485 from quake/quake/v0.3.0
Browse files Browse the repository at this point in the history
chore: upgrade to v0.3.0
  • Loading branch information
quake authored Jan 16, 2025
2 parents 4257b04 + d557448 commit 8725983
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 10 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "fnn"
version = "0.2.1"
version = "0.3.0"
edition = "2021"
build = "src/build.rs"

Expand Down
17 changes: 16 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,22 @@ The current state of the FNN is not stable, the protocol and storage format may
rm -rf /folder-to/my-fnn/fiber/store
```

3. Repalce the binary with the new version and start the node again.
3. Repalce the fnn binary with the new version and start the node again.


If you want to keep the channel state, you may try to migrate the storage format manually:

1. Stop the node.

2. Backup the storage folder `/folder-to/my-fnn/fiber/store`.

3. Run the fnn-migrate (it can be found in the release binary package) to migrate the storage format:

```
fnn-migrate -p /folder-to/my-fnn/fiber/store
```

4. Repalce the fnn binary with the new version and start the node again.

## Documentation

Expand Down
10 changes: 5 additions & 5 deletions migrate/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions migrate/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "fnn-migrate"
version = "0.2.1"
version = "0.3.0"
edition = "2021"
build = "build.rs"

Expand Down Expand Up @@ -28,4 +28,3 @@ fiber_v030 = { package = "fnn", git = "https://github.com/nervosnetwork/fiber.gi
[features]
default = []
portable = ["rocksdb/portable"]

0 comments on commit 8725983

Please sign in to comment.