Skip to content

Commit

Permalink
Use quiet mode when deploying contracts. (#101)
Browse files Browse the repository at this point in the history
  • Loading branch information
fnando authored Aug 7, 2024
1 parent 7d45537 commit 4cde4d7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions features/dapp_develop/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ func deployContract(compiledContractFileName string, contractWorkingDirectory st
envCmd = cmd.NewCmd("soroban",
"contract",
"deploy",
"--quiet",
"--wasm-hash", installedContractId,
"--rpc-url", e2eConfig.TargetNetworkRPCURL,
"--source", e2eConfig.TargetNetworkSecretKey,
Expand All @@ -54,6 +55,7 @@ func deployContract(compiledContractFileName string, contractWorkingDirectory st
envCmd = cmd.NewCmd("soroban",
"contract",
"deploy",
"--quiet",
"--wasm", fmt.Sprintf("./%s/%s/target/wasm32-unknown-unknown/release/%s", contractWorkingDirectory, contractExamplesSubPath, compiledContractFileName),
"--rpc-url", e2eConfig.TargetNetworkRPCURL,
"--source", e2eConfig.TargetNetworkSecretKey,
Expand All @@ -77,6 +79,7 @@ func deployContractUsingConfigParams(compiledContractFileName string, contractWo
envCmd := cmd.NewCmd("soroban",
"contract",
"deploy",
"--quiet",
"--wasm", fmt.Sprintf("./%s/%s/target/wasm32-unknown-unknown/release/%s", contractWorkingDirectory, contractExamplesSubPath, compiledContractFileName),
"--network", networkConfigName,
"--source", identityName)
Expand All @@ -99,6 +102,7 @@ func installContract(compiledContractFileName string, contractWorkingDirectory s
envCmd := cmd.NewCmd("soroban",
"contract",
"install",
"--quiet",
"--wasm", fmt.Sprintf("./%s/%s/target/wasm32-unknown-unknown/release/%s", contractWorkingDirectory, contractExamplesSubPath, compiledContractFileName),
"--rpc-url", e2eConfig.TargetNetworkRPCURL,
"--source", e2eConfig.TargetNetworkSecretKey,
Expand Down

0 comments on commit 4cde4d7

Please sign in to comment.