Skip to content

Commit

Permalink
Merge branch 'main' into feat/update-amp-worker-set-query
Browse files Browse the repository at this point in the history
  • Loading branch information
eguajardo committed Sep 19, 2023
2 parents 84568bb + b6d46f0 commit 794d6aa
Show file tree
Hide file tree
Showing 42 changed files with 4,259 additions and 485 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/publish-chains-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: 'Publish Axelar Chains Config to NPM'

on:
workflow_dispatch:

jobs:
publish-to-npm:
name: 'Publish to NPM'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '18.x'
registry-url: 'https://registry.npmjs.org'
- run: npm ci
working-directory: ./axelar-chains-config
- run: npm run build
working-directory: ./axelar-chains-config
- run: npm publish
working-directory: ./axelar-chains-config
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
27 changes: 27 additions & 0 deletions .github/workflows/test-chains-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Run Axelar Chains Config Tests

on: pull_request

jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-22.04]
arch: [amd64]
steps:
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 18

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

- name: Install
run: npm ci
working-directory: axelar-chains-config

- name: Test
run: npm run test
working-directory: axelar-chains-config
6 changes: 3 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ build/
cache/
artifacts/

info/local.json
info/keys.json
local.json
keys.json

temp-arguments.js
temp-arguments.js
12 changes: 12 additions & 0 deletions axelar-chains-config/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Modules
node_modules

# Tests
tests

# Optional npm cache directory
.npm
*.tgz

# Tsconfig file
tsconfig.json
9 changes: 9 additions & 0 deletions axelar-chains-config/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Axelar Chains Config

This repo containing JSON formatted configurations for Axelar Chains in various environments. Currently supported networks:

- [Testnet](./info/testnet.json)
- [Mainnet](./info/mainnet.json)
- [Stagenet](./info/stagenet.json)

Additional utility functions can be found [here](./src/utils/).
94 changes: 53 additions & 41 deletions info/mainnet.json → axelar-chains-config/info/mainnet.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,16 @@
"address": "0x98B2920D53612483F91F12Ed7754E51b4A77919e"
},
"Create3Deployer": {
"address": "0x1a2Bf81BB73f7AC55CeE94d6216Bf62165586049",
"address": "0xf49B10ccFB7D82C3a8749fFB1aAF3e0c936Eba36",
"deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05",
"deploymentMethod": "create2",
"salt": "Create3Deployer"
},
"InterchainProposalSender": {
"address": "0x29abdf2246557226f31c7f112b6030c5CAbA084b",
"address": "0x1f8A4d195B647647c7dD45650CBd553FD33cCAA6",
"deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05",
"deploymentMethod": "create3",
"salt": "InterchainProposalSender v1"
"salt": "InterchainProposalSender v1.2"
}
},
"explorer": {
Expand Down Expand Up @@ -75,16 +75,16 @@
"address": "0x98B2920D53612483F91F12Ed7754E51b4A77919e"
},
"Create3Deployer": {
"address": "0x1a2Bf81BB73f7AC55CeE94d6216Bf62165586049",
"address": "0xf49B10ccFB7D82C3a8749fFB1aAF3e0c936Eba36",
"deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05",
"deploymentMethod": "create2",
"salt": "Create3Deployer"
},
"InterchainProposalSender": {
"address": "0x29abdf2246557226f31c7f112b6030c5CAbA084b",
"address": "0x1f8A4d195B647647c7dD45650CBd553FD33cCAA6",
"deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05",
"deploymentMethod": "create3",
"salt": "InterchainProposalSender v1"
"salt": "InterchainProposalSender v1.2"
}
},
"explorer": {
Expand Down Expand Up @@ -121,16 +121,16 @@
"address": "0x98B2920D53612483F91F12Ed7754E51b4A77919e"
},
"Create3Deployer": {
"address": "0x1a2Bf81BB73f7AC55CeE94d6216Bf62165586049",
"address": "0xf49B10ccFB7D82C3a8749fFB1aAF3e0c936Eba36",
"deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05",
"deploymentMethod": "create2",
"salt": "Create3Deployer"
},
"InterchainProposalSender": {
"address": "0x29abdf2246557226f31c7f112b6030c5CAbA084b",
"address": "0x1f8A4d195B647647c7dD45650CBd553FD33cCAA6",
"deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05",
"deploymentMethod": "create3",
"salt": "InterchainProposalSender v1"
"salt": "InterchainProposalSender v1.2"
}
},
"explorer": {
Expand Down Expand Up @@ -170,16 +170,16 @@
"address": "0x98B2920D53612483F91F12Ed7754E51b4A77919e"
},
"Create3Deployer": {
"address": "0x1a2Bf81BB73f7AC55CeE94d6216Bf62165586049",
"address": "0xf49B10ccFB7D82C3a8749fFB1aAF3e0c936Eba36",
"deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05",
"deploymentMethod": "create2",
"salt": "Create3Deployer"
},
"InterchainProposalSender": {
"address": "0x29abdf2246557226f31c7f112b6030c5CAbA084b",
"address": "0x1f8A4d195B647647c7dD45650CBd553FD33cCAA6",
"deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05",
"deploymentMethod": "create3",
"salt": "InterchainProposalSender v1"
"salt": "InterchainProposalSender v1.2"
}
},
"explorer": {
Expand Down Expand Up @@ -219,16 +219,16 @@
"address": "0x98B2920D53612483F91F12Ed7754E51b4A77919e"
},
"Create3Deployer": {
"address": "0x1a2Bf81BB73f7AC55CeE94d6216Bf62165586049",
"address": "0xf49B10ccFB7D82C3a8749fFB1aAF3e0c936Eba36",
"deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05",
"deploymentMethod": "create2",
"salt": "Create3Deployer"
},
"InterchainProposalSender": {
"address": "0x29abdf2246557226f31c7f112b6030c5CAbA084b",
"address": "0x1f8A4d195B647647c7dD45650CBd553FD33cCAA6",
"deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05",
"deploymentMethod": "create3",
"salt": "InterchainProposalSender v1"
"salt": "InterchainProposalSender v1.2"
}
},
"explorer": {
Expand Down Expand Up @@ -266,16 +266,16 @@
"address": "0x98B2920D53612483F91F12Ed7754E51b4A77919e"
},
"Create3Deployer": {
"address": "0x1a2Bf81BB73f7AC55CeE94d6216Bf62165586049",
"address": "0xf49B10ccFB7D82C3a8749fFB1aAF3e0c936Eba36",
"deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05",
"deploymentMethod": "create2",
"salt": "Create3Deployer"
},
"InterchainProposalSender": {
"address": "0x29abdf2246557226f31c7f112b6030c5CAbA084b",
"address": "0x1f8A4d195B647647c7dD45650CBd553FD33cCAA6",
"deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05",
"deploymentMethod": "create3",
"salt": "InterchainProposalSender v1"
"salt": "InterchainProposalSender v1.2"
}
},
"explorer": {
Expand Down Expand Up @@ -312,16 +312,16 @@
"address": "0x98B2920D53612483F91F12Ed7754E51b4A77919e"
},
"Create3Deployer": {
"address": "0x1a2Bf81BB73f7AC55CeE94d6216Bf62165586049",
"address": "0xf49B10ccFB7D82C3a8749fFB1aAF3e0c936Eba36",
"deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05",
"deploymentMethod": "create2",
"salt": "Create3Deployer"
},
"InterchainProposalSender": {
"address": "0x29abdf2246557226f31c7f112b6030c5CAbA084b",
"address": "0x1f8A4d195B647647c7dD45650CBd553FD33cCAA6",
"deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05",
"deploymentMethod": "create3",
"salt": "InterchainProposalSender v1"
"salt": "InterchainProposalSender v1.2"
}
},
"explorer": {
Expand Down Expand Up @@ -361,16 +361,16 @@
"address": "0x98B2920D53612483F91F12Ed7754E51b4A77919e"
},
"Create3Deployer": {
"address": "0x1a2Bf81BB73f7AC55CeE94d6216Bf62165586049",
"address": "0xf49B10ccFB7D82C3a8749fFB1aAF3e0c936Eba36",
"deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05",
"deploymentMethod": "create2",
"salt": "Create3Deployer"
},
"InterchainProposalSender": {
"address": "0x29abdf2246557226f31c7f112b6030c5CAbA084b",
"address": "0x1f8A4d195B647647c7dD45650CBd553FD33cCAA6",
"deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05",
"deploymentMethod": "create3",
"salt": "InterchainProposalSender v1"
"salt": "InterchainProposalSender v1.2"
}
},
"explorer": {
Expand Down Expand Up @@ -407,16 +407,16 @@
"address": "0x98B2920D53612483F91F12Ed7754E51b4A77919e"
},
"Create3Deployer": {
"address": "0x1a2Bf81BB73f7AC55CeE94d6216Bf62165586049",
"address": "0xf49B10ccFB7D82C3a8749fFB1aAF3e0c936Eba36",
"deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05",
"deploymentMethod": "create2",
"salt": "Create3Deployer"
},
"InterchainProposalSender": {
"address": "0x29abdf2246557226f31c7f112b6030c5CAbA084b",
"address": "0x1f8A4d195B647647c7dD45650CBd553FD33cCAA6",
"deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05",
"deploymentMethod": "create3",
"salt": "InterchainProposalSender v1"
"salt": "InterchainProposalSender v1.2"
}
},
"explorer": {
Expand Down Expand Up @@ -457,16 +457,16 @@
"address": "0x98B2920D53612483F91F12Ed7754E51b4A77919e"
},
"Create3Deployer": {
"address": "0x1a2Bf81BB73f7AC55CeE94d6216Bf62165586049",
"address": "0xf49B10ccFB7D82C3a8749fFB1aAF3e0c936Eba36",
"deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05",
"deploymentMethod": "create2",
"salt": "Create3Deployer"
},
"InterchainProposalSender": {
"address": "0x29abdf2246557226f31c7f112b6030c5CAbA084b",
"address": "0x1f8A4d195B647647c7dD45650CBd553FD33cCAA6",
"deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05",
"deploymentMethod": "create3",
"salt": "InterchainProposalSender v1"
"salt": "InterchainProposalSender v1.2"
}
},
"explorer": {
Expand Down Expand Up @@ -509,16 +509,16 @@
"address": "0x98B2920D53612483F91F12Ed7754E51b4A77919e"
},
"Create3Deployer": {
"address": "0x1a2Bf81BB73f7AC55CeE94d6216Bf62165586049",
"address": "0xf49B10ccFB7D82C3a8749fFB1aAF3e0c936Eba36",
"deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05",
"deploymentMethod": "create2",
"salt": "Create3Deployer"
},
"InterchainProposalSender": {
"address": "0x29abdf2246557226f31c7f112b6030c5CAbA084b",
"address": "0x1f8A4d195B647647c7dD45650CBd553FD33cCAA6",
"deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05",
"deploymentMethod": "create3",
"salt": "InterchainProposalSender v1"
"salt": "InterchainProposalSender v1.2"
}
},
"explorer": {
Expand Down Expand Up @@ -563,16 +563,16 @@
"address": "0x98B2920D53612483F91F12Ed7754E51b4A77919e"
},
"Create3Deployer": {
"address": "0x1a2Bf81BB73f7AC55CeE94d6216Bf62165586049",
"address": "0xf49B10ccFB7D82C3a8749fFB1aAF3e0c936Eba36",
"deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05",
"deploymentMethod": "create2",
"salt": "Create3Deployer"
},
"InterchainProposalSender": {
"address": "0x29abdf2246557226f31c7f112b6030c5CAbA084b",
"address": "0x1f8A4d195B647647c7dD45650CBd553FD33cCAA6",
"deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05",
"deploymentMethod": "create3",
"salt": "InterchainProposalSender v1"
"salt": "InterchainProposalSender v1.2"
}
},
"explorer": {
Expand Down Expand Up @@ -613,16 +613,16 @@
"address": "0x98B2920D53612483F91F12Ed7754E51b4A77919e"
},
"Create3Deployer": {
"address": "0x1a2Bf81BB73f7AC55CeE94d6216Bf62165586049",
"address": "0xf49B10ccFB7D82C3a8749fFB1aAF3e0c936Eba36",
"deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05",
"deploymentMethod": "create2",
"salt": "Create3Deployer"
},
"InterchainProposalSender": {
"address": "0x29abdf2246557226f31c7f112b6030c5CAbA084b",
"address": "0x1f8A4d195B647647c7dD45650CBd553FD33cCAA6",
"deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05",
"deploymentMethod": "create3",
"salt": "InterchainProposalSender v1"
"salt": "InterchainProposalSender v1.2"
}
},
"explorer": {
Expand Down Expand Up @@ -662,15 +662,27 @@
"ConstAddressDeployer": {
"address": "0x98B2920D53612483F91F12Ed7754E51b4A77919e"
},
"skipRevertTests": true
"Create3Deployer": {
"address": "0xf49B10ccFB7D82C3a8749fFB1aAF3e0c936Eba36",
"deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05",
"deploymentMethod": "create2",
"salt": "Create3Deployer"
},
"InterchainProposalSender": {
"address": "0x1f8A4d195B647647c7dD45650CBd553FD33cCAA6",
"deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05",
"deploymentMethod": "create3",
"salt": "InterchainProposalSender v1.2"
}
},
"explorer": {
"url": "https://explorer.mantle.xyz",
"api": "https://explorer.mantle.xyz/api"
},
"gasOptions": {
"gasLimit": 8000000
}
},
"skipRevertTests": true
}
},
"axelar": {
Expand Down
Loading

0 comments on commit 794d6aa

Please sign in to comment.