Skip to content

Added unbond period metrics - #7847

Merged
axenteoctavian merged 8 commits into
rc/supernovafrom
unbond-period-metrics
May 21, 2026
Merged

Added unbond period metrics#7847
axenteoctavian merged 8 commits into
rc/supernovafrom
unbond-period-metrics

Conversation

@axenteoctavian

@axenteoctavian axenteoctavian commented May 13, 2026

Copy link
Copy Markdown
Contributor

Reasoning behind the pull request

  • Needed parameters for integration tests on internal testnets

Proposed changes

  • Added three new network metrics exposing the unbond period configuration from StakingSystemSCConfig

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?

@axenteoctavian axenteoctavian self-assigned this May 13, 2026
sstanculeanu
sstanculeanu previously approved these changes May 14, 2026
ssd04
ssd04 previously approved these changes May 14, 2026
@github-actions

Copy link
Copy Markdown

Integration Tests completed with failures or errors.

📊 MultiversX Automated Test Report: View Report

🔄 Build Details:

  • mx-chain-go Commit Hash: 9b7414a130e3b1d2cd2c308205b88fb2c681f78c
  • Current Branch: unbond-period-metrics
  • mx-chain-go Target Branch: rc/supernova
  • mx-chain-simulator-go Target Branch: rc/supernova
  • mx-chain-simulator-go Commit Hash: f10bde764d4770bd9c6caeac60f6b57020bc0bdc
  • mx-chain-testing-suite Target Branch: rc/supernova
  • mx-chain-testing-suite Commit Hash: 56ce8892aaafd0aa8420d821eac8a4bbf25f6d56

🚀 Environment Variables:

  • TIMESTAMP: 2026_MAY_19__09_02_30
  • PYTEST_EXIT_CODE: 1

@codecov

codecov Bot commented May 19, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 75.00000% with 7 lines in your changes missing coverage. Please review.
✅ Project coverage is 77.53%. Comparing base (4b88efb) to head (e38b522).

Files with missing lines Patch % Lines
node/nodeRunner.go 0.00% 7 Missing ⚠️
Additional details and impacted files
@@              Coverage Diff              @@
##           rc/supernova    #7847   +/-   ##
=============================================
  Coverage         77.53%   77.53%           
=============================================
  Files               882      882           
  Lines            124494   124503    +9     
=============================================
+ Hits              96527    96538   +11     
+ Misses            21556    21552    -4     
- Partials           6411     6413    +2     

☔ View full report in Codecov by Sentry.
📢 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.

@axenteoctavian

Copy link
Copy Markdown
Contributor Author

Run Tests:
mx-chain-simulator-go: new-go-mod-13-mai
mx-chain-testing-suite: fix-unbonding-period

@github-actions

Copy link
Copy Markdown

Integration Tests completed with failures or errors.

📊 MultiversX Automated Test Report: View Report

🔄 Build Details:

  • mx-chain-go Commit Hash: 7ba82b2ed4cbe7f86aca9a9c700db2cea1533ef4
  • Current Branch: master
  • mx-chain-go Target Branch: ``
  • mx-chain-simulator-go Target Branch: new-go-mod-13-mai
  • mx-chain-testing-suite Target Branch: fix-unbonding-period
  • mx-chain-simulator-go Commit Hash: c706ce81c0767c0b1addba167ca2cc4218e54530

🚀 Environment Variables:

  • TIMESTAMP: 2026_MAY_19__10_58_44
  • PYTEST_EXIT_CODE: ``

@github-actions

Copy link
Copy Markdown

Integration Tests completed with failures or errors.

📊 MultiversX Automated Test Report: View Report

🔄 Build Details:

  • mx-chain-go Commit Hash: 9b7414a130e3b1d2cd2c308205b88fb2c681f78c
  • Current Branch: unbond-period-metrics
  • mx-chain-go Target Branch: rc/supernova
  • mx-chain-simulator-go Target Branch: new-go-mod-13-mai
  • mx-chain-simulator-go Commit Hash: c706ce81c0767c0b1addba167ca2cc4218e54530
  • mx-chain-testing-suite Target Branch: fix-unbonding-period
  • mx-chain-testing-suite Commit Hash: e1062fb3e3d0d3ddc993931369bc4795b0497300

🚀 Environment Variables:

  • TIMESTAMP: 2026_MAY_19__11_04_28
  • PYTEST_EXIT_CODE: 1

@axenteoctavian
axenteoctavian dismissed stale reviews from sstanculeanu and ssd04 via 9add10b May 19, 2026 12:39
@github-actions

