Comments (7)
chopsticks 0.9.6 have a bug. can you try 0.9.7
from bodhi.js.
chopsticks 0.9.6 have a bug. can you try 0.9.7
it now works when running Chopsticks with Acala config, but when using another config (e.g. Moonbeam) it returns same error:
npx @acala-network/[email protected] -c moonbeam
{"id":2,"jsonrpc":"2.0","error":{"code":6969,"message":"Error: Cannot read properties of undefined (reading 'chainId')"}}
This is the log from eth-rpc-adapter
------------------------------------------
⚡️ running in production (standard) mode ⚡️
------------------------------------------
2024-01-23 11:06:41 API/INIT: RPC methods not decorated: dev_dryRun, dev_newBlock, dev_runBlock, dev_setBlockBuildMode, dev_setHead, dev_setRuntimeLogLevel, dev_setStorage, dev_timeTravel
2024-01-23 11:06:41 API/INIT: moonbeam/2602: Not decorating runtime apis without matching versions: EthereumRuntimeRPCApi/5 (4 known)
2024-01-23 11:06:41 API/INIT: moonbeam/2602: Not decorating unknown runtime apis: 0xa33d43f58731ad84/2, 0xba8173bf23b2e6f8/1
runtime version: 2602
--------------------------------------------
🚀 SERVER STARTED 🚀
--------------------------------------------
version : bodhi.js/eth-rpc-adapter/2.7.19
endpoint url : ws://172.17.0.1:8000
subquery url : undefined
listening to : 8545
max blockCache : 200
max batchSize : 50
max storageSize : 5000
safe mode : false
local mode : false
http only : false
verbose : true
--------------------------------------------
{"level":20,"time":1706008003904,"pid":1,"hostname":"58b9fe0eff14","dd":{"trace_id":"3236574543570937110","span_id":"5464029673351754121","service":"eth rpc","version":"2.7.19"},"jsonrpc":"2.0","method":"eth_chainId","params":[],"id":2,"msg":"⬇ request"}
{"level":20,"time":1706008003906,"pid":1,"hostname":"58b9fe0eff14","dd":{"trace_id":"3236574543570937110","span_id":"5464029673351754121","service":"eth rpc","version":"2.7.19"},"id":2,"jsonrpc":"2.0","error":{"code":6969,"message":"Error: Cannot read properties of undefined (reading 'chainId')"},"msg":"✨ response"}
{"level":20,"time":1706008004660,"pid":1,"hostname":"58b9fe0eff14","dd":{"trace_id":"8934097509485400245","span_id":"4358609619567044265","service":"eth rpc","version":"2.7.19"},"jsonrpc":"2.0","method":"eth_chainId","params":[],"id":2,"msg":"⬇ request"}
{"level":20,"time":1706008004661,"pid":1,"hostname":"58b9fe0eff14","dd":{"trace_id":"8934097509485400245","span_id":"4358609619567044265","service":"eth rpc","version":"2.7.19"},"id":2,"jsonrpc":"2.0","error":{"code":6969,"message":"Error: Cannot read properties of undefined (reading 'chainId')"},"msg":"✨ response"}
_onNewFinalizedHead task failed, give up 0xed3358ed2d68dbc6a1e5a7fc6ce5a39ab0eea65253cd21b0e706caa68ea83310 TypeError: Cannot read properties of undefined (reading 'evmAddresses')
from bodhi.js.
eth-rpc-adapter
is meant to run with Acala node. Moonbeam node itself should already provide eth rpcs
from bodhi.js.
when I directly query the Chopsticks endpoint running Moonbeam it returns:
curl -X POST -H "Content-Type: application/json" --data '{"jsonrpc":"2.0", "method":"eth_chainId", "params":[], "id":2}' http://localhost:8000
Upgrade Required
and same for a custom chain that I'm running locally
from bodhi.js.
Moonbeam is not supported as our evm implementation are different
from bodhi.js.
Moonbeam is not supported as our evm implementation are different
Hitting same issue with Astar. It is not supported as well or am I missing on something?
from bodhi.js.
Only Acala is supposed
from bodhi.js.
Related Issues (20)
- error msg polish
- make dd-trace optional deps for eth-providers
- use yarn4
- Add timeout parameter HOT 1
- integrate viem example to CI
- decode failed on karura mainnet
- estimateGas doesn't throw error HOT 1
- blockscout v2
- subql-node fails HOT 1
- Failed to get tx receipt HOT 4
- unable to decode some error msg
- resync the subql to fix the forked data HOT 1
- Update `subql/node` and `subql/query` versions
- refactor params validation process
- add ip in logs HOT 1
- metamask not showing some err msg
- eth rpc restarts in prod HOT 1
- query to subql query gets very slow when under heavy requests
- getlogs returns false negative
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bodhi.js.