We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
web3 contracts do not work with smart contract functions that return or accept structs.
They are also sometimes unpleasant to work with.
web3 [contracts] silently discards arguments it doesn't recognise the type of, but will complain if it gets the wrong number of arguments
3 different representations [of the same private key] create 3 valid, different signed transactions, all thanks to web3 not validating it's inputs
Consider switching to ethers.js, which supports contracts that use the ABIEncoderV2, and is (hopefully) nicer to work with.
The text was updated successfully, but these errors were encountered:
If we continue to use truffle for testing, we would need to:
truffle test
We could alternatively switch to testing directly with mocha.
We could use an alternative testing framework, such as waffle, which supports ethers.js contracts.
Sorry, something went wrong.
No branches or pull requests
web3 contracts do not work with smart contract functions that return or accept structs.
They are also sometimes unpleasant to work with.
Consider switching to ethers.js, which supports contracts that use the ABIEncoderV2, and is (hopefully) nicer to work with.
Problems:
The text was updated successfully, but these errors were encountered: