Proposal to Upgrade SwapPoolInstaller Canister
Summary
GitHub commit
https://github.com/ICPSwap-Labs/icpswap-v3-service/commit/94eeb92ad6ecc2713d38fd3bef48cd4f328a3513
Changelog
- install(...) signature: removed infoCid parameter; renamed the position-index parameter to passedPositionIndexCid to distinguish it from the constructor-locked positionIndexCid.
- Added assertion Principal.equal(passedPositionIndexCid, positionIndexCid) — the caller-supplied position-index must match the installer's construction-time value.
- Added assert (activeWasm.size() > 0) before install_code to reject empty WASM.
- uploadWasmChunk now passes msg.caller to _wasmManager.uploadChunk(caller, chunk) for per-caller upload isolation.
- Version bumped from 3.6.0 to 3.7.0.
Wasm Verification
git fetch
git checkout 94eeb92ad6ecc2713d38fd3bef48cd4f328a3513
./build.sh
sha256sum .dfx/local/canisters/SwapPoolInstaller/SwapPoolInstaller.wasm
Payload
Proposal to Upgrade an SNS Controlled Canister
Target canister: aeloy-wyaaa-aaaar-qanbq-cai
Wasm info
Embedded module with 249688 bytes and SHA256 4e164a7e65976631431c114226c519a9d061e07f7e302b4ddbf1a8bb80ee95ea.
Mode: Upgrade
Argument info
Upgrade argument with 45 bytes and SHA256 4449444c0003686868010a0000000000d00ad70101010a00000000020000ab0101010a0000000000d014b90101.
Overview