Skip to content

Commit

Permalink
chore: reverT
Browse files Browse the repository at this point in the history
  • Loading branch information
jxom committed Sep 9, 2024
1 parent 8e750c4 commit 45ffb42
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/zksync/utils/getEip712Domain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,15 @@ import type {
ZksyncTransactionSerializable,
ZksyncTransactionSerializableEIP712,
} from '../types/transaction.js'
import { assertEip712Transaction } from './assertEip712Transaction.js'
import { hashBytecode } from './hashBytecode.js'

export const getEip712Domain: EIP712DomainFn<
ZksyncTransactionSerializable,
ZksyncEIP712TransactionSignable
> = (transaction) => {
assertEip712Transaction(transaction)

const message = transactionToMessage(
transaction as ZksyncTransactionSerializableEIP712,
)
Expand Down

0 comments on commit 45ffb42

Please sign in to comment.