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

Support fee deduction in index pallet #314

Merged
merged 1 commit into from
Dec 13, 2023
Merged

Support fee deduction in index pallet #314

merged 1 commit into from
Dec 13, 2023

Conversation

tolak
Copy link
Contributor

@tolak tolak commented Dec 13, 2023

Fee deduction in pallet side was implemented in this PR, and currently, fee reserve account on Khala/Phala was set to inDEX multisig admin account

@tolak tolak requested a review from h4x3rotab December 13, 2023 07:51
Copy link
Contributor

@h4x3rotab h4x3rotab left a comment

Choose a reason for hiding this comment

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

LGTM, but please double check the ED problem in Substrate

worker,
deposit_info.amount,
deposit_info.amount - fee,
Copy link
Contributor

Choose a reason for hiding this comment

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

Have you considered ED problem?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, ED will be handled (checked) on the executor side

@tolak tolak merged commit b22e3a6 into main Dec 13, 2023
1 check passed
@tolak tolak deleted the tolak/index-fee branch December 13, 2023 11:23
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