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

Fix svm auction loop #155

Merged
merged 1 commit into from
Sep 25, 2024
Merged

Fix svm auction loop #155

merged 1 commit into from
Sep 25, 2024

Conversation

danimhr
Copy link
Contributor

@danimhr danimhr commented Sep 25, 2024

This PR aims to fix auction loop submission for svm chains

@@ -1488,7 +1488,7 @@ async fn run_submission_loop<T: ChainStore>(
}
models::ChainType::Svm => {
if let Some(chain_store) = store
.chains
.chains_svm
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think this is one of the places where panic is more appropriate. Otherwise, we will discover it in prod :D

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We should find a way to make it compile time :D

Copy link
Collaborator

Choose a reason for hiding this comment

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

submit_auctions::<ChainStoreEvm>(store.clone(), chain_store, chain_id).await
:D

@danimhr danimhr merged commit d62ef7c into main Sep 25, 2024
1 check passed
@danimhr danimhr deleted the fix/svm-auction-loop branch September 25, 2024 11:10
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.

2 participants