Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: update test for contract config #505

Merged
merged 8 commits into from
Feb 12, 2025
7 changes: 3 additions & 4 deletions axelar-chains-config/info/mainnet.json
Original file line number Diff line number Diff line change
Expand Up @@ -2017,7 +2017,8 @@
"salt": "Multisig v5.5"
},
"InterchainTokenService": {
"skip": true
"skip": true,
"address": ""
},
"Operators": {
"owner": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05",
Expand Down Expand Up @@ -2681,9 +2682,7 @@
"finality": "1",
"tokenSymbol": "XLM",
"tokenAddress": "CAS3J7GYLGXMF6TDJBBYYSE3HQ6BBSMLNUQ34T6TZMYMW2EVH34XOWMA",
"contracts": {
"AxelarGateway": {}
},
"contracts": {},
"approxFinalityWaitTime": 1,
"explorer": {
"name": "Stellar Expert",
Expand Down
34 changes: 16 additions & 18 deletions axelar-chains-config/info/stagenet.json
Original file line number Diff line number Diff line change
Expand Up @@ -341,12 +341,13 @@
"tokenSymbol": "BNB",
"chainType": "evm",
"contracts": {
"AxelarGateway": {},
blockchainguyy marked this conversation as resolved.
Show resolved Hide resolved
"AxelarGasService": {
"collector": "0xc5C525B7Bb2a7Ce95C13Ee5aBdB7F8fd3cb77392"
"collector": "0xc5C525B7Bb2a7Ce95C13Ee5aBdB7F8fd3cb77392",
"address": ""
},
"AxelarDepositService": {
"wrappedSymbol": "WBNB"
"wrappedSymbol": "WBNB",
"address": ""
},
"ConstAddressDeployer": {
"address": "0x98B2920D53612483F91F12Ed7754E51b4A77919e"
Expand All @@ -358,10 +359,7 @@
"deploymentMethod": "create2",
"codehash": "0xf0ad66defbe082df243d4d274e626f557f97579c5c9e19f33d8093d6160808b7",
"predeployCodehash": "0x73fc31262c4bad113c79439fd231281201c7c7d45b50328bd86bccf37684bf92"
},
"Operators": {},
"InterchainGovernance": {},
"Multisig": {}
}
},
"explorer": {
"url": "https://testnet.bscscan.com",
Expand Down Expand Up @@ -403,7 +401,8 @@
"deployer": "0xBeF25f4733b9d451072416360609e5A4c115293E"
},
"AxelarDepositService": {
"wrappedSymbol": "WKAVA"
"wrappedSymbol": "WKAVA",
"address": ""
},
"ConstAddressDeployer": {
"address": "0x98B2920D53612483F91F12Ed7754E51b4A77919e"
Expand Down Expand Up @@ -711,22 +710,22 @@
"codehash": "0xf0ad66defbe082df243d4d274e626f557f97579c5c9e19f33d8093d6160808b7",
"predeployCodehash": "0x73fc31262c4bad113c79439fd231281201c7c7d45b50328bd86bccf37684bf92"
},
"AxelarGateway": {},
"InterchainTokenService": {
"skip": true
"skip": true,
"address": ""
},
"InterchainGovernance": {},
"Multisig": {
"threshold": 2,
"signers": [
"0xaC481D34c48e5d3191344b853Bc00D04889BA8db",
"0x722C5A6A417122668e8925968f7FC13DBDFaD23C",
"0xBeF25f4733b9d451072416360609e5A4c115293E"
]
],
"address": ""
},
"Operators": {},
"AxelarGasService": {
"collector": "0xc5C525B7Bb2a7Ce95C13Ee5aBdB7F8fd3cb77392"
"collector": "0xc5C525B7Bb2a7Ce95C13Ee5aBdB7F8fd3cb77392",
"address": ""
}
},
"explorer": {
Expand Down Expand Up @@ -1629,7 +1628,8 @@
"predeployCodehash": "0x8fda47a596dfba923270da84e0c32a2d0312f1c03389f83e16f2b5a35ed37fbe"
},
"InterchainTokenService": {
"skip": true
"skip": true,
"address": ""
},
"Create3Deployer": {
"address": "0x6513Aedb4D1593BA12e50644401D976aebDc90d8",
Expand Down Expand Up @@ -1902,9 +1902,7 @@
"approxFinalityWaitTime": 1,
"tokenSymbol": "XLM",
"tokenAddress": "CDLZFC3SYJYDZT7K67VZ75HPJVIEUVNIXF47ZG2FB2RMQQVU2HHGCYSC",
"contracts": {
"AxelarGateway": {}
},
"contracts": {},
"explorer": {
"name": "Stellar Expert",
"url": "https://stellar.expert/explorer/testnet"
Expand Down
6 changes: 4 additions & 2 deletions axelar-chains-config/info/testnet.json
Original file line number Diff line number Diff line change
Expand Up @@ -1359,7 +1359,8 @@
"deployer": "0x5b593E7b1725dc6FcbbFe80b2415B19153F94A85"
},
"InterchainTokenService": {
"skip": true
"skip": true,
"address": ""
}
},
"gasOptions": {
Expand Down Expand Up @@ -2279,7 +2280,8 @@
"timeout": 50000,
"contracts": {
"InterchainTokenService": {
"skip": true
"skip": true,
"address": ""
},
"ConstAddressDeployer": {
"address": "0x98B2920D53612483F91F12Ed7754E51b4A77919e",
Expand Down
4 changes: 2 additions & 2 deletions axelar-chains-config/tests/schema/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export const contractSchema = {
type: 'object',
patternProperties: {
// PascalName e.g. 'AxelarGasService', 'AxelarGateway' etc.
'\b[A-Z][a-z]*([A-Z][a-z]*)*\b': {
blockchainguyy marked this conversation as resolved.
Show resolved Hide resolved
'(^[a-z]|[A-Z])[a-z]*': {
$ref: contractValueSchema.id,
},
},
Expand All @@ -35,7 +35,7 @@ export const contractSchema = {
type: 'boolean',
},
},
required: ['AxelarGateway'],
required: [],
};

export const explorerSchema = {
Expand Down