Skip to content

Commit

Permalink
feat : removed ! and > in logs
Browse files Browse the repository at this point in the history
  • Loading branch information
Arun Jangra authored and Arun Jangra committed Jun 11, 2024
1 parent fe06656 commit b7c375a
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/contract_clients/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ pub async fn declare_contract_util_func(input: DeclarationInput<'_>) -> FieldEle
.declare(Arc::new(sierra.clone()), class_hash)
.send()
.await
.expect("Error in declaring the contract using Cairo 1 declaration using the provided account !!!");
.expect("Error in declaring the contract using Cairo 1 declaration using the provided account");
sierra.class_hash()
}
LegacyDeclarationInputs(artifact_path, url) => {
Expand Down
2 changes: 1 addition & 1 deletion src/setup_scripts/argent.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ impl<'a> ArgentSetup<'a> {
self.account.clone(),
))
.await;
log::debug!("Argent Hash Declared !!!");
log::debug!("Argent Hash Declared");
save_to_json("argent_class_hash", &JsonValueType::StringType(argent_class_hash.to_string())).unwrap();
sleep(Duration::from_secs(10)).await;

Expand Down
2 changes: 1 addition & 1 deletion src/setup_scripts/braavos.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ impl<'a> BraavosSetup<'a> {
self.account.clone(),
))
.await;
log::debug!("Braavos Hash Declared !!!");
log::debug!("Braavos Hash Declared.");
save_to_json("braavos_class_hash", &JsonValueType::StringType(braavos_class_hash.to_string())).unwrap();
sleep(Duration::from_secs(10)).await;

Expand Down
2 changes: 1 addition & 1 deletion src/setup_scripts/erc20_bridge.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ impl<'a> Erc20Bridge<'a> {
self.account.clone(),
))
.await;
log::debug!("ERC20 Class Hash declared !!! : {:?}", erc20_cairo_one_class_hash);
log::debug!("ERC20 Class Hash declared : {:?}", erc20_cairo_one_class_hash);
save_to_json("erc20_cairo_one_class_hash", &JsonValueType::StringType(erc20_cairo_one_class_hash.to_string()))
.unwrap();
sleep(Duration::from_secs(10)).await;
Expand Down
2 changes: 1 addition & 1 deletion src/setup_scripts/eth_bridge.rs
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ impl<'a> EthBridge<'a> {
self.arg_config.rollup_seq_url.clone(),
))
.await;
log::debug!("Legacy ETH Bridge class hash declared !!!");
log::debug!("Legacy ETH Bridge class hash declared");
save_to_json(
"legacy_eth_bridge_class_hash",
&JsonValueType::StringType(legacy_eth_bridge_class_hash.to_string()),
Expand Down
2 changes: 1 addition & 1 deletion src/setup_scripts/udc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ impl<'a> UdcSetup<'a> {
self.arg_config.rollup_seq_url.clone(),
))
.await;
log::debug!("UDC Class Hash Declared !!!");
log::debug!("UDC Class Hash Declared.");
save_to_json("udc_class_hash", &JsonValueType::StringType(udc_class_hash.to_string())).unwrap();
sleep(Duration::from_secs(10)).await;

Expand Down
2 changes: 1 addition & 1 deletion src/utils/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ pub async fn invoke_contract<'a>(
.invoke_contract(contract, method, calldata, None)
.send()
.await
.expect("Error in invoking the contract !!");
.expect("Error in invoking the contract");

wait_for_transaction(account.provider(), txn_res.transaction_hash, "invoking_contract").await.unwrap();

Expand Down

0 comments on commit b7c375a

Please sign in to comment.