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

remove uniqueness test on hash for optimism transactions #1517

Merged
merged 3 commits into from
Sep 7, 2022
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
4 changes: 3 additions & 1 deletion models/base_sources/optimism_base_sources.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ sources:
warn_after: { count: 12, period: hour }
tables:
- name: transactions
tests:
- unique:
column_name: "(hash || '-' || block_number)"
loaded_at_field: block_time
description: "An Optimism transaction refers to an action initiated by an externally-owned account (i.e., an account managed by a human, not a contract)."
columns:
Expand Down Expand Up @@ -53,7 +56,6 @@ sources:
- name: hash
description: "Primary key of the transaction"
tests:
- unique
- not_null
- name: type
description: "Transaction type"
Expand Down