From 025293f046a9b036b83366d18206ce89cd81c656 Mon Sep 17 00:00:00 2001 From: jamesmeijers Date: Tue, 4 Jan 2022 12:01:11 -0500 Subject: [PATCH 1/2] Rust fix for mining test --- ol/txs/src/commands/autopay_batch_cmd.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ol/txs/src/commands/autopay_batch_cmd.rs b/ol/txs/src/commands/autopay_batch_cmd.rs index 440aa5ddcb..e4086c708e 100644 --- a/ol/txs/src/commands/autopay_batch_cmd.rs +++ b/ol/txs/src/commands/autopay_batch_cmd.rs @@ -49,7 +49,7 @@ impl Runnable for AutopayBatchCmd { }, }; println!("Latest Autopay id: {:?}", &start_id); - node.refresh_chain_info()?; + node.refresh_chain_info().unwrap(); let epoch = node.vitals.chain_view.unwrap().epoch; println!("The current epoch is: {}\n", epoch); From eba5a49ba7ae0828611a66b0898795b77eb35bf2 Mon Sep 17 00:00:00 2001 From: Andrew Gouin Date: Tue, 4 Jan 2022 10:24:29 -0700 Subject: [PATCH 2/2] Fix compile error, update docs (#931) --- ol/changelog/5_0_8.md | 11 ++++++----- ol/txs/src/commands/autopay_batch_cmd.rs | 2 +- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/ol/changelog/5_0_8.md b/ol/changelog/5_0_8.md index 7f578ce6a9..ade9502f9d 100644 --- a/ol/changelog/5_0_8.md +++ b/ol/changelog/5_0_8.md @@ -22,18 +22,19 @@ make bins install Recreate network configs ``` # backup validator config -mv ~/.0L/validator.node.yaml ~/.0L/validator.node.yaml.bak_20221204 +mv ~/.0L/validator.node.yaml ~/.0L/validator.node.yaml.bak_20220104 # create the new validator yaml. This will overwrite previous. -ol config --val +ol init --val # create settings for the VFN, private fullnode -ol config --vfn +ol init --vfn # next, copy the ~/.0L/vfn.node.yaml to the host machine of the fullnode. - - + + + ``` diff --git a/ol/txs/src/commands/autopay_batch_cmd.rs b/ol/txs/src/commands/autopay_batch_cmd.rs index e4086c708e..1f3a044bef 100644 --- a/ol/txs/src/commands/autopay_batch_cmd.rs +++ b/ol/txs/src/commands/autopay_batch_cmd.rs @@ -176,4 +176,4 @@ fn get_autopay_start_id(node: &mut Node, account: AccountAddress) -> Result Ok(0), } -} \ No newline at end of file +}