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

Allow custom optimizations runs for contract verifications via API #4853

Merged
merged 1 commit into from
Nov 3, 2021

Conversation

vbaranov
Copy link
Member

@vbaranov vbaranov commented Nov 3, 2021

Resolves #4845

Motivation

200 is hardcoded for Optimizations runs at /verify API endpoint in case of input is bitstring

Changelog

Process bitstring input: if input can be parsed, use that value. Otherwise, use 200.

Checklist for your Pull Request (PR)

@vbaranov vbaranov force-pushed the vb-contract-verification-api-runs branch from 16b91ae to 3cb935e Compare November 3, 2021 12:21
@vbaranov vbaranov merged commit ba9610e into master Nov 3, 2021
sidhujag pushed a commit to syscoin/blockscout that referenced this pull request Nov 3, 2021
…cation-api-runs

Allow custom optimizations runs for contract verifications via API
@vbaranov vbaranov deleted the vb-contract-verification-api-runs branch November 8, 2021 12:43
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.

Cannot verify a contract via the api for optimisation runs other than 200
1 participant