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

fix: Incorrect value is transferred to zero account as the gas fee #2454

Conversation

saeed-zil
Copy link
Contributor

@saeed-zil saeed-zil commented Mar 6, 2025

I was not sure if zilliqa/tests/it/main.rs is the best place to factor out get_stakers and get_reward_address functions. There are used in both consensus.rs and staking.rs

@saeed-zil saeed-zil linked an issue Mar 6, 2025 that may be closed by this pull request
…rect-value-is-transferred-to-zero-account-as-the-gas-fees
Copy link
Contributor

github-actions bot commented Mar 6, 2025

🐰 Bencher Report

Branch2441-incorrect-value-is-transferred-to-zero-account-as-the-gas-fees
Testbedself-hosted

🚨 1 Alert

BenchmarkMeasure
Units
ViewBenchmark Result
(Result Δ%)
Upper Boundary
(Limit %)
process-empty/process-emptyLatency
milliseconds (ms)
📈 plot
🚷 threshold
🚨 alert (🔔)
11.62 ms
(+14.98%)Baseline: 10.10 ms
11.18 ms
(103.92%)

Click to view all benchmark results
BenchmarkLatencyBenchmark Result
milliseconds (ms)
(Result Δ%)
Upper Boundary
milliseconds (ms)
(Limit %)
full-blocks-erc20-transfers/full-blocks-erc20-transfers📈 view plot
🚷 view threshold
1,264.60 ms
(+17.66%)Baseline: 1,074.79 ms
1,370.83 ms
(92.25%)
full-blocks-evm-transfers/full-blocks-evm-transfers📈 view plot
🚷 view threshold
443.81 ms
(+7.68%)Baseline: 412.17 ms
502.77 ms
(88.27%)
full-blocks-zil-transfers/full-blocks-zil-transfers📈 view plot
🚷 view threshold
4,126.70 ms
(+4.23%)Baseline: 3,959.16 ms
5,341.43 ms
(77.26%)
process-empty/process-empty📈 view plot
🚷 view threshold
🚨 view alert (🔔)
11.62 ms
(+14.98%)Baseline: 10.10 ms
11.18 ms
(103.92%)

🐰 View full continuous benchmarking report in Bencher

Copy link
Collaborator

@JamesHinshelwood JamesHinshelwood left a comment

Choose a reason for hiding this comment

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

LGTM, but this needs to be conditionalised on a fork.

…rect-value-is-transferred-to-zero-account-as-the-gas-fees
Copy link
Collaborator

@JamesHinshelwood JamesHinshelwood left a comment

Choose a reason for hiding this comment

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

The actual change LGTM, but we need to change some things in the configuration.

Copy link
Collaborator

@JamesHinshelwood JamesHinshelwood left a comment

Choose a reason for hiding this comment

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

LGTM, thanks

…rect-value-is-transferred-to-zero-account-as-the-gas-fees
…the-gas-fees' of https://github.com/Zilliqa/zq2 into 2441-incorrect-value-is-transferred-to-zero-account-as-the-gas-fees
@saeed-zil saeed-zil added this pull request to the merge queue Mar 17, 2025
Merged via the queue into main with commit ed5df89 Mar 17, 2025
5 of 6 checks passed
@saeed-zil saeed-zil deleted the 2441-incorrect-value-is-transferred-to-zero-account-as-the-gas-fees branch March 17, 2025 11:43
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.

Incorrect value is transferred to zero account as the gas fees
2 participants