-
Notifications
You must be signed in to change notification settings - Fork 440
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove Promises #515
Remove Promises #515
Conversation
changed URLSession to be async and started some cleanup
…it/web3swift into feature/transaction-metadata * 'feature/transaction-metadata' of https://github.com/mloit/web3swift: update Oracle to use the new metadata struct Back out the workaround implemented tor gasPrice on EIP-1159 transactions Add the new metadata struct to EthereumTransaction Create EthereumMetadata struct and add it to the project
Now that 2.6.0 is out, please update this so it can be merged in as part of 3.0. |
For Carthage to work you need to have the Xcode project up to date. and then run the following from the command line to resolve the dependancies: and then build them: note you can set the platform to other targets if you want (macOS, tvOS....) The above is recommended as that is what the automated tests basically use. |
Please take a look at the ci/cd pipeline for both Carthage and SPM building in Also, please take a look at the Building from source chapter in |
Re-ordered the list to be in numerical order
iOS 15, macOS 12 use the new data(for: older version fall back on a older implementation
added support to iOS 13 and macOS 10.15 |
I have updated the Carthage configurations however it is still giving errors |
@pharms-eth github actions checks wouldn't pass on current ci/cd config you have. Please pull unstable branch to your to get new one, which is updated to work with your merge. |
@@ -0,0 +1,7 @@ | |||
<?xml version="1.0" encoding="UTF-8"?> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please delete this file
@@ -1522,7 +1512,7 @@ | |||
GCC_WARN_UNUSED_VARIABLE = YES; | |||
INFOPLIST_FILE = web3swift.xcodeproj/Info.plist; | |||
IPHONEOS_DEPLOYMENT_TARGET = 12.0; | |||
MACOSX_DEPLOYMENT_TARGET = 10.11; | |||
MACOSX_DEPLOYMENT_TARGET = 12.0; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please change it to 10.15 (through Carthage project settings)
@@ -1586,7 +1576,7 @@ | |||
GCC_WARN_UNUSED_VARIABLE = YES; | |||
INFOPLIST_FILE = web3swift.xcodeproj/Info.plist; | |||
IPHONEOS_DEPLOYMENT_TARGET = 12.0; | |||
MACOSX_DEPLOYMENT_TARGET = 10.11; | |||
MACOSX_DEPLOYMENT_TARGET = 12.0; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please change it to 10.15 (through Carthage project settings)
LD_RUNPATH_SEARCH_PATHS = ( | ||
"$(inherited)", | ||
"@executable_path/../Frameworks", | ||
"@loader_path/Frameworks", | ||
); | ||
MACOSX_DEPLOYMENT_TARGET = 10.11; | ||
MACOSX_DEPLOYMENT_TARGET = 12.0; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please change it to 10.15 (through Carthage project settings)
LD_RUNPATH_SEARCH_PATHS = ( | ||
"$(inherited)", | ||
"@executable_path/../Frameworks", | ||
"@loader_path/Frameworks", | ||
); | ||
MACOSX_DEPLOYMENT_TARGET = 10.11; | ||
MACOSX_DEPLOYMENT_TARGET = 12.0; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please change it to 10.15 (through Carthage project settings)
LD_RUNPATH_SEARCH_PATHS = ( | ||
"$(inherited)", | ||
"@executable_path/../Frameworks", | ||
"@loader_path/Frameworks", | ||
); | ||
MACOSX_DEPLOYMENT_TARGET = 10.11; | ||
MACOSX_DEPLOYMENT_TARGET = 12.0; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please change it to 10.15 (through Carthage project settings)
LD_RUNPATH_SEARCH_PATHS = ( | ||
"$(inherited)", | ||
"@executable_path/../Frameworks", | ||
"@loader_path/Frameworks", | ||
); | ||
MACOSX_DEPLOYMENT_TARGET = 10.11; | ||
MACOSX_DEPLOYMENT_TARGET = 12.0; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please change it to 10.15 (through Carthage project settings)
After fixing version issues i'm about to merge that massive PR in. I've ran both tests suits locally and while So i suggest to merge this boi and move further to make all tests green and then to start public API redesign. |
This PR removes the Promises dependency and replaces it with Swift Concurrency (async/await)
Due to the nature of this PR it is breaking to the entire code base
my approach in this PR was to minimize other changes and focus on the Promises changes
[web3swiftEventloopTests.swift] has been disabled. It will require a full rewrite by someone