From 40f8dbc124e10cb2d8bbc34d41f2f3ddbc3f308d Mon Sep 17 00:00:00 2001 From: Bibek Pandey Date: Mon, 24 Feb 2025 13:10:09 +0545 Subject: [PATCH] (func-test): Set default value for relay_misc in config to be true --- functional-tests/factory/config.py | 2 +- functional-tests/tests/rpc_bridge_msg.py | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/functional-tests/factory/config.py b/functional-tests/factory/config.py index 212301875..a186e4acf 100644 --- a/functional-tests/factory/config.py +++ b/functional-tests/factory/config.py @@ -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 diff --git a/functional-tests/tests/rpc_bridge_msg.py b/functional-tests/tests/rpc_bridge_msg.py index f728a4591..fc3a426e4 100644 --- a/functional-tests/tests/rpc_bridge_msg.py +++ b/functional-tests/tests/rpc_bridge_msg.py @@ -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] }