Skip to content

Commit dd4bfee

Browse files
committed
fixing EIP712Envelope bug
1 parent e08de93 commit dd4bfee

File tree

5 files changed

+94
-78
lines changed

5 files changed

+94
-78
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 77 deletions
This file was deleted.

Package 2.resolved

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"object": {
3+
"pins": [
4+
{
5+
"package": "BigInt",
6+
"repositoryURL": "https://github.com/attaswift/BigInt.git",
7+
"state": {
8+
"branch": null,
9+
"revision": "0ed110f7555c34ff468e72e1686e59721f2b0da6",
10+
"version": "5.3.0"
11+
}
12+
},
13+
{
14+
"package": "CryptoSwift",
15+
"repositoryURL": "https://github.com/krzyzanowskim/CryptoSwift.git",
16+
"state": {
17+
"branch": null,
18+
"revision": "db51c407d3be4a051484a141bf0bff36c43d3b1e",
19+
"version": "1.8.0"
20+
}
21+
}
22+
]
23+
},
24+
"version": 1
25+
}

Package 3.resolved

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
{
2+
"object": {
3+
"pins": [
4+
{
5+
"package": "BigInt",
6+
"repositoryURL": "https://github.com/attaswift/BigInt.git",
7+
"state": {
8+
"branch": null,
9+
"revision": "0ed110f7555c34ff468e72e1686e59721f2b0da6",
10+
"version": "5.3.0"
11+
}
12+
},
13+
{
14+
"package": "CryptoSwift",
15+
"repositoryURL": "https://github.com/krzyzanowskim/CryptoSwift.git",
16+
"state": {
17+
"branch": null,
18+
"revision": "039f56c5d7960f277087a0be51f5eb04ed0ec073",
19+
"version": "1.5.1"
20+
}
21+
},
22+
{
23+
"package": "PromiseKit",
24+
"repositoryURL": "https://github.com/mxcl/PromiseKit.git",
25+
"state": {
26+
"branch": null,
27+
"revision": "7b07b214dacecb22ca4b680531c7e981d52483f9",
28+
"version": "6.16.3"
29+
}
30+
},
31+
{
32+
"package": "Starscream",
33+
"repositoryURL": "https://github.com/daltoniam/Starscream.git",
34+
"state": {
35+
"branch": null,
36+
"revision": "df8d82047f6654d8e4b655d1b1525c64e1059d21",
37+
"version": "4.0.4"
38+
}
39+
}
40+
]
41+
},
42+
"version": 1
43+
}

Package 4.resolved

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"object": {
3+
"pins": [
4+
{
5+
"package": "BigInt",
6+
"repositoryURL": "https://github.com/attaswift/BigInt.git",
7+
"state": {
8+
"branch": null,
9+
"revision": "0ed110f7555c34ff468e72e1686e59721f2b0da6",
10+
"version": "5.3.0"
11+
}
12+
},
13+
{
14+
"package": "CryptoSwift",
15+
"repositoryURL": "https://github.com/krzyzanowskim/CryptoSwift.git",
16+
"state": {
17+
"branch": null,
18+
"revision": "039f56c5d7960f277087a0be51f5eb04ed0ec073",
19+
"version": "1.5.1"
20+
}
21+
}
22+
]
23+
},
24+
"version": 1
25+
}

Sources/web3swift/Transaction/EIP712Envelope.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ extension EIP712Envelope {
277277
#if canImport(web3swift_zksync2)
278278
self.EIP712Meta = web3swift_zksync2.EIP712Meta(gasPerPubdata: gasPerPubdata, customSignature: customSignature, paymasterParams: paymasterParams, factoryDeps: factoryDeps)
279279
#else
280-
self.EIP712Meta = EIP712Meta(gasPerPubdata: gasPerPubdata, customSignature: customSignature, paymasterParams: paymasterParams, factoryDeps: factoryDeps)
280+
self.EIP712Meta = web3swift.EIP712Meta(gasPerPubdata: gasPerPubdata, customSignature: customSignature, paymasterParams: paymasterParams, factoryDeps: factoryDeps)
281281
#endif
282282

283283
switch rlpItem[RlpKey.from.rawValue]!.content {

0 commit comments

Comments
 (0)