cycles-wallet icon indicating copy to clipboard operation
cycles-wallet copied to clipboard

Wallet run out of gas when installing a wallet canister at 2MB

Open hansl opened this issue 4 years ago • 3 comments

Using this branch; https://github.com/dfinity/wallet-rs/pull/40

Running dfx deploy will result in a WASM of 1.99MB. With DFX 0.6.23 this installs fine because it's under the message limit. But doing so with 0.6.24 results in a

The Replica returned an error: code 5, message: "Canister rwlgt-iiaaa-aaaaa-aaaaa-cai ran out of cycles limit 5368709120"

Using sodium to install results in a memory allocation error which is a bug fixed in DFX master.

Screenshot: image

hansl avatar Feb 26 '21 05:02 hansl

Note: this is with a local replica, not on sodium or mercury.

hansl avatar Feb 26 '21 05:02 hansl

Using sodium to install results in a memory allocation error which is a bug fixed in DFX master.

So what, if we release sdk as 0.6.25 next week, we expect this to be a non-issue?

Just checking, this is all for localdev right? i.e. only dfx deploy with no --network ?

gobengo avatar Feb 26 '21 05:02 gobengo

What I'm saying is that on sodium the memory allocation is an issue which should be fixed by 0.6.25 BUT it is unknown if it hides the gas issue highlighted here or if they are the same issue. I'll defer to Prithvi for investigation.

hansl avatar Feb 26 '21 05:02 hansl