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 effective gas price calculation #2303

Merged
merged 1 commit into from
Apr 24, 2024
Merged

Conversation

karlb
Copy link
Contributor

@karlb karlb commented Apr 24, 2024

6351612 introduced the bug by accidentally losing the negation in if !s.b.ChainConfig().IsLondon(bigblock). This results in wrong effectiveGasPrice values to be returned from the RPC. The actually transferred fees are correct.

6351612 introduced the bug by
accidentally losing the negation in `if
!s.b.ChainConfig().IsLondon(bigblock)`. This results in wrong
`effectiveGasPrice` values to be returned from the RPC. The actually
transferred fees are correct.
Copy link

github-actions bot commented Apr 24, 2024

Coverage from tests in ./e2e_test/... for ./consensus/istanbul/... at commit 8943a5d

coverage: 50.9% of statements across all listed packages
coverage:  63.4% of statements in consensus/istanbul
coverage:  42.8% of statements in consensus/istanbul/announce
coverage:  55.8% of statements in consensus/istanbul/backend
coverage:   0.0% of statements in consensus/istanbul/backend/backendtest
coverage:  24.3% of statements in consensus/istanbul/backend/internal/replica
coverage:  65.5% of statements in consensus/istanbul/core
coverage:  50.0% of statements in consensus/istanbul/db
coverage:   0.0% of statements in consensus/istanbul/proxy
coverage:  64.2% of statements in consensus/istanbul/uptime
coverage:  51.8% of statements in consensus/istanbul/validator
coverage:  79.2% of statements in consensus/istanbul/validator/random

Copy link

5883 passed, 45 skipped

@karlb karlb marked this pull request as ready for review April 24, 2024 10:24
@karlb karlb enabled auto-merge (squash) April 24, 2024 10:30
@karlb karlb merged commit 8943a5d into master Apr 24, 2024
25 of 26 checks passed
@karlb karlb deleted the karlb/fix-effective-gas-price branch April 24, 2024 10:34
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.

2 participants