Skip to content

Commit

Permalink
removing some console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
gaetbout committed Oct 30, 2024
1 parent d2cfa95 commit 56ed96c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions scripts/v1/StructWithString.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ function getDomain(chainId: string): StarknetDomain {
}

function getTypedDataHash(myStruct: StructWithString, chainId: string, owner: bigint): string {
console.log(JSON.stringify(getTypedData(myStruct, chainId)));
return typedData.getMessageHash(getTypedData(myStruct, chainId), owner);
}

Expand All @@ -43,7 +42,6 @@ function getTypedData(myStruct: StructWithString, chainId: string): TypedData {
};
}

console.log(byteArray.byteArrayFromString("Some long message that exceeds 31 characters"));
const structWithByteArray: StructWithString = {
some_felt252: "712",
some_string: "Some long message that exceeds 31 characters",
Expand Down
1 change: 0 additions & 1 deletion scripts/v1/StructWithU256.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ function getDomain(chainId: string): StarknetDomain {
}

function getTypedDataHash(myStruct: StructWithU256, chainId: string, owner: bigint): string {
console.log(JSON.stringify(getTypedData(myStruct, chainId)));
return typedData.getMessageHash(getTypedData(myStruct, chainId), owner);
}

Expand Down

0 comments on commit 56ed96c

Please sign in to comment.