fabric-mock-stub icon indicating copy to clipboard operation
fabric-mock-stub copied to clipboard

Mock implementation of the fabric-shim stub for testing

Results 12 fabric-mock-stub issues
Sort by recently updated
recently updated
newest added

Bumps [highlight.js](https://github.com/highlightjs/highlight.js) from 9.17.1 to 9.18.5. Release notes Sourced from highlight.js's releases. 10.3.2 - Oops, "Javascript". Tiny tiny release, just to fix the website incorrectly not listing Javascript in the...

dependencies

Bumps [node-fetch](https://github.com/bitinn/node-fetch) from 2.6.0 to 2.6.1. Release notes Sourced from node-fetch's releases. v2.6.1 This is an important security release. It is strongly recommended to update as soon as possible. See...

dependencies

Hi, I am encountering an issue in using the private data collection functionality. I realize this is a newer feature, however, I am wondering if all the functionality is implemented?...

Hi, I'm trying to test my contract created by IBM blockchain platform VSCIDE extension. My contract is written in typescript. Now in order to test my contract I've used the...

I'd like to be able to test access control to chaincode invocations based on whether or not the fabric client's certificate has the required attributes. Here is some example chaincode....

Are there any plans to add support for mocking the 2.0 Nodejs fabric-shim? Below is the 2.0 release branch: https://github.com/hyperledger/fabric-chaincode-node/tree/release-2.x

@theledger/fabric-mock-stub > @theledger/couchdb-query-engine > babel-runtime > [email protected]: core-js@

I'm trying to instantiate my chain code using a remote peer as follows: `const MyChaincode = require('./index.js'); const ChaincodeMockStub = require("@theledger/fabric-mock-stub").ChaincodeMockStub; const chaincode = new MyChaincode(); describe('Test MyChaincode', () =>...

# Error When running `node test.js` , obtains the following error: [gist](https://gist.github.com/floriancastelain/49e2f11d3a56bb6c6716d58ffae8b190) Main message: > ERROR [lib/handler.js] uncaughtException: The "peer.address" program argument must be set to a legitimate value of...

``` async getHistoryForKey (key) { return await this.handler.handleGetHistoryForKey(key, this.channel_id, this.txId); } ``` if key does not exist it will return a MockHistoryQueryIterator where data is undefined { **data: undefined,** [...]...