-
Notifications
You must be signed in to change notification settings - Fork 87
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
eth/contract hello_world.sol : Unsupported method: eth_coinbase. Alchemy does not support mining eth... #115
Comments
DEBUGGING UPDATEChanged the endpoint to alchemy using the goerli testnet since ropsten is deprecating hain = Eth::Client.create Endpoint::Provider.alchemy_goerli This this I get an more interesting error:
So, seems I need to disable or nil Any ideas how best to do this? |
DEBUGGING.
|
Thank you, this is actually a bug. I partially fixed it in #85 but have not seen this. 👍 |
Testing all these various blockchain provider endpoints is useful it seems.
See summary of first test results here: |
Do you want to submit a PR? |
I don't yet have the skills to debug the ETH protocol; but if I did, or if I ever do, I would be happy to help out anyway I can. Not even sure where to start, to be honest. I've been focused on testing provider endpoints and not the underlying protocol; where would I start to debug / fix this issue? My guess is it would be easier to just use the sender signing key?
Is this documented on how to deploy a contract using a sender key? I'm happy to try that, if you think that is a good way forward @q9f |
Oh, sure: my_key = Eth::Key.new priv: "30137644b564785d01420f8043f043d74dcca64008e57c59f8ce713a0005a54b"
# ...
chain.deploy_and_wait(contract, sender_key: my_key) |
This issue is resolved. Thanks for your help @q9f |
Hi Again, and thanks for this great gem and your fast support.
Made the change you suggested in (now closed) issue #113, but this leads to another error:
Here is the module as tested:
Here is the calling (rails console) process:
Looking at the line (453) where the error happens:
hello_world.sol
FWIW, get this same error with my earlier (issue #113) greeter.sol file as well:
I read the updated wiki (thanks for updating the docs, we all know that docs are our least favorite thing to do) and reviewed the steps again. Am I following your docs, to the letter, for endpoints such as CHAINSTACK or ALCHEMY, etc.? I think so, but maybe I'm missing something? Have reviewed the docs many times, but it seems I am following....
Where did I go wrong this time?
Thank you.
The text was updated successfully, but these errors were encountered: