Skip to content

Commit

Permalink
fix: add typedData sign test
Browse files Browse the repository at this point in the history
  • Loading branch information
ieow committed May 20, 2024
1 parent aae5530 commit 4f7af73
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Tests/Web3SwiftMpcProviderTests/MpcProviderTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -158,5 +158,11 @@ final class Web3SwiftMpcProviderTests: XCTestCase {
let msg = "hello world"
let result = try provider.sign(message: msg)
print(result)

let typedData = try decoder.decode(TypedData.self, from: example1)


let typedDataResult = try provider.signMessage(message: typedData)
print(typedData)
}
}

0 comments on commit 4f7af73

Please sign in to comment.