From fc69ab0882bddac21a8515c4e6fbff5b6d5b755f Mon Sep 17 00:00:00 2001 From: Willem Olding Date: Mon, 3 Jun 2024 17:24:42 +1000 Subject: [PATCH] fix rust fmt --- DEPLOYMENT.md | 5 ++++- src/service/request.rs | 3 ++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/DEPLOYMENT.md b/DEPLOYMENT.md index 438d6ba..f584976 100644 --- a/DEPLOYMENT.md +++ b/DEPLOYMENT.md @@ -43,6 +43,9 @@ Finally run fly deploy ``` +> ![note] +> Don't forget to relay the dApp its address at some point by running `cartesi send` otherwise withdrawals will be disabled + ### Fullnode deployment Update the DAPP_ADDRESS in the fly.fullnode.toml @@ -51,7 +54,7 @@ Build and deploy the fullnode in one step by running ```shell fly deploy --config fly.fullnode.toml -fly restart cartezcash-fullnode +fly app restart cartezcash-fullnode ``` ### Bridge UI deployment diff --git a/src/service/request.rs b/src/service/request.rs index e13962d..0be05ef 100644 --- a/src/service/request.rs +++ b/src/service/request.rs @@ -60,7 +60,8 @@ impl TryFrom<(tower_cartesi::AdvanceStateMetadata, Vec)> for Request { to: dest_t_address, }) } - _ => { // If it is unrecognised then assume it is an inputBox message. This gets around a suspected bug + _ => { + // If it is unrecognised then assume it is an inputBox message. This gets around a suspected bug /* Encoding abi.encodePacked( transaction bytes // arbitrary size