|
|
@ -614,22 +614,22 @@ defmodule Explorer.Staking.ContractStateTest do |
|
|
|
EthereumJSONRPC.Mox, |
|
|
|
EthereumJSONRPC.Mox, |
|
|
|
:json_rpc, |
|
|
|
:json_rpc, |
|
|
|
fn requests, _opts -> |
|
|
|
fn requests, _opts -> |
|
|
|
assert length(requests) == 16 |
|
|
|
assert length(requests) == 10 |
|
|
|
|
|
|
|
|
|
|
|
{:ok, |
|
|
|
{:ok, |
|
|
|
format_responses([ |
|
|
|
format_responses([ |
|
|
|
# 1 BlockRewardAuRa.delegatorShare |
|
|
|
# 1 BlockRewardAuRa.delegatorShare |
|
|
|
"0x0000000000000000000000000000000000000000000000000000000000000000", |
|
|
|
"0x0000000000000000000000000000000000000000000000000000000000051615", |
|
|
|
# 2 BlockRewardAuRa.delegatorShare |
|
|
|
# 2 BlockRewardAuRa.delegatorShare |
|
|
|
"0x0000000000000000000000000000000000000000000000000000000000000000", |
|
|
|
"0x0000000000000000000000000000000000000000000000000000000000012fd1", |
|
|
|
# 3 BlockRewardAuRa.delegatorShare |
|
|
|
# 3 BlockRewardAuRa.delegatorShare |
|
|
|
"0x0000000000000000000000000000000000000000000000000000000000000000", |
|
|
|
"0x0000000000000000000000000000000000000000000000000000000000012fd1", |
|
|
|
# 4 BlockRewardAuRa.delegatorShare |
|
|
|
# 4 BlockRewardAuRa.delegatorShare |
|
|
|
"0x00000000000000000000000000000000000000000000000000000000000a2c2a", |
|
|
|
"0x0000000000000000000000000000000000000000000000000000000000012fd1", |
|
|
|
# 5 BlockRewardAuRa.delegatorShare |
|
|
|
# 5 BlockRewardAuRa.delegatorShare |
|
|
|
"0x0000000000000000000000000000000000000000000000000000000000051615", |
|
|
|
"0x0000000000000000000000000000000000000000000000000000000000012fd1", |
|
|
|
# 6 BlockRewardAuRa.delegatorShare |
|
|
|
# 6 BlockRewardAuRa.delegatorShare |
|
|
|
"0x00000000000000000000000000000000000000000000000000000000000f4240", |
|
|
|
"0x0000000000000000000000000000000000000000000000000000000000012fd1", |
|
|
|
# 7 BlockRewardAuRa.delegatorShare |
|
|
|
# 7 BlockRewardAuRa.delegatorShare |
|
|
|
"0x0000000000000000000000000000000000000000000000000000000000012fd1", |
|
|
|
"0x0000000000000000000000000000000000000000000000000000000000012fd1", |
|
|
|
# 8 BlockRewardAuRa.delegatorShare |
|
|
|
# 8 BlockRewardAuRa.delegatorShare |
|
|
@ -637,18 +637,6 @@ defmodule Explorer.Staking.ContractStateTest do |
|
|
|
# 9 BlockRewardAuRa.delegatorShare |
|
|
|
# 9 BlockRewardAuRa.delegatorShare |
|
|
|
"0x0000000000000000000000000000000000000000000000000000000000012fd1", |
|
|
|
"0x0000000000000000000000000000000000000000000000000000000000012fd1", |
|
|
|
# 10 BlockRewardAuRa.delegatorShare |
|
|
|
# 10 BlockRewardAuRa.delegatorShare |
|
|
|
"0x0000000000000000000000000000000000000000000000000000000000012fd1", |
|
|
|
|
|
|
|
# 11 BlockRewardAuRa.delegatorShare |
|
|
|
|
|
|
|
"0x0000000000000000000000000000000000000000000000000000000000012fd1", |
|
|
|
|
|
|
|
# 12 BlockRewardAuRa.delegatorShare |
|
|
|
|
|
|
|
"0x0000000000000000000000000000000000000000000000000000000000012fd1", |
|
|
|
|
|
|
|
# 13 BlockRewardAuRa.delegatorShare |
|
|
|
|
|
|
|
"0x0000000000000000000000000000000000000000000000000000000000012fd1", |
|
|
|
|
|
|
|
# 14 BlockRewardAuRa.delegatorShare |
|
|
|
|
|
|
|
"0x0000000000000000000000000000000000000000000000000000000000025fa3", |
|
|
|
|
|
|
|
# 15 BlockRewardAuRa.delegatorShare |
|
|
|
|
|
|
|
"0x0000000000000000000000000000000000000000000000000000000000012fd1", |
|
|
|
|
|
|
|
# 16 BlockRewardAuRa.delegatorShare |
|
|
|
|
|
|
|
"0x0000000000000000000000000000000000000000000000000000000000012fd1" |
|
|
|
"0x0000000000000000000000000000000000000000000000000000000000012fd1" |
|
|
|
])} |
|
|
|
])} |
|
|
|
end |
|
|
|
end |
|
|
@ -998,19 +986,13 @@ defmodule Explorer.Staking.ContractStateTest do |
|
|
|
EthereumJSONRPC.Mox, |
|
|
|
EthereumJSONRPC.Mox, |
|
|
|
:json_rpc, |
|
|
|
:json_rpc, |
|
|
|
fn requests, _opts -> |
|
|
|
fn requests, _opts -> |
|
|
|
assert length(requests) == 14 |
|
|
|
assert length(requests) == 10 |
|
|
|
|
|
|
|
|
|
|
|
{:ok, |
|
|
|
{:ok, |
|
|
|
format_responses([ |
|
|
|
format_responses([ |
|
|
|
# BlockRewardAuRa.delegatorShare |
|
|
|
|
|
|
|
"0x0000000000000000000000000000000000000000000000000000000000000000", |
|
|
|
|
|
|
|
# BlockRewardAuRa.delegatorShare |
|
|
|
|
|
|
|
"0x00000000000000000000000000000000000000000000000000000000000a2c2a", |
|
|
|
|
|
|
|
# BlockRewardAuRa.delegatorShare |
|
|
|
# BlockRewardAuRa.delegatorShare |
|
|
|
"0x0000000000000000000000000000000000000000000000000000000000051615", |
|
|
|
"0x0000000000000000000000000000000000000000000000000000000000051615", |
|
|
|
# BlockRewardAuRa.delegatorShare |
|
|
|
# BlockRewardAuRa.delegatorShare |
|
|
|
"0x00000000000000000000000000000000000000000000000000000000000f4240", |
|
|
|
|
|
|
|
# BlockRewardAuRa.delegatorShare |
|
|
|
|
|
|
|
"0x0000000000000000000000000000000000000000000000000000000000012fd1", |
|
|
|
"0x0000000000000000000000000000000000000000000000000000000000012fd1", |
|
|
|
# BlockRewardAuRa.delegatorShare |
|
|
|
# BlockRewardAuRa.delegatorShare |
|
|
|
"0x0000000000000000000000000000000000000000000000000000000000012fd1", |
|
|
|
"0x0000000000000000000000000000000000000000000000000000000000012fd1", |
|
|
@ -1025,8 +1007,6 @@ defmodule Explorer.Staking.ContractStateTest do |
|
|
|
# BlockRewardAuRa.delegatorShare |
|
|
|
# BlockRewardAuRa.delegatorShare |
|
|
|
"0x0000000000000000000000000000000000000000000000000000000000012fd1", |
|
|
|
"0x0000000000000000000000000000000000000000000000000000000000012fd1", |
|
|
|
# BlockRewardAuRa.delegatorShare |
|
|
|
# BlockRewardAuRa.delegatorShare |
|
|
|
"0x0000000000000000000000000000000000000000000000000000000000025fa3", |
|
|
|
|
|
|
|
# BlockRewardAuRa.delegatorShare |
|
|
|
|
|
|
|
"0x0000000000000000000000000000000000000000000000000000000000012fd1", |
|
|
|
"0x0000000000000000000000000000000000000000000000000000000000012fd1", |
|
|
|
# BlockRewardAuRa.delegatorShare |
|
|
|
# BlockRewardAuRa.delegatorShare |
|
|
|
"0x0000000000000000000000000000000000000000000000000000000000012fd1" |
|
|
|
"0x0000000000000000000000000000000000000000000000000000000000012fd1" |
|
|
|