Giter VIP home page Giter VIP logo

Comments (3)

Vovchyk avatar Vovchyk commented on July 23, 2024 1

@capitalist42 , please double check version of your node. For me it works just fine with v6.1.0:

curl https://public-node.rsk.co/ \
  -X POST \
  -H "Content-Type: application/json" \
  --data '{ "method": "web3_clientVersion", "params": [], "id": 1, "jsonrpc": "2.0" }'
{"jsonrpc":"2.0","id":1,"result":"RskJ/6.1.0/Linux/Java1.8/ARROWHEAD-712fc35"}
curl https://public-node.rsk.co/ \
  -X POST \
  -H "Content-Type: application/json" \
  --data '{ "jsonrpc": "2.0", "method": "eth_call", "params": [ { "data": "0x06fdde03", "gas": "0x2faf080", "to": "0xdb107fa69e33f05180a4c2ce9c2e7cb481645c2d" }, { "blockHash": "0x7b443d9e0c0748ecf9d33d8d64097ce6e2dce676d3b8767295cb377f9695d91d" } ], "id": 7035 }'
{"jsonrpc":"2.0","id":7035,"result":"0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000f5a55534420537461626c65636f696e0000000000000000000000000000000000"}

from rskj.

capitalist42 avatar capitalist42 commented on July 23, 2024 1

@Vovchyk problem resolved.
the rsk.jar inside the "/var/lib/rsk" directory did not get updated when I changed the docker image version.
It was due to the fact that I mounted volume to "/var/lib/rsk" directory.

from rskj.

capitalist42 avatar capitalist42 commented on July 23, 2024

@Vovchyk
I am using docker image "rsksmart/rskj:ARROWHEAD-6.1.0" but
the result of calling "web3_clientVersion"

{
    "jsonrpc": "2.0",
    "id": 1,
    "result": "RskJ/6.0.0/Linux/Java1.8/ARROWHEAD-"
}

from rskj.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.