Skip to content

Commit

Permalink
make sure vxor created cause used for burns and buybacks
Browse files Browse the repository at this point in the history
  • Loading branch information
ZlayaMorda committed Oct 15, 2024
1 parent 7982b5c commit e371da3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion run_node_processing.py
Original file line number Diff line number Diff line change
Expand Up @@ -298,12 +298,13 @@ def get_end(substrate: SubstrateInterface):
pending = None
if not silent:
logging.info("Importing from %i to %i", begin, end)
# make sure XOR, XSTUSD, VAL and PSWAP token entries created
# make sure XOR, XSTUSD, VAL, PSWAP and VXOR token entries created
# be able to import burns and buybacks
await get_or_create_token(substrate, session, xor_id_int)
await get_or_create_token(substrate, session, xstusd_id_int)
await get_or_create_token(substrate, session, val_id_int)
await get_or_create_token(substrate, session, pswap_id_int)
await get_or_create_token(substrate, session, vxor_id_int)
for block in (range if silent or not sys.stdout.isatty() else trange)(
begin, end
):
Expand Down

0 comments on commit e371da3

Please sign in to comment.