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

Increase max JSON file size for contract verification #24

Merged
merged 1 commit into from
Feb 14, 2025

Conversation

gabmontes
Copy link

Description and Related Issue(s)

The maximum JSON file size to upload when trying to verify a contract is hardcoded to 20 MBytes. In some cases, this limit is hit and the contracts cannot be verified, as reported by @max-sanchez a few days ago in re the BTC vault contracts.

Proposed Changes

Increase the hardcoded value to 50 MBytes. That should be enough for now.

Additional Information

In the future, this could be configured through an environment variable. Probably the better way to do so is to add the variable in the configs/app structure.

@gabmontes gabmontes enabled auto-merge February 13, 2025 15:34
@gabmontes gabmontes merged commit 1b47c6e into main Feb 14, 2025
33 checks passed
@gabmontes gabmontes deleted the higher-json-limit branch February 14, 2025 13:07
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.

3 participants