This PR intends to add scripts which tests various scenarios on Rubix Platform. Refer here for more information.
List of Test Scenarios:
Shuttle Transfer (Success Case)
1.1 Generate 2 whole RBT for A
1.2 Transfer 0.5 from A to B
1.3 Transfer 1.499 from A to B
1.4 (Transfer 0.25 from B to A) * 4
1.5 Transfer 1 RBT from A to B
1.6 Generate 2 whole RBT for A
1.7 Transfer 2 RBT from A to B
1.8 Transfer 0.001 from A to B
Insufficient Balance Transfer (Failure Case)
2.1 Transferring 100 RBT from A which has zero balance
2.2 Transferring 100 RBT from B which has insufficient balance
Transferring 0.00000009 RBT from B which is more than allowed decimal places (Failure Case)
Transferring whole, part and mix RBT from NLSS DID to BIP39 DID
4.1 Transfer 1 RBT from NLSS DID to BIP39 DID
4.2 Transfer 1.5 RBT from NLSS DID to BIP39 DID
4.3 Transfer 0.5 RBT from NLSS DID to BIP39 DID
Transferring whole, part and mix RBT from BIP39 DID to NLSS DID
5.1 Transfer 0.5 RBT from NLSS DID to BIP39 DID
5.2 Transfer 1.5 RBT from NLSS DID to BIP39 DID
5.3 Transfer 1 RBT from NLSS DID to BIP39 DID
Github Actions Workflow
A new test workflow is added which runs the test script in Windows, Linux and MacOS operating systems. Quorum and Non-Quorum node logs are generated for each of them, irrespective of successful or failure workflow run.
get-peer-id CLI command
A new CLI command get-peer-id is added to get the node ID of a peer
Usage:
./rubixgoplatform get-peer-id -port <ens server port>
Test Scripts and Scenarios
This PR intends to add scripts which tests various scenarios on Rubix Platform. Refer here for more information.
List of Test Scenarios:
Shuttle Transfer (Success Case) 1.1 Generate 2 whole RBT for A 1.2 Transfer 0.5 from A to B 1.3 Transfer 1.499 from A to B 1.4 (Transfer 0.25 from B to A) * 4 1.5 Transfer 1 RBT from A to B 1.6 Generate 2 whole RBT for A 1.7 Transfer 2 RBT from A to B 1.8 Transfer 0.001 from A to B
Insufficient Balance Transfer (Failure Case) 2.1 Transferring 100 RBT from A which has zero balance 2.2 Transferring 100 RBT from B which has insufficient balance
Transferring 0.00000009 RBT from B which is more than allowed decimal places (Failure Case)
Transferring whole, part and mix RBT from NLSS DID to BIP39 DID 4.1 Transfer 1 RBT from NLSS DID to BIP39 DID 4.2 Transfer 1.5 RBT from NLSS DID to BIP39 DID 4.3 Transfer 0.5 RBT from NLSS DID to BIP39 DID
Transferring whole, part and mix RBT from BIP39 DID to NLSS DID 5.1 Transfer 0.5 RBT from NLSS DID to BIP39 DID 5.2 Transfer 1.5 RBT from NLSS DID to BIP39 DID 5.3 Transfer 1 RBT from NLSS DID to BIP39 DID
Github Actions Workflow
A new
test
workflow is added which runs the test script in Windows, Linux and MacOS operating systems. Quorum and Non-Quorum node logs are generated for each of them, irrespective of successful or failure workflow run.get-peer-id
CLI commandA new CLI command
get-peer-id
is added to get the node ID of a peerUsage: