Proposal to Upgrade PositionIndex Canister
Summary
GitHub commit
https://github.com/ICPSwap-Labs/icpswap-v3-service/commit/94eeb92ad6ecc2713d38fd3bef48cd4f328a3513
Changelog
- removePoolIdWithoutCheck now rejects anonymous principals at thrror("Anonymous principal not allowed").
- setAdmins: added duplicate-principal detection (O(n²) check) on top of the existing anonymous rejection; empty array is explicitly allowed as an admin reset.
- icrc21_canister_call_consent_message now passes two empty tokenrc21_canister_call_consent_message, with a comment noting thatPositionIndex has no per-pool token context.
- Version bumped from 3.6.0 to 3.7.0.
Wasm Verification
git fetch
git checkout 94eeb92ad6ecc2713d38fd3bef48cd4f328a3513
./build.sh
sha256sum .dfx/local/canisters/PositionIndex/PositionIndex.wasm
Payload
Proposal to Upgrade an SNS Controlled Canister
Target canister: cglrh-lyaaa-aaaag-qcs4q-cai
Wasm info
Embedded module with 292822 bytes and SHA256 485f083dcc4f15f452ad91693415bcb5854d4d39ecbef26a3d0ddc2324282ff8.
Mode: Upgrade
Argument info
Upgrade argument with 19 bytes and SHA256 4449444c000168010a0000000000d00ad70101.
Overview