Skip to content

Commit

Permalink
fix logs spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
0xAleksaOpacic committed Mar 16, 2024
1 parent 2e5f5ef commit 386ca77
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tasks/modular-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ const verify_circuit_proof = async (modular_path: string, circuit: string) => {

let receipt = await txResponse.wait();
console.log("Block Number:", receipt.blockNumber);
console.log("⛽Gas used: ", receipt.gasUsed.toNumber());
console.log("⛽ Gas used: ", receipt.gasUsed.toNumber());
const get_verification_event_result = (event): boolean | null => {
if (event.event == 'VerificationResult') {
return BigInt(event.data) != 0n;
Expand All @@ -119,7 +119,7 @@ const verify_circuit_proof = async (modular_path: string, circuit: string) => {
const event_to_string = (event) => {
const verification_result = get_verification_event_result(event);
if (verification_result !== null) {
return verification_result ? '✅ProofVerified' : '🛑ProofVerificationFailed';
return verification_result ? '✅ ProofVerified' : '🛑 ProofVerificationFailed';
}
return '🤔' + event.event;
};
Expand Down

0 comments on commit 386ca77

Please sign in to comment.