polkadot-evm / frontier

Ethereum compatibility layer for Substrate.
Apache License 2.0
574 stars 487 forks source link

basefee pallet inline docs for pallet description #1476

Closed ozgunozerk closed 3 months ago

ozgunozerk commented 3 months ago

It's not a critical thing, but it's better to have small description/summary for each pallet in src/lib.rs. For example, you guys already have that for pallet-ethereum.

I had to check to source-code and read all the code of basefee pallet to understand what this pallet does just to be sure.

Added the inline docs as a draft, feel free to change it or merge it as is.