|
|
@ -262,17 +262,6 @@ defmodule Explorer.Factory do |
|
|
|
} |
|
|
|
} |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
def internal_transaction_suicide_factory() do |
|
|
|
|
|
|
|
%InternalTransaction{ |
|
|
|
|
|
|
|
from_address: build(:address), |
|
|
|
|
|
|
|
trace_address: [], |
|
|
|
|
|
|
|
# caller MUST supply `transaction` because it can't be built lazily to allow overrides without creating an extra |
|
|
|
|
|
|
|
# transaction |
|
|
|
|
|
|
|
type: :suicide, |
|
|
|
|
|
|
|
value: sequence("internal_transaction_value", &Decimal.new(&1)) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def log_factory do |
|
|
|
def log_factory do |
|
|
|
%Log{ |
|
|
|
%Log{ |
|
|
|
address: build(:address), |
|
|
|
address: build(:address), |
|
|
|