Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions tests/test_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -1021,6 +1021,7 @@ def test_chain_client_anchor_base_sepolia(self):
"""
from swarm_provenance_uploader.core.chain_client import ChainClient
import secrets
import time

try:
client = ChainClient(chain="base-sepolia")
Expand All @@ -1042,6 +1043,11 @@ def test_chain_client_anchor_base_sepolia(self):
assert result.tx_hash is not None
assert result.block_number > 0

# Wait for the anchor to propagate before verifying.
# Base Sepolia needs a few seconds for the state to be
# readable after the transaction is confirmed.
time.sleep(3)

# Verify it's on-chain
assert client.verify(swarm_hash=test_hash) is True
except Exception as e:
Expand Down