-
Notifications
You must be signed in to change notification settings - Fork 14
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
web3.eth.getTransactionCount hangs #161
Comments
What does |
|
btw, I have synced oasis-node without any paratime first and extended it with |
The status looks ok, can you share your full node config as well and some parts from both your node and gateway logs around the time that you do the query that hangs? |
my oasis node config is datadir: /home/ubuntu/oasis/data
log:
level:
default: info
tendermint: info
tendermint/context: error
format: JSON
genesis:
file: /home/ubuntu/oasis/etc/genesis.json
consensus:
tendermint:
p2p:
# List of seed nodes to connect to.
# NOTE: You can add additional seed nodes to this list if you want.
seed:
- "[email protected]:26656"
runtime:
supported:
# List of ParaTimes that the node should support.
- "000000000000000000000000000000000000000000000000e2eaa99fc008f87f"
paths:
# Paths to ParaTime non-SGX binaries for all of the supported ParaTimes.
"000000000000000000000000000000000000000000000000e2eaa99fc008f87f": /home/ubuntu/oasis/runtimes/emerald-paratime
config:
"000000000000000000000000000000000000000000000000e2eaa99fc008f87f":
allow_expensive_queries: true
worker:
storage:
enabled: true
checkpoint_sync:
disabled: true
p2p:
# External P2P configuration.
enabled: true gateway config is runtime_id: 000000000000000000000000000000000000000000000000e2eaa99fc008f87f
node_address: "unix:/home/ubuntu/oasis/data/internal.sock"
enable_pruning: false
pruning_step: 100000
log:
level: debug
format: json
database:
host: localhost
port: 5432
db: oasis
user: oasis
password: oasis
dial_timeout: 5
read_timeout: 10
write_timeout: 5
max_open_conns: 0
gateway:
chain_id: 42262
http:
host: 0.0.0.0
port: 22545
origins: "*"
cors: ["moz-extension://*", "chrome-extension://*"]
ws:
host: 0.0.0.0
port: 22546
origins: "*"
cors: ["moz-extension://*", "chrome-extension://*"]
method_limits:
get_logs_max_rounds: 200 |
Logs of the gateway. I've put some personal console logs and used
^^^ here I'm expecting oasis-node logs:
|
Hi!
web3.eth.getTransactionCount
from web3.js hangs and I don't see it in my emerald-web3-gateway logs.What I'm trying to do is
Meanwhile
works pretty well.
Also, some eth_calls hangs too, but in this case I can see these calls in my gateway logs. I will create another ticket for this case if I won't figure out the issue.
My configs
I have
in my oasis-node config.
And
in my gateway config.
The text was updated successfully, but these errors were encountered: