Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Init network with simple chaincode #157

Merged
merged 4 commits into from
Mar 17, 2021
Merged

Conversation

dzikowski
Copy link
Contributor

No description provided.

@@ -49,7 +52,7 @@ describe('validate', () => {
expect(commandResult).toEqual(TestCommands.success());
expect(commandResult.output).toContain('Validation errors count: 0');
expect(commandResult.output).toContain('Validation warnings count: 0');
expect(commands.getFiles()).toEqual(['./e2e/__tmp__/commands-tests/fabrica-config.json']);
expect(commands.getFiles()).toContain('./e2e/__tmp__/commands-tests/fabrica-config.json');
Copy link
Contributor

@Hejwo Hejwo Mar 11, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hm... didn't quite get the case where:

  1. user first creates own chaincode in chaincodes/chaincode-kv-node
  2. then executes fabrica init

What would happen then? Files will get overridden or we revive yeoman prompt?

(If it's not handled) Maybe he should get suitable prompt like: "chaincode already exists. It's advised to manually check if fabrica-config contains correctchaincode[0].lang " ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

to be tested

@dzikowski dzikowski force-pushed the issue-100/init-chaincode branch from 963c214 to 3ebeabd Compare March 16, 2021 15:42
@dzikowski dzikowski changed the base branch from main to version-0.0.1 March 17, 2021 14:24
@dzikowski dzikowski changed the base branch from version-0.0.1 to main March 17, 2021 15:37
@dzikowski dzikowski merged commit 252e823 into main Mar 17, 2021
@dzikowski dzikowski deleted the issue-100/init-chaincode branch March 17, 2021 15:58
dzikowski pushed a commit that referenced this pull request Mar 17, 2021
Hejwo pushed a commit that referenced this pull request Nov 12, 2021
Init network with simple chaincode

Signed-off-by: Piotr Hejwowski <[email protected]>
Hejwo pushed a commit that referenced this pull request Nov 13, 2021
Init network with simple chaincode

Signed-off-by: Piotr Hejwowski <[email protected]>
dzikowski pushed a commit that referenced this pull request Nov 18, 2021
Init network with simple chaincode

Signed-off-by: Jakub Dzikowski <[email protected]>
dzikowski pushed a commit that referenced this pull request Nov 18, 2021
Init network with simple chaincode

Signed-off-by: Jakub Dzikowski <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants