@ -76,7 +76,7 @@ defmodule Explorer.Staking.ContractStateTest do
EthereumJSONRPC.Mox ,
EthereumJSONRPC.Mox ,
:json_rpc ,
:json_rpc ,
fn requests , _opts ->
fn requests , _opts ->
assert length ( requests ) == 11
assert length ( requests ) == 12
{ :ok ,
{ :ok ,
format_responses ( [
format_responses ( [
@ -90,7 +90,8 @@ defmodule Explorer.Staking.ContractStateTest do
" 0x00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000b6695f5c2e3f5eff8036b5f5f3a9d83a5310e51e " ,
" 0x00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000b6695f5c2e3f5eff8036b5f5f3a9d83a5310e51e " ,
" 0x00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000002000000000000000000000000b916e7e1f4bcb13549602ed042d36746fd0d96c9000000000000000000000000db9cb2478d917719c53862008672166808258577 " ,
" 0x00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000002000000000000000000000000b916e7e1f4bcb13549602ed042d36746fd0d96c9000000000000000000000000db9cb2478d917719c53862008672166808258577 " ,
" 0x00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000514000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000c8000000000000000000000000000000000000000000000000000000000000044c " ,
" 0x00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000514000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000c8000000000000000000000000000000000000000000000000000000000000044c " ,
" 0x00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000003000000000000000000000000bbcaa8d48289bb1ffcf9808d9aa4b1d215054c78000000000000000000000000f67cc5231c5858ad6cc87b105217426e17b824bb000000000000000000000000be69eb0968226a1808975e1a1f2127667f2bffb3 "
" 0x00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000003000000000000000000000000bbcaa8d48289bb1ffcf9808d9aa4b1d215054c78000000000000000000000000f67cc5231c5858ad6cc87b105217426e17b824bb000000000000000000000000be69eb0968226a1808975e1a1f2127667f2bffb3 " ,
" 0x0000000000000000000000000b2f5e2f3cbd864eaa2c642e3769c1582361caf6 "
] ) }
] ) }
end
end
)
)
@ -147,26 +148,22 @@ defmodule Explorer.Staking.ContractStateTest do
EthereumJSONRPC.Mox ,
EthereumJSONRPC.Mox ,
:json_rpc ,
:json_rpc ,
fn requests , _opts ->
fn requests , _opts ->
assert length ( requests ) == 20
assert length ( requests ) == 16
{ :ok ,
{ :ok ,
format_responses ( [
format_responses ( [
" 0x0000000000000000000000000000000000000000000000000000000000000001 " ,
" 0x000000000000000000000000000000000000000000000000000000000000004b " ,
" 0x000000000000000000000000000000000000000000000000000000000000004b " ,
" 0x0000000000000000000000000000000000000000000000000000000000000000 " ,
" 0x0000000000000000000000000000000000000000000000000000000000000000 " ,
" 0x0000000000000000000000000000000000000000000000000000000000000000 " ,
" 0x0000000000000000000000000000000000000000000000000000000000000000 " ,
" 0x0000000000000000000000000000000000000000000000000000000000000000 " ,
" 0x0000000000000000000000000000000000000000000000000000000000000000 " ,
" 0x0000000000000000000000000000000000000000000000000000000000000000 " ,
" 0x0000000000000000000000000000000000000000000000000000000000000002 " ,
" 0x0000000000000000000000000000000000000000000000000000000000000002 " ,
" 0x0000000000000000000000000000000000000000000000000000000000000000 " ,
" 0x0000000000000000000000000000000000000000000000000000000000000000 " ,
" 0x0000000000000000000000000000000000000000000000000000000000000000 " ,
" 0x0000000000000000000000000000000000000000000000000000000000000000 " ,
" 0x0000000000000000000000000000000000000000000000000000000000000000 " ,
" 0x0000000000000000000000000000000000000000000000000000000000000000 " ,
" 0x0000000000000000000000000000000000000000000000000000000000000001 " ,
" 0x000000000000000000000000000000000000000000000000000000000000004a " ,
" 0x000000000000000000000000000000000000000000000000000000000000004a " ,
" 0x0000000000000000000000000000000000000000000000000000000000000000 " ,
" 0x0000000000000000000000000000000000000000000000000000000000000000 " ,
" 0x0000000000000000000000000000000000000000000000000000000000000000 " ,
" 0x0000000000000000000000000000000000000000000000000000000000000000 " ,
" 0x0000000000000000000000000000000000000000000000000000000000000000 " ,
" 0x0000000000000000000000000000000000000000000000000000000000000000 " ,
" 0x0000000000000000000000000000000000000000000000000000000000000001 " ,
" 0x000000000000000000000000000000000000000000000000000000000000004a " ,
" 0x000000000000000000000000000000000000000000000000000000000000004a " ,
" 0x0000000000000000000000000000000000000000000000000000000000000000 " ,
" 0x0000000000000000000000000000000000000000000000000000000000000000 " ,
" 0x0000000000000000000000000000000000000000000000000000000000000000 " ,
" 0x0000000000000000000000000000000000000000000000000000000000000000 " ,