-
Notifications
You must be signed in to change notification settings - Fork 987
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
Omitting optional sendTransaction parameters in ganache/truffle causes block ingestor errors #561
Comments
It appears that the issue is specifically with the web3js Submitting with Work around: avoid submitting transactions without a data parameter. Avoid submitting transactions with data set to empty byte string. Instead, provide a non-empty value such as |
Filed trufflesuite/ganache#220 for the compatibility issue. |
Wow, issue seems to be fixed already on @nenadjaja can you confirm? |
Update
This issue is fixed and can't be reproduced anymore. |
Steps to reproduce from @nenadjaja :
Open multiple terminal tabs, and run the following in each one:
$ ganache-cli
(or if you want the new, not released ganache, follow the steps here Problems getting blocks from Ganache #375$ truffle compile
followed bytruffle migrate
--> it should give you the contract address under "Deploying Events"subgraph.yaml
(subgraph manifest) inside of the hackathon-scaffold projectipfs daemon
in a separate terminal tabcreatedb scaffold
in another tab to create a databaseyarn codegen
followed byyarn deploy
truffle console --network development
web3.eth.getAccounts().then(ethaccounts => accounts = ethaccounts)
web3.eth.sendTransaction({ from: accounts[0], to: accounts[1], value: web3.utils.toWei('10', "ether"),gas:50000})
The text was updated successfully, but these errors were encountered: