Proposal #148
Passed on 13 Oct 2025 with 92.7% of the votes for yes.
Yes
92.7%
100.0% without abstain
Veto
0.0%
of votes cast
Ended
13 Oct 2025
92.69%
of votes cast
7.31%
of votes cast
0.00%
of votes cast
0.00%
of votes cast
This proposal requests approval to upgrade the Persistence DEX Vault contract from version 1.2.1 to 1.2.2 to address a critical bug in the query_pools function that causes failures when defunct pools are present in the system.
The current query_pools function in v1.2.1 attempts to load all pool IDs within a range without checking if pools are defunct, causing query failures when defunct pools exist. This breaks pagination and pool discovery functionality for frontend applications and other integrators.
Additionally, this proposal updates the global WASM CodeUploadAccess parameter to modify the whitelist of addresses permitted to upload new code.
This is part of a key rotation security exercise.
Specifically, it removes persistence1eld9dngatavy9nqu9j0d5ratjvp2887zsnqp6x and adds persistence10h0xshu73ylnguew3uf9c7tv23nneuecfv50m5, keeping existing addresses intact.
The proposal aims to:
may_load() to skip defunct pools gracefullyMigrateMsg::V1_2_2 variant for seamless upgrade pathFixed query_pools Function Logic:
may_load() to skip defunct pools gracefullyquery_pools only returns active pools and handles pagination correctlyEnhanced Pagination:
Migration Support:
MigrateMsg::V1_2_2 variant for seamless upgrade pathGovernance Params Update (WASM):
wasm.params.code_upload_access via MsgUpdateParamspersistence1raa4kyx5ypz75qqk3566c6slx2mw3qzs6dk8rcpersistence1p2ed00z77mp8m9w0pkssur3392letx52sveruqpersistence10h0xshu73ylnguew3uf9c7tv23nneuecfv50m5query_pools.rs) with 6 test cases covering:
MigrateMsg::V1_2_2 {}This upgrade is essential for maintaining the reliability of the Persistence DEX pool querying functionality and ensuring a smooth user experience across all integrating applications.