Skip to content

Commit

Permalink
chore: rename update_type_count file to match module (#1315)
Browse files Browse the repository at this point in the history
  • Loading branch information
sborrazas committed May 12, 2023
1 parent 40a0fb7 commit a5b0bac
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 35 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
defmodule AeMdw.Db.IncreaseTypeCountMutation do
defmodule AeMdw.Db.IncrementTypeCountMutation do
@moduledoc """
Adds one to the type count.
"""
Expand Down
32 changes: 0 additions & 32 deletions lib/ae_mdw/db/mutations/update_ids_counts_mutation.ex

This file was deleted.

4 changes: 2 additions & 2 deletions lib/ae_mdw/db/sync/transaction.ex
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ defmodule AeMdw.Db.Sync.Transaction do
alias AeMdw.Db.ContractCallMutation
alias AeMdw.Db.ContractCreateMutation
alias AeMdw.Db.ContractCreateCacheMutation
alias AeMdw.Db.IncreaseTypeCountMutation
alias AeMdw.Db.IncrementTypeCountMutation
alias AeMdw.Db.Model
alias AeMdw.Db.NameRevokeMutation
alias AeMdw.Db.NameTransferMutation
Expand Down Expand Up @@ -98,7 +98,7 @@ defmodule AeMdw.Db.Sync.Transaction do
[
WriteMutation.new(Model.Tx, m_tx),
WriteMutation.new(Model.Type, Model.type(index: {type, txi})),
IncreaseTypeCountMutation.new(type),
IncrementTypeCountMutation.new(type),
WriteMutation.new(Model.Time, Model.time(index: {mb_time, txi})),
WriteFieldsMutation.new(type, tx, block_index, txi)
| tx_mutations(tx_context)
Expand Down

0 comments on commit a5b0bac

Please sign in to comment.