ava-labs / avalanchego

Go implementation of an Avalanche node.
https://avax.network
BSD 3-Clause "New" or "Revised" License
2.14k stars 674 forks source link

Unable to sign ValidationUptime message #3556

Open perfilev-faraway opened 5 days ago

perfilev-faraway commented 5 days ago

Describe the bug I'm trying to request signing of ValidationUptime message. I use latest signature-aggregator from https://github.com/ava-labs/awm-relayer. I use v1.12.0-initial-poc.9 of avalanchego. I also use subnet-evm of this commit - https://github.com/ava-labs/subnet-evm/commit/cc414c8cd0fc36826a5cdfe60a1683bfd448fb72.

I see Response contained an empty signature","nodeID":"NodeID-D8ookM2Ne9VWvpjCBnrwiniwqqP8YuUNQ in signature-aggregator logs. Actual AppResponse is zeroed for all connected validators. Note that signature-aggregator signs RegisterValidator message successfully.

To Reproduce

  1. Create and deploy PoS L1 SoV (acp-77) on etna-devnet - remember blockchain_id
  2. Add one more validator (in addition to bootstrapped ones) - remember validation_id
  3. Craft UnsignedMessage according to ACP-77 (network_id: 76, blockchain_id: target blockchain id, source address of addressed call: nil)

Expected behavior Signed message by validators.

Screenshots n/a

Logs signature-aggregator.log logs.zip - logs from both validators (node1 - bootstrapped, node2 - newly added)

Metrics n/a

Operating System

Distributor ID: Ubuntu
Description:    Ubuntu 24.04.1 LTS
Release:        24.04
Codename:       noble

Additional context n/a

To best protect the Avalanche community security bugs should be reported in accordance to our Security Policy

ceyonur commented 5 days ago

Can you show how you craft the ValidationUptime message? I don't think ACP-77 has any specification for that message type.

An example can be found here.