Skip to content

Commit

Permalink
removing todo
Browse files Browse the repository at this point in the history
  • Loading branch information
gaetbout committed Nov 1, 2024
1 parent 9b7458c commit e2372f7
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
4 changes: 1 addition & 3 deletions Scarb.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,4 @@ StructWithMerkletreeV1 = "npx ts-node scripts/v1/StructWithMerkletree.ts"
StructWithU256 = "npx ts-node scripts/v0/StructWithU256.ts"
StructWithU256V1 = "npx ts-node scripts/v1/StructWithU256.ts"
StructWithString = "npx ts-node scripts/v1/StructWithString.ts"
format = "scarb fmt && npx prettier --write ."

## TODO ADD ALL STANDARD INTERFACES
format = "scarb fmt && npx prettier --write ."
2 changes: 1 addition & 1 deletion scripts/v1/StructWithString.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ interface StructWithString {
function getDomain(chainId: string): StarknetDomain {
return {
name: "dappName",
version: shortString.encodeShortString("1"),
version: "1",
chainId,
revision: TypedDataRevision.ACTIVE,
};
Expand Down
1 change: 0 additions & 1 deletion src/interfaces.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ trait IOffChainMessageHash<T> {
fn get_message_hash(self: @T) -> felt252;
}


/// @notice Defines the function to generates the SNIP-12
trait IStructHash<T> {
fn get_struct_hash(self: @T) -> felt252;
Expand Down

0 comments on commit e2372f7

Please sign in to comment.