0xMiden / 0xMiden/protocol

Implement demand-based base fee changes

Đang mở
#1,686 0 bình luận 1 reaction 0 người được giao Xem trên GitHub
fees kernels
Ngôn ngữ chính
Rust
Star
132
Fork
167
Merge trung bình
1 ngày 23 giờ
Pull request đã merge (30 ngày)
110

Mô tả

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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.