Skip to content

Commit 8584c5d

Browse files
authored
Update EIP-7907: add hyperlinks
Merged by EIP-Bot.
1 parent 9970be5 commit 8584c5d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

EIPS/eip-7907.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,15 @@ This EIP proposes a gas-based solution that allows contracts of any size while e
2323

2424
## Specification
2525

26-
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119 and RFC 8174.
26+
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in [RFC 2119](https://www.rfc-editor.org/rfc/rfc2119) and [RFC 8174](https://www.rfc-editor.org/rfc/rfc8174).
2727

28-
1. Update the EIP-170 contract code size limit of 24KB (`0x6000` bytes) to 256KB (`0x20000` bytes).
28+
1. Update the [EIP-170](./eip-170.md) contract code size limit of 24KB (`0x6000` bytes) to 256KB (`0x20000` bytes).
2929
2. Change the gas schedule for opcodes which load code. Specifically, the `CALL`, `STATICCALL`, `DELEGATECALL`, `CALLCODE` and `EXTCODECOPY` opcodes are modified so that `ceil32(excess_contract_size) * 2 // 32` gas is added to the [cold access cost](https://github.com/ethereum/execution-specs/blob/1a587803e3e698407d204888b02342393f8b4fe5/src/ethereum/cancun/vm/instructions/system.py#L367), where `excess_contract_size = max(0, contract_size - 0x6000)`. (Cf. initcode metering: [EELS](https://github.com/ethereum/execution-specs/blob/1a587803e3e698407d204888b02342393f8b4fe5/src/ethereum/cancun/vm/gas.py#L269)). If the account is warm, no change to the gas schedule occurs.
3030
3. Update the EIP-3860 contract code size limit of 48KB (`0xc000` bytes) to 512KB (`0x40000` bytes).
3131

3232
## Rationale
3333

34-
The gas cost of 2 per word was chosen in-line with EIP-3860. This accounts for:
34+
The gas cost of 2 per word was chosen in-line with [EIP-3860](./eip-3860.md). This accounts for:
3535

3636
1. The additional disk I/O for retrieving larger contract code
3737
2. The increased computational resources for preprocessing larger code for execution (a.k.a. "JUMPDEST analysis").

0 commit comments

Comments
 (0)