File tree Expand file tree Collapse file tree
typescript/infra/scripts/funding Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,7 +2,12 @@ import chalk from 'chalk';
22import { formatEther , parseEther } from 'ethers/lib/utils.js' ;
33
44import { HyperlaneIgp } from '@hyperlane-xyz/sdk' ;
5- import { objMap , promiseObjAll , rootLogger } from '@hyperlane-xyz/utils' ;
5+ import {
6+ isZeroishAddress ,
7+ objMap ,
8+ promiseObjAll ,
9+ rootLogger ,
10+ } from '@hyperlane-xyz/utils' ;
611
712import { getEnvAddresses } from '../../config/registry.js' ;
813import { getKeyFunderConfig } from '../../src/funding/key-funder.js' ;
@@ -81,7 +86,10 @@ async function main() {
8186 const filteredPaymasters = objMap (
8287 igp . map ( ( _ , contracts ) => contracts . interchainGasPaymaster ) ,
8388 ( chain , paymaster ) => {
84- if ( chainsToProcess . includes ( chain ) ) {
89+ if (
90+ chainsToProcess . includes ( chain ) &&
91+ ! isZeroishAddress ( paymaster . address )
92+ ) {
8593 return paymaster ;
8694 }
8795 return undefined ;
You can’t perform that action at this time.
0 commit comments