Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
shunjizhan committed May 13, 2024
1 parent 6e17338 commit 9b8a674
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion subql/.project-cid
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Qmc5kos2DEfecSwJNWAN2z5vtUGMppyDftoi1ptZACewUR
QmcYcYtBE9qFghbJaqSMGMXYjR7EVUcr7StiMJhxEYnF4X
4 changes: 0 additions & 4 deletions subql/src/mappings/mappingHandlers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,6 @@ export async function handleBlock(block: SubstrateBlock): Promise<void> {
const r1 = Number(formatUnits(exchangeRate, LDOT_DECIMALS));
const rateDiffMonth = r1 / r0;
apy = Number((rateDiffMonth ** (365 / 30) - 1).toFixed(8));

logger.info(JSON.stringify({
r0, r1, rateDiffMonth, apy
}))
}

const homaState = new HomaState(
Expand Down

0 comments on commit 9b8a674

Please sign in to comment.