From 0699a28abeae72d6bd0ebbddfd20542f97cc6662 Mon Sep 17 00:00:00 2001 From: 0o-de-lally <1364012+0o-de-lally@users.noreply.github.com> Date: Sat, 13 Nov 2021 21:08:31 -0500 Subject: [PATCH] Release v5.0.3 (#822) * minor fixes for onboarding instruction (#801) * minor fixes for onboarding instruction * update in chapter 1.3 about tmux usage * fixed description of txs create-validator command * Onboarding patches (#804) * patch inserting genesis waypoint in key_store.json * builds but duplicate genesis-waypoint in key_store * make keystore.json and validator.node.yaml have consistent keys * check difficulty on initialize * patch easy mode install script * Update start_a_full_node.md * Only current validators can onboard a new-validator, along with previous checks. (#812) * changelog v5.0.3 * documentation Co-authored-by: Martin B <82731659+mortonbits@users.noreply.github.com> Co-authored-by: soaresa <10797037+soaresa@users.noreply.github.com> --- ol/changelog/5_0_3.md | 42 +++++++++++++++++++ .../node-ops/start_a_full_node.md | 2 +- 2 files changed, 43 insertions(+), 1 deletion(-) create mode 100644 ol/changelog/5_0_3.md diff --git a/ol/changelog/5_0_3.md b/ol/changelog/5_0_3.md new file mode 100644 index 0000000000..cc83bb00c2 --- /dev/null +++ b/ol/changelog/5_0_3.md @@ -0,0 +1,42 @@ +## 5.0.3 + +The stdlib payload hash for voting is: + +### Summary +v5.0.3 includes bugfixes to the behavior of onboarding end-users and validator accounts + +### Changes + +##### Move Changes + +##### - patch bug in edge cases where proof zero in towerstate was not checked for difficulty + +With the new workflow of end-users being able to register without doing a vdf proof, and also being able to initialize TowerState on the submission of the first proof, there's a bug where the checking of the difficulty was being skipped because of an early return. This code changes the order such that difficulty is checked first on commit_state(). + +https://github.com/OLSF/libra/pull/818 + +##### - patch jailed validators able to create validator accounts + +There's a minor edge case with validators who are out of the validator set (jailed or otherwise dropped out) should not be able to create new validator accounts even though they might not be rate limited. Check the user onboarding the new validator is actually in the validator set. + +https://github.com/OLSF/libra/pull/819 + +##### - patch bug on rate limit of validator account creation + +Reversion in code from a merge error. The parameters set for rate-limit of validator account creation was set to 13 epochs when slated for mainnet. Previously on the experimental network it was hard-coded to 6. This patch corrects it. This is a one line change. + +https://github.com/OLSF/libra/pull/814 + +##### Compatibility +The Move framework is backwards compatible with `diem-node` from v5.0.1 +### Rust changes +If you have not yet upgraded to v5.0.2 there is a critical upgrade to `diem-node`. It's safe to skip 5.0.2 directly to 5.0.3 if that upgrade was not yet done. + +Minor API changes to 0L tooling, for use with deskop client (Carpe) as in previous version. +##### - onboard namespace issue + +Tooling for onboarding of validator nodes was producing conflicting namespaces between key_store.json and validator.node.yaml. This was introduced on the migration from Libra codebase to Diem named codebase. https://github.com/OLSF/libra/pull/804 + +Not a rust change, but installation script used on curl and bash has naming from the Libra codebase: https://github.com/OLSF/libra/pull/821 + + diff --git a/ol/documentation/node-ops/start_a_full_node.md b/ol/documentation/node-ops/start_a_full_node.md index 3ac179f9d3..4d20c60d2f 100644 --- a/ol/documentation/node-ops/start_a_full_node.md +++ b/ol/documentation/node-ops/start_a_full_node.md @@ -40,4 +40,4 @@ You do not need an account for this step, you are simply syncing the database. 2.2. `diem-node --config $HOME/.0L/fullnode.node.yaml` -More details in: [syncing_your_node.md](syncing_your_node.md) \ No newline at end of file +More details in: [syncing_your_node.md](syncing_your_node.md)