Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add create2 support to geth's js tracer #2388

Merged
merged 16 commits into from
Jul 25, 2019
Merged

add create2 support to geth's js tracer #2388

merged 16 commits into from
Jul 25, 2019

Conversation

ayrat555
Copy link
Contributor

fixes #2382

@coveralls
Copy link

coveralls commented Jul 19, 2019

Pull Request Test Coverage Report for Build bb681ff6-0b0b-48f2-88cc-d4f6b3ee3c56

  • 0 of 3 (0.0%) changed or added relevant lines in 2 files are covered.
  • 14 unchanged lines in 6 files lost coverage.
  • Overall coverage decreased (-0.3%) to 79.337%

Changes Missing Coverage Covered Lines Changed/Added Lines %
apps/block_scout_web/lib/block_scout_web/views/internal_transaction_view.ex 0 1 0.0%
apps/ethereum_jsonrpc/lib/ethereum_jsonrpc/geth/tracer.ex 0 2 0.0%
Files with Coverage Reduction New Missed Lines %
apps/indexer/lib/indexer/fetcher/token.ex 1 80.0%
apps/indexer/lib/indexer/fetcher/internal_transaction.ex 2 58.62%
apps/indexer/lib/indexer/fetcher/replaced_transaction.ex 2 90.91%
apps/indexer/lib/indexer/fetcher/token_balance.ex 2 87.88%
apps/indexer/lib/indexer/block/fetcher.ex 3 88.31%
apps/indexer/lib/indexer/block/catchup/fetcher.ex 4 69.23%
Totals Coverage Status
Change from base Build aea626b1-9589-49a7-80c9-a696e255b910: -0.3%
Covered Lines: 5145
Relevant Lines: 6485

💛 - Coveralls

Copy link
Member

@vbaranov vbaranov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

