0xMiden / 0xMiden/protocol

Implement demand-based base fee changes

未关闭
#1,686 0 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
fees kernels
主要语言
Rust
星标
132
派生
167
平均合并
1 天 23 小时
30 天内合并 PR
110

描述

The initial fee implementation has static base fees, for simplicity.

We should implement EIP-1559-style demand-based changes. Here we have to do some research on the concrete mathematical model to use. The mechanism in EIP-1559 may be a bit too sensitive and a better approach suggested to us was a momentum-based approach where the base fee increases in a larger step only if there are 3-4 blocks in a row that are above target utilization.

One option is also to start with the same model from EIP-1559 with some appropriate parameter changes (e.g. due to different block times in Miden vs Ethereum) and leave these advanced optimizations for later.

Broken out of https://github.com/0xMiden/miden-base/issues/1673.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。