Merge branch 'lash/tmp-cic-cache' into lash/rehabilitate-cic-cache
This commit is contained in:
commit
214cb53b3f
@ -0,0 +1,28 @@
|
|||||||
|
"""Add chain syncer
|
||||||
|
|
||||||
|
Revision ID: 6604de4203e2
|
||||||
|
Revises: 63b629f14a85
|
||||||
|
Create Date: 2021-04-01 08:10:29.156243
|
||||||
|
|
||||||
|
"""
|
||||||
|
from alembic import op
|
||||||
|
import sqlalchemy as sa
|
||||||
|
from chainsyncer.db.migrations.sqlalchemy import (
|
||||||
|
chainsyncer_upgrade,
|
||||||
|
chainsyncer_downgrade,
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
# revision identifiers, used by Alembic.
|
||||||
|
revision = '6604de4203e2'
|
||||||
|
down_revision = '63b629f14a85'
|
||||||
|
branch_labels = None
|
||||||
|
depends_on = None
|
||||||
|
|
||||||
|
def upgrade():
|
||||||
|
chainsyncer_upgrade(0, 0, 1)
|
||||||
|
|
||||||
|
|
||||||
|
def downgrade():
|
||||||
|
chainsyncer_downgrade(0, 0, 1)
|
||||||
|
|
0
apps/cic-cache/cic_cache/runnable/__init__.py
Normal file
0
apps/cic-cache/cic_cache/runnable/__init__.py
Normal file
4
apps/cic-cache/config/docker/cic.ini
Normal file
4
apps/cic-cache/config/docker/cic.ini
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
[cic]
|
||||||
|
chain_spec =
|
||||||
|
registry_address =
|
||||||
|
trust_address = 0xEb3907eCad74a0013c259D5874AE7f22DcBcC95C
|
2
apps/cic-cache/config/docker/syncer.ini
Normal file
2
apps/cic-cache/config/docker/syncer.ini
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
[syncer]
|
||||||
|
loop_interval = 1
|
Loading…
Reference in New Issue
Block a user