-
Notifications
You must be signed in to change notification settings - Fork 248
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
remove substrate compat #1850
base: master
Are you sure you want to change the base?
remove substrate compat #1850
Conversation
subxt/examples/substrate_compat.rs
Outdated
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.
Just repeating what I already said on the call: I'd either:
- Remove this example, or
- Show in the
fn main()
for it something that demonstrates when this approach is good to take (ie when would I copy this example versus copying the simplersubstrate_compat_signer
one which ultimately runs the same code)
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.
I like this example; for me it shows that it's not hard to use Substrate's signer stuff instead if people would rather do that!
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.
Based on the signer example I feel happy enough removing the substrate compat feature; it's not too hard plugging things like Substrate's signer stuff in, and this means we are independent and one can write SUbxt code against any version of polkadot-sdk
that they want :)
Whoops; my suggestion broke the cargo check; I forgot about the extra import needed! |
Close #1847