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

[Bug]: governance.proposal.transfer.maxAmount needs to be expressed as a quantum multiplier #9855

Closed
ze97286 opened this issue Oct 20, 2023 · 0 comments · Fixed by #9856
Closed
Assignees
Labels

Comments

@ze97286
Copy link
Contributor

ze97286 commented Oct 20, 2023

Problem encountered

governance.proposal.transfer.maxAmount determines the maximum amount to be transferred in a governance transfer. While it can be applied on any asset it is treated as a number in the units of the transfer asset which is wrong. Instead it should be treated as a multiplier over the quantum of the transfer asset.

Observed behaviour

max amount is used as a number in the decimals of the transfer asset.

Expected behaviour

max amount should be a quantum multiplier.

Steps to reproduce

1. Submit `xyz` transaction
2. With this payload
3. Query `abc` API
4. Observe the error

Software version

develop

Failing test

No response

Jenkins run

No response

Configuration used

No response

Relevant log output

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants