-
Notifications
You must be signed in to change notification settings - Fork 113
Fix breaking smoke tests #1472
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
base: main
Are you sure you want to change the base?
Fix breaking smoke tests #1472
Conversation
@@ -222,7 +222,7 @@ func (r *Relay) fetchUnprocessedParachainNonces(latest uint64) ([]uint64, error) | |||
latestBucket := latest / 128 | |||
|
|||
for b := uint64(0); b <= latestBucket; b++ { | |||
encodedBucket, err := types.EncodeToBytes(types.NewU128(*big.NewInt(int64(b)))) | |||
encodedBucket, err := types.EncodeToBytes(types.NewU64(b)) |
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.
Is this related to the subxt change?
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.
Nope, it's to coordinate with paritytech/polkadot-sdk#8240, which includes an optimized SparseBitmap.
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.
Good catch, thank you @yrong!
@claravanstaden Seems like some inbound V2 smoke tests are failing, potentially related to PR#8376. I'll double-check and apply fixes if needed. |
It seems that
subxt
is not compatible with the recent master branch ofpolkadot-sdk
. An error is raised when generating Substrate binds, as shown below.So I upgraded Subxt for compatibility. The main change in this PR addresses the breaking changes introduced in v0.39.0.