We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
pub enum UpdateConfigMode { UpdateLoanToValuePct = 1, UpdateMaxLiquidationBonusBps = 2, UpdateLiquidationThresholdPct = 3, }
gets converted to
export enum UpdateConfigMode { UpdateLoanToValuePct, UpdateMaxLiquidationBonusBps, UpdateLiquidationThresholdPct, }
which is 0 based
this can be fixed by updating the rust enum to start from 0 or solita can be updated to generate the appropriate enum values
export enum UpdateConfigMode { UpdateLoanToValuePct = 1, UpdateMaxLiquidationBonusBps, UpdateLiquidationThresholdPct, }
this is minor so feel free to close if not a priority
The text was updated successfully, but these errors were encountered:
No branches or pull requests
gets converted to
which is 0 based
this can be fixed by updating the rust enum to start from 0 or solita can be updated to generate the appropriate enum values
this is minor so feel free to close if not a priority
The text was updated successfully, but these errors were encountered: