Comments (6)
Makes sense as something you need to do. This API won't be the correct way to implement that however - possibly you could use some docker tooling to monitor the version of software you are running?
from node.
Sure, why make it easy
from node.
Hey @PeaStew, this is a geth API and will return the version of Geth currently running
https://github.com/ethereum/go-ethereum/blob/2274a03e339f213361453590b54917bbfd0a0c31/node/api.go#L329
It's not intended to track the release version of this node software.
The best way to track released versions would be to subscribe to this projects releases
Is that what you're trying to do?
from node.
Hey @PeaStew, this is a geth API and will return the version of Geth currently running https://github.com/ethereum/go-ethereum/blob/2274a03e339f213361453590b54917bbfd0a0c31/node/api.go#L329 It's not intended to track the release version of this node software. The best way to track released versions would be to subscribe to this projects releases Is that what you're trying to do?
We are trying to track our version of the software running on our load balancer vs the version that has been released, so that we get alerting on new versions. This is pretty normal to need to do.
from node.
Hey @PeaStew, thanks for raising the issue! The current version comes from these constants: https://github.com/ethereum-optimism/op-geth/blob/v1.101106.0/params/version.go#L32-L37
I agree it would be preferable for web3_clientVersion
to return the correct version information. I'm working with the Optimism team to figure out a way to keep this in sync with the released tag. Note that any fix would pin it to the op-geth version, not necessarily the version of the docker image in this repo, as this repo is a combination of a couple of pieces of software that are versioned separately.
from node.
this is now fixed:
> curl -d '{ "jsonrpc":"2.0", "method":"web3_clientVersion", "params":[ ], "id":1 }' -H "Content-Type: application/json" https://goerli.base.org
{"jsonrpc":"2.0","result":"Geth/v1.101200.1-rc.2-36831023-20230823/linux-amd64/go1.19.12","id":1}
from node.
Related Issues (20)
- Snapshots? HOT 1
- Walking back L1Block by hash HOT 2
- Stuck syncing HOT 10
- update recommended disk space in README HOT 1
- prune ancient data HOT 3
- Change Minimum SSD requirements and Adding how to get a Snapshot HOT 2
- Wallet stuck due to pending txns in mem pool HOT 4
- log status codes of responses from L1 RPC HOT 5
- Add instructions for snapshots in README.md HOT 2
- Hi
- v0.3.2 latest op-node emits ` [: Illegal number:` with error HOT 2
- character error HOT 3
- api: Requesting for adding new rpc command eth_getBlockReceipts HOT 3
- Need a mechanism to compress data to reduce storage costs HOT 13
- current sync not kept HOT 1
- [Base Testnet Archive] Not reaching the latest block height (opgeth) HOT 1
- Connection refused HOT 18
- Error when deploying a smart contract: cannot estimate gas; transaction may fail or may require manual gas limit HOT 1
- Response size should not greater than 2097152 bytes HOT 2
- How to resync the node ? HOT 1
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 node.