2019-07-19T16:17:49.864 fetcher=internal_transaction count=1 [error] Task #PID<0.6170.0> started from Indexer.Fetcher.InternalTransaction terminating
** (FunctionClauseError) no function clause matching in Explorer.Chain.InternalTransaction.type_changeset/3
    (explorer) lib/explorer/chain/internal_transaction.ex:378: Explorer.Chain.InternalTransaction.type_changeset(#Ecto.Changeset<action: nil, changes: %{type: :create2}, errors: [], data: #Explorer.Chain.InternalTransaction<>, valid?: true>, %{block_number: 712659, created_contract_address_hash: "0x0000000000001b84b1cb32787b0d64758d019317", created_contract_code: "0x6080604052600436106103365760003560e01c80636352211e116101b0578063a5f9392a116100ec578063c87b56dd11610095578063e5660ef21161006f578063e5660ef2146110df578063e985e9c514611109578063ec34225914611144578063edfe76711461117d57610336565b8063c87b56dd14611005578063c998d4861461102f578063cdcb760a1461106857610336565b8063aef4c0bb116100c6578063aef4c0bb14610ed4578063b768ba8b14610f08578063b88d4fde14610f3257610336565b8063a5f9392a14610e47578063ad2a84f914610e71578063ae4de7cc14610e9b57610336565b80637bde82f21161015957806395d89b411161013357806395d89b4114610d6f5780639b26f28814610d84578063a0fff8b814610db0578063a22cb46514610e0c57610336565b80637bde82f214610caa57806390897ed514610ce357806391c5434114610cf857610336565b806370a082311161018a57806370a0823114610bb157806378b286d214610be45780637bc28d3414610c7157610336565b80636352211e14610b13578063648bf77414610b3d578063688e3f5f14610b7857610336565b80631a56871f1161027f5780633a650c5111610228578063481996631161020257806348199663146109eb5780634f6ccce714610a3a578063532e043614610a645780635349091314610ae957610336565b80633a650c51146109455780633a8a4b121461097e57806342842e0e146109a857610336565b80632f745c59116102595780632f745c5914610852578063371fe1301461088b5780633824ea311461090857610336565b80631a56871f146106dd57806323b872dd1461072757806328cfbd461461076a57610336565b806306fdde03116102ec57806309f81a6f116102c657806309f81a6f1461061a57806311a850b51461067457806312212a3f1461069e57806318160ddd146106c857610336565b806306fdde031461052d578063081812fc146105b7578063095ea7b3146105e157610336565b806301ffc9a71161031d57806301ffc9a7146103aa578063034601ec1461040a578063069729a2146104a057610336565b801561033b578060091461035257806219190d14610383575b600080fd5b34801561034757600080fd5b506103506111a7565b005b34801561035e57600080fd5b506103676113af565b604080516001600160a01b039092168252519081900360200190f35b34801561038f57600080fd5b506103986113be565b60408051918252519081900360200190f35b3480156103b657600080fd5b506103f6600480360360208110156103cd57600080fd5b50357fffffffff00000000000000000000000000000000000000000000000000000000166113e2565b604080519115158252519081900360200190f35b34801561041657600080fd5b506103506004803603606081101561042d57600080fd5b6001600160a01b03823581169260208101359091169181019060608101604082013564010000000081111561046157600080fd5b82018360208201111561047357600080fd5b8035906020019184602083028401116401000000008311171561049557600080fd5b50909250905061141d565b3480156104ac57600080fd5b50610350600480360360408110156104c357600080fd5b6001600160a01b0382351691908101906040810160208201356401000000008111156104ee57600080fd5b82018360208201111561050057600080fd5b8035906020019184602083028401116401000000008311171561052257600080fd5b509092509050611459565b34801561053957600080fd5b5061054261155e565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561057c578181015183820152602001610564565b50505050905090810190601f1680156105a95780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156105c357600080fd5b50610367600480360360208110156105da57600080fd5b5035611596565b3480156105ed57600080fd5b506103506004803603604081101561060457600080fd5b506001600160a01b0381351690602001356115c6565b34801561062657600080fd5b5061064d6004803603602081101561063d57600080fd5b50356001600160a01b0316611680565b6040805193845260208401929092526001600160a01b031682820152519081900360600190f35b34801561068057600080fd5b506103506004803603602081101561069757600080fd5b50356116dd565b3480156106aa57600080fd5b50610398600480360360208110156106c157600080fd5b50356117e4565b3480156106d457600080fd5b506103986118e8565b3480156106e957600080fd5b506106f26118ee565b604080517fffffffffffffffffffffff0000000000000000000000000000000000000000009092168252519081900360200190f35b34801561073357600080fd5b506103506004803603606081101561074a57600080fd5b506001600160a01b03813581169160208101359091169060400135611912565b34801561077657600080fd5b506103506004803603608081101561078d57600080fd5b6001600160a01b0382358116926020810135909116918101906060810160408201356401000000008111156107c157600080fd5b8201836020820111156107d357600080fd5b803590602001918460208302840111640100000000831117156107f557600080fd5b919390929091602081" <> ..., from_address_hash: "0x07cf8f81852a58dd26fa19e69545f72e263347e5", gas: 4167882, gas_used: 154482, index: 1, init: "0x5859385958601c335a585952fa1582838382515af43d3d93833e601e57fd5bf3", trace_address: [0], transaction_hash: "0x69396eefe1d1023b1b2aa76c9a5428b811ffad817532882bbc07f6a2cfc773d0", transaction_index: 0, type: "create2", value: 0}, :create2)
    (elixir) lib/stream.ex:569: anonymous fn/4 in Stream.map/2
    (elixir) lib/enum.ex:3325: Enumerable.List.reduce/3
    (elixir) lib/stream.ex:1583: Enumerable.Stream.do_each/4
    (elixir) lib/enum.ex:3023: Enum.reduce/3
    (explorer) lib/explorer/chain/import.ex:156: Explorer.Chain.Import.runner_changes_list/2
    (elixir) lib/stream.ex:569: anonymous fn/4 in Stream.map/2
    (elixir) lib/enum.ex:3325: Enumerable.List.reduce/3
    (elixir) lib/stream.ex:1583: Enumerable.Stream.do_each/4
    (elixir) lib/enum.ex:3023: Enum.reduce/3
    (explorer) lib/explorer/chain/import.ex:124: Explorer.Chain.Import.all/1
    (indexer) lib/indexer/fetcher/internal_transaction.ex:192: Indexer.Fetcher.InternalTransaction.run/2
    (elixir) lib/task/supervised.ex:90: Task.Supervised.invoke_mfa/2
    (elixir) lib/task/supervised.ex:35: Task.Supervised.reply/5
    (stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
Function: &Indexer.BufferedTask.log_run/1
    Args: [%{batch: [{712659, <<105, 57, 110, 239, 225, 209, 2, 59, 27, 42, 167, 108, 154, 84, 40, 184, 17, 255, 173, 129, 117, 50, 136, 43, 188, 7, 246, 162, 207, 199, 115, 208>>, 0}], callback_module: Indexer.Fetcher.InternalTransaction, callback_module_state: [transport: EthereumJSONRPC.HTTP, transport_options: [http: EthereumJSONRPC.HTTP.HTTPoison, url: "http://xxx:8545", http_options: [recv_timeout: 600000, timeout: 600000, hackney: [pool: :ethereum_jsonrpc]]], variant: EthereumJSONRPC.Geth], metadata: [fetcher: :internal_transaction]}]

@ayrat555
Copy link
Contributor Author

@vbaranov fixed. Can you take a look one more time?

Copy link
Contributor

@saneery saneery left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@vbaranov vbaranov self-requested a review July 22, 2019 13:49
Copy link
Member

@vbaranov vbaranov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ayrat555

2019-07-22T16:48:41.227 [error] #PID<0.28631.0> running BlockScoutWeb.Endpoint (connection #PID<0.28610.0>, stream id 5) terminated
Server: localhost:4000 (http)
Request: GET /tx/0x69396eefe1d1023b1b2aa76c9a5428b811ffad817532882bbc07f6a2cfc773d0/internal_transactions?type=JSON
** (exit) an exception was raised:
    ** (FunctionClauseError) no function clause matching in BlockScoutWeb.InternalTransactionView.type/1
        (block_scout_web) lib/block_scout_web/views/internal_transaction_view.ex:21: BlockScoutWeb.InternalTransactionView.type(%Explorer.Chain.InternalTransaction{__meta__: #Ecto.Schema.Metadata<:loaded, "internal_transactions">, block_number: 712659, call_type: nil, created_contract_address: %Explorer.Chain.Address{__meta__: #Ecto.Schema.Metadata<:loaded, "addresses">, contract_code: %Explorer.Chain.Data{bytes: <<96, 128, 96, 64, 82, 96, 4, 54, 16, 97, 3, 54, 87, 96, 0, 53, 96, 224, 28, 128, 99, 99, 82, 33, 30, 17, 97, 1, 176, 87, 128, 99, 165, 249, 57, 42, 17, 97, 0, 236, 87, 128, 99, ...>>}, contracts_creation_internal_transaction: #Ecto.Association.NotLoaded<association :contracts_creation_internal_transaction is not loaded>, contracts_creation_transaction: #Ecto.Association.NotLoaded<association :contracts_creation_transaction is not loaded>, decompiled: false, decompiled_smart_contracts: #Ecto.Association.NotLoaded<association :decompiled_smart_contracts is not loaded>, fetched_coin_balance: #Explorer.Chain.Wei<0>, fetched_coin_balance_block_number: 712659, has_decompiled_code?: nil, hash: %Explorer.Chain.Hash{byte_count: 20, bytes: <<0, 0, 0, 0, 0, 0, 27, 132, 177, 203, 50, 120, 123, 13, 100, 117, 141, 1, 147, 23>>}, inserted_at: ~U[2019-07-22 13:47:34.893026Z], names: [], nonce: nil, smart_contract: #Ecto.Association.NotLoaded<association :smart_contract is not loaded>, stale?: nil, token: #Ecto.Association.NotLoaded<association :token is not loaded>, updated_at: ~U[2019-07-22 13:47:34.893026Z], verified: false}, created_contract_address_hash: %Explorer.Chain.Hash{byte_count: 20, bytes: <<0, 0, 0, 0, 0, 0, 27, 132, 177, 203, 50, 120, 123, 13, 100, 117, 141, 1, 147, 23>>}, created_contract_code: %Explorer.Chain.Data{bytes: <<96, 128, 96, 64, 82, 96, 4, 54, 16, 97, 3, 54, 87, 96, 0, 53, 96, 224, 28, 128, 99, 99, 82, 33, 30, 17, 97, 1, 176, 87, 128, 99, 165, 249, 57, 42, 17, 97, 0, 236, 87, 128, 99, ...>>}, error: nil, from_address: %Explorer.Chain.Address{__meta__: #Ecto.Schema.Metadata<:loaded, "addresses">, contract_code: nil, contracts_creation_internal_transaction: #Ecto.Association.NotLoaded<association :contracts_creation_internal_transaction is not loaded>, contracts_creation_transaction: #Ecto.Association.NotLoaded<association :contracts_creation_transaction is not loaded>, decompiled: false, decompiled_smart_contracts: #Ecto.Association.NotLoaded<association :decompiled_smart_contracts is not loaded>, fetched_coin_balance: #Explorer.Chain.Wei<0>, fetched_coin_balance_block_number: 712659, has_decompiled_code?: nil, hash: %Explorer.Chain.Hash{byte_count: 20, bytes: <<7, 207, 143, 129, 133, 42, 88, 221, 38, 250, 25, 230, 149, 69, 247, 46, 38, 51, 71, 229>>}, inserted_at: ~U[2019-07-22 12:20:44.328467Z], names: [], nonce: nil, smart_contract: #Ecto.Association.NotLoaded<association :smart_contract is not loaded>, stale?: nil, token: #Ecto.Association.NotLoaded<association :token is not loaded>, updated_at: ~U[2019-07-22 12:20:44.328467Z], verified: false}, from_address_hash: %Explorer.Chain.Hash{byte_count: 20, bytes: <<7, 207, 143, 129, 133, 42, 88, 221, 38, 250, 25, 230, 149, 69, 247, 46, 38, 51, 71, 229>>}, gas: #Decimal<4167882>, gas_used: #Decimal<154482>, index: 1, init: %Explorer.Chain.Data{bytes: <<88, 89, 56, 89, 88, 96, 28, 51, 90, 88, 89, 82, 250, 21, 130, 131, 131, 130, 81, 90, 244, 61, 61, 147, 131, 62, 96, 30, 87, 253, 91, 243>>}, input: nil, inserted_at: ~U[2019-07-22 13:47:34.893026Z], output: nil, to_address: nil, to_address_hash: nil, trace_address: [0], transaction: %Explorer.Chain.Transaction{input: %Explorer.Chain.Data{bytes: <<217, 106, 133, 46, 72, 111, 109, 101, 87, 111, 114, 107, 32, 240, 159, 143, 160, 240, 159, 155, 160, 239, 184, 143, 170, 60, 84, 138, ...>>}, forks: #Ecto.Association.NotLoaded<association :forks is not loaded>, to_address: #Ecto.Association.NotLoaded<association :to_address is not loaded>, internal_transactions: #Ecto.Association.NotLoaded<association :internal_transactions is not loaded>, created_contract_address: #Ecto.Association.NotLoaded<association :created_contract_address is not loaded>, block_number: 712659, s: #Decimal<22783633283122023379135520290758240917504798349029488798832684515942844768620>, r: #Decimal<9758761006292917659238170861513197078295283457347814213970154466559679570480>, internal_transactions_indexed_at: ~U[2019-07-22 13:47:34.893026Z], value: #Explorer.Chain.Wei<0>, from_address: #Ecto.Association.NotLoaded<association :from_address is not loaded>, gas_used: #Decimal<4235452>, from_address_hash: %Explorer.Chain.Hash{byte_count: 20, bytes: <<185, 111, 229, 30, 42, 181, 66, 165, 251, 152, 254, 119, 24, 208, 227, ...>>}, gas: #Decimal<4289777>, block_hash: %Explorer.Chain.Hash{byte_count: 32, bytes: <<109, 246, 31, 32, 148, 62, 120, 160, 108, 59, 134, 189, 119, ...>>}, __meta__: #Ecto.Schema.Metadata<:loaded, "transactions">, created_contract_address_hash: nil, updated_at: ~U[2019-07-22 12:20:44.328467Z], error: nil, inserted_at: ~U[2019-07-22 12:20:44.328467Z], to_address_hash: %Explorer.Chain.Hash{byte_count: 20, bytes: <<7, 207, 143, 129, 133, 42, 88, ...>>}, gas_price: #Explorer.Chain.Wei<100000000>, earliest_processing_start: nil, created_contract_code_indexed_at: nil, nonce: 3, status: :ok, logs: #Ecto.Association.NotLoaded<association :logs is not loaded>, cumulative_gas_used: #Decimal<4235452>, uncles: #Ecto.Association.NotLoaded<association :uncles is not loaded>, v: #Decimal<45>, ...}, transaction_hash: %Explorer.Chain.Hash{byte_count: 32, bytes: <<105, 57, 110, 239, 225, 209, 2, 59, 27, 42, 167, 108, 154, 84, 40, 184, 17, 255, 173, 129, 117, 50, 136, 43, 188, 7, 246, ...>>}, transaction_index: 0, type: :create2, updated_at: ~U[2019-07-22 13:47:34.893026Z], value: #Explorer.Chain.Wei<0>})
        (block_scout_web) lib/block_scout_web/templates/internal_transaction/_tile.html.eex:8: BlockScoutWeb.InternalTransactionView."_tile.html"/1
        (phoenix) lib/phoenix/view.ex:399: Phoenix.View.render_to_iodata/3
        (phoenix) lib/phoenix/view.ex:406: Phoenix.View.render_to_string/3
        (elixir) lib/enum.ex:1336: Enum."-map/2-lists^map/1-0-"/2
        (elixir) lib/enum.ex:1336: Enum."-map/2-lists^map/1-0-"/2
        (block_scout_web) lib/block_scout_web/controllers/transaction_internal_transaction_controller.ex:47: BlockScoutWeb.TransactionInternalTransactionController.index/2
        (block_scout_web) lib/block_scout_web/controllers/transaction_internal_transaction_controller.ex:1: BlockScoutWeb.TransactionInternalTransactionController.action/2
        (block_scout_web) lib/block_scout_web/controllers/transaction_internal_transaction_controller.ex:1: BlockScoutWeb.TransactionInternalTransactionController.phoenix_controller_pipeline/2
        (block_scout_web) lib/block_scout_web/endpoint.ex:1: BlockScoutWeb.Endpoint.instrument/4
        (phoenix) lib/phoenix/router.ex:275: Phoenix.Router.__call__/1
        (block_scout_web) lib/block_scout_web/endpoint.ex:1: BlockScoutWeb.Endpoint.plug_builder_call/2
        (block_scout_web) lib/plug/debugger.ex:122: BlockScoutWeb.Endpoint."call (overridable 3)"/2
        (block_scout_web) lib/block_scout_web/endpoint.ex:1: BlockScoutWeb.Endpoint."call (overridable 4)"/2
        (block_scout_web) lib/spandex_phoenix.ex:156: BlockScoutWeb.Endpoint.call/2
        (phoenix) lib/phoenix/endpoint/cowboy2_handler.ex:34: Phoenix.Endpoint.Cowboy2Handler.init/2
        (cowboy) /Users/viktor/Documents/POANetwork/blockscout/deps/cowboy/src/cowboy_handler.erl:41: :cowboy_handler.execute/2
        (cowboy) /Users/viktor/Documents/POANetwork/blockscout/deps/cowboy/src/cowboy_stream_h.erl:296: :cowboy_stream_h.execute/3
        (cowboy) /Users/vikto (truncated)

In the internal_transactions table of the DB, I see this picture (the result in the attache archive):

SELECT call_type, created_contract_code, error, gas, gas_used, index, init, input, output, trace_address, type, value, inserted_at, updated_at, created_contract_address_hash, from_address_hash, to_address_hash, transaction_hash, block_number, transaction_index
	FROM public.internal_transactions where transaction_hash='\x69396eefe1d1023b1b2aa76c9a5428b811ffad817532882bbc07f6a2cfc773d0';

data-1563803624941.csv.zip

Were you able to index that tx on Goerli instance?

@vbaranov vbaranov self-requested a review July 22, 2019 14:57
Copy link
Member

@vbaranov vbaranov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ayrat555

Goerli: /tx/0x69396eefe1d1023b1b2aa76c9a5428b811ffad817532882bbc07f6a2cfc773d0/internal_transactions

Raw trace view doesn't support this type of internal transaction:

2019-07-22T17:56:34.076 [error] #PID<0.32061.0> running BlockScoutWeb.Endpoint (connection #PID<0.32059.0>, stream id 1) terminated
Server: localhost:4000 (http)
Request: GET /tx/0x69396eefe1d1023b1b2aa76c9a5428b811ffad817532882bbc07f6a2cfc773d0/raw_trace
** (exit) an exception was raised:
    ** (FunctionClauseError) no function clause matching in Explorer.Chain.InternalTransaction.internal_transaction_to_raw/1
        (explorer) lib/explorer/chain/internal_transaction.ex:512: Explorer.Chain.InternalTransaction.internal_transaction_to_raw(%Explorer.Chain.InternalTransaction{__meta__: #Ecto.Schema.Metadata<:loaded, "internal_transactions">, block_number: 712659, call_type: nil, created_contract_address: #Ecto.Association.NotLoaded<association :created_contract_address is not loaded>, created_contract_address_hash: %Explorer.Chain.Hash{byte_count: 20, bytes: <<0, 0, 0, 0, 0, 0, 27, 132, 177, 203, 50, 120, 123, 13, 100, 117, 141, 1, 147, 23>>}, created_contract_code: %Explorer.Chain.Data{bytes: <<96, 128, 96, 64, 82, 96, 4, 54, 16, 97, 3, 54, 87, 96, 0, 53, 96, 224, 28, 128, 99, 99, 82, 33, 30, 17, 97, 1, 176, 87, 128, 99, 165, 249, 57, 42, 17, 97, 0, 236, 87, 128, 99, ...>>}, error: nil, from_address: #Ecto.Association.NotLoaded<association :from_address is not loaded>, from_address_hash: %Explorer.Chain.Hash{byte_count: 20, bytes: <<7, 207, 143, 129, 133, 42, 88, 221, 38, 250, 25, 230, 149, 69, 247, 46, 38, 51, 71, 229>>}, gas: #Decimal<4167882>, gas_used: #Decimal<154482>, index: 1, init: %Explorer.Chain.Data{bytes: <<88, 89, 56, 89, 88, 96, 28, 51, 90, 88, 89, 82, 250, 21, 130, 131, 131, 130, 81, 90, 244, 61, 61, 147, 131, 62, 96, 30, 87, 253, 91, 243>>}, input: nil, inserted_at: ~U[2019-07-22 13:47:34.893026Z], output: nil, to_address: #Ecto.Association.NotLoaded<association :to_address is not loaded>, to_address_hash: nil, trace_address: [0], transaction: %Explorer.Chain.Transaction{input: %Explorer.Chain.Data{bytes: <<217, 106, 133, 46, 72, 111, 109, 101, 87, 111, 114, 107, 32, 240, 159, 143, 160, 240, 159, 155, 160, 239, 184, 143, 170, 60, 84, 138, ...>>}, to_address: #Ecto.Association.NotLoaded<association :to_address is not loaded>, gas_used: #Decimal<4235452>, created_contract_code_indexed_at: nil, gas_price: #Explorer.Chain.Wei<100000000>, earliest_processing_start: nil, to_address_hash: %Explorer.Chain.Hash{byte_count: 20, bytes: <<7, 207, 143, 129, 133, 42, 88, 221, 38, 250, 25, 230, 149, 69, 247, 46, 38, 51, 71, 229>>}, block_number: 712659, s: #Decimal<22783633283122023379135520290758240917504798349029488798832684515942844768620>, uncles: #Ecto.Association.NotLoaded<association :uncles is not loaded>, forks: #Ecto.Association.NotLoaded<association :forks is not loaded>, r: #Decimal<9758761006292917659238170861513197078295283457347814213970154466559679570480>, updated_at: ~U[2019-07-22 12:20:44.328467Z], value: #Explorer.Chain.Wei<0>, created_contract_address: #Ecto.Association.NotLoaded<association :created_contract_address is not loaded>, old_block_hash: nil, gas: #Decimal<4289777>, block_hash: %Explorer.Chain.Hash{byte_count: 32, bytes: <<109, 246, 31, 32, 148, 62, 120, 160, 108, 59, ...>>}, error: nil, internal_transactions: #Ecto.Association.NotLoaded<association :internal_transactions is not loaded>, logs: #Ecto.Association.NotLoaded<association :logs is not loaded>, status: :ok, token_transfers: #Ecto.Association.NotLoaded<association :token_transfers is not loaded>, internal_transactions_indexed_at: ~U[2019-07-22 13:47:34.893026Z], cumulative_gas_used: #Decimal<4235452>, from_address: #Ecto.Association.NotLoaded<association :from_address is not loaded>, v: #Decimal<45>, nonce: 3, from_address_hash: %Explorer.Chain.Hash{byte_count: 20, ...}, created_contract_address_hash: nil, ...}, transaction_hash: %Explorer.Chain.Hash{byte_count: 32, bytes: <<105, 57, 110, 239, 225, 209, 2, 59, 27, 42, 167, 108, 154, 84, 40, 184, 17, 255, 173, 129, 117, 50, 136, 43, 188, 7, 246, ...>>}, transaction_index: 0, type: :create2, updated_at: ~U[2019-07-22 13:47:34.893026Z], value: #Explorer.Chain.Wei<0>})
        (elixir) lib/enum.ex:1336: Enum."-map/2-lists^map/1-0-"/2
        (elixir) lib/enum.ex:1336: Enum."-map/2-lists^map/1-0-"/2
        (explorer) lib/explorer/chain/internal_transaction.ex:508: Explorer.Chain.InternalTransaction.internal_transactions_to_raw/1
        (block_scout_web) lib/block_scout_web/views/transaction_raw_trace_view.ex:13: BlockScoutWeb.TransactionRawTraceView.raw_traces_with_lines/1
        (block_scout_web) lib/block_scout_web/templates/transaction_raw_trace/index.html.eex:9: BlockScoutWeb.TransactionRawTraceView."index.html"/1
        (block_scout_web) lib/block_scout_web/templates/layout/app.html.eex:43: BlockScoutWeb.LayoutView."app.html"/1
        (phoenix) lib/phoenix/view.ex:399: Phoenix.View.render_to_iodata/3
        (phoenix) lib/phoenix/controller.ex:729: Phoenix.Controller.__put_render__/5
        (block_scout_web) lib/block_scout_web/endpoint.ex:1: BlockScoutWeb.Endpoint.instrument/4
        (phoenix) lib/phoenix/controller.ex:746: Phoenix.Controller.instrument_render_and_send/4
        (block_scout_web) lib/block_scout_web/controllers/transaction_raw_trace_controller.ex:1: BlockScoutWeb.TransactionRawTraceController.action/2
        (block_scout_web) lib/block_scout_web/controllers/transaction_raw_trace_controller.ex:1: BlockScoutWeb.TransactionRawTraceController.phoenix_controller_pipeline/2
        (block_scout_web) lib/block_scout_web/endpoint.ex:1: BlockScoutWeb.Endpoint.instrument/4
        (phoenix) lib/phoenix/router.ex:275: Phoenix.Router.__call__/1
        (block_scout_web) lib/block_scout_web/endpoint.ex:1: BlockScoutWeb.Endpoint.plug_builder_call/2
        (block_scout_web) lib/plug/debugger.ex:122: BlockScoutWeb.Endpoint."call (overridable 3)"/2
        (block_scout_web) lib/block_scout_web/endpoint.ex:1: BlockScoutWeb.Endpoint."call (overridable 4)"/2
        (block_scout_web) lib/spandex_phoenix.ex:156: BlockScoutWeb.Endpoint.call/2
        (phoenix) lib/phoenix/endpoint/cowboy2_handler.ex:34: Phoenix.Endpoint.Cowboy2Handler.init/2

Could you test locally with this tx? Maybe some other views don't support it too.

Also, I noticed that this tx has only 3 internal transactions. Please, check the node tx trace:

{  
   "jsonrpc":"2.0",
   "id":1,
   "result":{  
      "type":"CALL",
      "from":"0xb96fe51e2ab542a5fb98fe7718d0e35013026e76",
      "to":"0x07cf8f81852a58dd26fa19e69545f72e263347e5",
      "value":"0x0",
      "gas":"0x411a19",
      "gasUsed":"0x40807c",
      "input":"0xd96a852e486f6d65576f726b20f09f8fa0f09f9ba0efb88faa3c548a76f9bd3c000c0000",
      "output":"0x",
      "time":"16.527045ms",
      "calls":[  
         {  
            "type":"CREATE2",
            "from":"0x07cf8f81852a58dd26fa19e69545f72e263347e5",
            "to":"0x0000000000001b84b1cb32787b0d64758d019317",
            "value":"0x0",
            "gas":"0x3f98ca",
            "gasUsed":"0x3f98ca",
            "input":"0x5859385958601c335a585952fa1582838382515af43d3d93833e601e57fd5bf3",
            "output":"0x6080604052600436106103365760003560e01c80636352211e116101b0578063a5f9392a116100ec578063c87b56dd11610095578063e5660ef21161006f578063e5660ef2146110df578063e985e9c514611109578063ec34225914611144578063edfe76711461117d57610336565b8063c87b56dd14611005578063c998d4861461102f578063cdcb760a1461106857610336565b8063aef4c0bb116100c6578063aef4c0bb14610ed4578063b768ba8b14610f08578063b88d4fde14610f3257610336565b8063a5f9392a14610e47578063ad2a84f914610e71578063ae4de7cc14610e9b57610336565b80637bde82f21161015957806395d89b411161013357806395d89b4114610d6f5780639b26f28814610d84578063a0fff8b814610db0578063a22cb46514610e0c57610336565b80637bde82f214610caa57806390897ed514610ce357806391c5434114610cf857610336565b806370a082311161018a57806370a0823114610bb157806378b286d214610be45780637bc28d3414610c7157610336565b80636352211e14610b13578063648bf77414610b3d578063688e3f5f14610b7857610336565b80631a56871f1161027f5780633a650c5111610228578063481996631161020257806348199663146109eb5780634f6ccce714610a3a578063532e043614610a645780635349091314610ae957610336565b80633a650c51146109455780633a8a4b121461097e57806342842e0e146109a857610336565b80632f745c59116102595780632f745c5914610852578063371fe1301461088b5780633824ea311461090857610336565b80631a56871f146106dd57806323b872dd1461072757806328cfbd461461076a57610336565b806306fdde03116102ec57806309f81a6f116102c657806309f81a6f1461061a57806311a850b51461067457806312212a3f1461069e57806318160ddd146106c857610336565b806306fdde031461052d578063081812fc146105b7578063095ea7b3146105e157610336565b806301ffc9a71161031d57806301ffc9a7146103aa578063034601ec1461040a578063069729a2146104a057610336565b801561033b578060091461035257806219190d14610383575b600080fd5b34801561034757600080fd5b506103506111a7565b005b34801561035e57600080fd5b506103676113af565b604080516001600160a01b039092168252519081900360200190f35b34801561038f57600080fd5b506103986113be565b60408051918252519081900360200190f35b3480156103b657600080fd5b506103f6600480360360208110156103cd57600080fd5b50357fffffffff00000000000000000000000000000000000000000000000000000000166113e2565b604080519115158252519081900360200190f35b34801561041657600080fd5b506103506004803603606081101561042d57600080fd5b6001600160a01b03823581169260208101359091169181019060608101604082013564010000000081111561046157600080fd5b82018360208201111561047357600080fd5b8035906020019184602083028401116401000000008311171561049557600080fd5b50909250905061141d565b3480156104ac57600080fd5b50610350600480360360408110156104c357600080fd5b6001600160a01b0382351691908101906040810160208201356401000000008111156104ee57600080fd5b82018360208201111561050057600080fd5b8035906020019184602083028401116401000000008311171561052257600080fd5b509092509050611459565b34801561053957600080fd5b5061054261155e565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561057c578181015183820152602001610564565b50505050905090810190601f1680156105a95780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156105c357600080fd5b50610367600480360360208110156105da57600080fd5b5035611596565b3480156105ed57600080fd5b506103506004803603604081101561060457600080fd5b506001600160a01b0381351690602001356115c6565b34801561062657600080fd5b5061064d6004803603602081101561063d57600080fd5b50356001600160a01b0316611680565b6040805193845260208401929092526001600160a01b031682820152519081900360600190f35b34801561068057600080fd5b506103506004803603602081101561069757600080fd5b50356116dd565b3480156106aa57600080fd5b50610398600480360360208110156106c157600080fd5b50356117e4565b3480156106d457600080fd5b506103986118e8565b3480156106e957600080fd5b506106f26118ee565b604080517fffffffffffffffffffffff0000000000000000000000000000000000000000009092168252519081900360200190f35b34801561073357600080fd5b506103506004803603606081101561074a57600080fd5b506001600160a01b03813581169160208101359091169060400135611912565b34801561077657600080fd5b506103506004803603608081101561078d57600080fd5b6001600160a01b0382358116926020810135909116918101906060810160408201356401000000008111156107c157600080fd5b8201836020820111156107d357600080fd5b803590602001918460208302840111640100000000831117156107f557600080fd5b91939092909160208101903564010000000081111561081357600080fd5b82018360208201111561082557600080fd5b8035906020019184600183028401116401000000008311171561084757600080fd5b509092509050611935565b34801561085e57600080fd5b506103986004803603604081101561087557600080fd5b506001600160a01b0381351690602001356119aa565b34801561089757600080fd5b50610367600480360360208110156108ae57600080fd5b8101906020810181356401000000008111156108c957600080fd5b8201836020820111156108db57600080fd5b803590602001918460018302840111640100000000831117156108fd57600080fd5b509092509050611a29565b34801561091457600080fd5b5061091d611aad565b604080516001600160a01b039094168452602084019290925282820152519081900360600190f35b34801561095157600080fd5b506103986004803603604081101561096857600080fd5b50803590602001356001600160a01b0316611ad6565b34801561098a57600080fd5b50610350600480360360208110156109a157600080fd5b5035611ae2565b3480156109b457600080fd5b50610350600480360360608110156109cb57600080fd5b506001600160a01b03813581169160208101359091169060400135611b0d565b610a1760048036036040811015610a0157600080fd5b50803590602001356001600160a01b0316611b28565b604080516001600160a01b03909316835260208301919091528051918290030190f35b348015610a4657600080fd5b5061039860048036036020811015610a5d57600080fd5b5035611d44565b610a1760048036036060811015610a7a57600080fd5b8135916001600160a01b0360208201351691810190606081016040820135640100000000811115610aaa57600080fd5b820183602082011115610abc57600080fd5b80359060200191846001830284011164010000000083111715610ade57600080fd5b509092509050611daa565b348015610af557600080fd5b506103f660048036036020811015610b0c57600080fd5b5035611fbb565b348015610b1f57600080fd5b5061036760048036036020811015610b3657600080fd5b5035611ff4565b348015610b4957600080fd5b5061035060048036036040811015610b6057600080fd5b506001600160a01b038135811691602001351661201c565b348015610b8457600080fd5b5061035060048036036040811015610b9b57600080fd5b50803590602001356001600160a01b03166121d5565b348015610bbd57600080fd5b5061039860048036036020811015610bd457600080fd5b50356001600160a01b031661234a565b348015610bf057600080fd5b5061035060048036036040811015610c0757600080fd5b6001600160a01b038235169190810190604081016020820135640100000000811115610c3257600080fd5b820183602082011115610c4457600080fd5b80359060200191846020830284011164010000000083111715610c6657600080fd5b509092509050612380565b348015610c7d57600080fd5b5061035060048036036040811015610c9457600080fd5b50803590602001356001600160a01b0316612490565b348015610cb657600080fd5b5061035060048036036040811015610ccd57600080fd5b50803590602001356001600160a01b031661259a565b348015610cef57600080fd5b5061039861266f565b61091d60048036036040811015610d0e57600080fd5b81359190810190604081016020820135640100000000811115610d3057600080fd5b820183602082011115610d4257600080fd5b80359060200191846001830284011164010000000083111715610d6457600080fd5b509092509050612693565b348015610d7b57600080fd5b50610542612792565b61091d60048036036040811015610d9a57600080fd5b50803590602001356001600160a01b03166127c9565b348015610dbc57600080fd5b50610dda60048036036020811015610dd357600080fd5b5035612820565b604080516001600160a01b03958616815293909416602084015282840191909152606082015290519081900360800190f35b348015610e1857600080fd5b5061035060048036036040811015610e2f57600080fd5b506001600160a01b03813516906020013515156128d8565b348015610e5357600080fd5b5061035060048036036020811015610e6a57600080fd5b503561295c565b348015610e7d57600080fd5b5061035060048036036020811015610e9457600080fd5b50356129d1565b348015610ea757600080fd5b5061035060048036036040811015610ebe57600080fd5b50803590602001356001600160a01b0316612abb565b610a1760048036036060811015610eea57600080fd5b508035906001600160a01b0360208201358116916040013516612b52565b348015610f1457600080fd5b5061036760048036036020811015610f2b57600080fd5b5035612cc3565b348015610f3e57600080fd5b5061035060048036036080811015610f5557600080fd5b6001600160a01b03823581169260208101359091169160408201359190810190608081016060820135640100000000811115610f9057600080fd5b820183602082011115610fa257600080fd5b80359060200191846001830284011164010000000083111715610fc457600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550612cce945050505050565b34801561101157600080fd5b506105426004803603602081101561102857600080fd5b5035612cee565b34801561103b57600080fd5b506103986004803603604081101561105257600080fd5b50803590602001356001600160a01b0316612ea9565b610a176004803603604081101561107e57600080fd5b813591908101906040810160208201356401000000008111156110a057600080fd5b8201836020820111156110b257600080fd5b803590602001918460018302840111640100000000831117156110d457600080fd5b509092509050613034565b3480156110eb57600080fd5b506103986004803603602081101561110257600080fd5b50356132ea565b34801561111557600080fd5b506103f66004803603604081101561112c57600080fd5b506001600160a01b038135811691602001351661337f565b34801561115057600080fd5b506103986004803603604081101561116757600080fd5b50803590602001356001600160a01b03166133ad565b34801561118957600080fd5b506103f6600480360360208110156111a057600080fd5b50356134ce565b60043560601c600c7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe83601046000805b828110156113a957600c81026018013560a01c3360601b0191506111fa826134d5565b604051806080016040528060428152602001614ac9604291399061129c5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611261578181015183820152602001611249565b50505050905090810190601f16801561128e5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000828152600b60205260409020805460ff161561132f578054604080516060810190915260368082526101009092046001600160a01b0316331491614cc660208301399061132d5760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315611261578181015183820152602001611249565b505b805430610100810274ffffffffffffffffffffffffffffffffffffffff001960ff1990931660011792909216919091178255604080519182525184917fe5108446a6097aab57fd36f346a515a78fddefa87d81662d44e0d7a463f92095919081900360200190a26113a085846136cf565b506001016111d7565b50505050565b6009546001600160a01b031690565b7f5859385958601c335a585952fa1582838382515af43d3d93833e601e57fd5bf390565b7fffffffff00000000000000000000000000000000000000000000000000000000811660009081526020819052604090205460ff165b919050565b6000805b828110156114515783838281811061143557fe5b905060200201359150611449868684611b0d565b600101611421565b505050505050565b6000811561147e5761147e848484600081811061147257fe5b905060200201356136ec565b60005b828110156115575783838281811061149557fe5b9050602002013591506114a7826134d5565b6114b05761154f565b336114ba83613746565b6001600160a01b0316146114cd5761154f565b6000828152600b60209081526040918290208054600160ff199091161774ffffffffffffffffffffffffffffffffffffffff0019166101003090810291909117825583519081529251909285927fe5108446a6097aab57fd36f346a515a78fddefa87d81662d44e0d7a463f9209592918290030190a261154d86846136cf565b505b600101611481565b5050505050565b60408051808201909152601481527f486f6d65576f726b20f09f8fa0f09f9ba0efb88f00000000000000000000000060208201525b90565b60006115a1826137d1565b6115aa57600080fd5b506000908152600260205260409020546001600160a01b031690565b60006115d182611ff4565b9050806001600160a01b0316836001600160a01b031614156115f257600080fd5b336001600160a01b038216148061160e575061160e813361337f565b61161757600080fd5b600082815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600080600061168d6149bd565b5050506001600160a01b039182166000908152600c602090815260409182902082516060810184528154808252600183015493820184905260029092015490951694909201849052909390929150565b33606082901c1461171f5760405162461bcd60e51b8152600401808060200182810382526047815260200180614c7f6047913960600191505060405180910390fd5b600061172c600a546137ee565b90506000611739836137ee565b9050816001600160a01b0316816001600160a01b03161061178b5760405162461bcd60e51b815260040180806020018281038252603f815260200180614b8c603f913960400191505060405180910390fd5b600a839055604080518481523360208201526001600160a01b036000198490031681830181905291517f3b058e02547d0593bae2103531327f2f58c0bda5a67b14c5a578755e247344369181900360600190a150505050565b60006117f08233613868565b6000818152600b6020526040902080549192509060ff1615611886578054604080516060810190915260368082526101009092046001600160a01b0316331491614cc66020830139906118845760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315611261578181015183820152602001611249565b505b805474ffffffffffffffffffffffffffffffffffffffff001960ff199091166001171681556040805160008152905183917fe5108446a6097aab57fd36f346a515a78fddefa87d81662d44e0d7a463f92095919081900360200190a250919050565b60075490565b7f600b5981380380925939f300000000000000000000000000000000000000000090565b61191c33826138ba565b61192557600080fd5b611930838383613919565b505050565b6000805b848110156119a05785858281811061194d57fe5b90506020020135915061199888888487878080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250612cce92505050565b600101611939565b5050505050505050565b60006119b58361234a565b82106119f25760405162461bcd60e51b815260040180806020018281038252602b815260200180614a5b602b913960400191505060405180910390fd5b6001600160a01b0383166000908152600560205260409020805483908110611a1657fe5b9060005260206000200154905092915050565b600081611a675760405162461bcd60e51b8152600401808060200182810382526021815260200180614a3a6021913960400191505060405180910390fd5b611aa683838080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061393892505050565b9392505050565b600a54606081901c90600090611ac2816137ee565b600019036001600160a01b03169150909192565b6000611aa68383613868565b80600c6000611af0846137ee565b6001600160a01b0316815260208101919091526040016000205550565b61193083838360405180602001604052806000815250612cce565b60008083611b35816134d5565b604051806080016040528060428152602001614ac96042913990611b9a5760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315611261578181015183820152602001611249565b506000858152600b60205260409020805486919060ff16611c3557805474ffffffffffffffffffffffffffffffffffffffffff600160ff19909216821774ffffffffffffffffffffffffffffffffffffffff001916610100606086901c02179081167501000000000000000000000000000000000000000000918290046affffffffffffffffffffff90811690930190921602178155611c83565b80546affffffffffffffffffffff750100000000000000000000000000000000000000000080830482166001019091160274ffffffffffffffffffffffffffffffffffffffffff9091161781555b8054604080516060810190915260368082526101009092046001600160a01b0316331491614cc6602083013990611cfb5760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315611261578181015183820152602001611249565b50611d0586613a67565b6009805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b038816179055611d3687613ab7565b909890975095505050505050565b6000611d4e6118e8565b8210611d8b5760405162461bcd60e51b815260040180806020018281038252602c815260200180614d42602c913960400191505060405180910390fd5b60078281548110611d9857fe5b90600052602060002001549050919050565b60008085611db833826138ba565b611df35760405162461bcd60e51b8152600401808060200182810382526043815260200180614b496043913960600191505060405180910390fd5b600085859050116040518060600160405280603e8152602001614b0b603e913990611e5f5760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315611261578181015183820152602001611249565b5086611e6b8782613b63565b611e7488613c49565b611eb386868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061393892505050565b6009805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b039283161790556000828152600b6020908152604091829020805474ffffffffffffffffffffffffffffffffffffffffff60ff19909116600190811774ffffffffffffffffffffffffffffffffffffffff001916610100968e16968702179182167501000000000000000000000000000000000000000000928390046affffffffffffffffffffff90811690920190911690910217815582519384529151919284927fe5108446a6097aab57fd36f346a515a78fddefa87d81662d44e0d7a463f92095929181900390910190a2611fab82613ab7565b909a909950975050505050505050565b6000908152600b6020526040902054750100000000000000000000000000000000000000000090046affffffffffffffffffffff161590565b6000818152600160205260408120546001600160a01b03168061201657600080fd5b92915050565b600a5460601c331461205f5760405162461bcd60e51b8152600401808060200182810382526036815260200180614c206036913960400191505060405180910390fd5b6001600160a01b0382166120a9576040516001600160a01b03821690303180156108fc02916000818181858888f193505050501580156120a3573d6000803e3d6000fd5b506121d1565b604080517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015290516000916001600160a01b038516916370a0823191602480820192602092909190829003018186803b15801561210c57600080fd5b505afa158015612120573d6000803e3d6000fd5b505050506040513d602081101561213657600080fd5b5051604080517fa9059cbb0000000000000000000000000000000000000000000000000000000081526001600160a01b0385811660048301526024820184905291519293509085169163a9059cbb916044808201926020929091908290030181600087803b1580156121a757600080fd5b505af11580156121bb573d6000803e3d6000fd5b505050506040513d602081101561155757600080fd5b5050565b816121df816134d5565b604051806080016040528060428152602001614ac960429139906122445760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315611261578181015183820152602001611249565b50823361225082613746565b6001600160a01b031614604051806060016040528060368152602001614cc660369139906122bf5760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315611261578181015183820152602001611249565b506122ca83856136ec565b6000848152600b60209081526040918290208054600160ff199091161774ffffffffffffffffffffffffffffffffffffffff0019166101003090810291909117825583519081529251909287927fe5108446a6097aab57fd36f346a515a78fddefa87d81662d44e0d7a463f9209592918290030190a261155784866136cf565b60006001600160a01b03821661235f57600080fd5b6001600160a01b038216600090815260036020526040902061201690613c5b565b600081156123ae576123ae846123a98585600081811061239c57fe5b9050602002013533613868565b6136ec565b60005b82811015611557576123c884848381811061239c57fe5b91506123d3826134d5565b6123dc57612488565b6000828152600b60205260409020805460ff16801561240a5750805461010090046001600160a01b03163314155b156124155750612488565b805430610100810274ffffffffffffffffffffffffffffffffffffffff001960ff1990931660011792909216919091178255604080519182525184917fe5108446a6097aab57fd36f346a515a78fddefa87d81662d44e0d7a463f92095919081900360200190a261248686846136cf565b505b6001016123b1565b813361249b82613746565b6001600160a01b031614604051806060016040528060368152602001614cc6603691399061250a5760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315611261578181015183820152602001611249565b506125158284613b63565b6000838152600b60209081526040918290208054600160ff199091161774ffffffffffffffffffffffffffffffffffffffff0019166101006001600160a01b03871690810291909117825583519081529251909286927fe5108446a6097aab57fd36f346a515a78fddefa87d81662d44e0d7a463f9209592918290030190a250505050565b816125a533826138ba565b6125e05760405162461bcd60e51b8152600401808060200182810382526043815260200180614b496043913960600191505060405180910390fd5b826125eb8382613b63565b6125f484613c49565b6000818152600b6020908152604091829020805474ffffffffffffffffffffffffffffffffffffffff0019166101006001600160a01b038816908102919091179091558251908152915183927fe5108446a6097aab57fd36f346a515a78fddefa87d81662d44e0d7a463f9209592908290030190a250505050565b7f7816562e7f85866cae07183593075f3b5ec32aeff914a0693e20aaf39672babc90565b60008060008085859050116040518060600160405280603e8152602001614b0b603e9139906127035760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315611261578181015183820152602001611249565b5061270d86613c5f565b915061274e85858080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061393892505050565b6009805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b039290921691909117905561278482613ab7565b909792965094509092505050565b60408051808201909152600381527f48574b0000000000000000000000000000000000000000000000000000000000602082015290565b60008060006127d784613a67565b6127e085613c5f565b6009805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b038716179055915061281382613ab7565b9096929550935090915050565b60008060008061282f856137ee565b93506128396149bd565b506000858152600b60209081526040918290208251606081018452905460ff8116151580835261010082046001600160a01b031693830193909352750100000000000000000000000000000000000000000090046affffffffffffffffffffff16928101929092526128b0578560601c93506128b8565b806020015193505b80604001516affffffffffffffffffffff169250843f9150509193509193565b6001600160a01b0382163314156128ee57600080fd5b3360008181526004602090815260408083206001600160a01b03871680855290835292819020805460ff1916861515908117909155815190815290519293927f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31929181900390910190a35050565b33301461299a5760405162461bcd60e51b8152600401808060200182810382526032815260200180614bee6032913960400191505060405180910390fd5b7f5859385958601c335a585952fa1582838382515af43d3d93833e601e57fd5bf3600052806020600080f580156121d15760206000fd5b80336129dc82613746565b6001600160a01b031614604051806060016040528060368152602001614cc66036913990612a4b5760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315611261578181015183820152602001611249565b506000828152600b60209081526040808320805474ffffffffffffffffffffffffffffffffffffffff001960ff1990911660011716815581519384529051909285927fe5108446a6097aab57fd36f346a515a78fddefa87d81662d44e0d7a463f9209592918290030190a2505050565b6000612ac78383613868565b90506040518060600160405280828152602001848152602001836001600160a01b0316815250600c6000612afa846137ee565b6001600160a01b0390811682526020808301939093526040918201600020845181559284015160018401559201516002909101805473ffffffffffffffffffffffffffffffffffffffff191691909216179055505050565b60008084612b6033826138ba565b612b9b5760405162461bcd60e51b8152600401808060200182810382526043815260200180614b496043913960600191505060405180910390fd5b612ba484613a67565b85612baf8682613b63565b612bb887613c49565b6009805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03878116919091179091556000828152600b6020908152604091829020805474ffffffffffffffffffffffffffffffffffffffffff60ff19909116600190811774ffffffffffffffffffffffffffffffffffffffff001916610100968d16968702179182167501000000000000000000000000000000000000000000928390046affffffffffffffffffffff90811690920190911690910217815582519384529151919284927fe5108446a6097aab57fd36f346a515a78fddefa87d81662d44e0d7a463f92095929181900390910190a2612cb482613ab7565b90999098509650505050505050565b6000612016826137ee565b612cd9848484611912565b612ce584848484613e77565b6113a957600080fd5b6060612cf9826137d1565b612d345760405162461bcd60e51b8152600401808060200182810382526029815260200180614c566029913960400191505060405180910390fd5b6000612d3f836137ee565b90506060612d4c82613ff4565b90506060612d5861418f565b90506040516020018080614bcb60239139602301807f253230416464726573732532302d253230307800000000000000000000000000815250601301905060405160208183030381529060405282826040516020018084805190602001908083835b60208310612dd95780518252601f199092019160209182019101612dba565b51815160209384036101000a600019018019909216911617905286519190930192860191508083835b60208310612e215780518252601f199092019160209182019101612e02565b51815160209384036101000a600019018019909216911617905285519190930192850191508083835b60208310612e695780518252601f199092019160209182019101612e4a565b6001836020036101000a03801982511681845116808217855250505050505090500193505050506040516020818303038152906040529350505050919050565b6000612eb58333613868565b9050612ec182826136ec565b612eca816134d5565b604051806080016040528060428152602001614ac96042913990612f2f5760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315611261578181015183820152602001611249565b506000818152600b60205260409020805460ff1615612fc2578054604080516060810190915260368082526101009092046001600160a01b0316331491614cc6602083013990612fc05760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315611261578181015183820152602001611249565b505b8054600160ff199091161774ffffffffffffffffffffffffffffffffffffffff0019166101003002178155612ff783836136cf565b60408051308152905183917fe5108446a6097aab57fd36f346a515a78fddefa87d81662d44e0d7a463f92095919081900360200190a25092915050565b60008084613041816134d5565b604051806080016040528060428152602001614ac960429139906130a65760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315611261578181015183820152602001611249565b506000868152600b60205260409020805487919060ff1661314157805474ffffffffffffffffffffffffffffffffffffffffff600160ff19909216821774ffffffffffffffffffffffffffffffffffffffff001916610100606086901c02179081167501000000000000000000000000000000000000000000918290046affffffffffffffffffffff9081169093019092160217815561318f565b80546affffffffffffffffffffff750100000000000000000000000000000000000000000080830482166001019091160274ffffffffffffffffffffffffffffffffffffffffff9091161781555b8054604080516060810190915260368082526101009092046001600160a01b0316331491614cc66020830139906132075760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315611261578181015183820152602001611249565b50600087879050116040518060600160405280603e8152602001614b0b603e9139906132745760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315611261578181015183820152602001611249565b506132b487878080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061393892505050565b6009805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055612cb488613ab7565b60006132f68233613868565b6000818152600b6020526040902080549192509060ff1661337957805433610100810274ffffffffffffffffffffffffffffffffffffffff001960ff1990931660011792909216919091178255604080519182525183917fe5108446a6097aab57fd36f346a515a78fddefa87d81662d44e0d7a463f92095919081900360200190a25b50919050565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205460ff1690565b60006133b98333613868565b90506133c58282613b63565b6000818152600b60205260409020805460ff1615613457578054604080516060810190915260368082526101009092046001600160a01b0316331491614cc66020830139906134555760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315611261578181015183820152602001611249565b505b80546001600160a01b038416610100810274ffffffffffffffffffffffffffffffffffffffff001960ff1990931660011792909216919091178255604080519182525183917fe5108446a6097aab57fd36f346a515a78fddefa87d81662d44e0d7a463f92095919081900360200190a25092915050565b6000612016825b6000806134e1836137ee565b9050803f806134f557600192505050611418565b813b80156135095760009350505050611418565b6009546000906001600160a01b03161561354757506009805473ffffffffffffffffffffffffffffffffffffffff1981169091556001600160a01b03165b60408051602480820189905282518083039091018152604490910182526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa5f9392a00000000000000000000000000000000000000000000000000000000178152915181516169786103e8450401936000936060933093879382918083835b602083106135e95780518252601f1990920191602091820191016135ca565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038160008787f1925050503d806000811461364c576040519150601f19603f3d011682016040523d82523d6000602084013e613651565b606091505b5090925090506001600160a01b0384161561368f576009805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0386161790555b6020810151821580156136c157507f5859385958601c335a585952fa1582838382515af43d3d93833e601e57fd5bf381145b9a9950505050505050505050565b6136d982826141c7565b6136e38282614275565b6121d1816142b3565b61370b6000838360001c60405180602001604052806000815250613e77565b6121d15760405162461bcd60e51b8152600401808060200182810382526046815260200180614cfc6046913960600191505060405180910390fd5b60006137506149bd565b506000828152600b60209081526040918290208251606081018452905460ff8116151580835261010082046001600160a01b031693830193909352750100000000000000000000000000000000000000000090046affffffffffffffffffffff16928101929092526137c7578260601c9150613379565b6020015192915050565b6000908152600160205260409020546001600160a01b0316151590565b604080517fff0000000000001b84b1cb32787b0d64758d019317000000000000000000000060208083019190915260358201939093527f7816562e7f85866cae07183593075f3b5ec32aeff914a0693e20aaf39672babc605580830191909152825180830390910181526075909101909152805191012090565b6040805160208082019490945260609290921b7fffffffffffffffffffffffffffffffffffffffff00000000000000000000000016828201528051808303603401815260549092019052805191012090565b6000806138c683611ff4565b9050806001600160a01b0316846001600160a01b031614806139015750836001600160a01b03166138f684611596565b6001600160a01b0316145b806139115750613911818561337f565b949350505050565b6139248383836142f7565b61392e83826143e4565b6119308282614275565b600060606a600b5981380380925939f360a81b83604051602001808374ffffffffffffffffffffffffffffffffffffffffff191674ffffffffffffffffffffffffffffffffffffffffff19168152600b0182805190602001908083835b602083106139b45780518252601f199092019160209182019101613995565b6001836020036101000a03801982511681845116808217855250505050505090500192505050604051602081830303815290604052905080602001815180826000f0935083613a07573d6000803e3d6000fd5b50507fbaca1113c7fbb7fb1b106050fea2d2760d88af7fad53b01a4fa7953c769839e282848051906020012060405180836001600160a01b03166001600160a01b031681526020018281526020019250505060405180910390a150919050565b613a79816001600160a01b03166144d2565b613ab45760405162461bcd60e51b815260040180806020018281038252603e815260200180614db4603e913960400191505060405180910390fd5b50565b6000807f5859385958601c335a585952fa1582838382515af43d3d93833e601e57fd5bf3600052826020600034f5915081613af6573d6000803e3d6000fd5b506009805473ffffffffffffffffffffffffffffffffffffffff1916905560408051838152823f60208201819052825190926001600160a01b038516927f2372fbde561b2c457a4c8313f64d6a594ab967bca2d1041738d8607a0da6c697929081900390910190a2915091565b6001600160a01b038216613ba85760405162461bcd60e51b8152600401808060200182810382526046815260200180614d6e6046913960600191505060405180910390fd5b6001600160a01b038216301415613bf05760405162461bcd60e51b8152600401808060200182810382526043815260200180614a866043913960600191505060405180910390fd5b613bf9816137ee565b6001600160a01b0316826001600160a01b031614156121d15760405162461bcd60e51b815260040180806020018281038252603d815260200180614df2603d913960400191505060405180910390fd5b613ab4613c5582611ff4565b826144d8565b5490565b6000613c6b8233613868565b9050613c76816134d5565b604051806080016040528060428152602001614ac96042913990613cdb5760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315611261578181015183820152602001611249565b506000818152600b60205260409020805460ff16613daa5780546affffffffffffffffffffff750100000000000000000000000000000000000000000033610100810274ffffffffffffffffffffffffffffffffffffffff001960ff199095166001908117959095161782810484169094019092160274ffffffffffffffffffffffffffffffffffffffffff909216919091178255604080519182525183917fe5108446a6097aab57fd36f346a515a78fddefa87d81662d44e0d7a463f92095919081900360200190a2613df8565b80546affffffffffffffffffffff750100000000000000000000000000000000000000000080830482166001019091160274ffffffffffffffffffffffffffffffffffffffffff9091161781555b8054604080516060810190915260368082526101009092046001600160a01b0316331491614cc6602083013990613e705760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315611261578181015183820152602001611249565b5050919050565b6000613e8b846001600160a01b03166144d2565b613e9757506001613911565b6040517f150b7a0200000000000000000000000000000000000000000000000000000000815233600482018181526001600160a01b03888116602485015260448401879052608060648501908152865160848601528651600095928a169463150b7a029490938c938b938b939260a4019060208501908083838e5b83811015613f2a578181015183820152602001613f12565b50505050905090810190601f168015613f575780820380516001836020036101000a031916815260200191505b5095505050505050602060405180830381600087803b158015613f7957600080fd5b505af1158015613f8d573d6000803e3d6000fd5b505050506040513d6020811015613fa357600080fd5b50517fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a020000000000000000000000000000000000000000000000000000000014915050949350505050565b6060613ffe6149dd565b61400783614504565b60408051602880825260608281019093529293509091602082018180388339019050509050600080808080606089901b815b6014811015614180578060130360080260020a8260601c6001600160a01b03168161406057fe5b049650601060ff88160495508560100287039450600a8660ff16101561408957603093506140b0565b88816002026028811061409857fe5b6020020151156140ab57603793506140b0565b605793505b600a8560ff1610156140c557603092506140ed565b8881600202600101602881106140d757fe5b60200201516140e75760576140ea565b60375b92505b83860160f81b88826002028151811061410257fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535082850160f81b88826002026001018151811061414957fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600101614039565b50959998505050505050505050565b60408051603f6e71c1c84915c17bf21728bfe4dac3f3803b918201601f1916830190935280825290919080600060208501843c505090565b6001600160a01b0382166141da57600080fd5b6141e3816137d1565b156141ed57600080fd5b6000818152600160209081526040808320805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03871690811790915583526003909152902061423990614680565b60405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6001600160a01b0390911660009081526005602081815260408084208054868652600684529185208290559282526001810183559183529091200155565b600780546000838152600860205260408120829055600182018355919091527fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c6880155565b826001600160a01b031661430a82611ff4565b6001600160a01b03161461431d57600080fd5b6001600160a01b03821661433057600080fd5b61433981614689565b6001600160a01b038316600090815260036020526040902061435a906146d1565b6001600160a01b038216600090815260036020526040902061437b90614680565b600081815260016020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6001600160a01b03821660009081526005602052604081205461440e90600163ffffffff6146e816565b6000838152600660205260409020549091508082146144a9576001600160a01b038416600090815260056020526040812080548490811061444b57fe5b906000526020600020015490508060056000876001600160a01b03166001600160a01b03168152602001908152602001600020838154811061448957fe5b600091825260208083209091019290925591825260069052604090208190555b6001600160a01b03841660009081526005602052604090208054906115579060001983016149fc565b3b151590565b6144e28282614745565b6144ec82826143e4565b6000818152600660205260408120556121d1816147f7565b61450c6149dd565b606082901b600061451c82614893565b6040516020018082805190602001908083835b6020831061454e5780518252601f19909201916020918201910161452f565b6001836020036101000a03801982511681845116808217855250505050505090500191505060405160208183030381529060405280519060200120905060008060008060005b60148110156146745760108782601481106145ab57fe5b1a816145b357fe5b0693506010848883601481106145c557fe5b1a0360ff16816145d157fe5b04945060108682602081106145e257fe5b1a816145ea57fe5b0691506010828783602081106145fc57fe5b1a0360ff168161460857fe5b04925060098560ff16118015614621575060078360ff16115b88826002026028811061463057fe5b91151560209092020152600960ff8516118015614650575060078260ff16115b88826002026001016028811061466257fe5b91151560209092020152600101614594565b50505050505050919050565b80546001019055565b6000818152600260205260409020546001600160a01b031615613ab4576000908152600260205260409020805473ffffffffffffffffffffffffffffffffffffffff19169055565b80546146e490600163ffffffff6146e816565b9055565b60008282111561473f576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b816001600160a01b031661475882611ff4565b6001600160a01b03161461476b57600080fd5b61477481614689565b6001600160a01b0382166000908152600360205260409020614795906146d1565b600081815260016020526040808220805473ffffffffffffffffffffffffffffffffffffffff19169055518291906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b60075460009061480e90600163ffffffff6146e816565b6000838152600860205260408120546007805493945090928490811061483057fe5b90600052602060002001549050806007838154811061484b57fe5b6000918252602080832090910192909255828152600890915260409020829055600780549061487e9060001983016149fc565b50505060009182525060086020526040812055565b604080516028808252606082810190935282919060208201818038833901905050905060008080805b60148110156149b2578060130360080260020a8760601c6001600160a01b0316816148e357fe5b049350601060ff85160492508260100284039150600a8360ff161061490957605761490c565b60305b830160f81b85826002028151811061492057fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8260ff1610614961576057614964565b60305b820160f81b85826002026001018151811061497b57fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506001016148bc565b509295945050505050565b604080516060810182526000808252602082018190529181019190915290565b6040518061050001604052806028906020820280388339509192915050565b8154818355818111156119305760008381526020902061193091810190830161159391905b80821115614a355760008155600101614a21565b509056fe4e6f2072756e74696d6520636f6465207061796c6f616420737570706c6965642e455243373231456e756d657261626c653a206f776e657220696e646578206f7574206f6620626f756e64735468697320636f6e7472616374206d6179206e6f74206265207365742061732074686520636f6e74726f6c6c6572207573696e6720746869732066756e6374696f6e2e4f6e6c79206e6f6e2d6578697374656e74206163636f756e74732063616e206265206465706c6f796564206f72207573656420746f206d696e7420746f6b656e732e43616e6e6f74206465706c6f79206120636f6e74726163742077697468206e6f20696e697469616c697a6174696f6e20636f646520737570706c6965642e4f6e6c792074686520746f6b656e206f776e6572206f7220616e20617070726f766564207370656e646572206d61792063616c6c20746869732066756e6374696f6e2e5375626d697474656420686967682073636f7265206973206e6f7420626574746572207468616e207468652063757272656e7420686967682073636f72652e646174613a6170706c69636174696f6e2f6a736f6e2c7b226e616d65223a22486f6d65546869732066756e6374696f6e2063616e206f6e6c792062652063616c6c6564206279207468697320636f6e74726163742e4f6e6c79207468652063757272656e7420686967682073636f726520686f6c646572206d6179207265636f76657220746f6b656e732e4120746f6b656e20776974682074686520676976656e20494420646f6573206e6f742065786973742e4f6e6c79207375626d697474657273206469726563746c7920656e636f64656420696e206120676976656e206b6579206d617920636c61696d206120686967682073636f72652e4f6e6c79207468652064657369676e6174656420636f6e74726f6c6c65722063616e2063616c6c20746869732066756e6374696f6e2e4f776e6572206d75737420626520616e20454f41206f72206120636f6e7472616374207468617420696d706c656d656e747320606f6e4552433732315265636569766564602e455243373231456e756d657261626c653a20676c6f62616c20696e646578206f7574206f6620626f756e6473546865206e756c6c2061646472657373206d6179206e6f74206265207365742061732074686520636f6e74726f6c6c6572207573696e6720746869732066756e6374696f6e2e4e6f2072756e74696d6520636f646520666f756e642061742074686520737570706c6965642072756e74696d652073746f7261676520616464726573732e486f6d65206164647265737365732063616e6e6f74206265207365742061732074686520636f6e74726f6c6c6572206f66207468656d73656c7665732ea265627a7a72305820e705899b683cb34304d46cd0e2bcea630a1baebab6c150dd42a0b3370fcf509f64736f6c63430005090032",
            "calls":[  
               {  
                  "type":"STATICCALL",
                  "from":"0x0000000000001b84b1cb32787b0d64758d019317",
                  "to":"0x07cf8f81852a58dd26fa19e69545f72e263347e5",
                  "gas":"0x3e979c",
                  "gasUsed":"0x187",
                  "input":"0x00000009",
                  "output":"0x0000000000000000000000007cf7708ab4a064b14b02f34aecbd2511f3605395"
               },
               {  
                  "type":"DELEGATECALL",
                  "from":"0x0000000000001b84b1cb32787b0d64758d019317",
                  "to":"0x7cf7708ab4a064b14b02f34aecbd2511f3605395",
                  "gas":"0x3e9356",
                  "gasUsed":"0x24272",
                  "input":"0x",
                  "output":"0x"
               }
            ]
         }
      ]
   }
}

@ayrat555
Copy link
Contributor Author

@vbaranov I tested it locally. Looks ok.

Also, I noticed that this tx has only 3 internal transactions.

Yes, it has 3 internal transactions create2,staticcall and delegatecall. Before this fix create2 was marked as call

@vbaranov vbaranov self-requested a review July 25, 2019 13:02
Copy link
Member

@vbaranov vbaranov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just for the record:

Also, I noticed that this tx has only 3 internal transactions. Please, check the node tx trace:

We agreed to show the 1st trace as an internal transaction too. This is why 4 (3 internal txs + 1st trace)

@vbaranov vbaranov merged commit 08b9b08 into master Jul 25, 2019
@vbaranov vbaranov deleted the ab-create2 branch July 25, 2019 13:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Blockscout doesn't support CREATE2
5 participants