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

fix: native fungibles collection #1015

Merged
merged 2 commits into from
Oct 16, 2023
Merged

Conversation

mrshiposha
Copy link
Contributor

No description provided.

<Pallet<T>>::transfer(self, &sender, &to, amount, budget)
ensure!(
token == TokenId::default(),
pallet_fungible::Error::<T>::FungibleItemsHaveNoId
Copy link
Member

Choose a reason for hiding this comment

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

Возвращать ошибки из других палет неправильно, тем более что этой палете вовсе не нужно знать о fungible
Лучше скопируй эту ошибку сюда, либо перемести её в common

@CertainLach CertainLach merged commit 0a49946 into develop Oct 16, 2023
10 of 20 checks passed
@CertainLach CertainLach deleted the fix/native-collection-token-id branch October 16, 2023 22:47
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.

2 participants