File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -554,3 +554,20 @@ You can also define specific [Network and ParaTime][npa] parameters:
554554
555555[ParaTime ID] : https://github.com/oasisprotocol/oasis-core/blob/master/docs/runtime/identifiers.md
556556[chain domain separation context] : https://github.com/oasisprotocol/oasis-core/blob/master/docs/crypto.md#chain-domain-separation
557+
558+ # ## Refresh the trust root in the app manifest {#refresh-trust-root}
559+
560+ The consensus block height and hash of the [trust root](#trust-root) are stored
561+ in the deployment section of the `rofl.yaml` app manifest and are embedded into
562+ the app at build time. Instead of editing the manifest by hand, you can fetch
563+ the latest trust root and update the manifest automatically by running
564+ `oasis rofl refresh-trust-root` :
565+
566+ 
567+
568+ 
569+
570+ By default the latest finalized consensus block is used. Pass `--height` to pin
571+ a specific block or `--deployment` to update a non-default deployment. After
572+ refreshing, run [`oasis rofl build`](#build) for the new trust root to take
573+ effect.
Original file line number Diff line number Diff line change 1+ oasis rofl refresh-trust-root
Original file line number Diff line number Diff line change 1+ Updated 'rofl.yaml' with trust root: height=1022, hash=bb3e63d729dd568ce07b37eea33eddf8082ed4cacbd64097aad32168a4a4fc9a
You can’t perform that action at this time.
0 commit comments