dfinity / pocketic

A canister smart contract testing solution for the Internet Computer.
Other
22 stars 1 forks source link

Does pocket-ic support skip_pre_upgrade flag when upgrading a canister ? #11

Closed q2333gh closed 8 months ago

fxgst commented 8 months ago

The ic_cdk does not have this field, see here, so there is no straightforward way.

However, if you really need this functionality, you could implement this struct locally and pass it in call_candid_as, like done here.

q2333gh commented 8 months ago

got it,helpful info!