Closed gianfra-t closed 9 months ago
@ebma I sent a re-review because for some reason it is preventing the merge, and no changes were done.
Ah merging is blocked because the last commit is mine so my approval doesn't count anymore. I'll merge it anyways.
Thanks! I will deploy the new versions shortly.
Closes #50.
Changes in this PR
TOKEN_METADATA_MAP
, which is required to properly handle any incoming token, otherwise the event with will be ignored or wrongly indexed.CHAIN_ID
, and corresponding getter function.handleTokenDeposited
function. Previously, for any deposit related toZenlinkLPToken
we were creating aBurn
addition to thetransaction
entity, when it should be aMint
that represents the creation of said LP token. Please, see bifrost implementation for the same handler. This was leading to problems when indexing a liquidity addition event, where amint
entry in the transaction is expected.typegen-pendulum.json
and regeneration of types.Other changes
killFarmingPoolInfo
, we modify the condition to handleZenlinkLPToken
token kind instead ofLPToken
, and transform it to zenlink id in the same way asupdateFarmingPoolInfo
. This change is not necessary for the issue and sadly, there are no "kill pool" events to test it.