Skip to content

Commit

Permalink
feat: cw wasm light client (#754)
Browse files Browse the repository at this point in the history
* feat: add wasm client project

* fix: add wasm proto

* fix: import ics08wasm

* fix: import wasm-08

* fix: generalize context

* fix: build deps

* fix: fix deps issue

* fix: split query handler

* fix: wrap result in response

* feat: add verify header

* feat: add genesis export

* fix: impl client status

* fix: fix unit test

* fix: add debug logs

* fix: cleanup

* chore: pass build

* fix: proto changes

* fix: split traits

* chore: pass build

* fix: remove inner

* fix: query handler

* fix: add tests

* fix: add update test

* fix: downgrade

* fix: downgrade cosmwasm

* fix: update test utils

* fix: point to downgraded xcall

* fix: lower multi test

* fix: lock on 1.6

* fix: revert downgrade

* fix: try disable features

* fix: upgrade cw-storage-plus

* fix: lock to 1.4

* fix: move cw-multi test

* chore: pass build

* fix: fix branch

* fix: add height

* fix: cleanup

* chore: pass build

* fix: remove toolchain.toml

* fix: fix verify membership

* fix: ack hashing

* doc: add build note

* chore: pass build

* fix: do sha256

* fix: check misbehaviour

* chore: pass build

* fix:resolve comments

* chore: pass build

* fix: remove unnecessary hash

* chore: pass build

* fix: rename client id

* fix: Fix reverse sign on timestamp check for request timeout

* chore: update test coverage for ibc client (#846)

* chore: update test coverage for ics03-connection (#848)

* chore: update test coverage for ibc client

* chore: improve test coverage for ibc connection

* chore: add test coverage for cosmwasm ibc core (#850)

* docs: Add explanation on how a connection can be manually verified (#838)

doc: Add explanation on how a connection can be manually verified

* fix: add reference to CI workflow to fix error (#839)

Co-authored-by: ForwardSlashBack <[email protected]>

* chore: add unit test coverage for icon light client (#851)

* ci: add injectived, and neutornd binary (#858)

* ci: add injectived, and neutornd binary

* ci: update archwayd to v6.0.0

* ci: update archwayd to v6.0.0

* chore: add test coverage for xcall-ibc-connection (#853)

* fix: fix test

* fix: resolve test issues

* fix: cargo fmt

---------

Co-authored-by: AntonAndell <[email protected]>
Co-authored-by: undefined <[email protected]>
Co-authored-by: ForwardSlashBack <[email protected]>
Co-authored-by: ForwardSlashBack <[email protected]>
Co-authored-by: DeepakBomjan <[email protected]>
  • Loading branch information
6 people authored May 15, 2024
1 parent 29f4ad7 commit 9d25c2e
Show file tree
Hide file tree
Showing 100 changed files with 5,554 additions and 3,001 deletions.
24 changes: 20 additions & 4 deletions .github/deployer/init_script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ KMS_ID="KMS_ID_HERE"
DEPLOYR_HOME="/home/deployr"
GO_VERS="1.20.6"
JAVA_VERS="11.0.18_10"
ARCHWAY_VERS="0.4.0"
ARCHWAY_VERS="6.0.0"
INJECTIVE_VERS="1.12.1-1705909076"
NEUTRON_VERS="3.0.2"

set -x
export GOROOT=/usr/local/go
Expand Down Expand Up @@ -54,7 +56,7 @@ export TMOUT
PROMPT_COMMAND='history -a >(logger -t "[$USER] $SSH_CONNECTION")'
EOF

apt-get install auditd audispd-plugins -y
apt-get install auditd audispd-plugins unzip -y
systemctl enable auditd
systemctl start auditd

Expand Down Expand Up @@ -103,8 +105,22 @@ tar xf OpenJDK11U-jdk_x64_linux_hotspot_$${JAVA_VERS}.tar.gz -C /opt/java
go install github.com/icon-project/goloop/cmd/goloop@latest

# Install archway
wget -q https://github.com/archway-network/archway/releases/download/v$${ARCHWAY_VERS}/archway_$${ARCHWAY_VERS}_linux_amd64.tar.gz
tar xf archway_$${ARCHWAY_VERS}_linux_amd64.tar.gz -C /usr/local/bin
wget -q https://github.com/archway-network/archway/releases/download/v$${ARCHWAY_VERS}/archway_$${ARCHWAY_VERS}_linux_amd64.zip
unzip archway_$${ARCHWAY_VERS}_linux_amd64.zip
sudo archwayd /usr/local/bin

# Install injectived
wget -q https://github.com/InjectiveLabs/injective-chain-releases/releases/download/v$${INJECTIVE_VERS}/linux-amd64.zip
unzip linux-amd64.zip
sudo cp injectived peggo /usr/bin
sudo cp libwasmvm.x86_64.so /usr/lib
sudo chmod +x /usr/bin/injectived
sudo chmod +x /usr/bin/peggo

# Install neutron
wget -q https://github.com/neutron-org/neutron/releases/download/v$${NEUTRON_VERS}/neutrond-linux-amd64
sudo cp neutrond-linux-amd64 /usr/local/bin/neutrond
sudo chmod +x /usr/local/bin/neutrond

# Install boto3, yq, and jq
apt-get install python3-pip -y
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/runner-start.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
repository: icon-project/ibc-relay
- name: Start EC2 instance
id: start
uses: machulav/ec2-github-runner
uses: machulav/ec2-github-runner@v2
with:
mode: start
github-token: ${{ secrets.GH_RUNNER_PAT }}
Expand All @@ -49,4 +49,4 @@ jobs:
subnet-id: subnet-f1fcd4df
security-group-id: sg-03cb8034e27e1caeb
pre-runner-script: |
./build.sh ${{ inputs.relayer_version == '' && steps.relay.outputs.release || inputs.relayer_version }}
./build.sh ${{ inputs.relayer_version == '' && steps.relay.outputs.release || inputs.relayer_version }}
Loading

0 comments on commit 9d25c2e

Please sign in to comment.