Skip to content

Commit

Permalink
Fixes failing event_selector test.
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesduncombe committed Mar 28, 2024
1 parent 86bf808 commit 2dd50fb
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions test/tt_eth/contract_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,16 @@ defmodule TTEth.ContractTest do
|> TestToken.event_selector()
|> assert_equal(%ABI.FunctionSelector{
function: "Transfer",
input_names: ["from", "to", "value"],
method_id:
<<221, 242, 82, 173, 27, 226, 200, 155, 105, 194, 176, 104, 252, 55, 141, 170, 149, 43,
167, 241, 99, 196, 161, 22, 40, 245, 90, 77, 245, 35, 179, 239>>,
type: :event,
inputs_indexed: [true, true, false],
method_id: <<221, 242, 82, 173>>,
state_mutability: nil,
input_names: ["from", "to", "value"],
types: [:address, :address, {:uint, 256}],
returns: [],
type: :event,
types: [:address, :address, {:uint, 256}]
return_names: []
})
end
end
Expand Down

0 comments on commit 2dd50fb

Please sign in to comment.