Skip to content

When testing cross-chain functionality, there's an error with the consensus relayer. Thank you very much. #401

@pandeng123

Description

@pandeng123

My question:
After running the relayer, an error occurred. Am I missing some configuration? Or is it another error?
Consensus relayer error:

2025-03-18T07:25:38.123761Z INFO tesseract::cli: ?? Initializing tesseract consensus
2025-03-18T07:25:51.447147Z INFO tesseract::cli: Initialized consensus tasks
2025-03-18T07:25:52.310172Z INFO tesseract: ??? Transmitting consensus proof of size 30.2 KiB from Substrate([104, 97, 104, 97]) to Kusama(4009)
2025-03-18T07:25:53.058627Z ERROR tesseract_grandpa::host: Failed to submit transaction to Kusama(4009): Failed to submit unsigned extrinsic

Caused by:
0: Rpc error: RPC error: ErrorObject { code: ServerError(1010), message: "Invalid Transaction", data: Some(RawValue("Transaction has a bad signature")) }
1: RPC error: ErrorObject { code: ServerError(1010), message: "Invalid Transaction", data: Some(RawValue("Transaction has a bad signature")) }
2025-03-18T07:25:53.906198Z INFO tesseract: ??? Transmitting consensus proof of size 30.2 KiB from Substrate([104, 97, 104, 97]) to Kusama(4009)
2025-03-18T07:25:54.462383Z ERROR tesseract_grandpa::host: Failed to submit transaction to Kusama(4009): Failed to submit unsigned extrinsic

Caused by:
0: Rpc error: RPC error: ErrorObject { code: ServerError(1010), message: "Invalid Transaction", data: Some(RawValue("Transaction has a bad signature")) }
1: RPC error: ErrorObject { code: ServerError(1010), message: "Invalid Transaction", data: Some(RawValue("Transaction has a bad signature")) }
2025-03-18T07:25:55.327598Z INFO tesseract: ??? Transmitting consensus proof of size 30.2 KiB from Substrate([104, 97, 104, 97]) to Kusama(4009)
2025-03-18T07:25:55.864968Z ERROR tesseract_grandpa::host: Failed to submit transaction to Kusama(4009): Failed to submit unsigned extrinsic

My consensus relayer configuration:

[hyperbridge]
type = "grandpa"
 
[hyperbridge.grandpa]
rpc = "wss://paseo.dotters.network"
slot_duration = 6000
consensus_update_frequency = 60
para_ids = [4009]
 
[hyperbridge.substrate]
rpc_ws = "wss://hyperbridge-paseo-rpc.blockops.network"
hashing = "Keccak"
consensus_state_id = "PAS0"
state_machine = "KUSAMA-4009"
 
[MyChain]
type = "grandpa"
 
[MyChain.substrate]
rpc_ws = "ws://127.0.0.1:9944"
hashing = "Blake2"
consensus_state_id = "HAHA"
state_machine = "SUBSTRATE-haha"
 
[MyChain.grandpa]
rpc = "ws://127.0.0.1:9944"
slot_duration = 6000
consensus_update_frequency = 60
para_ids = []
 
[relayer]

My message relayer configuration:

# Hyperbridge config
[hyperbridge]
state_machine = "KUSAMA-4009"
rpc_ws = "wss://hyperbridge-paseo-rpc.blockops.network"
max_rpc_payload_size = 150000000

# Relayer config
[relayer]
minimum_profit_percentage = 0
withdrawal_frequency = 86400
minimum_withdrawal_amount = 100
unprofitable_retry_frequency = 600

delivery_endpoints = [
    "EVM-11155111",
    "SUBSTRATE-haha",
    "KUSAMA-4009"
]

[ethereum]
type = "evm"
state_machine = "EVM-11155111"
rpc_urls = ["https://sepolia.drpc.org"]
consensus_state_id = "ETH0"
etherscan_api_key = "VQNZE99WHI4WD3QC76ESMZZVSQDEZGNU1C"
ismp_host = "0x2EdB74C269948b60ec1000040E104cef0eABaae8"  # Sepolia IsmpHost 地址
signer = "0x6a47e0c4fb6d74fb77xxxxx90b6xxxx0d2f979559717a17172xx"
query_batch_size = 1000
client_type = "Geth"

[substrate]
type = "substrate"
state_machine = "SUBSTRATE-haha"
hashing = "Blake2"
rpc_ws = "ws://127.0.0.1:9944"
consensus_state_id = "HAHA"
signer = "0xe5be9a5092b81bca64be81d212e7f2f9eba183bb7a90954f7b76361f6edb5c0a"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions