Skip to content
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

HTTP API says "istanbul" is Unavailable but "istanbul" is required for HTTP endpoint for checking and adding validators. #1656

Open
nvzvhenry opened this issue Jun 23, 2023 · 0 comments

Comments

@nvzvhenry
Copy link

System information

Geth version: 1.11.2-stable
OS & Version: OSX Darwin(darwin-arm64)

Expected behaviour

istanbul.getValidators("latest")
["e1a8d6a6866a6c8f25ed853e3f957b0ed06a8f1c", "6028d68da1df3c54d5f0949de6082fb69a7239d1", "c1ed779faf6975399c5bdb90b40e2f324185bad0", "6480d9bf06fc8ba9a0393976386e47a5c4f014de", "da4d64ac5fea8aaf2943680241ce9ca4befed870"]

Actual behaviour

ERROR[.........] Unavailable modules in HTTP API list unavailable=[istanbul] available="[admin debug web3 eth txpool personal ethash miner net]"

istanbul.getValidators("latest")
ReferenceError: istanbul is not defined
at :1:1(0)

Steps to reproduce the behaviour

geth --datadir data --networkid 1337 --bootnodes enode://----------------------@127.0.0.1:30303 --verbosity 5 --syncmode full --mine --miner.threads 1 --miner.gasprice 0 --miner.etherbase ${ADDRESS} --authrpc.port 8451 --http --http.addr 127.0.0.1 --http.port 8545 --http.corsdomain "" --http.vhosts "" --ws --ws.addr 127.0.0.1 --ws.port 8546 --ws.origins "*" --http.api admin,eth,debug,miner,net,txpool,personal,web3,istanbul --ws.api admin,eth,debug,miner,net,txpool,personal,web3,istanbul --unlock ${ADDRESS} --allow-insecure-unlock --password ./data/keystore/accountPassword --port 30303

Backtrace

[backtrace]

When submitting logs: please submit them as text and not screenshots.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant