Skip to content

Commit

Permalink
fixing EIP712Envelope bug
Browse files Browse the repository at this point in the history
  • Loading branch information
petarTxFusion committed Dec 21, 2023
1 parent e08de93 commit dd4bfee
Show file tree
Hide file tree
Showing 5 changed files with 94 additions and 78 deletions.
77 changes: 0 additions & 77 deletions .github/workflows/ci.yml

This file was deleted.

25 changes: 25 additions & 0 deletions Package 2.resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"object": {
"pins": [
{
"package": "BigInt",
"repositoryURL": "https://github.com/attaswift/BigInt.git",
"state": {
"branch": null,
"revision": "0ed110f7555c34ff468e72e1686e59721f2b0da6",
"version": "5.3.0"
}
},
{
"package": "CryptoSwift",
"repositoryURL": "https://github.com/krzyzanowskim/CryptoSwift.git",
"state": {
"branch": null,
"revision": "db51c407d3be4a051484a141bf0bff36c43d3b1e",
"version": "1.8.0"
}
}
]
},
"version": 1
}
43 changes: 43 additions & 0 deletions Package 3.resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"object": {
"pins": [
{
"package": "BigInt",
"repositoryURL": "https://github.com/attaswift/BigInt.git",
"state": {
"branch": null,
"revision": "0ed110f7555c34ff468e72e1686e59721f2b0da6",
"version": "5.3.0"
}
},
{
"package": "CryptoSwift",
"repositoryURL": "https://github.com/krzyzanowskim/CryptoSwift.git",
"state": {
"branch": null,
"revision": "039f56c5d7960f277087a0be51f5eb04ed0ec073",
"version": "1.5.1"
}
},
{
"package": "PromiseKit",
"repositoryURL": "https://github.com/mxcl/PromiseKit.git",
"state": {
"branch": null,
"revision": "7b07b214dacecb22ca4b680531c7e981d52483f9",
"version": "6.16.3"
}
},
{
"package": "Starscream",
"repositoryURL": "https://github.com/daltoniam/Starscream.git",
"state": {
"branch": null,
"revision": "df8d82047f6654d8e4b655d1b1525c64e1059d21",
"version": "4.0.4"
}
}
]
},
"version": 1
}
25 changes: 25 additions & 0 deletions Package 4.resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"object": {
"pins": [
{
"package": "BigInt",
"repositoryURL": "https://github.com/attaswift/BigInt.git",
"state": {
"branch": null,
"revision": "0ed110f7555c34ff468e72e1686e59721f2b0da6",
"version": "5.3.0"
}
},
{
"package": "CryptoSwift",
"repositoryURL": "https://github.com/krzyzanowskim/CryptoSwift.git",
"state": {
"branch": null,
"revision": "039f56c5d7960f277087a0be51f5eb04ed0ec073",
"version": "1.5.1"
}
}
]
},
"version": 1
}
2 changes: 1 addition & 1 deletion Sources/web3swift/Transaction/EIP712Envelope.swift
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ extension EIP712Envelope {
#if canImport(web3swift_zksync2)
self.EIP712Meta = web3swift_zksync2.EIP712Meta(gasPerPubdata: gasPerPubdata, customSignature: customSignature, paymasterParams: paymasterParams, factoryDeps: factoryDeps)
#else
self.EIP712Meta = EIP712Meta(gasPerPubdata: gasPerPubdata, customSignature: customSignature, paymasterParams: paymasterParams, factoryDeps: factoryDeps)
self.EIP712Meta = web3swift.EIP712Meta(gasPerPubdata: gasPerPubdata, customSignature: customSignature, paymasterParams: paymasterParams, factoryDeps: factoryDeps)
#endif

switch rlpItem[RlpKey.from.rawValue]!.content {
Expand Down

0 comments on commit dd4bfee

Please sign in to comment.