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
Add BaseFeeElasticity
storage value update to migration code
#1744
Conversation
Do we want to call |
get_storage_value::<Permill>(module, item, &[]).unwrap_or(Permill::zero()); | ||
if !current_value.is_zero() { | ||
// Set Elasticity to zero, which results in constant BaseFeePerGas | ||
let write = pallet_base_fee::Pallet::<T>::set_elasticity_inner(Permill::zero()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tgmichel After this, maybe it's time to change the fixed gas price to the base-fee pallet?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes thank you, will do that on a separate PR
Is this for RT1800 or RT1900 ? |
@crystalin RT1900, which will most likely include polkadot-evm/frontier#794 |
What does it do?
We need to update the storage value for BaseFee::Elasticity to Permill::zero before or at the time we introduce the upstream changes in polkadot-evm/frontier#794
What important points reviewers should know?
Is there something left for follow-up PRs?
What alternative implementations were considered?
Are there relevant PRs or issues in other repositories (Substrate, Polkadot, Frontier, Cumulus)?
What value does it bring to the blockchain users?