Skip to content

SHARD-1947 fix gasPrice issue#126

Merged
mhanson-github merged 1 commit intomainnet-launchfrom
fix/gasprice-issue
Mar 7, 2025
Merged

SHARD-1947 fix gasPrice issue#126
mhanson-github merged 1 commit intomainnet-launchfrom
fix/gasprice-issue

Conversation

@shanejonas
Copy link
Contributor

@shanejonas shanejonas commented Mar 7, 2025

@shanejonas shanejonas changed the title fix: initial gas price issue fix SHARD-1947 fix gasPrice issue Mar 7, 2025
gas: '0x' + txObj.gasLimit.toString(16),
value: '0x' + txObj.value.toString('hex'),
input: '0x' + txObj.data.toString('hex'),
gasPrice: '0x' + txObj.getBaseFee().toString(16),
Copy link
Contributor Author

Choose a reason for hiding this comment

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

In the existing code:

getBaseFee() returns the min gas the tx must have, not the gas price.

image

urnotsam
urnotsam previously approved these changes Mar 7, 2025
aniketdivekar
aniketdivekar previously approved these changes Mar 7, 2025
@mhanson-github mhanson-github changed the base branch from dev to mainnet-launch March 7, 2025 19:39
@mhanson-github mhanson-github dismissed stale reviews from aniketdivekar and urnotsam March 7, 2025 19:39

The base branch was changed.

@mhanson-github mhanson-github changed the base branch from mainnet-launch to dev March 7, 2025 19:39
@mhanson-github mhanson-github changed the base branch from dev to mainnet-launch March 7, 2025 21:10
@mhanson-github mhanson-github merged commit ebd4a28 into mainnet-launch Mar 7, 2025
@mhanson-github mhanson-github deleted the fix/gasprice-issue branch March 7, 2025 21:14
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