Skip to content

Commit 7d5f0c4

Browse files
committed
fix(fixtures): test
1 parent b418acb commit 7d5f0c4

File tree

1 file changed

+22
-20
lines changed

1 file changed

+22
-20
lines changed

src/ethereum_test_fixtures/tests/test_blockchain.py

Lines changed: 22 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1233,26 +1233,28 @@ def test_json_deserialization(
12331233
),
12341234
[Hash(1), Hash(2)],
12351235
Hash(3),
1236-
Requests(
1237-
[
1238-
DepositRequest( # type: ignore
1239-
pubkey=BLSPublicKey(0),
1240-
withdrawal_credentials=Hash(1),
1241-
amount=2,
1242-
signature=BLSSignature(3),
1243-
index=4,
1244-
),
1245-
WithdrawalRequest( # type: ignore
1246-
source_address=Address(0),
1247-
validator_pubkey=BLSPublicKey(1),
1248-
amount=2,
1249-
),
1250-
ConsolidationRequest( # type: ignore
1251-
source_address=Address(0),
1252-
source_pubkey=BLSPublicKey(1),
1253-
target_pubkey=BLSPublicKey(2),
1254-
),
1255-
]
1236+
Bytes(
1237+
Requests(
1238+
[
1239+
DepositRequest( # type: ignore
1240+
pubkey=BLSPublicKey(0),
1241+
withdrawal_credentials=Hash(1),
1242+
amount=2,
1243+
signature=BLSSignature(3),
1244+
index=4,
1245+
),
1246+
WithdrawalRequest( # type: ignore
1247+
source_address=Address(0),
1248+
validator_pubkey=BLSPublicKey(1),
1249+
amount=2,
1250+
),
1251+
ConsolidationRequest( # type: ignore
1252+
source_address=Address(0),
1253+
source_pubkey=BLSPublicKey(1),
1254+
target_pubkey=BLSPublicKey(2),
1255+
),
1256+
]
1257+
)
12561258
),
12571259
),
12581260
[

0 commit comments

Comments
 (0)