diff --git a/ipc/provider/src/manager/evm/manager.rs b/ipc/provider/src/manager/evm/manager.rs index 7fa0b937d..ef785ca13 100644 --- a/ipc/provider/src/manager/evm/manager.rs +++ b/ipc/provider/src/manager/evm/manager.rs @@ -573,7 +573,7 @@ impl SubnetManager for EthSubnetManager { from: Address, amount: TokenAmount, ) -> Result { - log::debug!("approve token, subnet: {subnet}, amount: {amount}, from: {from}"); + tracing::debug!("approve token, subnet: {subnet}, amount: {amount}, from: {from}"); let value = fil_amount_to_eth_amount(&amount)?; diff --git a/scripts/deploy_subnet_under_calibration_net/README.md b/scripts/deploy_subnet_under_calibration_net/README.md index 3d5897d80..bb7fe79d1 100644 --- a/scripts/deploy_subnet_under_calibration_net/README.md +++ b/scripts/deploy_subnet_under_calibration_net/README.md @@ -13,7 +13,7 @@ To run this script locally, you need to first manually prepare the environment a 3. Run `deploy.sh local` to deploy IPC locally. Please also notice that -1. The `deploy.sh` is only for running on Linux. If you are using a Mac, you need to disable all `apt` based dependency installation. You may also need to install bash (version >= 5) to run this script since the script isn't fully compatible with zsh (default shell on Mac). +1. The `deploy.sh` is only for running on Linux. If you are using a Mac, you need to disable all `apt` based dependency installation. You may also need to install bash (version >= 5) to run this script since the script isn't fully compatible with zsh (default shell on Mac). Also, make sure you habe openssl packages installed (`brew install openssl@3`). 2. The automated dependency installation isn't guarantee to work 100% time. If you encountered any dependency installation issue, please refer to the script and retry. Usually you can resolve the issues by creating a new terminal, sourcing `~/.bash.rc`, etc. 3. Depends on the RPC endpoint's quality of service for the calibration net, your command may or may not succeed when interacting with the RPC endpoint. Sometimes you will get rate limited. In that case, you can choose a different calibration provider URL from [Chainlist](https://chainlist.org/?search=calibration&testnets=true) to replace the value of `RPC_URL` variable in the script, then retry it. 4. You need to manually install nodejs and npm. The reason is that we need to use very recent version of nodejs and it's usually not included with the Linux distribution. It's recommended that you use nvm (Node version manager) to manage your nodejs installation. diff --git a/scripts/deploy_subnet_under_calibration_net/deploy.sh b/scripts/deploy_subnet_under_calibration_net/deploy.sh index 6f678cc23..d5984bfee 100755 --- a/scripts/deploy_subnet_under_calibration_net/deploy.sh +++ b/scripts/deploy_subnet_under_calibration_net/deploy.sh @@ -109,9 +109,11 @@ else fi # Make sure we re-read the latest env before finishing dependency installation. -set +u -source ${HOME}/.bashrc -set -u +if test -f ${HOME}/.bashrc; then + set +u + source ${HOME}/.bashrc + set -u +fi # Step 2: Prepare code repo and build ipc-cli if ! $local_deploy ; then