-
Notifications
You must be signed in to change notification settings - Fork 459
Refactor createNewAccount function to be an internal function and remove unused password argument #815
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
Refactor createNewAccount function to be an internal function and remove unused password argument #815
Conversation
Upgrade GitHub Action checkout
Fix typos discovered by codespell
…ct-usage-removed fix: replaced AnyObject with Any
* develop-upstream: chore: EIP681 docs + more descriptive log message fix: ENS parsing requires chainID if an ENS address is expected to be requested/decoded - we do not assume that client is using Ethereum Mainnet! fix: RLP func encode for single value has named parameter chore: test refactoring - checking for nullability by using XCTAssertNotNil chore: replaced [Any]() with [] for default parameter value fix: removed as AnyObject from ENS related code chore: removed spacing in `" )` fix: spacings chore: removed redundant `parameters: []` in read operation fix: EIP681 - when parsing arguments chain ID must be defaulted to Mainnet instead of 0 fix: Networks.fromInt must not return optional fix: some spacing and docs fixed fix: ERC20BaseProperties are back to inherit from AnyObject (restricting protocol to classes) fix: removed the use of AnyObject in all places possible - replaced with Any # Conflicts: # Tests/web3swiftTests/localTests/ABIEncoderTest.swift # Tests/web3swiftTests/localTests/TransactionsTests.swift
Add Support For The Mnemonic Phrase To Be An Array
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.
LGTM! But possibly should be pointed to v4 branch? @JeneaVranceanu @yaroslavyaroslav
@janndriessen You are right. I'll point that to v4. @sunyaojin Meanwhile please use |
@sunyaojin I'll update develop-4.0 and maybe after that will ask you to merge develop-4.0 into your branch before we will merge this update. |
Dear Lord, I wish to not to be the one who will solve this |
var transaction = transaction ?? defaultTransaction | ||
transaction.to = resolver.resolverContractAddress |
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.
As a result of fixing merge conflicts, I've added a couple of variable renamings.
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.
From options
to transaction
.
Summary of Changes
This pull request refactors the
createNewAccount
function to be aninternal
function and removes thepassword
argument, which is never used in the function. The existing test cases have been run and all passed, showing that this change does not affect their functionality.
Test Data or Screenshots
By submitting this pull request, you are confirming the following:
develop
branch.