Skip to content
This repository has been archived by the owner on Mar 30, 2023. It is now read-only.

Abnormal Base Fee #62

Closed
AurevoirXavier opened this issue Mar 11, 2022 · 6 comments · Fixed by #171
Closed

Abnormal Base Fee #62

AurevoirXavier opened this issue Mar 11, 2022 · 6 comments · Fixed by #171
Assignees

Comments

@AurevoirXavier
Copy link
Member

image

@boundless-forest
Copy link
Member

The current design of the Base Fee doesn't have MinFeePerGas. When there are many consecutive empty blocks, the fee per gas will decrease per block until to the minimal value of 8.

@boundless-forest
Copy link
Member

Another bad result is the eth_feeHistory response is also wrong. @xiaoch05

{
    "jsonrpc": "2.0",
    "result": {
        "baseFeePerGas": [
            "0x8",
            "0x8",
            "0x7"
        ],
        "gasUsedRatio": [
            0.0,
            0.0
        ],
        "oldestBlock": "0x1a7997",
        "reward": [
            [
                "0x0"
            ],
            [
                "0x0"
            ]
        ]
    },
    "id": 83
}

@AurevoirXavier
Copy link
Member Author

@AsceticBear What's the state of this?

@boundless-forest
Copy link
Member

Waiting for sync prs from upstream.

@hackfisher hackfisher transferred this issue from darwinia-network/darwinia-common Nov 23, 2022
@AurevoirXavier
Copy link
Member Author

Any updates?

@boundless-forest
Copy link
Member

Sorry for the delay. After polkadot-evm/frontier#892 merged, we do not need the base-fee pallet anymore.

We can fix this after bumping the substrate version to 0.9.34+.

@boundless-forest boundless-forest linked a pull request Jan 11, 2023 that will close this issue
6 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants