Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: axelarnetwork/axelar-local-dev
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.3.0
Choose a base ref
...
head repository: axelarnetwork/axelar-local-dev
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
  • 6 commits
  • 33 files changed
  • 3 contributors

Commits on Mar 25, 2024

  1. feat: update its (#107)

    * update its
    
    * remove fsevents
    Foivos authored Mar 25, 2024
    Copy the full SHA
    9ed4efa View commit details

Commits on Mar 26, 2024

  1. version bump for new release (#108)

    * update its
    
    * remove fsevents
    
    * bump version
    
    * update package-lock
    Foivos authored Mar 26, 2024
    Copy the full SHA
    794ee2a View commit details

Commits on Mar 27, 2024

  1. chore: update @axelar-network/* deps (#109)

    * chore: update @axelar-network/* deps
    
    * chore: update version script
    
    * chore: update packages version to 2.3.22
    
    * chore: fix npm i error
    npty authored Mar 27, 2024
    Copy the full SHA
    078ff52 View commit details

Commits on Jul 10, 2024

  1. chore: separate test workflow for each package (#111)

    * feat: separate test workflows
    
    * chore: rename workflow from test-core to test-evm
    npty authored Jul 10, 2024
    Copy the full SHA
    8c5b052 View commit details

Commits on Jul 11, 2024

  1. chore: bump axelar-chain-configs version to 1.3.0 (#110)

    * chore: update axelar-chain-configs version to 1.2.0
    
    * chore: update axelar-chains-config to 1.3.0
    
    * chore: bump axelar-local-dev version to 2.3.3
    
    * chore: use node-version 18 in tests workflow
    
    * chore: fix npm ci error
    
    * chore: update setup-node to v4
    
    * chore: add some checks for setupAndExport
    npty authored Jul 11, 2024
    Copy the full SHA
    c5e02a6 View commit details

Commits on Aug 7, 2024

  1. Copy the full SHA
    ed0d136 View commit details
Showing with 7,147 additions and 3,553 deletions.
  1. +51 −0 .github/workflows/test-aptos.yml
  2. +34 −0 .github/workflows/test-cosmos.yml
  3. +40 −0 .github/workflows/test-evm.yml
  4. +58 −0 .github/workflows/test-multiversex.yml
  5. +51 −0 .github/workflows/test-sui.yml
  6. +0 −81 .github/workflows/tests.yml
  7. +4 −0 .gitignore
  8. +1 −1 lerna.json
  9. +6,717 −3,424 package-lock.json
  10. +1 −1 package.json
  11. +2 −2 packages/axelar-local-dev-aptos/package.json
  12. +3 −3 packages/axelar-local-dev-aptos/src/aptosNetworkUtils.ts
  13. +2 −2 packages/axelar-local-dev-cosmos/package.json
  14. +1 −1 packages/axelar-local-dev-multiversx/__tests__/multiversx.spec.ts
  15. +131 −0 packages/axelar-local-dev-multiversx/enableEpochs.toml
  16. +2 −2 packages/axelar-local-dev-multiversx/external.toml
  17. +2 −2 packages/axelar-local-dev-multiversx/package.json
  18. +1 −1 packages/axelar-local-dev-multiversx/src/MultiversXRelayer.ts
  19. +2 −2 packages/axelar-local-dev-multiversx/src/multiversXNetworkUtils.ts
  20. +2 −2 packages/axelar-local-dev-near/package.json
  21. +2 −2 packages/axelar-local-dev-near/src/NearNetwork.ts
  22. +1 −1 packages/axelar-local-dev-sui/__tests__/deploy.spec.ts
  23. +1 −1 packages/axelar-local-dev-sui/__tests__/e2e.spec.ts
  24. +1 −1 packages/axelar-local-dev-sui/__tests__/relayer.spec.ts
  25. +8 −3 packages/axelar-local-dev-sui/move/sample/Move.lock
  26. +3 −3 packages/axelar-local-dev-sui/package.json
  27. +5 −5 packages/axelar-local-dev/package.json
  28. +4 −4 packages/axelar-local-dev/src/Network.ts
  29. +3 −3 packages/axelar-local-dev/src/__tests__/export.spec.ts
  30. +2 −2 packages/axelar-local-dev/src/__tests__/network.spec.ts
  31. +1 −1 packages/axelar-local-dev/src/contracts/index.ts
  32. +10 −2 packages/axelar-local-dev/src/exportUtils.ts
  33. +1 −1 packages/axelar-local-dev/src/networkUtils.ts
51 changes: 51 additions & 0 deletions .github/workflows/test-aptos.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: Run Tests for Aptos

on: pull_request

jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-22.04]
arch: [amd64]
steps:
- name: Download and Install Aptos Binary
run: |
wget --no-check-certificate https://github.com/aptos-labs/aptos-core/releases/download/aptos-cli-v1.0.4/aptos-cli-1.0.4-Ubuntu-22.04-x86_64.zip
unzip aptos-cli-1.0.4-Ubuntu-22.04-x86_64.zip
sudo mv aptos /usr/local/bin
- name: Cleanup
run: rm -rf target aptos-cli-1.0.4-Ubuntu-22.04-x86_64.zip

- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 18

- name: Checkout code
uses: actions/checkout@v4

- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1

- name: Cache node_modules
uses: actions/cache@v3
with:
path: node_modules
key: ${{ runner.os }}-node-${{ hashFiles('package-lock.json') }}

- name: Install dependencies
run: npm ci

- name: Build
run: npm run build:core && npm run build:aptos

- name: Test
timeout-minutes: 15
run: |
nohup sh -c "aptos node run-local-testnet --with-faucet" > nohup.out 2> nohup.err < /dev/null &
nohup sh -c "anvil -p 8545 > /dev/null 2>&1" < /dev/null &
sleep 30
npm run test:aptos
34 changes: 34 additions & 0 deletions .github/workflows/test-cosmos.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Run Tests for Cosmos
on: pull_request

jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ["18.x"]
steps:
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}

- name: Checkout code
uses: actions/checkout@v4

- name: Cache node_modules
uses: actions/cache@v3
with:
path: node_modules
key: ${{ runner.os }}-node-${{ hashFiles('package-lock.json') }}

- name: Install dependencies
run: npm ci

- name: Build
run: npm run build:core && npm run build:cosmos

- name: Test
timeout-minutes: 15
run: |
npm run test:cosmos
40 changes: 40 additions & 0 deletions .github/workflows/test-evm.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Run Tests for EVM
on: pull_request

jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ["18.x", "20.x"]
steps:
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}

- name: Checkout code
uses: actions/checkout@v4

- name: Cache node_modules
uses: actions/cache@v3
with:
path: node_modules
key: ${{ runner.os }}-node-${{ hashFiles('package-lock.json') }}

- name: Install dependencies
run: npm ci

- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1

- name: Build
run: npm run build:core

- name: Test
timeout-minutes: 15
run: |
nohup sh -c "anvil -p 8545 > /dev/null 2>&1" < /dev/null &
nohup sh -c "anvil -p 8546 > /dev/null 2>&1" < /dev/null &
sleep 5
npm run test:core
58 changes: 58 additions & 0 deletions .github/workflows/test-multiversex.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
name: Run Tests for MultiVersX

on: pull_request

jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-22.04]
arch: [amd64]
services:
elasticsearch:
image: "docker.elastic.co/elasticsearch/elasticsearch:8.12.0"
env:
discovery.type: single-node
xpack.security.enabled: false
ports:
- "9200:9200"
steps:
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 18

- name: Checkout code
uses: actions/checkout@v4

- name: Download and Install Multiversx Binary
run: |
pip3 install multiversx-sdk-cli==v9.3.1
mxpy localnet setup
for validator in {00..02}; do
cp -rf ./packages/axelar-local-dev-multiversx/external.toml ./localnet/validator$validator/config
cp -rf ./packages/axelar-local-dev-multiversx/enableEpochs.toml ./localnet/validator$validator/config
done
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1

- name: Cache node_modules
uses: actions/cache@v3
with:
path: node_modules
key: ${{ runner.os }}-node-${{ hashFiles('package-lock.json') }}

- name: Install dependencies
run: npm ci

- name: Build
run: npm run build:core && npm run build:multiversx

- name: Test
timeout-minutes: 15
run: |
nohup sh -c "mxpy localnet start" > nohup.out 2> nohup.err < /dev/null &
sleep 100
npm run test:multiversx
51 changes: 51 additions & 0 deletions .github/workflows/test-sui.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: Run Tests for Sui

on: pull_request

jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-22.04]
arch: [amd64]
steps:
- name: Setup Dependencies for Sui Binary
run: sudo apt-get update && sudo apt-get install -y libpq-dev

- name: Download and Install Sui Binary
run: |
wget https://github.com/MystenLabs/sui/releases/download/mainnet-v1.11.2/sui-mainnet-v1.11.2-ubuntu-x86_64.tgz
tar -xvf sui-mainnet-v1.11.2-ubuntu-x86_64.tgz
sudo mv ./target/release/sui-test-validator-ubuntu-x86_64 /usr/local/bin/sui-test-validator
sudo mv ./target/release/sui-ubuntu-x86_64 /usr/local/bin/sui
- name: Cleanup
run: rm -rf target sui-devnet-v1.7.0-ubuntu-x86_64.tgz

- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 18

- name: Checkout code
uses: actions/checkout@v4

- name: Cache node_modules
uses: actions/cache@v3
with:
path: node_modules
key: ${{ runner.os }}-node-${{ hashFiles('package-lock.json') }}

- name: Install dependencies
run: npm ci

- name: Build
run: npm run build:core && npm run build:sui

- name: Test
timeout-minutes: 15
run: |
# nohup sh -c 'RUST_LOG=off sui-test-validator' > nohup.out 2> nohup.err < /dev/null &
# sleep 30
# npm run test:sui
81 changes: 0 additions & 81 deletions .github/workflows/tests.yml

This file was deleted.

4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -138,3 +138,7 @@ target/

# Near wasm contract
packages/axelar-local-dev-near/**/*.wasm

# Multiversx
localnet
localnet.toml
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
"useWorkspaces": true,
"version": "2.3.0",
"version": "2.3.2",
"packages": [
"packages/*"
]
Loading