Skip to content
#

distributed-ledger

Here are 192 public repositories matching this topic...

fabric
varadgit
varadgit commented Oct 7, 2021

When installing a new chaincode on the peer you do get the package id of the chaincode which is good... this allows customers to use that data to go through the approve/commit steps.

However the issue is when they are reinstalling an existing chaincode there is nothing in the response to indicate the package id(hash). Install in that case returns a message that the chaincode already exists. We

opticyclic
opticyclic commented Sep 11, 2019

Currently there seem to be 3 options for testing Corda:

  1. MockNetwork
  2. Driver DSL
  3. Manually start a network then run tests

The MockNetwork is useful for testing flows but it doesn't implement an RPC interface so you can't use it in your Spring REST API tests.

The Driver DSL has an RPC interface but all the work appears to have to be done in the dsl closure which means you can't get

Dsstefanov
Dsstefanov commented Sep 21, 2021

The problem is that buffer array seems to have a different prototype than js definition and when convertBytetoString is called then:

for (const index in buffer_array) {

will start iterating over the prototype properties and result is incorrectly set to be a string of the function definitions instead of being empty string.
Could be fixed by adding a guard:

for (const index in buffer_array

iroha

Improve this page

Add a description, image, and links to the distributed-ledger topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the distributed-ledger topic, visit your repo's landing page and select "manage topics."

Learn more