Skip to content

Update base timestamp#7842

Merged
ssd04 merged 5 commits into
feat/testnet-fixesfrom
api-unix-timestamp
Jun 17, 2026
Merged

Update base timestamp#7842
ssd04 merged 5 commits into
feat/testnet-fixesfrom
api-unix-timestamp

Conversation

@ssd04

@ssd04 ssd04 commented May 11, 2026

Copy link
Copy Markdown
Contributor

Reasoning behind the pull request

Proposed changes

Testing procedure

Pre-requisites

Based on the Contributing Guidelines the PR author and the reviewers must check the following requirements are met:

  • was the PR targeted to the correct branch?
  • if this is a larger feature that probably needs more than one PR, is there a feat branch created?
  • if this is a feat branch merging, do all satellite projects have a proper tag inside go.mod?

@ssd04 ssd04 self-assigned this May 11, 2026
sstanculeanu
sstanculeanu previously approved these changes May 11, 2026
@ssd04 ssd04 marked this pull request as ready for review May 27, 2026 08:46
@codecov

codecov Bot commented May 27, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 77.58%. Comparing base (818563b) to head (c6eabaa).

Additional details and impacted files
@@                  Coverage Diff                   @@
##           feat/testnet-fixes    #7842      +/-   ##
======================================================
- Coverage               77.59%   77.58%   -0.01%     
======================================================
  Files                     884      884              
  Lines                  125249   125259      +10     
======================================================
- Hits                    97181    97180       -1     
- Misses                  21618    21628      +10     
- Partials                 6450     6451       +1     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

miiu96
miiu96 previously approved these changes May 27, 2026
return
}

timestampMs := header.GetTimeStamp() // it will came as milliseconds for header v3

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.

typo came -> come

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

done

func (bbc *baseBlockChain) setMetricsBeforeHeaderV3(header data.HeaderHandler) {
bbc.appStatusHandler.SetUInt64Value(common.MetricNonce, header.GetNonce())

timestampS := header.GetTimeStamp() // it will came as seconds before header v3

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.

typo came -> come

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

done

@ssd04 ssd04 dismissed stale reviews from miiu96 and sstanculeanu via 04c8b53 June 16, 2026 12:47
@ssd04 ssd04 merged commit 70698ac into feat/testnet-fixes Jun 17, 2026
10 of 11 checks passed
@ssd04 ssd04 deleted the api-unix-timestamp branch June 17, 2026 09:04
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.

4 participants