You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: devnet/docker/icon-algorand/README.md
+12-3
Original file line number
Diff line number
Diff line change
@@ -29,12 +29,12 @@ which will then be copied to the relayer [config file](/devnet/docker/icon-algor
29
29
### Local execution
30
30
It's also possible to replicate the same steps locally, which can be much more helpful for debugging:
31
31
1. Install Algorand and Pyteal, using the same cmds provided on the workflow file.
32
-
2. Run [local_setup.sh](devnet/docker/icon-algorand/local_setup.sh) to setup local chain nodes and build the smart contracts.
32
+
2. Run [local_setup.sh](devnet/docker/icon-algorand/local_setup.sh) to setup local chain nodes and build the smart contracts.
33
33
3. Run [setup_system.sh](devnet/docker/icon-algorand/setup_system.sh) to deploy the contracts and setup the relayer config file.
34
34
4. Go to ``./cmd/iconbridge`` and run ``go run . -config=../../devnet/docker/icon-algorand/algo-config.json``
35
35
to start the relayer.
36
36
5. To execute any of the integration tests, go to ``/devnet/docker/icon-algorand`` and run the
37
-
respective script.
37
+
respective script, more info on the coming tests section.
38
38
39
39
40
40
### Testnet execution
@@ -44,4 +44,13 @@ testnet address and token values.
44
44
1. Go to ``./devnet/docker/icon-algorand`` and run [testnet_start_relay.sh](/devnet/docker/icon-algorand/testnet_start_relay.sh) - Beware that this script will create wallet accounts that need to be funded.
45
45
on the respective testnet faucets. The algorand one can be accessed [here](https://bank.testnet.algorand.network/).
46
46
2. To execute any of the integration tests, go to ``/devnet/docker/icon-algorand`` and run the
47
-
respective script.
47
+
respective script, more info on the coming tests section.
48
+
49
+
### Tests
50
+
On the ``/devnet/docker/icon-algorand`` directory, there are scripts that perform the following tests:
51
+
-[messaging-bridge-test.sh](devnet/docker/icon-algorand/messaging-bridge-test.sh) - Send a message accross the bridge and verify it reaches the destination.
52
+
-[i2a-integration-test.sh](devnet/docker/icon-algorand/i2a-integration-test.sh) - Initialize a local token transfer from icon to algorand and verify balances.
53
+
-[a2i-integration-test.sh](devnet/docker/icon-algorand/a2i-integration-test.sh) - Initialize a local token transfer from algorand to iconand verify balances.
54
+
-[i2a-tokenTransfer.sh](devnet/docker/icon-algorand/i2a-tokenTransfer.sh) - Initialize a testnet token transfer from icon to algorand and print hashes to be verified on explorers.
55
+
-[a2i-tokenTransfer.sh](devnet/docker/icon-algorand/a2i-tokenTransfer.sh) - Initialize a testnet token transfer from algorand to icon and print hashes to be verified on explorers.
0 commit comments