-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d15a6ef
commit b53e917
Showing
19 changed files
with
138 additions
and
119 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[submodule "contracts"] | ||
path = contracts | ||
url = https://github.com/nymlab/AVIDA.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
########################### | ||
### Build contracts ### | ||
########################### | ||
|
||
build-contracts: | ||
|
||
cd contracts; make build; cd .. | ||
for file in ./contracts/artifacts/*.wasm; do \ | ||
echo "$$file"; \ | ||
mv "$$file" ./contracts_wasm/$$(basename "$$file" -aarch64.wasm).wasm; \ | ||
done | ||
cp ./contracts/artifacts/** ./contracts_wasm/ | ||
|
||
.PHONY: build-contracts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# AVIDA: Cheqd Node Interchaintests | ||
|
||
This repo is created in order to test interchain tx for [`AVIDA`] contracts with the Cheqd network. | ||
The submodule `contracts` contains the [`AVIDA`] code and `contracts_wasm` is where the built and optimised contracts are stored. | ||
|
||
## Building contracts | ||
|
||
```sh | ||
make build-contracts | ||
``` | ||
|
||
## Running tests | ||
|
||
```sh | ||
go test -v ./... | ||
|
||
# Run only the e2e IBC test in avida_ibc_test.go | ||
go test --short | ||
``` | ||
|
||
|
||
[`AVIDA`]: https://github.com/nymlab/avida |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
2b2b15f3d4cea85a50b8bda772ad6be2328924b667e14eb0165aa1f5fd41b195 avida_sdjwt_verifier-aarch64.wasm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.