-
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
Creating a new wallet is too slow #532
Comments
This has been on my radar for a while. Now that EIP-1559 support is out I'll start looking into it now. |
What hardware are you building/testing on? Also can you try building in release mode to see if this solves the problem? |
iphone6 plus |
Can you please build your code in "release" mode, and report back if the issue is still present then? |
Please let me know if this exist in Real device as well |
I can confirm that the issue lies between debug and release builds. I created a simple test app to create a private key. Debug Build/Run: The issue is also exclusively when building via SPM, as SPM builds everything from source, using the app's build settings. XCode projects include the libraries as frameworks, which are built separately in release mode, so even a debug app, does not see the same performance hit. This not really an issue as it affects debugging only, and there is nothing we can really do about it. This is a known issue with CryptoSwift, you can follow the link posted in #535 if you want to know more. This issue should probably be closed at this point. |
macos Version :12.3
xcode Version : 13.3
cocospod Version:1.11.3
Installing BigInt (5.2.0)
Installing CryptoSwift (1.4.3)
Installing PromiseKit (6.15.3)
Installing Starscream (4.0.4)
Installing secp256k1.c (0.1.2)
Installing web3swift (2.6.0)
Creating a new wallet is too slow, 5 seconds to print information
Get private key is too slow,5 seconds to print information
The speed of creating wallet in web3swift version 2.3.0 is normal
The text was updated successfully, but these errors were encountered: