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

Solves inconsistencies in API return values #1929

Merged
merged 12 commits into from
Dec 13, 2023

Conversation

biwano
Copy link
Collaborator

@biwano biwano commented Nov 27, 2023

Description

Makes all timestamps returned as seconds since epoch (numbers)

See this comment for the rationale behind those changes (to be discussed): #1013 (comment)

Related Ticket

Resolves #1013

Checklist

  • I have run npm run build-all without errors
  • I have formatted JS and TS files with npm run format-all

@biwano biwano deployed to Preview – carbonmark-api November 27, 2023 06:14 — with GitHub Actions Active
Copy link

vercel bot commented Nov 27, 2023

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

Name Status Preview Comments Updated (UTC)
carbonmark ✅ Ready (Inspect) Visit Preview Dec 13, 2023 8:24am
carbonmark-api ✅ Ready (Inspect) Visit Preview Dec 13, 2023 8:24am
demo-integration ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 13, 2023 8:24am
klimadao-app ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 13, 2023 8:24am
klimadao-site ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 13, 2023 8:24am
1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
carbon ⬜️ Ignored (Inspect) Visit Preview Dec 13, 2023 8:24am

Copy link
Collaborator

@Atmosfearful Atmosfearful left a comment

Choose a reason for hiding this comment

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

Looks good to me, appreciate the cleanup! Will let @0xemc do final review and merge

@biwano biwano deployed to Preview – carbonmark-api December 11, 2023 06:42 — with GitHub Actions Active
@biwano
Copy link
Collaborator Author

biwano commented Dec 11, 2023

Looks good to me, appreciate the cleanup! Will let @0xemc do final review and merge

@0xemc If you can take a look.

carbonmark-api/package.json Show resolved Hide resolved
carbonmark-api/src/utils/helpers/utils.ts Show resolved Hide resolved
@0xemc
Copy link
Collaborator

0xemc commented Dec 11, 2023

Looks good to me, appreciate the cleanup! Will let @0xemc do final review and merge

@0xemc If you can take a look.

Looks good to me, merge away

Co-authored-by: Michael Collins <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

[performance] Convert BigNumbers further up the chain
3 participants