File tree Expand file tree Collapse file tree 3 files changed +558
-0
lines changed
tests/prague/eip7623_increase_calldata_cost Expand file tree Collapse file tree 3 files changed +558
-0
lines changed Original file line number Diff line number Diff line change 1+ """
2+ abstract: Test [EIP-7623: Increase calldata cost](https://eips.ethereum.org/EIPS/eip-7623)
3+ Tests for [EIP-7623: Increase calldata cost](https://eips.ethereum.org/EIPS/eip-7623).
4+ """
Original file line number Diff line number Diff line change 1+ """
2+ Defines EIP-7623 specification constants and functions.
3+ """
4+
5+ from dataclasses import dataclass
6+
7+
8+ @dataclass (frozen = True )
9+ class ReferenceSpec :
10+ """
11+ Defines the reference spec version and git path.
12+ """
13+
14+ git_path : str
15+ version : str
16+
17+
18+ ref_spec_7623 = ReferenceSpec ("EIPS/eip-7623.md" , "9104d079c04737b1fec5f7150715f024d8028558" )
19+
20+
21+ # Constants
22+ @dataclass (frozen = True )
23+ class Spec :
24+ """
25+ Parameters from the EIP-7623 specifications as defined at
26+ https://eips.ethereum.org/EIPS/eip-7623
27+ """
28+
29+ STANDARD_TOKEN_COST = 4
30+ TOTAL_COST_FLOOR_PER_TOKEN = 10
You can’t perform that action at this time.
0 commit comments