Skip to content

rpc.txfeecap is not being respected #10582

@eldarbogdanov

Description

@eldarbogdanov

Attempting to send transaction through eth_sendRawTransaction with tx fee above 1 ether fails with txFee ... exceeds the configuration cap error, in spite of Erigon client running with unlimited cap (--rpc.txfeecap 0). The code looks like it's using the default RPCTxFeeCap instead of the user-provided one.

System information

Erigon version: any

Erigon Command (with flags/config): erigon --rpc.txfeecap 0 ... yadayadayada ...

Chain/Network: Amoy

Expected behaviour

eth_sendRawTransaction should allow providing fees above the user-configured rpc.txfeecap limit.

Actual behaviour

eth_sendRawTransaction caps fees at the default (1 ether) and fails with txFee ... exceeds the configuration cap (1.00 ether).

Steps to reproduce the behaviour

Run the client with non-default rpc.txfeecap and run eth_sendRawTransaction with fee above this default.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions