Test Filler Plugin¶
Top-level pytest configuration file providing: - Command-line options, - Test-fixtures that can be used by all test cases, and that modifies pytest hooks in order to fill test specs for all tests and writes the generated fixtures to file.
fill_test(t8n, b11r, test_spec, fork, engine, spec, eips=None)
¶
Fills fixtures for the specified fork.
Source code in /home/dtopz/code/github/danceratopz/execution-spec-tests/src/ethereum_test_tools/filling/fill.py
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 |
|
StateTest
dataclass
¶
Bases: BaseTest
Filler type that tests transactions over the period of a single block.
Source code in /home/dtopz/code/github/danceratopz/execution-spec-tests/src/ethereum_test_tools/spec/state_test.py
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 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 |
|
pytest_parameter_name()
classmethod
¶
Returns the parameter name used to identify this filler in a test.
Source code in /home/dtopz/code/github/danceratopz/execution-spec-tests/src/ethereum_test_tools/spec/state_test.py
38 39 40 41 42 43 |
|
make_genesis(b11r, t8n, fork)
¶
Create a genesis block from the state test definition.
Source code in /home/dtopz/code/github/danceratopz/execution-spec-tests/src/ethereum_test_tools/spec/state_test.py
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 |
|
make_blocks(b11r, t8n, genesis, fork, chain_id=1, eips=None)
¶
Create a block from the state test definition. Performs checks against the expected behavior of the test. Raises exception on invalid test behavior.
Source code in /home/dtopz/code/github/danceratopz/execution-spec-tests/src/ethereum_test_tools/spec/state_test.py
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 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 |
|
BlockchainTest
dataclass
¶
Bases: BaseTest
Filler type that tests multiple blocks (valid or invalid) in a chain.
Source code in /home/dtopz/code/github/danceratopz/execution-spec-tests/src/ethereum_test_tools/spec/blockchain_test.py
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 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 |
|
pytest_parameter_name()
classmethod
¶
Returns the parameter name used to identify this filler in a test.
Source code in /home/dtopz/code/github/danceratopz/execution-spec-tests/src/ethereum_test_tools/spec/blockchain_test.py
40 41 42 43 44 45 |
|
make_genesis(b11r, t8n, fork)
¶
Create a genesis block from the state test definition.
Source code in /home/dtopz/code/github/danceratopz/execution-spec-tests/src/ethereum_test_tools/spec/blockchain_test.py
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 |
|
make_block(b11r, t8n, fork, block, previous_env, previous_alloc, previous_head, chain_id=1, eips=None)
¶
Produces a block based on the previous environment and allocation. If the block is an invalid block, the environment and allocation returned are the same as passed as parameters. Raises exception on invalid test behavior.
Returns¶
FixtureBlock: Block to be appended to the fixture.
Environment: Environment for the next block to produce.
If the produced block is invalid, this is exactly the same
environment as the one passed as parameter.
Dict[str, Any]: Allocation for the next block to produce.
If the produced block is invalid, this is exactly the same
allocation as the one passed as parameter.
str: Hash of the head of the chain, only updated if the produced
block is not invalid.
Source code in /home/dtopz/code/github/danceratopz/execution-spec-tests/src/ethereum_test_tools/spec/blockchain_test.py
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 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 |
|
make_blocks(b11r, t8n, genesis, fork, chain_id=1, eips=None)
¶
Create a block list from the blockchain test definition. Performs checks against the expected behavior of the test. Raises exception on invalid test behavior.
Source code in /home/dtopz/code/github/danceratopz/execution-spec-tests/src/ethereum_test_tools/spec/blockchain_test.py
238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 |
|
pytest_addoption(parser)
¶
Adds command-line options to pytest.
Source code in /home/dtopz/code/github/danceratopz/execution-spec-tests/src/pytest_plugins/test_filler/test_filler.py
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 |
|
Yul
¶
Bases: Code
Yul compiler. Compiles Yul source code into bytecode.
Source code in /home/dtopz/code/github/danceratopz/execution-spec-tests/src/ethereum_test_tools/code/yul.py
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 |
|
assemble()
¶
Assembles using solc --assemble
.
Source code in /home/dtopz/code/github/danceratopz/execution-spec-tests/src/ethereum_test_tools/code/yul.py
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 |
|
version()
¶
Return solc's version string
Source code in /home/dtopz/code/github/danceratopz/execution-spec-tests/src/ethereum_test_tools/code/yul.py
105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 |
|
EvmBlockBuilder
¶
Bases: BlockBuilder
Go-ethereum evm
Block builder frontend.
Source code in /home/dtopz/code/github/danceratopz/execution-spec-tests/src/evm_block_builder/__init__.py
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 |
|
build(header, txs, ommers, withdrawals=None, clique=None, ethash=False, ethash_mode='normal')
¶
Executes evm b11r
with the specified arguments.
Source code in /home/dtopz/code/github/danceratopz/execution-spec-tests/src/evm_block_builder/__init__.py
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 |
|
version()
¶
Gets evm
binary version.
Source code in /home/dtopz/code/github/danceratopz/execution-spec-tests/src/evm_block_builder/__init__.py
117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 |
|
BaseTest
¶
Represents a base Ethereum test which must return a genesis and a blockchain.
Source code in /home/dtopz/code/github/danceratopz/execution-spec-tests/src/ethereum_test_tools/spec/base_test.py
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 |
|
make_genesis(b11r, t8n, fork)
abstractmethod
¶
Create a genesis block from the test definition.
Source code in /home/dtopz/code/github/danceratopz/execution-spec-tests/src/ethereum_test_tools/spec/base_test.py
81 82 83 84 85 86 87 88 89 90 91 |
|
make_blocks(b11r, t8n, genesis, fork, chain_id=1, eips=None)
abstractmethod
¶
Generate the blockchain that must be executed sequentially during test.
Source code in /home/dtopz/code/github/danceratopz/execution-spec-tests/src/ethereum_test_tools/spec/base_test.py
93 94 95 96 97 98 99 100 101 102 103 104 105 106 |
|
pytest_parameter_name()
abstractmethod
classmethod
¶
Must return the name of the parameter used in pytest to select this spec type as filler for the test.
Source code in /home/dtopz/code/github/danceratopz/execution-spec-tests/src/ethereum_test_tools/spec/base_test.py
108 109 110 111 112 113 114 115 |
|
pytest_configure(config)
¶
Register the plugin's custom markers and process command-line options.
Custom marker registration: https://docs.pytest.org/en/7.1.x/how-to/writing_plugins.html#registering-custom-markers
Source code in /home/dtopz/code/github/danceratopz/execution-spec-tests/src/pytest_plugins/test_filler/test_filler.py
91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 |
|
EIPSpecTestItem
¶
Bases: Item
Custom pytest test item to test EIP spec versions.
Source code in /home/dtopz/code/github/danceratopz/execution-spec-tests/src/pytest_plugins/spec_version_checker/spec_version_checker.py
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 |
|
from_parent(parent, module)
classmethod
¶
Public constructor to define new tests. https://docs.pytest.org/en/latest/reference/reference.html#pytest.nodes.Node.from_parent
Source code in /home/dtopz/code/github/danceratopz/execution-spec-tests/src/pytest_plugins/spec_version_checker/spec_version_checker.py
120 121 122 123 124 125 126 |
|
runtest()
¶
Define the test to execute for this item.
Source code in /home/dtopz/code/github/danceratopz/execution-spec-tests/src/pytest_plugins/spec_version_checker/spec_version_checker.py
128 129 130 131 132 |
|
reportinfo()
¶
Get location information for this test item to use test reports.
Source code in /home/dtopz/code/github/danceratopz/execution-spec-tests/src/pytest_plugins/spec_version_checker/spec_version_checker.py
134 135 136 137 138 |
|
pytest_report_header(config, start_path)
¶
Add lines to pytest's console output header
Source code in /home/dtopz/code/github/danceratopz/execution-spec-tests/src/pytest_plugins/test_filler/test_filler.py
117 118 119 120 121 122 123 124 125 |
|
evm_bin(request)
¶
Returns the configured evm tool binary path.
Source code in /home/dtopz/code/github/danceratopz/execution-spec-tests/src/pytest_plugins/test_filler/test_filler.py
128 129 130 131 132 133 |
|
solc_bin(request)
¶
Returns the configured solc binary path.
Source code in /home/dtopz/code/github/danceratopz/execution-spec-tests/src/pytest_plugins/test_filler/test_filler.py
136 137 138 139 140 141 |
|
EvmTransitionTool
¶
Bases: TransitionTool
Go-ethereum evm
Transition tool frontend.
Source code in /home/dtopz/code/github/danceratopz/execution-spec-tests/src/evm_transition_tool/__init__.py
142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 |
|
evaluate(alloc, txs, env, fork, chain_id=1, reward=0, eips=None)
¶
Executes evm t8n
with the specified arguments.
Source code in /home/dtopz/code/github/danceratopz/execution-spec-tests/src/evm_transition_tool/__init__.py
177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 |
|
version()
¶
Gets evm
binary version.
Source code in /home/dtopz/code/github/danceratopz/execution-spec-tests/src/evm_transition_tool/__init__.py
256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 |
|
is_fork_supported(fork)
¶
Returns True if the fork is supported by the tool
Source code in /home/dtopz/code/github/danceratopz/execution-spec-tests/src/evm_transition_tool/__init__.py
273 274 275 276 277 |
|
t8n(request, evm_bin)
¶
Returns the configured transition tool.
Source code in /home/dtopz/code/github/danceratopz/execution-spec-tests/src/pytest_plugins/test_filler/test_filler.py
144 145 146 147 148 149 150 151 152 153 |
|
b11r(request, evm_bin)
¶
Returns the configured block builder tool.
Source code in /home/dtopz/code/github/danceratopz/execution-spec-tests/src/pytest_plugins/test_filler/test_filler.py
156 157 158 159 160 161 162 |
|
strip_test_prefix(name)
¶
Removes the test prefix from a test case name.
Source code in /home/dtopz/code/github/danceratopz/execution-spec-tests/src/pytest_plugins/test_filler/test_filler.py
165 166 167 168 169 170 171 172 |
|
FixtureCollector
¶
Collects all fixtures generated by the test cases.
Source code in /home/dtopz/code/github/danceratopz/execution-spec-tests/src/pytest_plugins/test_filler/test_filler.py
175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 |
|
add_fixture(item, fixture)
¶
Adds a fixture to the list of fixtures of a given test case.
Source code in /home/dtopz/code/github/danceratopz/execution-spec-tests/src/pytest_plugins/test_filler/test_filler.py
189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 |
|
dump_fixtures()
¶
Dumps all collected fixtures to their respective files.
Source code in /home/dtopz/code/github/danceratopz/execution-spec-tests/src/pytest_plugins/test_filler/test_filler.py
227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 |
|
fixture_collector(request)
¶
Returns the configured fixture collector instance used for all tests in one test module.
Source code in /home/dtopz/code/github/danceratopz/execution-spec-tests/src/pytest_plugins/test_filler/test_filler.py
245 246 247 248 249 250 251 252 253 254 255 256 |
|
engine()
¶
Returns the sealEngine used in the generated test fixtures.
Source code in /home/dtopz/code/github/danceratopz/execution-spec-tests/src/pytest_plugins/test_filler/test_filler.py
259 260 261 262 263 264 |
|
filler_path(request)
¶
Returns the directory containing the tests to execute.
Source code in /home/dtopz/code/github/danceratopz/execution-spec-tests/src/pytest_plugins/test_filler/test_filler.py
267 268 269 270 271 272 |
|
eips()
¶
A fixture specifying that, by default, no EIPs should be activated for tests.
This fixture (function) may be redefined in test filler modules in order to overwrite this default and return a list of integers specifying which EIPs should be activated for the tests in scope.
Source code in /home/dtopz/code/github/danceratopz/execution-spec-tests/src/pytest_plugins/test_filler/test_filler.py
275 276 277 278 279 280 281 282 283 284 285 |
|
yul(fork, request)
¶
A fixture that allows contract code to be defined with Yul code.
This fixture defines a class that wraps the ::ethereum_test_tools.Yul class so that upon instantiation within the test case, it provides the test case's current fork parameter. The forks is then available for use in solc's arguments for the Yul code compilation.
Test cases can override the default value by specifying a fixed version with the @pytest.mark.compile_yul_with(FORK) marker.
Source code in /home/dtopz/code/github/danceratopz/execution-spec-tests/src/pytest_plugins/test_filler/test_filler.py
288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 |
|
state_test(request, t8n, b11r, fork, engine, reference_spec, eips, fixture_collector)
¶
Fixture used to instantiate an auto-fillable StateTest object from within a test function.
Every test that defines a StateTest filler must explicitly specify this fixture in its function arguments and set the StateTestWrapper's spec property.
Implementation detail: It must be scoped on test function level to avoid leakage between tests.
Source code in /home/dtopz/code/github/danceratopz/execution-spec-tests/src/pytest_plugins/test_filler/test_filler.py
320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 |
|
blockchain_test(request, t8n, b11r, fork, engine, reference_spec, eips, fixture_collector)
¶
Fixture used to define an auto-fillable BlockchainTest analogous to the state_test fixture for StateTests. See the state_test fixture docstring for details.
Source code in /home/dtopz/code/github/danceratopz/execution-spec-tests/src/pytest_plugins/test_filler/test_filler.py
355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 |
|
pytest_collection_modifyitems(items, config)
¶
A pytest hook called during collection, after all items have been collected.
Here we dynamically apply "state_test" or "blockchain_test" markers to a test if the test function uses the corresponding fixture.
Source code in /home/dtopz/code/github/danceratopz/execution-spec-tests/src/pytest_plugins/test_filler/test_filler.py
384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 |
|
pytest_make_parametrize_id(config, val, argname)
¶
Pytest hook called when generating test ids. We use this to generate more readable test ids for the generated tests.
Source code in /home/dtopz/code/github/danceratopz/execution-spec-tests/src/pytest_plugins/test_filler/test_filler.py
406 407 408 409 410 411 |
|
pytest_runtest_call(item)
¶
Pytest hook called in the context of test execution.
Source code in /home/dtopz/code/github/danceratopz/execution-spec-tests/src/pytest_plugins/test_filler/test_filler.py
414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 |
|
Fixture
dataclass
¶
Cross-client compatible Ethereum test fixture.
Source code in /home/dtopz/code/github/danceratopz/execution-spec-tests/src/ethereum_test_tools/common/types.py
1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 |
|
__post_init__()
¶
Post init hook to convert to JSON after instantiation.
Source code in /home/dtopz/code/github/danceratopz/execution-spec-tests/src/ethereum_test_tools/common/types.py
1062 1063 1064 1065 1066 |
|
fill_info(t8n, b11r, ref_spec)
¶
Fill the info field for this fixture
Source code in /home/dtopz/code/github/danceratopz/execution-spec-tests/src/ethereum_test_tools/common/types.py
1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 |
|
JSONEncoder
¶
Bases: json.JSONEncoder
Custom JSON encoder for ethereum_test
types.
Source code in /home/dtopz/code/github/danceratopz/execution-spec-tests/src/ethereum_test_tools/common/types.py
1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 |
|
default(obj)
¶
Enocdes types defined in this module using basic python facilities.
Source code in /home/dtopz/code/github/danceratopz/execution-spec-tests/src/ethereum_test_tools/common/types.py
1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 |
|