fix: code compiler test (#10454)

pull/10462/head
Kirill Fedoseev 4 months ago committed by GitHub
parent 23adf21200
commit 4c36b8a82c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 7
      apps/explorer/test/explorer/smart_contract/solidity/code_compiler_test.exs

@ -14,6 +14,13 @@ defmodule Explorer.SmartContract.Solidity.CodeCompilerTest do
describe "run/2" do describe "run/2" do
setup do setup do
configuration = Application.get_env(:explorer, Explorer.SmartContract.RustVerifierInterfaceBehaviour)
Application.put_env(:explorer, Explorer.SmartContract.RustVerifierInterfaceBehaviour, enabled: false)
on_exit(fn ->
Application.put_env(:explorer, Explorer.SmartContract.RustVerifierInterfaceBehaviour, configuration)
end)
{:ok, {:ok,
contract_code_info: Factory.contract_code_info(), contract_code_info: Factory.contract_code_info(),
contract_code_info_modern_compiler: Factory.contract_code_info_modern_compiler()} contract_code_info_modern_compiler: Factory.contract_code_info_modern_compiler()}

Loading…
Cancel
Save