Skip to content

Commit

Permalink
fix: rebase error revert
Browse files Browse the repository at this point in the history
  • Loading branch information
voidash committed Jan 14, 2025
1 parent a7bff9b commit 083c1e5
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions functional-tests/tests/fn_bridge_deposit_seq_unreliable.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

from envs import testenv
from envs.rollup_params_cfg import RollupConfig
from utils import get_bridge_pubkey, wait_until, wait_until_with_value
from utils import check_sequencer_down, get_bridge_pubkey, wait_until, wait_until_with_value
from utils.constants import SATS_TO_WEI


Expand Down Expand Up @@ -58,14 +58,3 @@ def main(self, ctx: flexitest.RunContext):
self.debug(f"Strata Balance after deposits: {balance_after_deposits}")

return True


def check_sequencer_down(seqrpc):
"""
Returns True if sequencer RPC is down
"""
try:
seqrpc.strata_protocolVersion()
return False
except RuntimeError:
return True

0 comments on commit 083c1e5

Please sign in to comment.