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

[pallet-revive] gas-price update #7395

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open

Conversation

pgherveou
Copy link
Contributor

@pgherveou pgherveou commented Jan 29, 2025

  • Update the default gas_price to 20Gwei, a more sensible value based on Ethereum mainnet average.
    This works better with web3.js that hard code the defaultMaxPriorityFeePerGas to 2.5Gwei

  • Since the gas_price value may change over time it's now served through runtime API instead of being a shared constant

  • Fixed The Gas Used reported in Receipts. Moved the free functions into a 'receipt_extractor' module

should fix paritytech/contract-issues#24

@pgherveou pgherveou marked this pull request as draft January 29, 2025 17:03
@pgherveou pgherveou force-pushed the pg/change-gas-price branch from 90a5141 to 854c17d Compare January 30, 2025 09:29
@pgherveou pgherveou marked this pull request as ready for review January 30, 2025 09:44
@pgherveou
Copy link
Contributor Author

/cmd prdoc --audience runtime_dev --bump minor

@pgherveou pgherveou added T7-smart_contracts This PR/Issue is related to smart contracts. R0-silent Changes should not be mentioned in any release notes labels Jan 30, 2025
@paritytech-workflow-stopper
Copy link

All GitHub workflows were cancelled due to failure one of the required jobs.
Failed workflow url: https://github.com/paritytech/polkadot-sdk/actions/runs/13049659057
Failed job name: test-linux-stable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
R0-silent Changes should not be mentioned in any release notes T7-smart_contracts This PR/Issue is related to smart contracts.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

REMIX IDE - web3-lib.ts and deploy_with_web3.ts scripts are not working
1 participant