GithubHelp home page GithubHelp logo

Comments (3)

joshuafernandes avatar joshuafernandes commented on June 24, 2024

Hi @wxker95 could you confirm the request url you made please? http:///storeraw should instead be http://localhost:9080/storeraw ? or similar with an IP.

Could you please give us a list of steps as to how we reproduce this error?

from quorum-dev-quickstart.

wxker95 avatar wxker95 commented on June 24, 2024

Hi @joshuafernandes

Can confirm that even though the error message shows http:///storeraw, it is hitting the correct endpoint. I know this because when using Quorum's 7 node example with a Tessera version of 0.10.2, I am able to use the storeraw API without issue with the same code. Not sure specifically which Tessera versions have this issue, but it is definitely not working on the main branch of Tessera.

I have tried modifying quorum quickstart's Tessera version to use 0.10.2, but I must not be understanding something about this project because I haven't been able to get it working.

The code I'm using:

import Web3 from "web3";
import Web3Quorum from "web3js-quorum";

const web3 = new Web3Quorum(
    new Web3(new Web3.providers.WebsocketProvider(<quorum websocket endpoint>)), 
    { privateUrl: <tessera url>}, 
    true
)
...
//error occurs here
const txHash = await web3.ptm.storeRaw({
      data: <encoded transaction>,
      privateFrom: [...],
});

It's worth noting that this is a known issue mentioned on Tessera's github since January: Consensys/tessera#1385
I created this issue here before finding it there

from quorum-dev-quickstart.

joshuafernandes avatar joshuafernandes commented on June 24, 2024

Gotcha @wxker95 I'll close this and follow this up on that issue. Consensys/tessera#1385

from quorum-dev-quickstart.

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.