diff --git a/lib/starknet_explorer/block/block_utils.ex b/lib/starknet_explorer/block/block_utils.ex index 1423fe3a..ada8ab0d 100644 --- a/lib/starknet_explorer/block/block_utils.ex +++ b/lib/starknet_explorer/block/block_utils.ex @@ -190,7 +190,6 @@ defmodule StarknetExplorer.BlockUtils do |> Enum.map(fn %{"execution_resources" => %{"steps" => steps}} -> steps - |> StarknetExplorerWeb.Utils.hex_to_integer() _ -> nil diff --git a/lib/starknet_explorer/transaction.ex b/lib/starknet_explorer/transaction.ex index 59ebd2f2..02e6ef2b 100644 --- a/lib/starknet_explorer/transaction.ex +++ b/lib/starknet_explorer/transaction.ex @@ -243,7 +243,8 @@ defmodule StarknetExplorer.Transaction do defp validate_according_to_tx_type(changeset, _tx = %{"type" => "INVOKE"}) do changeset - |> validate_required(@invoke_v0_tx_fields) + # Skip required fields check because of Juno0.9.2 breaking changes + # |> validate_required(@invoke_v0_tx_fields) end defp validate_according_to_tx_type(changeset, _tx = %{"type" => "DEPLOY", "max_fee" => _}) do diff --git a/lib/starknet_explorer/transaction_receipt.ex b/lib/starknet_explorer/transaction_receipt.ex index 9f1e6633..4d8501d1 100644 --- a/lib/starknet_explorer/transaction_receipt.ex +++ b/lib/starknet_explorer/transaction_receipt.ex @@ -93,7 +93,7 @@ defmodule StarknetExplorer.TransactionReceipt do schema "transaction_receipts" do belongs_to :transaction, Transaction, references: :hash field :type, :string - field :actual_fee, :string + field :actual_fee, :map field :finality_status, :string field :execution_status, :string field :block_hash, :string diff --git a/lib/starknet_explorer_web/live/transaction_live.ex b/lib/starknet_explorer_web/live/transaction_live.ex index 76ba1a08..eab1bca4 100644 --- a/lib/starknet_explorer_web/live/transaction_live.ex +++ b/lib/starknet_explorer_web/live/transaction_live.ex @@ -392,7 +392,7 @@ defmodule StarknetExplorerWeb.TransactionLive do