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: update bot to new indexer #23

Merged
merged 7 commits into from
Sep 22, 2023
Merged

feat: update bot to new indexer #23

merged 7 commits into from
Sep 22, 2023

Conversation

irisdv
Copy link
Collaborator

@irisdv irisdv commented Sep 20, 2023

This PR :

  • updates the bot to work with the new indexer
  • uses RPC instead of Sequencer
  • uses starknet-id.rs instead of starknet.rs fork
  • removes devnet configuration as we won't be needing it anymore now
  • moved utils function that were in bot.rs into utils files
  • now uses only watchtower (closes Auto renew bot: add watchtower #25 )
  • Adds a check for user balance (closes Auto renew bot: check suer balance #24 )
  • checks the indexers are up to date using apibara new status endpoint

@irisdv irisdv force-pushed the ref/update_use_new_indexer branch from 8acf394 to 44b0735 Compare September 20, 2023 13:42
@Th0rgal Th0rgal self-requested a review September 22, 2023 07:28
Copy link
Member

@Th0rgal Th0rgal left a comment

Choose a reason for hiding this comment

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

lgtm

@Th0rgal Th0rgal merged commit ad46e13 into main Sep 22, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Auto renew bot: add watchtower Auto renew bot: check suer balance
2 participants