Questions tagged [hyperledger-sawtooth]

Hyperledger Sawtooth is an implementation of blockchain technology with the Proof of Elapsed time algorithm by default, use this tag for questions about this project.

Hyperledger Sawtooth is an implementation of blockchain technology with the Proof of Elapsed time algorithm by default, use this tag for questions about this project. Another good idea is to reach out to members of the community at https://chat.hyperledger.org/channel/sawtooth/. Documentation can be found at https://sawtooth.hyperledger.org/docs/core/releases/latest/contents.html.

219 questions
0
votes
0 answers

Set sawtooth permission using JavaScript

I read about the identity-tp CLI commands to set permissions. Is it possible to do the same with JavaScript code? Like create policy, roles and send a transaction to identity-tp using JavaScript? My use case is to set a permissioned network to store…
Nowhere
  • 11
  • 4
0
votes
0 answers

Sawtooth tx processor: There is no state data at the address specified

After saving some value into an sawtooth address, I try to recover it via the rest-api but it responds "There is no state data at the address specified". Here are the steps I've done: From the tx processor (python sdk) I call "set_state", and check…
klautern
  • 129
  • 3
  • 7
  • 26
0
votes
1 answer

How to know which state-delta event corresponds to which block?

I'm syncronizing part of the sawtooth ledger with an external database by subscribing to events 'sawtooth/state-delta' and 'sawtooth/block-commit', so when a Fork accures I have to be able to recognize invalidated transactions as described in the…
Luis F.
  • 1,222
  • 1
  • 11
  • 12
0
votes
0 answers

Hyperledger Sawtooth transaction not committed on PoET consensus

I'm trying to set up Hyperledger Sawtooth with 4 nodes in PoET consensus with custom transaction processors connected with each validator with Express App as a proxy to connect with the REST-API engine in docker containers with matrices in Grafana. …
Shritesh99
  • 13
  • 5
0
votes
1 answer

Recommended way to serialize state data in sawtooth node.js transaction processor?

According to the documentation: "It is critical to select a serialization scheme which is deterministic across executions of the transaction, across platforms, and across versions of the serialization framework. Data structures which don’t enforce…
Luis F.
  • 1,222
  • 1
  • 11
  • 12
0
votes
0 answers

The command returned a non-zero code: 2 (docker)

Build failure with a non-zero code: 2 The docker file is provided below: FROM ubuntu:bionic RUN \ apt-get update \ && apt-get install -y -q curl gnupg \ && curl -sSL…
Olaf115
  • 1
  • 1
0
votes
1 answer

How can you sign hyperledger-sawtooth transactions using metamask keys?

Hyperledger sawtooth uses secp256k1 ECDSA to sign transactions: https://sawtooth.hyperledger.org/docs/core/releases/1.2.5/_autogen/txn_submit_tutorial.html?highlight=transaction%20sign And aparently ethereum uses the same type of…
Luis F.
  • 1,222
  • 1
  • 11
  • 12
0
votes
1 answer

New validator not syncing blocks

I added a new validator but the process of syncing blocks didn't worked well. The new validator node doesn't sync all blocks but only the first one. Looking to the logs I see this suspicious log: [2020-10-13 14:00:22.158 DEBUG completer] Request…
0
votes
1 answer

Hyperledger Sawtooth docker container "settings tp" not working

I have set up a network with 4 validator using docker compose and it is using PBFT consensus. If i try to submit a proposal to change a setting, for example the "sawtooth.validator.transaction_families" settings, nothing happens (I'm doing it from…
0
votes
1 answer

Getting error while benchmarking sawtooth 1.0.0 with hyperledger caliper (Error:Benchmark failed with Error code 6)

I am trying to benchmark sawtooth 1.0.0 with hyperledger caliper, while running launch master command I get following error: Error: Benchmark failed with error code 6 at Function.handler…
0
votes
1 answer

Error while Confirming Connectivity to the REST API (for Docker) curl http://localhost:8008/blocks

I am trying to set up Hyperledger sawtooth testing node, so I followed this link: setting up a sawtooth testing node with Docker I have started node by using this command: docker-compose -f sawtooth-default.yaml up and it running. running node…
0
votes
1 answer

Hyperledger sawtooth - Request failed with status code 429

I am using Hyperledger sawtooth, in which I am storing transactions and simultaneously I am reading transactions as well. But at some points of time I am getting error of "Request failed with status code 429" and some batches are rejected. Is anyone…
Raj
  • 706
  • 8
  • 18
0
votes
1 answer

Sawtooth - Remove Pending Transactions

Often we have ran into problems with custom TransactionProcessors, when the TP crashes or is unable to connect to the sawtooth Nodes we get a QUEUE_FULL error and from there on all transaction go into PENDING state, including intkey / settings. Is…
runnercoder
  • 42
  • 1
  • 5
0
votes
1 answer

How to monitor a Sawtooth network in Docker containers?

I would like to monitor a Sawtooth network in Docker containers. I found this section "Using Grafana to Display Sawtooth Metrics" here https://sawtooth.hyperledger.org/docs/core/nightly/1-2/sysadmin_guide/grafana_configuration.html. However, there…
HectorCode
  • 205
  • 2
  • 11
0
votes
0 answers

ERROR: column "none" does not exist at character 67

I tried to run this repo in my local mac machine (https://github.com/hyperledger/education-sawtooth-simple-supply). I followed the steps to run the application in the README.md To run the application, navigate to the project's root directory, then …