Skip to content

Commit df67a07

Browse files
committed
bring change from #10018
1 parent ddfd266 commit df67a07

File tree

1 file changed

+3
-3
lines changed
  • substrate/frame/revive/rpc/src

1 file changed

+3
-3
lines changed

substrate/frame/revive/rpc/src/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -265,9 +265,9 @@ impl EthRpcServer for EthRpcServerImpl {
265265
}
266266

267267
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))
268+
// We do not support tips. Hence the recommended priority fee is
269+
// always zero. The effective gas price will always be the base price.
270+
Ok(Default::default())
271271
}
272272

273273
async fn get_code(&self, address: H160, block: BlockNumberOrTagOrHash) -> RpcResult<Bytes> {

0 commit comments

Comments
 (0)