Copy link
Copy Markdown

Integration Tests passed successfully!

📊 MultiversX Automated Test Report: View Report

🔄 Build Details:

  • mx-chain-go Commit Hash: 9add10be8ae130b2945047a521a3cbae9a53bd88
  • Current Branch: unbond-period-metrics
  • mx-chain-go Target Branch: rc/supernova
  • mx-chain-simulator-go Target Branch: new-go-mod-13-mai
  • mx-chain-simulator-go Commit Hash: c706ce81c0767c0b1addba167ca2cc4218e54530
  • mx-chain-testing-suite Target Branch: fix-unbonding-period
  • mx-chain-testing-suite Commit Hash: e1062fb3e3d0d3ddc993931369bc4795b0497300

🚀 Environment Variables:

  • TIMESTAMP: 2026_MAY_19__12_40_39
  • PYTEST_EXIT_CODE: 0

@github-actions

Copy link
Copy Markdown

Integration Tests passed successfully!

📊 MultiversX Automated Test Report: View Report

🔄 Build Details:

  • mx-chain-go Commit Hash: 8f79d46afe2d66e8ef8788d2e682c0e633e73ae3
  • Current Branch: unbond-period-metrics
  • mx-chain-go Target Branch: rc/supernova
  • mx-chain-simulator-go Target Branch: new-go-mod-13-mai
  • mx-chain-simulator-go Commit Hash: 7191f7e649e9a5e1a14dab10d90da879e3d93c78
  • mx-chain-testing-suite Target Branch: fix-unbonding-period
  • mx-chain-testing-suite Commit Hash: e1062fb3e3d0d3ddc993931369bc4795b0497300

🚀 Environment Variables:

  • TIMESTAMP: 2026_MAY_20__11_26_45
  • PYTEST_EXIT_CODE: 0

sstanculeanu
sstanculeanu previously approved these changes May 20, 2026
ssd04
ssd04 previously approved these changes May 20, 2026
Comment thread common/constants.go Outdated
MetricSupernovaEnableEpoch = "erd_supernova_enable_epoch"

// MetricUnBondPeriod represents the unbond period in rounds from StakingSystemSCConfig
MetricUnBondPeriod = "erd_un_bond_period"

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

can you use erd_unbond_*? We already have erd_unbond_tokens_v2_enable_epoch

@axenteoctavian
axenteoctavian dismissed stale reviews from ssd04 and sstanculeanu via e38b522 May 21, 2026 07:16
@multiversx multiversx deleted a comment from github-actions Bot May 21, 2026
@github-actions

Copy link
Copy Markdown

Integration Tests completed with failures or errors.

📊 MultiversX Automated Test Report: View Report

🔄 Build Details:

  • mx-chain-go Commit Hash: e38b52262dd46da5c6d5e802ced8ef09ba54aa07
  • Current Branch: unbond-period-metrics
  • mx-chain-go Target Branch: rc/supernova
  • mx-chain-simulator-go Target Branch: new-go-mod-13-mai
  • mx-chain-simulator-go Commit Hash: 98d60563c0cbfb74b7e08118900ea0a24b9d1816
  • mx-chain-testing-suite Target Branch: fix-unbonding-period
  • mx-chain-testing-suite Commit Hash: N/A

🚀 Environment Variables:

  • TIMESTAMP: 2026_MAY_21__07_20_23
  • PYTEST_EXIT_CODE: ``

@github-actions

Copy link
Copy Markdown

Integration Tests passed successfully!

📊 MultiversX Automated Test Report: View Report

🔄 Build Details:

  • mx-chain-go Commit Hash: e38b52262dd46da5c6d5e802ced8ef09ba54aa07
  • Current Branch: unbond-period-metrics
  • mx-chain-go Target Branch: rc/supernova
  • mx-chain-simulator-go Target Branch: new-go-mod-13-mai
  • mx-chain-simulator-go Commit Hash: 98d60563c0cbfb74b7e08118900ea0a24b9d1816
  • mx-chain-testing-suite Target Branch: fix-unbonding-period
  • mx-chain-testing-suite Commit Hash: 721b7cf9556635cc0cd1c522da1eb0d3fa25c0c7

🚀 Environment Variables:

  • TIMESTAMP: 2026_MAY_21__07_23_46
  • PYTEST_EXIT_CODE: 0

@axenteoctavian
axenteoctavian merged commit 0699071 into rc/supernova May 21, 2026
13 of 16 checks passed
@axenteoctavian
axenteoctavian deleted the unbond-period-metrics branch May 21, 2026 12:49
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.

5 participants