Skip to content

Commit b572062

Browse files
committed
Leave only functional changes - in the diff
1 parent 93ce563 commit b572062

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

packages/testing/src/consensus_testing/test_fixtures/state_transition.py

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ class StateTransitionTest(BaseConsensusFixture):
6060
"""
6161
The filled Blocks, processed through the specs.
6262
63-
This is a private attribute not part of the model schema.
64-
Tests cannot set this. The framework populates it during make_fixture().
63+
This is a private attribute not part of the model schema. Tests cannot set
64+
this. The framework populates it during make_fixture().
6565
"""
6666

6767
post: StateExpectation | None = None
@@ -113,8 +113,7 @@ def make_fixture(self) -> "StateTransitionTest":
113113
"""
114114
Generate the fixture by running the spec.
115115
116-
Builds blocks from BlockSpec if needed, then processes them through
117-
state_transition.
116+
Builds blocks from BlockSpec if needed, then processes them through state_transition.
118117
119118
Returns:
120119
-------
@@ -194,9 +193,9 @@ def _build_block_from_spec(self, spec: BlockSpec, state: State) -> Block:
194193
Uses provided fields from spec, computes any missing fields.
195194
This mimics what a local block builder would do.
196195
197-
TODO: If the spec implements a State.produce_block() method in the
198-
future, we should use that instead of manually computing fields here.
199-
Until then, this manual approach is necessary.
196+
TODO: If the spec implements a State.produce_block() method in the future, we
197+
should use that instead of manually computing fields here. Until then, this
198+
manual approach is necessary.
200199
201200
Parameters
202201
----------

0 commit comments

Comments
 (0)