---
id: TIP-1100
title: Increase Precompile Input Gas Cost
description: Increases the calldata input charge for Tempo precompiles from 6 to 30 gas per 32-byte word.
authors: Arsenii Kulikov (@klkvr)
status: Draft
related: TIP-1020, TIP-1099
protocolVersion: T11
---

# TIP-1100: Increase Precompile Input Gas Cost

## Motivation

The existing charge underprices some dynamic input decoding. Benchmarks put
worst-case ABI decoding at about 200 MGas/s under the current schedule. A 5×
increase brings it to 1 GGas/s while adding less than 768 gas for calls below
1 KiB.

---

# Specification

For every Tempo precompile call, let:

```text
words = ceil(calldata_length / 32)
```

The implementation MUST deduct the following execution gas before function
dispatch or argument decoding:

```text
before T11: words * 6
T11 onward: words * 30
```

The charge applies to all Tempo precompiles and all input bytes, including the
function selector. If the caller has insufficient gas, execution MUST halt with
out-of-gas before decoding. T11 does not change any other precompile gas charge.
