Update contract_state_test.exs

staking
Vadim 5 years ago committed by Victor Baranov
parent 3f96312bc0
commit 42f57d7317
  1. 8
      apps/explorer/lib/explorer/staking/contract_state.ex
  2. 930
      apps/explorer/test/explorer/staking/contract_state_test.exs

@ -75,12 +75,12 @@ defmodule Explorer.Staking.ContractState do
staking_contract_address = Application.get_env(:explorer, __MODULE__)[:staking_contract_address]
%{
"validatorSetContract" => {:ok, [validator_set_contract_address]},
"erc677TokenContract" => {:ok, [token_contract_address]}
"erc677TokenContract" => {:ok, [token_contract_address]},
"validatorSetContract" => {:ok, [validator_set_contract_address]}
} =
Reader.query_contract(staking_contract_address, staking_abi, %{
"validatorSetContract" => [],
"erc677TokenContract" => []
"erc677TokenContract" => [],
"validatorSetContract" => []
})
%{"blockRewardContract" => {:ok, [block_reward_contract_address]}} =

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save