hyperledger / hyperledger/fabric-admin-sdk

Avoid need for sleeps after creating channel using API

Open
#100 9 comments 0 reactions 0 assignees View on GitHub
stale
Dominant language
Go
Stars
36
Forks
28
Avg merge
26m
Merged PRs (30d)
2

Description

The end-to-end test suite currently contains arbitrary sleeps to give the network time to become stable before completing chaincode lifecycle deployment. These sleeps only appear to be required when the channel is created using the admin API. When the channel is created using the test-network scripts, chaincode deployment seems to work without sleeps.

Maybe it would be good to either:

1. Have the channel commands (perhaps optionally) check completion of configuration before returning so the system is in a fully usable state immediately after creation completes; or
2. Extend the channel API to allow client code to check for a stable system state.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.