Skip to content

Commit

Permalink
(func-test): Set default value for relay_misc in config to be true
Browse files Browse the repository at this point in the history
  • Loading branch information
Bibek Pandey committed Feb 24, 2025
1 parent dac66b5 commit 40f8dbc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion functional-tests/factory/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ class ExecConfig:
class RelayerConfig:
refresh_interval: int = field(default=200)
stale_duration: int = field(default=20)
relay_misc: bool = field(default=False)
relay_misc: bool = field(default=True)


@dataclass
Expand Down
3 changes: 3 additions & 0 deletions functional-tests/tests/rpc_bridge_msg.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ def main(self, ctx: flexitest.RunContext):
# create both btc and sequencer RPC
seqrpc = seq.create_rpc()

# NOTE: the Bridge config should have relay_misc set to True in order
# for this to pass since the scope of the message is Misc

# BridgeMessage { source_id: 1,
# sig: [00] * 64
# scope: Misc, payload: [42] }
Expand Down

0 comments on commit 40f8dbc

Please sign in to comment.