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

/tx url, speedups #18

Merged
merged 1 commit into from
May 25, 2024
Merged

/tx url, speedups #18

merged 1 commit into from
May 25, 2024

Conversation

nalinbhardwaj
Copy link
Member

redirect /tx/ to erc20 log in it, warm DB cache, couple other small speedups

Copy link

vercel bot commented May 24, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
ethreceipts ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 24, 2024 9:07pm

Copy link
Member

@dcposch dcposch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

File an issue for correctly handling multi-transfer txs > good to ship as is for now


if (whitelistedToken !== null) {
return {
tokenDecimal: BigInt(whitelistedToken.decimals),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit, tokenDecimals, can leave for later

log_idx = $3
);
tx_hash = $1
) ORDER BY v DESC LIMIT 1;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this will have funny results in some cases, but OK for now

@dcposch dcposch merged commit b4e90d0 into main May 25, 2024
4 checks passed
@dcposch
Copy link
Member

dcposch commented May 25, 2024

Follow-up: #19

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants