From 4a63c05ec44f3d793af6bb18cb382689b26eab81 Mon Sep 17 00:00:00 2001 From: Milap Sheth Date: Thu, 1 Feb 2024 06:28:43 -0500 Subject: [PATCH] fix: use axelarId in chain config --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 20053490..61a13ddb 100644 --- a/README.md +++ b/README.md @@ -45,17 +45,19 @@ const AxelarGateway = require('@axelar-network/axelar-cgp-solidity/artifacts/con "chains": { "example": { "name": "Example", - "id": "example", + "axelarId": "example", "chainId": 123, "rpc": "PROVIDER_RPC", "tokenSymbol": "EXM", "gasOptions": { "gasLimit": 8000000 - } + }, + "confirmations": 1 } } } ``` +`gasLimit` override will skip auto gas estimation (which might be unreliable on certain chains for certain txs). `confirmations` indicates the number of block confirmations to wait for. `axelarId` is the unique id used to reference the chain on Axelar. 4. Return to the `axelar-cgp-solidity` repository. Once there, in the root directory of this repository, navigate to the `hardhat.config.js` file and modify the chains import line as shown below: ```javascript