Repository navigation
Expand file tree
/
Copy pathvulture_whitelist.py
More file actions
144 lines (122 loc) · 4.17 KB
/
Copy pathvulture_whitelist.py
File metadata and controls
144 lines (122 loc) · 4.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
"""
Whitelist for Vulture dead code detection.
This file references symbols that Vulture might incorrectly flag as unused.
The symbols are used indirectly through reflection, public APIs, or dynamic
imports. Each bare expression tells Vulture to ignore that specific symbol.
"""
from ethereum.cancun.blocks import Withdrawal
from ethereum_spec_tools.evm_tools.t8n.transition_tool import EELST8N
from ethereum.ethash import *
from ethereum.fork_criteria import Unscheduled
from ethereum.trace import EvmTracer
from ethereum.utils.hexadecimal import hex_to_bytes256
from ethereum_optimized.state_db import State
from ethereum_spec_tools.docc import *
from ethereum_spec_tools.evm_tools.daemon import _EvmToolHandler
from ethereum_spec_tools.evm_tools.loaders.transaction_loader import (
TransactionLoad,
)
from ethereum_spec_tools.evm_tools.t8n.env import Ommer
from ethereum_spec_tools.evm_tools.t8n.evm_trace.eip3155 import (
FinalTrace,
Trace,
)
from ethereum_spec_tools.lint.lints.glacier_forks_hygiene import (
GlacierForksHygiene,
)
from ethereum_spec_tools.lint.lints.import_hygiene import ImportHygiene
from ethereum_spec_tools.new_fork.codemod.comment import CommentReplaceCommand
from ethereum_spec_tools.new_fork.codemod.constant import SetConstantCommand
from ethereum_spec_tools.new_fork.codemod.string_replace import (
StringReplaceCommand,
)
# src/ethereum/utils/hexadecimal.py
hex_to_bytes256
# src/ethereum/cancun/blocks.py
Withdrawal.validator_index
# src/ethereum/fork_criteria.py
Unscheduled
# src/ethereum/ethash.py
ethash.generate_dataset
# src/ethereum/trace.py
EvmTracer.__call__
# src/ethereum/optimized/state_db.py
State.rollback_db_transaction
# src/ethereum_spec_tools/docc.py
docc.EthereumDiscover
docc.EthereumBuilder
docc.DiffSource.show_in_listing
docc.FixIndexTransform
docc.FixIndexTransform.transform
docc.MinimizeDiffsTransform
docc.MinimizeDiffsTransform.transform
docc._FixIndexVisitor.enter
docc._DoccAdapter.shallow_equals
docc._DoccAdapter.shallow_hash
docc._DoccApply.ascend
docc._DoccApply.descend
docc._DoccApply.insert
docc._HardenVisitor.enter
docc._MinimizeDiffsVisitor.enter
docc.render_diff
docc.render_before_after
# src/ethereum_spec_tools/evm_tools/daemon.py
_EvmToolHandler.do_POST
_EvmToolHandler.log_request
# src/ethereum_spec_tools/evm_tools/transition_tool.py
EELST8N
EELST8N._info_metadata
EELST8N.version
EELST8N.is_fork_supported
EELST8N.evaluate
# src/ethereum_spec_tools/loaders/transaction_loader.py
TransactionLoad.json_to_authorizations
TransactionLoad.json_to_chain_id
TransactionLoad.json_to_nonce
TransactionLoad.json_to_gas
TransactionLoad.json_to_to
TransactionLoad.json_to_value
TransactionLoad.json_to_data
TransactionLoad.json_to_access_list
TransactionLoad.json_to_gas_price
TransactionLoad.json_to_max_fee_per_gas
TransactionLoad.json_to_max_priority_fee_per_gas
TransactionLoad.json_to_max_fee_per_blob_gas
TransactionLoad.json_to_blob_versioned_hashes
TransactionLoad.json_to_v
TransactionLoad.json_to_y_parity
TransactionLoad.json_to_r
TransactionLoad.json_to_s
# src/ethereum_spec_tools/evm_tools/t8n/env.py
Ommer.delta
# src/ethereum_spec_tools/evm_tools/t8n/evm_trace/eip3155.py
Trace.gasCost
Trace.memSize
Trace.returnData
Trace.refund
Trace.opName
FinalTrace.gasUsed
# src/ethereum_spec_tools/lint/lints/glacier_forks_hygiene.py
GlacierForksHygiene
GlacierForksHygiene.visit_AnnAssign
# src/ethereum_spec_tools/lint/lints/glacier_forks_hygiene.py
ImportHygiene
ImportHygiene.visit_AnnAssign
# src/ethereum_spec_tools/new_fork/codemod/constant.py
SetConstantCommand
SetConstantCommand.METADATA_DEPENDENCIES
SetConstantCommand.add_args
SetConstantCommand.visit_Assign_targets
SetConstantCommand.leave_Assign_targets
SetConstantCommand.leave_Assign
# src/ethereum_spec_tools/new_fork/codemod/string.py
StringReplaceCommand
StringReplaceCommand.transform_module_impl
# src/ethereum_spec_tools/new_fork/codemod/comment.py
CommentReplaceCommand
CommentReplaceCommand.transform_module_impl
_children # unused attribute (src/ethereum_spec_tools/docc.py:751)
# enginex/conftest.py - pytest fixtures (not direct calls)
_configure_client_manager # autouse fixture
test_suite_name # hive test suite name fixture
genesis_header # genesis header fixture