website: update developer mode tutorial for v1.14.0 #29752
+24
−31
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.
As discussed in #29747,
eth.coinbase
no longer returns an address in v1.14.0+. This PR updates the developer mode tutorial to:eth.coinbase
witheth.accounts[0]
. This change makes the example code work in v1.14.0+ and is also backwards compatible with previous versions of geth.I also bumped example snippets/wording to reflect current values where applicable (e.g., block period of
12
instead of13
, updating the Remix provider from "Injected Web3" to "Custom - External Http Provider").There were also some other small inaccuracies that I did not update because they require other changes in the code and/or don't greatly affect the overall tutorial:
remix-deploy.png
shows the old "Web3 Provider" environment, but Remix renamed this environment to "Custom - External Http Provider" in the current version. I'm not sure where to update this image, it's not in the repo.