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

Remove dependency on substrate balances pallet #287

Closed
kylezs opened this issue Jun 18, 2021 · 2 comments
Closed

Remove dependency on substrate balances pallet #287

kylezs opened this issue Jun 18, 2021 · 2 comments

Comments

@kylezs
Copy link
Contributor

kylezs commented Jun 18, 2021

It seems like there's no way to use subxt for chains that don't use the balances pallet.

If one doesn't implement frame::Balances on the custom subxt Runtime it complains that System requires it to be implemented.

I then tried to use a custom System that didn't have this restriction, but then I could no longer use the derive Event macro since it requires System. And so the cascading continues.

There was also some error thrown in there about the DefaultExtra not being valid due missing the impl subxt::Balances.

@kylezs
Copy link
Contributor Author

kylezs commented Jun 18, 2021

The same assumption is made on the javascript client library too, this PR is looking to address that by the looks of it: polkadot-js/api#3669

@ascjones
Copy link
Contributor

ascjones commented Nov 8, 2021

Closed by #294

@ascjones ascjones closed this as completed Nov 8, 2021
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

No branches or pull requests

2 participants