1
1
import { ethers } from "ethers" ;
2
2
import { TokenRouterConfiguration } from "../../../config/config-types" ;
3
3
import { TokenRouter , TokenRouter__factory } from "../../../contract-bindings" ;
4
- import { ChainInfo , getChainConfig , LoggerFn , getDependencyAddress , writeDeployedContract , getContractAddress , getContractInstance , logComparision , someoneIsDifferent } from "../../../helpers" ;
4
+ import { ChainInfo , getChainConfig , LoggerFn , getDependencyAddress , writeDeployedContract , getContractAddress , getContractInstance , logComparison , someoneIsDifferent } from "../../../helpers" ;
5
5
import { ERC20 } from "../../../contract-bindings/ERC20" ;
6
6
import { UniversalAddress } from "@wormhole-foundation/sdk-definitions" ;
7
7
@@ -119,13 +119,13 @@ export async function getConfigurationDifferences(chain: ChainInfo) {
119
119
}
120
120
121
121
export function logDiff ( differences : Record < string , any > , log : LoggerFn ) {
122
- logComparision ( 'cctpAllowance' , differences . cctpAllowance , log ) ;
122
+ logComparison ( 'cctpAllowance' , differences . cctpAllowance , log ) ;
123
123
124
124
const { enabled, maxAmount, baseFee, initAuctionFee } = differences . fastTransferParameters ;
125
125
if ( someoneIsDifferent ( [ enabled , maxAmount , baseFee , initAuctionFee ] ) ) {
126
126
log ( 'Fast transfer parameters:' ) ;
127
127
for ( const [ key , value ] of Object . entries ( differences . fastTransferParameters ) ) {
128
- logComparision ( key , value , log ) ;
128
+ logComparison ( key , value , log ) ;
129
129
}
130
130
}
131
131
}
0 commit comments