Skip to content

(predict) fix: use block timestamp for creation time - #25

Merged
rajat2502 merged 2 commits into
mainfrom
rajat/fx-created-timestamp
Jul 21, 2025
Merged

(predict) fix: use block timestamp for creation time#25
rajat2502 merged 2 commits into
mainfrom
rajat/fx-created-timestamp

Conversation

@rajat2502

@rajat2502 rajat2502 commented Jul 21, 2025

Copy link
Copy Markdown
Contributor

Proposed changes

Use blockTimestamp from the trader agent to get the creation time.

Types of changes

What types of changes does your code introduce?
Put an x in the boxes that apply

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

<StatisticCard
title="Created"
value={getTimeAgo(Number(agent.firstParticipation) * 1000)}
value={getTimeAgo(Number(agent.blockTimestamp) * 1000)}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

thanks!

@rajat2502 rajat2502 changed the title (predict) fix: use block timestamp for creation time fix: use block timestamp for creation time Jul 21, 2025
@rajat2502 rajat2502 changed the title fix: use block timestamp for creation time (predict) fix: use block timestamp for creation time Jul 21, 2025
@rajat2502
rajat2502 merged commit bdf2bac into main Jul 21, 2025
2 checks passed
@rajat2502
rajat2502 deleted the rajat/fx-created-timestamp branch July 21, 2025 08:50
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.

3 participants