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

chore: bump subxt to 0.33 #4693

Merged
merged 4 commits into from
Mar 25, 2024
Merged

chore: bump subxt to 0.33 #4693

merged 4 commits into from
Mar 25, 2024

Conversation

kylezs
Copy link
Contributor

@kylezs kylezs commented Mar 25, 2024

Resolves the cargo-audit issue (https://rustsec.org/advisories/RUSTSEC-2022-0093), as this bumps the ed25519-dalek dependency to v2

@@ -910,7 +910,7 @@ impl SignedExtrinsicClientBuilderTrait for SignedExtrinsicClientBuilder {
)?
.submit_and_watch()
.await?
.wait_for_in_block()
Copy link
Contributor Author

Choose a reason for hiding this comment

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

they removed this in 0.33 as it is unreliable

Copy link
Collaborator

Choose a reason for hiding this comment

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

@AlastairHolmes FYI details are in this PR: paritytech/subxt#1237

Could this be related to the SC Client hash mismatch issues we are seeing?

Copy link
Contributor

Choose a reason for hiding this comment

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

I don't believe so, my understanding is the issue they are discussing is that subscription could give you a block hash that you then cannot request the header of. But in our problem case, that is not happening.

I'm just glad we implemented our own versions of these.

Copy link
Contributor

Choose a reason for hiding this comment

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

We should probably increase the timeout its only 30 seconds

@kylezs kylezs requested a review from AlastairHolmes March 25, 2024 11:08
Copy link

codecov bot commented Mar 25, 2024

Codecov Report

Attention: Patch coverage is 0% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 72%. Comparing base (38b6e36) to head (8197a58).
Report is 1 commits behind head on main.

Files Patch % Lines
engine/src/state_chain_observer/client.rs 0% 1 Missing ⚠️
Additional details and impacted files
@@          Coverage Diff          @@
##            main   #4693   +/-   ##
=====================================
  Coverage     72%     72%           
=====================================
  Files        415     415           
  Lines      68749   68787   +38     
  Branches   68749   68787   +38     
=====================================
+ Hits       49334   49367   +33     
  Misses     17006   17006           
- Partials    2409    2414    +5     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@kylezs kylezs requested a review from a team as a code owner March 25, 2024 12:12
@kylezs kylezs requested review from jerryafr and acdibble and removed request for a team March 25, 2024 12:12
Copy link
Contributor

@AlastairHolmes AlastairHolmes left a comment

Choose a reason for hiding this comment

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

just increase the timeout then we're good I think

@kylezs kylezs enabled auto-merge (squash) March 25, 2024 12:30
@kylezs kylezs merged commit 593c589 into main Mar 25, 2024
43 checks passed
@kylezs kylezs deleted the chore/bump-subxt branch March 25, 2024 12:58
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.

3 participants