|
|
@ -302,8 +302,7 @@ defmodule Explorer.SmartContract.ReaderTest do |
|
|
|
describe "link_outputs_and_values/2" do |
|
|
|
describe "link_outputs_and_values/2" do |
|
|
|
test "links the ABI outputs with the values retrieved from the blockchain" do |
|
|
|
test "links the ABI outputs with the values retrieved from the blockchain" do |
|
|
|
blockchain_values = %{ |
|
|
|
blockchain_values = %{ |
|
|
|
"getOwner" => |
|
|
|
"getOwner" => {:ok, "0x6937cb25eb54bc013b9c13c47ab38eb63edd1493"} |
|
|
|
{:ok, "0x6937cb25eb54bc013b9c13c47ab38eb63edd1493"} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
outputs = [%{"name" => "", "type" => "address"}] |
|
|
|
outputs = [%{"name" => "", "type" => "address"}] |
|
|
|