Skip to content

Commit

Permalink
fixup! fixup! Fix: Chain writer failed due to TypeError
Browse files Browse the repository at this point in the history
  • Loading branch information
hoh committed Feb 12, 2024
1 parent ab29a70 commit 6b9a4bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/chains/test_chain_data_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ async def test_prepare_sync_event_payload(mocker):
]

async def mock_add_file(
session: DbSession, fileobject: IO, engine: ItemType = ItemType.ipfs
session: DbSession, file_content: bytes, engine: ItemType = ItemType.ipfs
) -> str:
content = fileobject.read()
content = file_content
archive = OnChainSyncEventPayload.parse_raw(content)

assert archive.version == 1
Expand Down

0 comments on commit 6b9a4bc

Please sign in to comment.