Skip to content

Commit

Permalink
Fix block number field in nft events (#1304)
Browse files Browse the repository at this point in the history
Brief comments on the purpose of your changes:


*For Dune Engine V2*
I've checked that:

* [ ] I tested the query on dune.com after compiling the model with dbt compile (compiled queries are written to the target directory)
* [ ] I used "refs" to reference other models in this repo and "sources" to reference raw or decoded tables 
* [ ] if adding a new model, I added a test
* [ ] the filename is unique and ends with .sql
* [ ] each sql file is a select statement and has only one view, table or function defined  
* [ ] column names are `lowercase_snake_cased`

When you are ready for a review, tag duneanalytics/data-experience. We will re-open your forked pull request as an internal pull request. Then your spells will run in dbt and the logs will be avaiable in Github Actions DBT Slim CI. This job will only run the models and tests changed by your PR compared to the production project.
  • Loading branch information
soispoke authored Jul 20, 2022
1 parent 9bba8ab commit b839e9d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ SELECT DISTINCT
looks_rare.contract_address AS project_contract_address,
agg.name AS aggregator_name,
agg.contract_address AS aggregator_address,
looks_rare.block_number,
tx_hash,
tx.from AS tx_from,
tx.to AS tx_to,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -409,4 +409,5 @@ models:
- *block_number
- *tx_from
- *tx_to
- *unique_trade_id
- name: unique_trade_id
description: "Unique trade ID"

0 comments on commit b839e9d

Please sign in to comment.