cmd/geth: drop geth js command (#25000)

* cmd/geth: drop js command

* cmd: simplify ipc path determination for attach

* Add deprecation warning for js

* rm testdata for exec

* fix account unlock test cases

* Update cmd/geth/consolecmd.go

Co-authored-by: Martin Holst Swende <martin@swende.se>

* fix

Co-authored-by: Martin Holst Swende <martin@swende.se>
This commit is contained in:
Sina Mahmoodi
2022-06-21 12:16:05 +03:00
committed by GitHub
co-authored by Martin Holst Swende
parent 10dc5dce08
commit f20a569265
6 changed files with 30 additions and 99 deletions
-5
View File
@@ -540,11 +540,6 @@ func countIndents(input string) int {
return indents
}
// Execute runs the JavaScript file specified as the argument.
func (c *Console) Execute(path string) error {
return c.jsre.Exec(path)
}
// Stop cleans up the console and terminates the runtime environment.
func (c *Console) Stop(graceful bool) error {
c.stopOnce.Do(func() {