This PR adds support for indexing legacy tinlake TVL and loans. Some changes have been made to the Loan entity in the graphQL schema in order to support legacy loans. Changes were also made to the snapshotting logic in order to make it work smoothly across chains.
I removed the --frozen-lockfile flag from yarn install so that we could add the abab package. Without it we run into a atob is not defined error when trying to index evm blocks. See here for a similar issue: https://github.com/subquery/subql/issues/1277
This PR adds support for indexing legacy tinlake TVL and loans. Some changes have been made to the Loan entity in the graphQL schema in order to support legacy loans. Changes were also made to the snapshotting logic in order to make it work smoothly across chains.
I removed the --frozen-lockfile flag from yarn install so that we could add the
abab
package. Without it we run into aatob is not defined
error when trying to index evm blocks. See here for a similar issue: https://github.com/subquery/subql/issues/1277