Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
hansl opened this issue Feb 26, 2021 · 3 comments
Open

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

hansl opened this issue Feb 26, 2021 · 3 comments

Comments

@hansl
Copy link
Contributor

hansl commented Feb 26, 2021

Using this branch; #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
Copy link
Contributor Author

hansl commented Feb 26, 2021

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

@gobengo
Copy link
Contributor

gobengo commented Feb 26, 2021

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 ?

@hansl
Copy link
Contributor Author

hansl commented Feb 26, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants