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

chore: benchmark extrinsic overhead with payment in non-native currency #300

Closed
enthusiastmartin opened this issue Dec 31, 2021 · 1 comment
Assignees

Comments

@enthusiastmartin
Copy link
Contributor

Extrinsic base weight in substrate already includes weight to pay fee for transaction.

With support of payment in non-native currency, we add additional weight to the base weight.

This basically leads to have Basilisk base weight which includes weight of payment fee 2x ( since our additional weight covers the payment in native currency too ).

We can benchmark the extrinsic overhead with non-native fee payment to determine Basilisk extrinsic base weight. This should be slightly more than the substrate base weight but less than the current one.

@enthusiastmartin enthusiastmartin self-assigned this Dec 31, 2021
@enthusiastmartin
Copy link
Contributor Author

Benchmarked and extrinsic base weight was updated as part of #360

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

1 participant