Skip to content

Commit

Permalink
Merge branch 'vfn' of https://github.com/OLSF/libra into vfn
Browse files Browse the repository at this point in the history
  • Loading branch information
0o-de-lally committed Jan 4, 2022
2 parents 2e35b88 + eba5a49 commit 509a9de
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
11 changes: 6 additions & 5 deletions ol/changelog/5_0_8.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
<stop diem-node>
<restart diem-node>
<stop diem-node if running>
<start diem-node with validator.node.yaml on validator, and vfn.node.yml on fullnode>
```

Expand Down
4 changes: 2 additions & 2 deletions ol/txs/src/commands/autopay_batch_cmd.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down Expand Up @@ -176,4 +176,4 @@ fn get_autopay_start_id(node: &mut Node, account: AccountAddress) -> Result<u64,
},
None => Ok(0),
}
}
}

0 comments on commit 509a9de

Please sign in to comment.