function transferFrom(address sender, address recipient, uint256 amount) public override returns (bool) {
    transferSanity(sender, recipient, amount);
    return super.transferFrom(sender, recipient, amount);
}
function transferSanity(address sender, address recipient, uint256 amount) internal {
    adminSanity(sender, recipient);
    if (_txfeeRate > 0) _payTxFee(sender, amount);
}
function _payTxFee(address from, uint256 txAmount) internal override {
    uint256 txFees = calculateTxFee(txAmount);
    if (balanceOf(from) < txFees + txAmount) revert BalanceTooLow(txFees + txAmount, balanceOf(from));
    if (_feesFaucet != address(0)) _update(from, _feesFaucet, txFees);
    emit FeesPaid(from, txFees);
}
    function test_transferFrom_exceedAllowance() public {
        vm.startPrank(alice);
        token.approve(address(this), 100e6);
        vm.stopPrank();
        uint256 balBefore = token.balanceOf(alice);
        console.log("calling transferFrom to transfer 100 EURF");
        token.transferFrom(alice, bob, 100e6);
        assertGe(balBefore - token.balanceOf(alice), 100e6);
    }
[PASS] test_transferFrom_exceedAllowance() (gas: 87670)
Logs:
  calling transferFrom to transfer 100 EURF

Suite result: ok. 1 passed; 0 failed; 0 skipped; finished in 6.62ms (867.42s CPU time)

Ran 1 test suite in 138.69ms (6.62ms CPU time): 1 tests passed, 0 failed, 0 skipped (1 total tests)
function transferFrom(address sender, address recipient, uint256 amount) public override returns (bool) {
    uint256 txFees = calculateTxFee(amount);
    uint256 totalCost = amount + txFees;

    require(allowance(sender, msg.sender) >= totalCost, "ERC20: transfer amount exceeds allowance");

    transferSanity(sender, recipient, amount);
    return super.transferFrom(sender, recipient, amount);
}
