Skip to content

Commit

Permalink
docs: update cosmos e2e test docs (#200)
Browse files Browse the repository at this point in the history
* test: update make file to run icon-archway e2e

* test: add ref images for demo

* test: update make file to run demo tests

* docs: update docs to add instruction on how to run e2e demo
  • Loading branch information
hemz10 authored Oct 17, 2023
1 parent ed216a1 commit 6cdcdb8
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 1 deletion.
Binary file added img/img6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/img7.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions test/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,17 @@ run-archway-e2e:
@echo "Running e2e demo cosmos"
@cd $(CURDIR)/scripts/cosmos && npx ts-node cosmos_e2e_demo.ts archway

run-neutron-e2e:
@echo "Running e2e demo cosmos"
@cd $(CURDIR)/scripts/cosmos && npx ts-node cosmos_e2e_demo.ts neutron

run-icon-archway-e2e:
@echo "Running e2e demo cosmos"
@cd $(CURDIR)/scripts/cosmos && npx ts-node icon_cosmos_e2e_demo.ts archway

run-icon-neutron-e2e:
@echo "Running e2e demo cosmos"
@cd $(CURDIR)/scripts/cosmos && npx ts-node icon_cosmos_e2e_demo.ts neutron



Expand Down
18 changes: 17 additions & 1 deletion test/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,26 @@ To run the demo, the following software needs to be installed.

![img1](img/../../img/img4.png)

- Step 2: now run the command `make run-cosmos` to execute e2e demo which transfers token from one archway chain to another.
- Step 2: now run the command `make run-archway-e2e` to execute e2e demo which transfers token from one archway chain to another.

![img1](img/../../img/img5.png)

> **Note:**
> To run neutron-netron demo, follow the steps same as above but to run neutron nodes and then run the command `make run-neutron-e2e`
# End-to-End icon - archway Demo
- Step 1: Run the dive command that spins ups icon and archway chain and creates an ibc bridge for cross communication.
![img1](img/../../img/img6.png)

- Step 2: Update the `contracts.json` file present in the folder `test/scripts/cosmos` with contract address that can be found in dive.json after the command is run successfully.

- Step 3: Now just the run the command `make run-icon-archway-e2e` from test folder to execute e2e demo from Icon to Archway and vice versa.
![img1](img/../../img/img7.png)

> **Note:**
> To run icon-netron demo, follow the steps same as above but to run neutron and icon nodes and then run the command `make run-icon-neutron-e2e`

## Video

- D.I.V.E. package setup for testing the bridge between EVM and ICON using BTP2
Expand Down

0 comments on commit 6cdcdb8

Please sign in to comment.