ergoplatform / ergo

Ergo protocol description & reference client implementation
https://ergoplatform.org/
Creative Commons Zero v1.0 Universal
504 stars 170 forks source link

Extra indexer related errors in logs #2188

Closed kushti closed 1 month ago

kushti commented 2 months ago

After scanning blockchain from genesis with 5.0.23 candidate ( https://github.com/ergoplatform/ergo/pull/2169 ) , there are many errors in logs:

19:20:39.138 WARN  [ctor.default-dispatcher-9] o.e.n.h.extra.BalanceInfo - Failed to subtract token 9d9887f126735dbce60a4562eb2f8b19a9100f85a0cb1c88fd3963d7a39dec46 from address nB3L2PD3JTNGWZVRVuTYLEyHwoSe4EC4zP5Wd7x1f29FimSmwmUPsaR5duxgoZ8bZdyBBpHkEHaAhPMxgaGL2KhQEezsTCdayAoWYX6mLEXDM1hGfv5ZrEq5PWA4aPCcbiefyVyrZGFA5
22:11:47.513 ERROR [tor.default-dispatcher-11] o.e.n.h.extra.IndexedToken - Box 42774576 not found in any segment of parent
22:11:47.513 ERROR [tor.default-dispatcher-11] o.e.n.h.extra.IndexedToken - Box 42774576 not found in any segment of parent
22:11:53.564 ERROR [tor.default-dispatcher-12] o.e.n.h.extra.IndexedToken - Box 42813129 not found in any segment of parent
22:11:53.564 ERROR [tor.default-dispatcher-12] o.e.n.h.extra.IndexedToken - Box 42813129 not found in predicted segment of parent: [42730180,-42730183

and then

curl -X 'POST' \
  'http://213.239.193.208:9053/blockchain/box/byAddress?offset=0&limit=5' \
  -H 'accept: application/json' \
  -H 'Content-Type: application/json' \
  -d 'ChTbcUHgBNqNMVjzV1dvCb2UDrX9nh6rGGcURCFEYXuH5ykKh7Ea3FvpFhHb9AnxXJkgAZ6WASN7Rdn7VMgkFaqP5Z5RWp84cDTmsZkhYrgAVGN7mjeLs8UxqUvRi2ArZbm35Xqk8Y88Uq2MJzmDVHLHzCYRGym8XPxFM4YEVxqzHSKYYDvaMLgKvoskFXKrvceAqEiyih26hjpekCmefiF1VmrPwwShrYYxgHLFCZdigw5JWKV4DmewuR1FH3oNtGoFok859SXeuRbpQfrTjHhGVfDsbXEo3GYP2imAh1APKyLEsG9LcE5WZnJV8eseQnYA8sACLDKZ8Tbpp9KUE7QZNFpnwGnkYx7eybbrCeFDFjTGpsBzaS6fRKrWj2J4Wy3TTyTU1F8iMCrHBF8inZPw9Kg9YEZuJMdXDFNtuaK15u86mF2s2Z5B1vdL5MtZfWThFLnixKds8ABEmGbe8n75Dym5Wv3pkEXQ6XPpaMjUxHfRJB3EfcoFM5nsZHWSTfbFBcHxSRnEiiU67cgJsBUpQn7FvEvqNLiKM4fL3yyykMtQ6RjAS8rhycszphvQa5qFrDHie4vPuTq8'

has less boxes than

curl -X 'POST' \
  'https://node.ergopool.io/blockchain/box/byAddress?offset=0&limit=5' \
  -H 'accept: application/json' \
  -H 'Content-Type: application/json' \
  -d 'ChTbcUHgBNqNMVjzV1dvCb2UDrX9nh6rGGcURCFEYXuH5ykKh7Ea3FvpFhHb9AnxXJkgAZ6WASN7Rdn7VMgkFaqP5Z5RWp84cDTmsZkhYrgAVGN7mjeLs8UxqUvRi2ArZbm35Xqk8Y88Uq2MJzmDVHLHzCYRGym8XPxFM4YEVxqzHSKYYDvaMLgKvoskFXKrvceAqEiyih26hjpekCmefiF1VmrPwwShrYYxgHLFCZdigw5JWKV4DmewuR1FH3oNtGoFok859SXeuRbpQfrTjHhGVfDsbXEo3GYP2imAh1APKyLEsG9LcE5WZnJV8eseQnYA8sACLDKZ8Tbpp9KUE7QZNFpnwGnkYx7eybbrCeFDFjTGpsBzaS6fRKrWj2J4Wy3TTyTU1F8iMCrHBF8inZPw9Kg9YEZuJMdXDFNtuaK15u86mF2s2Z5B1vdL5MtZfWThFLnixKds8ABEmGbe8n75Dym5Wv3pkEXQ6XPpaMjUxHfRJB3EfcoFM5nsZHWSTfbFBcHxSRnEiiU67cgJsBUpQn7FvEvqNLiKM4fL3yyykMtQ6RjAS8rhycszphvQa5qFrDHie4vPuTq8'
kushti commented 2 months ago

@jellymlg can you take a look into please ?