({
cause,
maxFeePerGas,
}: {
cause?: BaseError | undefined
maxFeePerGas?: bigint | undefined
} = {})
| 70 | static nodeMessage = |
| 71 | /max fee per gas less than block base fee|fee cap less than block base fee|transaction is outdated/ |
| 72 | constructor({ |
| 73 | cause, |
| 74 | maxFeePerGas, |
| 75 | }: { |
| 76 | cause?: BaseError | undefined |
| 77 | maxFeePerGas?: bigint | undefined |
| 78 | } = {}) { |
| 79 | super( |
| 80 | `The fee cap (\`maxFeePerGas\`${ |
| 81 | maxFeePerGas ? ` = ${formatGwei(maxFeePerGas)}` : '' |
| 82 | } gwei) cannot be lower than the block base fee.`, |
| 83 | { |
| 84 | cause, |
| 85 | name: 'FeeCapTooLowError', |
| 86 | }, |
| 87 | ) |
| 88 | } |
| 89 | } |
| 90 | |
| 91 | export type NonceTooHighErrorType = NonceTooHighError & { |
nothing calls this directly
no test coverage detected