Skip to content

Commit

Permalink
harden test, silent geth
Browse files Browse the repository at this point in the history
  • Loading branch information
InoMurko committed Feb 25, 2021
1 parent 0f24d4f commit 69594be
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions apps/omg_eth/test/fixtures.exs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ defmodule OMG.Eth.Fixtures do

defp has_exit_queue(vault_id, token) do
plasma_framework = Configuration.contracts().plasma_framework
token = Encoding.from_hex(token)
token = Encoding.from_hex(token, :mixed)
call_contract(plasma_framework, "hasExitQueue(uint256,address)", [vault_id, token], [:bool])
end

Expand All @@ -91,4 +91,4 @@ defmodule OMG.Eth.Fixtures do

{:ok, single_return}
end
end
end
2 changes: 1 addition & 1 deletion config/test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ config :omg,

# bumping these timeouts into infinity - let's rely on test timeouts rather than these
config :ethereumex,
url: "http://localhost:8545",
url: System.get_env("ETHEREUM_RPC_URL", "http://localhost:8545"),
http_options: [recv_timeout: :infinity],
id_reset: true

Expand Down

0 comments on commit 69594be

Please sign in to comment.