Skip to content

Commit

Permalink
Remove gas fees model dependency on functions
Browse files Browse the repository at this point in the history
  • Loading branch information
Mitch Devenport committed Dec 12, 2023
1 parent 6f46b1e commit 6d5a56d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 171 deletions.
89 changes: 0 additions & 89 deletions .spice/models/gas_fees/gas_fees_v2.py

This file was deleted.

6 changes: 3 additions & 3 deletions .spice/models/gas_fees/model.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
family: gas_fees
name: v0.0
model_type: gasfees_v1
handler: gas_fees_v2.py
training_entry_point: gas_fees_v2.train
inference_entry_point: gas_fees_v2.infer
handler: null
training_entry_point: null
inference_entry_point: null
training_query: 'WITH counts AS ( SELECT block_number, count(1) as "count" FROM eth.transactions GROUP BY block_number ) SELECT number as "ts", CAST(b.base_fee_per_gas / 1000000000.0 AS DOUBLE) as "y", CAST(c."count" AS DOUBLE) as "covariate" FROM eth.blocks b INNER JOIN counts c ON b.number = c.block_number WHERE b.base_fee_per_gas IS NOT NULL ORDER BY block_number DESC LIMIT 500'
inference_query: 'SELECT number as "ts", CAST(base_fee_per_gas / 1000000000.0 AS DOUBLE) as "y", CAST(transaction_count AS DOUBLE) as "y2" from eth.recent_blocks WHERE base_fee_per_gas IS NOT NULL ORDER BY ts DESC LIMIT 35'
lookback_size: 30
Expand Down
79 changes: 0 additions & 79 deletions .spice/models/gas_fees/spec.py

This file was deleted.

0 comments on commit 6d5a56d

Please sign in to comment.