When we now want to pass a canister to this testing SNS to test upgrading via proposals, we get the following error.
SNS governance error: This proposal type is not allowed while governance is in PreInitializationSwap mode: RegisterDappCanisters(
RegisterDappCanisters {
canister_ids: [
<CANISTER_ID>,
],
},
)
The canister IDs of the testing SNS are the following:
Hi @Dustin , can you maybe share what you aim to test?
In a lot of cases nowadays local testing might be more stable and better suited than the SNS testflight, so just wondering what use case you want to cover..
Hi @lara, we are testing handover of canisters to the SNS and upgrading those via proposals. We were doing this via a deployment of a testing SNS on the mainnet but you propose to do this only locally?
we are testing handover of canisters to the SNS and upgrading those via proposals
Indeed, it’s better to test this scenario locally. (We’re considering deprecating the mainnet testflight runbook as it doesn’t add much value for developers at this point — it was quite useful in the early days of the SNS, though).
Another place to look (especially if you would like to interact with the system, e.g., via DFX, not just have a Rust-based scenario that runs end-to-end) is the new sns-testing tool that is already available in the ICP mono repo. The tool binary for sns-testing is not yet readily available, you would need to compile that yourself, but if you have bazel installed if should be a few simple commands to run, as described in the README linked above.
Please let us know if you get stuck or have further questions.
you can just copy paste the script to any good LLM and can make you a step breakdown
In addition, SNS testflight tools aren’t working on latest version, I got to use dfx 0.25.0 but I can’t remember what version of the nns and sns extensions work with the current testflight tutorial