We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ddfd266 commit df67a07Copy full SHA for df67a07
substrate/frame/revive/rpc/src/lib.rs
@@ -265,9 +265,9 @@ impl EthRpcServer for EthRpcServerImpl {
265
}
266
267
async fn max_priority_fee_per_gas(&self) -> RpcResult<U256> {
268
- // TODO: Provide better estimation
269
- let gas_price = self.gas_price().await?;
270
- Ok(Permill::from_percent(20).mul_ceil(gas_price))
+ // We do not support tips. Hence the recommended priority fee is
+ // always zero. The effective gas price will always be the base price.
+ Ok(Default::default())
271
272
273
async fn get_code(&self, address: H160, block: BlockNumberOrTagOrHash) -> RpcResult<Bytes> {
0 commit comments