Skip to content
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.

Remove required fields check from Deploy Account tx #407

Merged
merged 1 commit into from
Jan 19, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/starknet_explorer/transaction.ex
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ defmodule StarknetExplorer.Transaction do

defp validate_according_to_tx_type(changeset, _tx = %{"type" => "DEPLOY_ACCOUNT"}) do
changeset
|> validate_required(@deploy_account_tx_fields)
# |> validate_required(@deploy_account_tx_fields)
end

defp validate_according_to_tx_type(changeset, _tx = %{"type" => "DEPLOY"}) do
Expand Down
Loading