Skip to content

Commit 8ad132a

Browse files
committed
fixes
1 parent b284def commit 8ad132a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/ethereum_test_types/blob_types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ def get_commitment(data: Bytes) -> Bytes:
123123
)
124124

125125
# calculate commitment
126-
commitment = ckzg.blob_to_kzg_commitment(data, Blob._trusted_setup)
126+
commitment = ckzg.blob_to_kzg_commitment(data, Blob.trusted_setup())
127127
assert len(commitment) == fork.get_blob_constant("BYTES_PER_COMMITMENT"), (
128128
f"Expected {fork.get_blob_constant('BYTES_PER_COMMITMENT')} "
129129
f"resulting commitments but got {len(commitment)} commitments"

src/ethereum_test_types/transaction_types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -665,7 +665,7 @@ class NetworkWrappedTransaction(CamelModel, RLPSerializable):
665665

666666
tx: Transaction
667667
blob_objects: Sequence[Blob]
668-
wrapper_version: Union[Bytes | None] = None # only exists in >= osaka
668+
wrapper_version: int | None = None # only exists in >= osaka
669669

670670
@computed_field # type: ignore[prop-decorator]
671671
@property

0 commit comments

Comments
 (0)