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

Support tools to build test net for demo apps #181

Closed
sfuji822 opened this issue Jun 15, 2020 · 7 comments
Closed

Support tools to build test net for demo apps #181

sfuji822 opened this issue Jun 15, 2020 · 7 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@sfuji822
Copy link
Contributor

Is your feature request related to a problem? Please describe.
Providing sample application is important for demonstration purpose.
But it is also needed to keep separated such demo app from main framework.

Describe the solution you'd like
We should provide support tool to build test net for specific Ledger platform to work with sample web application build on top of Cactus SDK.

Describe alternatives you've considered
Providing test case on each Cactus components, but it is merely work for unit tests.

Additional context
I am considering to provide solution as docker-compose environment which is easy to build and run without deep knowledge.

@sfuji822 sfuji822 added the enhancement New feature or request label Jun 15, 2020
@petermetz
Copy link
Member

@sfuji822 Is it required in the scope of this issue to have the test nets run multiple nodes or is it okay to have single node test nets?

Just asking because for the integration tests we have single node test nets that you can pull up via code, like this one brings up a Besu test ledger that is then used for ledger testing:
packages/cactus-test-tooling/src/main/typescript/besu/besu-test-ledger.ts

And the limitation of this is that it single node ledger only, so if we need multiple nodes in the test net then it is not a good fit in it's current form (could be improved of course).

@RafaelAPB
Copy link
Contributor

I think it is very relevant to us to be able to bootstrap both single node and multiple node test networks. Several features we are developing can be trivially tested with a single node network; but in production, many networks will have multiple nodes, and we want to test those interactions.

@sfuji822
Copy link
Contributor Author

@petermetz , I did not any preference on the number of node since my expectation on this feature is simply tasks on trying Cactus at docker-based playground. takeutak or I will submit related PR soon.

@sfuji822
Copy link
Contributor Author

@RafaelAPB , thanks for you comment. I like to implement this as minimal set at first, but I also agree with you on the potential needs on tricky configuration and we may extend it after first version.

@sfuji822 sfuji822 self-assigned this Jun 22, 2020
@RafaelAPB
Copy link
Contributor

@sfuji822, you're welcome! Are you planning to extend the test ledger classes, then? It does require new images to implement multi-node networks, is that correct?

@petermetz
Copy link
Member

Closing as per what was done and described in #240

@petermetz
Copy link
Member

@sfuji822, you're welcome! Are you planning to extend the test ledger classes, then? It does require new images to implement multi-node networks, is that correct?

@RafaelAPB Now I can answer this (after having seen the PR) This does not use/work with the FabricTestLedger class so we'll have to pick that up in a separate thread/issue.

@petermetz petermetz added this to the v0.2.0 milestone Sep 25, 2020
ryjones pushed a commit that referenced this issue Feb 1, 2023
1. Updated Corda interop app to add issuer, and observers in the flows.
2. Added Fungible House Token sample application (derived from corda-samples-kotlin repo).
3. Extended above application to support HTLC.
4. Extended corda client to support fungible house token and its HTLC flows.
5. Updated Corda testnet to have PartyC, updated credentials at different places.
6. Updated package versions to `1.2.4-alpha.4`.
7. Added WorkFlow Test for fungible house token based asset-exchange.

Closes #182 

Signed-off-by: sannish <sandeep.nishad1@ibm.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants