fix: Update Vyper inner compilers list to support all compilers (#10091)

Increases the number of items retrieved for Vyper releases to 100. Allows to get the oldest vyper compilers when using internal verification (i.e., sc_verifier is disabled)

When not set, the default number of items retrieved is 30, which is less than total number of currently existing releases (46). This makes the oldest compilers unavailable when using vyper verificaiton method.

Should fix the failing `/api/v2/smart-contracts/{address_hash}/verification/via/vyper-code success verification` test
pull/10094/head
Rim Rakhimov 6 months ago committed by GitHub
parent 8265c9d6d7
commit 77203a3f83
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      apps/explorer/lib/explorer/smart_contract/compiler_version.ex

@ -59,7 +59,7 @@ defmodule Explorer.SmartContract.CompilerVersion do
@spec vyper_releases_url :: String.t()
def vyper_releases_url do
"https://api.github.com/repos/vyperlang/vyper/releases"
"https://api.github.com/repos/vyperlang/vyper/releases?per_page=100"
end
defp format_data(json, compiler) do

Loading…
Cancel
Save