feat(checkToken): Support checking token config for xERC20Lockbox type (#4339)
### Description
- When setting up the warp configuration for an `xERC20Lockbox`
contract, we pass the lockbox address in the token field for the config
and we lookup the underlying ERC20 token in the smart contract
constructor
1579ca221c/solidity/contracts/token/extensions/HypXERC20Lockbox.sol (L17)
- This change accounts for this setup when checking for
`CollateralTokenMismatch` violations
### Testing
Manual
pull/4343/head
parent
4f19b9fae6
commit
1abefa60e2
@ -0,0 +1,5 @@ |
||||
--- |
||||
'@hyperlane-xyz/sdk': patch |
||||
--- |
||||
|
||||
Support xERC20Lockbox in checkToken |
Loading…
Reference in new issue