From 70bbbd55d55b81f9b3d5e2de6eac839e80390e63 Mon Sep 17 00:00:00 2001 From: R Chaganti Date: Wed, 24 Apr 2024 12:49:14 +0400 Subject: [PATCH] use string type for tokenIds on pos --- package.json | 2 +- schemas/depositblock.proto | 2 +- schemas/withdrawblock.proto | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 78100d4..5fc20e1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@maticnetwork/chain-indexer-framework", - "version": "1.3.5", + "version": "1.3.6", "description": "blockchain data indexer", "type": "module", "exports": { diff --git a/schemas/depositblock.proto b/schemas/depositblock.proto index 5e17080..ea34ce6 100644 --- a/schemas/depositblock.proto +++ b/schemas/depositblock.proto @@ -10,7 +10,7 @@ message DepositBlock { required string depositReceiver = 5; required string rootToken = 6; repeated string amounts = 7; - repeated uint64 tokenIds = 8; + repeated string tokenIds = 8; string rootTunnelAddress = 9; bool refuel = 10; string nonce = 11; diff --git a/schemas/withdrawblock.proto b/schemas/withdrawblock.proto index 9dd3516..6720f1f 100644 --- a/schemas/withdrawblock.proto +++ b/schemas/withdrawblock.proto @@ -11,7 +11,7 @@ message WithdrawBlock { uint64 burnTransactionBlockNumber = 6; string transactionType = 7; repeated string amounts = 8; - repeated uint64 tokenIds = 9; + repeated string tokenIds = 9; required bool isDecoded = 10; required string rootToken = 11; string rootTunnel = 12;