-
Notifications
You must be signed in to change notification settings - Fork 469
fix: contract operations #685
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
Merged
Merged
Changes from all commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
eea9749
fix bugs
pharms-eth 34e312a
fix: documentation update
JeneaVranceanu 4207de8
fix: documentation update for func writeToChain
JeneaVranceanu ff05502
update per feedback
pharms-eth 6b69769
attempt test fix
pharms-eth 713c63d
working on tests
pharms-eth aaaabe7
restore true
pharms-eth 9fc1508
amend tests
pharms-eth 13bac57
adjust helpers
pharms-eth 2213fd0
adjust test for deploy changes
pharms-eth 5e1dd2c
fix another test for deploy changes
pharms-eth 6247628
chore: default value of sendRaw for writeToChain is true
JeneaVranceanu aa32c36
chore: decodeReturnData refactoring + documentation for it
JeneaVranceanu a5c56ea
fix: first we try to decode data as a revert/require call
JeneaVranceanu 3198752
chore: added trim extension function to String
JeneaVranceanu f2cb4b9
fix: EthError uses InOut as type for inputs; produces error declarati…
JeneaVranceanu 6bc5100
chore: test update - added array type to error arguments
JeneaVranceanu 7257f59
chore: EthError has default empty inputs array
JeneaVranceanu 3151678
feat: decodeReturnData is split into decodeReturnData and decodeError…
JeneaVranceanu 8d2490b
chore: tests for errors decode
JeneaVranceanu 6a5ce15
fix: return message from Web3Error.valueError
JeneaVranceanu b9ac465
fix: removed redundant spacing
JeneaVranceanu 60c9ca7
feat: ContractProtocol - new function to search for ABI.Element.Funct…
JeneaVranceanu d08a2de
chore: added tests for dynamic types encoding
JeneaVranceanu 97ba8e9
feat: mocking network responses
JeneaVranceanu ff0778b
chore: Web3.Eth + IEth refactoring
JeneaVranceanu 29fff74
fix: added initializer for the Web3EthMock
JeneaVranceanu e2b0f5d
fix: changed type of web3.eth to IEth and removed it's dependency on …
JeneaVranceanu bd2188a
chore: removed commented out case from SecurityToken test
JeneaVranceanu 3707ca4
chore: updated FIXME comments to "// FIXME: remove dependency on web3…
JeneaVranceanu d036483
Merge pull request #701 from JeneaVranceanu/feat/remote-tests-mocking
yaroslavyaroslav File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 0 additions & 14 deletions
14
Sources/web3swift/EthereumAPICalls/Ethereum/Eth+Call.swift
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
ABI.Element.EthError.Input
was replaced withABI.Element.InOut
since these are two identical structures.No need for
func parseForError() throws -> ABI.Element.EthError.Input
then.