The home for Hyperlane core contracts, sdk packages, and other infrastructure
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
hyperlane-monorepo/.changeset/tough-roses-allow.md

6 lines
105 B

feat: track ATA payer balances in warp monitors instead of key funder (#4913) ### Description - We need to track balances of "ATA payer" accounts, which are accounts that have balances that are used to pay for rent for recipients that have never received a particular token before. The balance is in the native token as that's what the SVM uses to charge rent. Previously, we were tracking these in the key funder in a very manual and annoying process. Now, this is tracked automatically when a warp route monitor is set up. - Removed the old logic in the key funder - Consolidated some code to ensure the same gauge is used to track wallet balances throughout TS What I'll do after this is merged: - deploy an updated key funder to no longer track ATA payers - deploy new warp route monitors with this Example of the metric now included in the warp monitor: ``` # HELP hyperlane_wallet_balance Current balance of a wallet for a token # TYPE hyperlane_wallet_balance gauge hyperlane_wallet_balance{chain="eclipsemainnet",wallet_address="CijxTbPs9JZxTUfo8Hmz2imxzHtKnDFD3kZP3RPy34uJ",wallet_name="SOL/eclipsemainnet-solanamainnet/ata-payer",token_symbol="Native",token_name="Native"} 0.039941128 ``` ### Drive-by changes - Some drive-bys to allow you to omit a warp route ID as a CLI arg to some scripts to get an interactive prompt. Found this useful as it's annoying to remember and type out the warp route ID structure ### Related issues <!-- - Fixes #[issue number here] --> ### Backward compatibility <!-- Are these changes backward compatible? Are there any infrastructure implications, e.g. changes that would prohibit deploying older commits using this infra tooling? Yes/No --> ### Testing <!-- What kind of testing have these changes undergone? None/Manual/Unit Tests -->
7 days ago
---
'@hyperlane-xyz/sdk': minor
---
Added a getter to derive ATA payer accounts on Sealevel warp routes