Welcome to the Linux Foundation Forum!

Hyperledger Fabric "InitLedger" Transaction Fails – Chaincode Registration Failed

Options

I'm trying to run the Hyperledger Fabric asset-transfer-basic TypeScript application using: npm start

Everything initializes fine, but when it tries to invoke the InitLedger transaction, it fails with the following error:

--> Submit Transaction: InitLedger, function creates the initial set of assets on the ledger
******** FAILED to run the application: EndorseError: 10 ABORTED: failed to endorse transaction
...
message: 'error in simulation: failed to execute transaction: could not launch chaincode basic_1.0:<...>: chaincode registration failed: container exited with 1',

Categories

Upcoming Training