Update Oxford2
Context
This merge request updates Oxford protocol code. It includes:
- New protocol hash
ProxfordYmVfjWnRcgjWH36fW6PArwqykTFzotUxRs6gmTcZDuH - Update of
proto_oxfordcode
Manually testing the MR
-
Import a recent rolling node snapshot.
-
Patch the files for yes wallet/node.
dune exec devtools/yes_wallet/yes_wallet.exe -- create from context data_dir in /tmp/yes-wallet --active-bakers-only
patch -p1 < scripts/yes-node.patch
- Patch the node configutation such that it upgrades the protocol. (with
n = head_level +1)
git apply <<EOF
diff --git a/src/lib_node_config/config_file.ml b/src/lib_node_config/config_file.ml
index 8ffaf35e98..f6a7765719 100644
--- a/src/lib_node_config/config_file.ml
+++ b/src/lib_node_config/config_file.ml
@@ -87,6 +87,7 @@ let mainnet_user_activated_upgrades =
[
(28082l, "PsYLVpVvgbLhAhoqAkMFUo6gudkJ9weNXhUYCiLDzcUpFpkk8Wt");
(204761l, "PsddFKi32cMJ2qPjf43Qv5GDWLDPZb3T3bF6fLKiF5HtvHNU7aP");
+ (nl, "ProxfordYmVfjWnRcgjWH36fW6PArwqykTFzotUxRs6gmTcZDuH");
]
(* END_PATCHING_ZONE_FOR_MAINNET_USER_ACTIVATED_UPGRADES *)
EOF
make
- Run the following in one terminal to start the node.
./octez-node run --synchronisation-threshold 0 --connections 0 --rpc-addr localhost
- Run this in another terminal to bake a few blocks:
./octez-client -d /tmp/yes-wallet bake for --minimal-timestamp
Checklist
-
Document the interface of any function added or modified (see the coding guidelines) -
Document any change to the user interface, including configuration parameters (see node configuration) -
Provide automatic testing (see the testing guide). -
For new features and bug fixes, add an item in the appropriate changelog ( docs/protocols/alpha.rstfor the protocol and the environment,CHANGES.rstat the root of the repository for everything else). -
Select suitable reviewers using the Reviewersfield below. -
Select as Assigneethe next person who should take action on that MR
Edited by Killian Delarue