cmd/geth, cmd/utils: remove legacy rpc flags#23358
cmd/geth, cmd/utils: remove legacy rpc flags#23358holiman merged 25 commits intoethereum:masterfrom tqpcharlie:remove-legacy-rpc
Conversation
|
just curious, can I remove the rpcport flag in cmd/clef/main.go or is that seperate from the deprecated |
|
am I missing something I need to remove? I've looked, and I honestly can't tell. |
|
The code doesn't compile. |
|
I'm struggling to figure out what went wrong here: |
|
travis ci seems to be stuck... |
|
reverts the spacing to how it was before I resolved the merge conflict
|
can I get a review and/or merge for this, please? |
|
@Zachinquarantine This PR does not compile. It doesn't even lint: https://app.travis-ci.com/github/ethereum/go-ethereum/jobs/533060458 |
You should be able to detect compilation issues via |
I've ran the tests locally, and this is the only error the compiler is giving me:
|
Co-authored-by: Martin Holst Swende <martin@swende.se>
fixes these errors: cmd/utils/flags_legacy.go:21:2: "strings" imported but not used (typecheck) "strings" ^ cmd/utils/flags_legacy.go:24:2: "github.com/ethereum/go-ethereum/node" imported but not used (typecheck) "github.com/ethereum/go-ethereum/node" ^
|
The linter is still red: https://app.travis-ci.com/github/ethereum/go-ethereum/jobs/533787275 |
I'm using VSCode, but for some reason it hasn't fixed the goimports error when I save the file. |
Turns out it was because I hadn't configured it properly, it now passes 🎉 @MariusVanDerWijden |
MariusVanDerWijden
left a comment
There was a problem hiding this comment.
LGTM
(This will probably break a lot of users though, as there are a lot of tutorials out there with these legacy flags)
|
Please how do i get my rpc port default is not connecting to metamask |
* remove rpc flags * remove legacy rpc flags * remove legacy rpc flags * remove legacy rpc commands * (hopefully) fix most of the build errors * fix build errors https://app.travis-ci.com/github/ethereum/go-ethereum/jobs/530318686 * cmd/utils: fix syntax error * empty commit to unbreak travis ci * fix syntax error * syntax fixes * syntax fixes * fix fixes "cmd/geth/usage.go:234:7: expected '(', found init (typecheck)" * fix * various fixes in usage.go * various fixes in flags.go * adds extra space reverts the spacing to how it was before I resolved the merge conflict * more fixes in usage.go * fix fix for cmd/geth/usage.go:243:17: expected operand, found ':=' (typecheck) in travis * Update cmd/utils/flags.go Co-authored-by: Martin Holst Swende <martin@swende.se> * fix error fixes these errors: cmd/utils/flags_legacy.go:21:2: "strings" imported but not used (typecheck) "strings" ^ cmd/utils/flags_legacy.go:24:2: "github.com/ethereum/go-ethereum/node" imported but not used (typecheck) "github.com/ethereum/go-ethereum/node" ^ * goimports Co-authored-by: Martin Holst Swende <martin@swende.se>
Closes #23267
This PR aims to remove the legacy RPC flags that say "deprecated, will be removed in June 2021".