You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should support the configuration of the static buffer size via the environment variable. However, every time the value changes ink_env crate needs to be rebuilt. We can detect the change by inspecting metadata (when use-ink/ink#1879 gets completed) and comparing to the value set in the environment. If they differ then we can run cargo clean -p ink_env && cargo build to rebuild the crate and inject the new value.
Due to limited memory allocated for each contract execution, we should also warn a user if they try to deploy a contract with a too-large buffer size (see use-ink/ink#1471 (comment))
The text was updated successfully, but these errors were encountered:
Feat to the use-ink/ink#1869
We should support the configuration of the static buffer size via the environment variable. However, every time the value changes
ink_env
crate needs to be rebuilt. We can detect the change by inspecting metadata (when use-ink/ink#1879 gets completed) and comparing to the value set in the environment. If they differ then we can runcargo clean -p ink_env && cargo build
to rebuild the crate and inject the new value.Due to limited memory allocated for each contract execution, we should also warn a user if they try to deploy a contract with a too-large buffer size (see use-ink/ink#1471 (comment))
The text was updated successfully, but these errors were encountered: