Added lost receipt_root for arbitrum nova model and migration

pull/1009/head
kompotkot 2024-01-31 10:08:05 +00:00
rodzic 41264e663a
commit e1c6f7c13d
2 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -30,6 +30,7 @@ def upgrade():
sa.Column('miner', sa.VARCHAR(length=256), nullable=True),
sa.Column('nonce', sa.VARCHAR(length=256), nullable=True),
sa.Column('parent_hash', sa.VARCHAR(length=256), nullable=True),
sa.Column('receipt_root', sa.VARCHAR(length=256), nullable=True),
sa.Column('uncles', sa.VARCHAR(length=256), nullable=True),
sa.Column('size', sa.Integer(), nullable=True),
sa.Column('state_root', sa.VARCHAR(length=256), nullable=True),

Wyświetl plik

@ -817,6 +817,7 @@ class ArbitrumNovaBlock(Base): # type: ignore
miner = Column(VARCHAR(256))
nonce = Column(VARCHAR(256))
parent_hash = Column(VARCHAR(256))
receipt_root = Column(VARCHAR(256))
uncles = Column(VARCHAR(256))
size = Column(Integer)
state_root = Column(VARCHAR(256))