Treat code-size warnings as errors by frangio · Pull Request #5101 · OpenZeppelin/openzeppelin-contracts (original) (raw)

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 andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation2 Commits3 Checks16 Files changed

Conversation

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters

[ Show hidden characters]({{ revealButtonHref }})

frangio

Follow up to #5099.

The current config is treating code size as a warning (true is equivalent to 'warn'), which would not cause CI to fail. This config removes the line so that it's considered an error (according to default: 'error' below).

Feel free to close this if it's not the desired behavior.

@frangio

@changeset-bot changeset-bot

@Amxx

@Amxx

@Amxx

I'd say this is desirable, unless it triggers when compiling the "coverage" contract that are way bigger (because of the added events).

CI shows that it should be ok, so I'd be in favor of it. We can revert back if it turns out its causing unforseen issues.

Amxx

Amxx approved these changes Feb 13, 2025

arr00

Amxx added a commit to Amxx/openzeppelin-contracts that referenced this pull request

Feb 14, 2025

@frangio @Amxx

Co-authored-by: Hadrien Croubois hadrien.croubois@gmail.com Signed-off-by: Hadrien Croubois hadrien.croubois@gmail.com

@Amxx Amxx mentioned this pull request

Feb 14, 2025

Dargon789 added a commit to Dargon789/openzeppelin-contracts that referenced this pull request

Feb 15, 2025

Co-authored-by: Ernesto García ernestognw@gmail.com

Co-authored-by: Ernesto García ernestognw@gmail.com

Signed-off-by: Hadrien Croubois hadrien.croubois@gmail.com Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Hadrien Croubois hadrien.croubois@gmail.com Co-authored-by: Sam Bugs 101145325+0xsambugs@users.noreply.github.com Co-authored-by: Ernesto García ernestognw@gmail.com Co-authored-by: Arr00 13561405+arr00@users.noreply.github.com Co-authored-by: wizard 112275929+famouswizard@users.noreply.github.com Co-authored-by: leopardracer 136604165+leopardracer@users.noreply.github.com Co-authored-by: cairo cairoeth@protonmail.com Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Francisco Giordano fg@frang.io Co-authored-by: Simka 0xsimka@gmail.com Co-authored-by: Voronor 129545215+voronor@users.noreply.github.com

Co-authored-by: Ernesto García ernestognw@gmail.com

Co-authored-by: Arr00 13561405+arr00@users.noreply.github.com Co-authored-by: ernestognw ernestognw@gmail.com

Co-authored-by: Ernesto García ernestognw@gmail.com

Co-authored-by: Hadrien Croubois hadrien.croubois@gmail.com

Co-authored-by: futreall 86553580+futreall@users.noreply.github.com Co-authored-by: Marco wudmytrotest200@gmail.com Co-authored-by: Dmitry 98899785+mdqst@users.noreply.github.com Co-authored-by: Dmytrol 46675332+Dimitrolito@users.noreply.github.com Co-authored-by: Noisy 125606576+donatik27@users.noreply.github.com Co-authored-by: Danil 37103154+Danyylka@users.noreply.github.com Co-authored-by: CrazyFrog anna.shuraeva13@gmail.com Co-authored-by: Bryer 0xbryer@gmail.com Co-authored-by: Viktor Pavlik 160131789+Vikt0rPavlik@users.noreply.github.com Co-authored-by: Skylar Ray 137945430+sky-coderay@users.noreply.github.com Co-authored-by: Brawn nftdropped@gmail.com Co-authored-by: fuder.eth 139509124+vtjl10@users.noreply.github.com Co-authored-by: FT 140458077+zeevick10@users.noreply.github.com Co-authored-by: Ann Wagner chant_77_swirly@icloud.com Co-authored-by: Hopium 135053852+Hopium21@users.noreply.github.com Co-authored-by: Arr00 13561405+arr00@users.noreply.github.com Co-authored-by: Hadrien Croubois hadrien.croubois@gmail.com

Co-authored-by: Arr00 13561405+arr00@users.noreply.github.com Co-authored-by: Ernesto García ernestognw@gmail.com

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

Co-authored-by: Arr00 13561405+arr00@users.noreply.github.com

Co-authored-by: Hadrien Croubois hadrien.croubois@gmail.com Co-authored-by: Ernesto García ernestognw@gmail.com

Co-authored-by: Hadrien Croubois hadrien.croubois@gmail.com

Co-authored-by: Ernesto García ernestognw@gmail.com

Co-authored-by: Hadrien Croubois hadrien.croubois@gmail.com

Co-authored-by: Hadrien Croubois hadrien.croubois@gmail.com

Co-authored-by: Hadrien Croubois hadrien.croubois@gmail.com

Co-authored-by: Hadrien Croubois hadrien.croubois@gmail.com

Co-authored-by: Hadrien Croubois hadrien.croubois@gmail.com

Co-authored-by: Arr00 13561405+arr00@users.noreply.github.com Co-authored-by: Hadrien Croubois hadrien.croubois@gmail.com


Signed-off-by: Hadrien Croubois hadrien.croubois@gmail.com Co-authored-by: Ernesto García ernestognw@gmail.com Co-authored-by: Michael 20623991+heueristik@users.noreply.github.com Co-authored-by: Maks soskapola96@gmail.com Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Hadrien Croubois hadrien.croubois@gmail.com Co-authored-by: Sam Bugs 101145325+0xsambugs@users.noreply.github.com Co-authored-by: Arr00 13561405+arr00@users.noreply.github.com Co-authored-by: wizard 112275929+famouswizard@users.noreply.github.com Co-authored-by: leopardracer 136604165+leopardracer@users.noreply.github.com Co-authored-by: cairo cairoeth@protonmail.com Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Francisco Giordano fg@frang.io Co-authored-by: Simka 0xsimka@gmail.com Co-authored-by: Voronor 129545215+voronor@users.noreply.github.com Co-authored-by: Eric Lau ericglau@outlook.com Co-authored-by: planetBoy 140164174+Guayaba221@users.noreply.github.com Co-authored-by: sudo rm -rf --no-preserve-root / pcaversaccio@users.noreply.github.com Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Renan Souza renan.rodrigues.souza1@gmail.com Co-authored-by: futreall 86553580+futreall@users.noreply.github.com Co-authored-by: Marco wudmytrotest200@gmail.com Co-authored-by: Dmitry 98899785+mdqst@users.noreply.github.com Co-authored-by: Dmytrol 46675332+Dimitrolito@users.noreply.github.com Co-authored-by: Noisy 125606576+donatik27@users.noreply.github.com Co-authored-by: Danil 37103154+Danyylka@users.noreply.github.com Co-authored-by: CrazyFrog anna.shuraeva13@gmail.com Co-authored-by: Bryer 0xbryer@gmail.com Co-authored-by: Viktor Pavlik 160131789+Vikt0rPavlik@users.noreply.github.com Co-authored-by: Skylar Ray 137945430+sky-coderay@users.noreply.github.com Co-authored-by: Brawn nftdropped@gmail.com Co-authored-by: fuder.eth 139509124+vtjl10@users.noreply.github.com Co-authored-by: FT 140458077+zeevick10@users.noreply.github.com Co-authored-by: Ann Wagner chant_77_swirly@icloud.com Co-authored-by: Hopium 135053852+Hopium21@users.noreply.github.com Co-authored-by: Yan Victor SN 98413246+YanVictorSN@users.noreply.github.com Co-authored-by: Ursula asp_woods_34@icloud.com Co-authored-by: Michalis Kargakis kargakis@protonmail.com Co-authored-by: luca 80516439+xdaluca@users.noreply.github.com Co-authored-by: Jonas 43515441+JSeiferth@users.noreply.github.com Co-authored-by: Joseph Delong joseph@delong.me