From 3613ddea065615668ca92ff666c1f09cfed918b1 Mon Sep 17 00:00:00 2001 From: onryo Date: Sat, 18 Feb 2023 01:21:07 +0000 Subject: [PATCH] Update 'doc/release-process.md' --- doc/release-process.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/doc/release-process.md b/doc/release-process.md index 637b3c0..0283d0a 100644 --- a/doc/release-process.md +++ b/doc/release-process.md @@ -37,6 +37,22 @@ https://git.hush.is/hush/silentdragonlite-cli/commit/ef477f152e1a8bb8a5f7883a99e To actually generate the checkpoint data, use the `sdl_checkpoints.pl` script in the hush3 repo: https://git.hush.is/hush/hush3/src/branch/master/contrib/sdl_checkpoints.pl . It uses the `getblockmerkletree` RPC to get the merkle tree data for a block height. It prints the data out in the format that checkpoints.rs wants it in, you simply need to copy and paste the output into the checkpoints.rs file. Once the data is updated in silentdragonlite-cli checkpoints.rs file, the file `lib/Cargo.toml` must be updated in this repo, and point to the commit id of the updated data. Once you update the manually-edited `Cargo.toml` you must run `cargo update` to update the generated `Cargo.lock` file. See https://doc.rust-lang.org/cargo/commands/cargo-update.html for more info. Once both files are updates, commit and push. +--- + +To fix `error: failed to select a version for the requirement 'aes = "^0.3"'` add the following to `.cargo/config.toml`: + +``` +[source.crates-io] +replace-with = "vendored-sources" + +[source.vendored-sources] +directory = "vendor" +``` + +To update the file run `cargo vendor` as was mentioned in https://git.hush.is/hush/SilentDragonLite/issues/91. + +--- + ## Release process ...