Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "chore: revert to working version" #622

Open
wants to merge 11 commits into
base: main
Choose a base branch
from
2 changes: 1 addition & 1 deletion src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ type CoingeckoSupportedChainId =
| 42220
| 1088;

const CHAIN_DATA_VERSION = "71";
const CHAIN_DATA_VERSION = "73";

export type Token = {
code: string;
Expand Down
10 changes: 9 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -541,6 +541,14 @@ async function catchupAndWatchChain(
try {
// console.time(args.event.name);
// do not await donation inserts as they are write only
indexerLogger.debug(
"DEBUG - event:",
args.event.name,
"- chainId:",
args.chainId,
"- event:",
event
);
if (args.event.name === "Voted") {
handleAlloV1Event(args)
.then((changesets) => db.applyChanges(changesets))
Expand Down Expand Up @@ -572,7 +580,7 @@ async function catchupAndWatchChain(
}
} catch (err) {
indexerLogger.warn({
msg: "skipping event due to error while processing",
msg: `skipping event due to error while processing - ${args.event.name}`,
err,
event: args.event,
});
Expand Down
Loading