-
Notifications
You must be signed in to change notification settings - Fork 285
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
test(stellar-test-ledger): Stellar Test Ledger #3239
Comments
With @petermetz 's assistance, I begin by pulling up the code from this branch https://github.com/hyperledger/cacti/pull/3235 and implemented a working prototype version for this test ledger in my fork of Cacti. You can access and test in this branch:
There, it is possible to test the Test Ledger directly by triggering the following tests: yarn jest packages/cactus-test-tooling/src/test/typescript/integration/stellar/stellar-test-ledger/constructor-validates-options.test.ts These tests will validate that the StellarTestLedger class operates correctly and exposes the services properly for the tests to be conducted. If one would like to further test this test ledger, there are temporary tests under the connector tests directory that can be executed with: yarn jest packages/cacti-plugin-ledger-connector-stellar/src/test/typescript/integration/plugin-ledger-connector-stellar/validate-test-ledger.test.ts I'm just using these temporarily to start working on the connector but they can triggered in this branch to execute a few simple stellar transactions such as creating accounts and performing payments to ensure all services are operating correctly. |
Happy to help reviewing the PR when you have a first draft! Thanks for your contribution |
- Add a Stellar test ledger class that can be used in integration tests to start and stop a Stellar test network based on the Stellar quickstart docker image: https://github.com/stellar/quickstart - Inclues the following services for fetching ledger state, executing classic transactions and also soroban smart contracts transactions. - Stellar Core - Horizon API - Soroban RPC - Friendbot Fixes hyperledger-cacti#3239 Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com> Signed-off-by: Fabricius Zatti <fazzatti@gmail.com>
- Add a Stellar test ledger class that can be used in integration tests to start and stop a Stellar test network based on the Stellar quickstart docker image: https://github.com/stellar/quickstart - Inclues the following services for fetching ledger state, executing classic transactions and also soroban smart contracts transactions. - Stellar Core - Horizon API - Soroban RPC - Friendbot Fixes hyperledger-cacti#3239 Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com> Signed-off-by: Fabricius Zatti <fazzatti@gmail.com>
- Add a Stellar test ledger class that can be used in integration tests to start and stop a Stellar test network based on the Stellar quickstart docker image: https://github.com/stellar/quickstart - Inclues the following services for fetching ledger state, executing classic transactions and also soroban smart contracts transactions. - Stellar Core - Horizon API - Soroban RPC - Friendbot Fixes hyperledger-cacti#3239 Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com> Signed-off-by: Fabricius Zatti <fazzatti@gmail.com>
- Add a Stellar test ledger class that can be used in integration tests to start and stop a Stellar test network based on the Stellar quickstart docker image: https://github.com/stellar/quickstart - Inclues the following services for fetching ledger state, executing classic transactions and also soroban smart contracts transactions. - Stellar Core - Horizon API - Soroban RPC - Friendbot Fixes hyperledger-cacti#3239 Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com> Signed-off-by: Fabricius Zatti <fazzatti@gmail.com>
- Add a Stellar test ledger class that can be used in integration tests to start and stop a Stellar test network based on the Stellar quickstart docker image: https://github.com/stellar/quickstart - Inclues the following services for fetching ledger state, executing classic transactions and also soroban smart contracts transactions. - Stellar Core - Horizon API - Soroban RPC - Friendbot Fixes hyperledger-cacti#3239 Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com> Signed-off-by: Fabricius Zatti <fazzatti@gmail.com>
- Add a Stellar test ledger class that can be used in integration tests to start and stop a Stellar test network based on the Stellar quickstart docker image: https://github.com/stellar/quickstart - Inclues the following services for fetching ledger state, executing classic transactions and also soroban smart contracts transactions. - Stellar Core - Horizon API - Soroban RPC - Friendbot Fixes hyperledger-cacti#3239 Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com> Signed-off-by: Fabricius Zatti <fazzatti@gmail.com>
- Add a Stellar test ledger class that can be used in integration tests to start and stop a Stellar test network based on the Stellar quickstart docker image: https://github.com/stellar/quickstart - Inclues the following services for fetching ledger state, executing classic transactions and also soroban smart contracts transactions. - Stellar Core - Horizon API - Soroban RPC - Friendbot Fixes hyperledger-cacti#3239 Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com> Signed-off-by: Fabricius Zatti <fazzatti@gmail.com>
- Add a Stellar test ledger class that can be used in integration tests to start and stop a Stellar test network based on the Stellar quickstart docker image: https://github.com/stellar/quickstart - Inclues the following services for fetching ledger state, executing classic transactions and also soroban smart contracts transactions. - Stellar Core - Horizon API - Soroban RPC - Friendbot Fixes hyperledger-cacti#3239 Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com> Signed-off-by: Fabricius Zatti <fazzatti@gmail.com>
- Add a Stellar test ledger class that can be used in integration tests to start and stop a Stellar test network based on the Stellar quickstart docker image: https://github.com/stellar/quickstart - Inclues the following services for fetching ledger state, executing classic transactions and also soroban smart contracts transactions. - Stellar Core - Horizon API - Soroban RPC - Friendbot Fixes hyperledger-cacti#3239 Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com> Signed-off-by: Fabricius Zatti <fazzatti@gmail.com>
- Add a Stellar test ledger class that can be used in integration tests to start and stop a Stellar test network based on the Stellar quickstart docker image: https://github.com/stellar/quickstart - Inclues the following services for fetching ledger state, executing classic transactions and also soroban smart contracts transactions. - Stellar Core - Horizon API - Soroban RPC - Friendbot Fixes hyperledger-cacti#3239 Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com> Signed-off-by: Fabricius Zatti <fazzatti@gmail.com>
- Add a Stellar test ledger class that can be used in integration tests to start and stop a Stellar test network based on the Stellar quickstart docker image: https://github.com/stellar/quickstart - Inclues the following services for fetching ledger state, executing classic transactions and also soroban smart contracts transactions. - Stellar Core - Horizon API - Soroban RPC - Friendbot Fixes #3239 Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com> Signed-off-by: Fabricius Zatti <fazzatti@gmail.com>
- Add a Stellar test ledger class that can be used in integration tests to start and stop a Stellar test network based on the Stellar quickstart docker image: https://github.com/stellar/quickstart - Inclues the following services for fetching ledger state, executing classic transactions and also soroban smart contracts transactions. - Stellar Core - Horizon API - Soroban RPC - Friendbot Fixes hyperledger-cacti#3239 Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com> Signed-off-by: Fabricius Zatti <fazzatti@gmail.com>
Is your feature request related to a problem? Please describe.
Implement a Test Ledger able to pull up a docker image with a stellar network core, validators, and necessary services(Horizon API, Soroban RPC, and Friendbot) to run Stellar-related Cacti tests against.
Describe the solution you'd like
The Stellar Test Ledger should:
Additional context
This is the first step of the initiative mention in the issue https://github.com/hyperledger/cacti/issues/3238 .
The text was updated successfully, but these errors were encountered: