Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: monitor sealevel ATA payer balances in the key funder #4533

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

tkporter
Copy link
Collaborator

@tkporter tkporter commented Sep 19, 2024

Description

  • Tested and set up alerts
  • We already have the relayer balances from the agents themselves, so just need the ATA payers (which are responsible for paying for the rent of token accounts that don't yet exist when bridging in)
  • Putting it here because it's easy and this is what we did in v2 (see Hacky solana balance monitoring #3432, which this is based off)

Drive-by changes

Related issues

Backward compatibility

Testing

Copy link

changeset-bot bot commented Sep 19, 2024

⚠️ No Changeset found

Latest commit: eedb913

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link

codecov bot commented Sep 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.49%. Comparing base (5ecc529) to head (eedb913).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4533   +/-   ##
=======================================
  Coverage   81.49%   81.49%           
=======================================
  Files         100      100           
  Lines        1421     1421           
  Branches      180      180           
=======================================
  Hits         1158     1158           
  Misses        263      263           
Components Coverage Δ
core 96.92% <ø> (ø)
hooks 82.38% <ø> (ø)
isms 92.47% <ø> (ø)
token 93.46% <ø> (ø)
middlewares 86.52% <ø> (ø)

@tkporter tkporter changed the title feat: hacky solana + eclipse balance monitoring feat: monitor ATA payer balances in the key funder Sep 19, 2024
@tkporter tkporter changed the title feat: monitor ATA payer balances in the key funder feat: monitor sealevel ATA payer balances in the key funder Sep 19, 2024
pubkey: pubkey.toString(),
walletName,
},
'Got sealevel chain wallet balance',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
'Got sealevel chain wallet balance',
'Retrieved sealevel chain wallet balance',

Copy link
Contributor

@paulbalaji paulbalaji left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

overall lgtm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Review
Development

Successfully merging this pull request may close these issues.

2 participants