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

Config: Remove Index param #1061

Closed
jsdw opened this issue Jul 11, 2023 · 0 comments · Fixed by #1074
Closed

Config: Remove Index param #1061

jsdw opened this issue Jul 11, 2023 · 0 comments · Fixed by #1074
Assignees

Comments

@jsdw
Copy link
Collaborator

jsdw commented Jul 11, 2023

One of the treickiest parts of getting started with Subxt is setting up the Config.

As a first step to simplifying it, can we remove the Index param? I believe it only exists so we know how to decode the value we get back from the runtime call, but I think we can be smarter and intelligently decode this value based on how many bytes it is. When we encode nonces for tx's it looks like we always encode to u64 anyway for that signed extension.

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 a pull request may close this issue.

2 participants