Hello and help please
When deploying one of my existing canisters I get following warning for MOST of my stable variables:
(unknown location): Compatibility error [M0169], stable variable data_transactions of previous type
cannot be discarded; promote to type
Do you want to proceed? yes/No
If I proceed will my stable variables be deleted? Thing that’s weird is that I only removed 2 and added another 2, I added another function and modified some other functions.
I’ve compared .most and .old.most files and it appears I’m getting this warning for all stable variables that in .most file are listed below one that I added.
Example, I modified config_royatly. Those that are above - so config_owner, config_marketplace, etc. are fine and don’t give warning. But data_assetCanistersTableState and those below do.
stable var config_initial_sale_royalty_address : Text;
stable var config_marketplace_open : Int;
stable var config_owner : Principal;
stable var config_royalty : [(AccountIdentifier__2, Nat64)];
stable var data_assetCanistersTableState : [(Principal, Nat)];
stable var data_assetsTableState : [(AssetHandle, Asset__1)];
stable var data_capEventsQueueState : [CapIndefiniteEvent];
stable var data_chunksTableState : [(ChunkId, Blob)];
stable var data_disbursementQueueState :
Am I safe to continue or will this delete all my data stored in these stable variables?