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

Detect INK_STATIC_BUFFER_SIZE env var #1310

Merged
merged 5 commits into from
Sep 4, 2023
Merged

Conversation

SkymanOne
Copy link
Contributor

@SkymanOne SkymanOne commented Sep 1, 2023

Feat use-ink/ink#1869 and closes #1285

cargo-contract now detects if the INK_STATIC_BUFFER_SIZE env var has been set and it is different from the value specified in the metadata. If so, we clean binaries and rebuild the contract.

If not, we simply skip the step.

crates/build/src/lib.rs Outdated Show resolved Hide resolved
crates/build/src/lib.rs Outdated Show resolved Hide resolved
@SkymanOne SkymanOne merged commit 0627b1e into master Sep 4, 2023
10 checks passed
@SkymanOne SkymanOne deleted the gn/buffer-config-support branch September 4, 2023 10:00
@smiasojed smiasojed mentioned this pull request Nov 30, 2023
@smiasojed smiasojed mentioned this pull request Mar 4, 2024
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

Successfully merging this pull request may close these issues.

Support configuration of the static buffer size
2 participants