-
Notifications
You must be signed in to change notification settings - Fork 22
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
Check the chain for transactions if there are attempted burns that haven't been completed #605
Conversation
looks like the testing trait implementations may be missing some of the new methods |
@@ -65,6 +65,7 @@ hextree = "*" | |||
solana-client = "1.14" | |||
solana-sdk = "1.14" | |||
solana-program = "1.11" | |||
solana-transaction-status = "1.14" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
friendly periodic reminder that the solana family of dependencies is in the 1.16.x range now. we'll have to struggle through an update eventually
@@ -48,25 +59,62 @@ impl PendingBurns for Pool<Postgres> { | |||
.await | |||
} | |||
|
|||
async fn subtract_burned_amount( | |||
async fn fetch_incomplete_burns(&mut self) -> Result<Vec<BurnAttempt>, Self::Error> { | |||
sqlx::query_as("SELECT * FROM attempted_burns") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you forget to checkin the migration for this table ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Other than the missing attempted_burns table migration, lgtm
No description provided.