Skip to content

Commit

Permalink
Add EIP-1559 columns
Browse files Browse the repository at this point in the history
Enable streaming of EIP-1559 related columns to blocks and transactions tables.
  • Loading branch information
psych0xpomp authored Aug 9, 2021
1 parent 104576d commit cf80415
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ethereumetl/streaming/postgres_tables.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
Column('gas_limit', BigInteger),
Column('gas_used', BigInteger),
Column('transaction_count', BigInteger),
Column('base_fee_per_gas', BigInteger),
)

TRANSACTIONS = Table(
Expand All @@ -67,6 +68,10 @@
Column('block_timestamp', TIMESTAMP),
Column('block_number', BigInteger),
Column('block_hash', String),
Column('max_fee_per_gas', BigInteger),
Column('max_priority_fee_per_gas', BigInteger),
Column('transaction_type', BigInteger),
Column('receipt_effective_gas_price', BigInteger),
)

LOGS = Table(
Expand Down

0 comments on commit cf80415

Please sign in to comment.