-
Notifications
You must be signed in to change notification settings - Fork 674
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to sign ValidationUptime message #3556
Comments
Can you show how you craft the An example can be found here. |
I followed your example.
but I just added this validator:
|
I just tried the following:
I've got:
|
Hmm, there seems a buggy behavior as that example creates a peer with [email protected] (the dependency in subnet-evm v0.6.12) and then tries to connect to a node that's running v1.12.0 and gets rejected. Could you try with this version https://github.com/ava-labs/subnet-evm/blob/v0.6.12-fuji-example/examples/sign-uptime-message/main.go? For your other issue, could you confirm that validator is registered with P-Chain API You can also see the current state in Subnet-EVM with https://docs.avax.network/api-reference/subnet-evm-api#validators_getcurrentvalidators |
I repeated all my previous steps with your branch of subnet-evm. If I use uptime more than 0:
If I set uptime to 0:
So, it looks like probably signing works (I suppose these bytes are signed message). But there's another issue with uptime tracking. I'm sure I added my PoS validator, check logs below:
I waited ~10-15 mins before I tried to sign uptime proof. UPD: after bootstrap node restarting I see uptime tracking has been starting. But it's strange behavior imo. Uptime is not tracked in realtime. Looks like it refreshes only after node restarts.
|
Could it be This seems a behaviour that the node you're trying to sign that message from was neve active or not connected to |
here's my validators output:
|
that node ( other one seems connected (or it's the same node). |
Yep, looks like the issue is in lack of connection between two nodes. I was able to fix it by adding nodes in --bootstrap-ids, ---bootstrap-ips. When this branch of subnet-evm is supposed to be merged or tagged? So I could rely on it as some kind of finalized? |
And another Q. Am I right that with public IP nodes should be observed without need of specifying bootstrap nodes? |
All features/changes are merged to v0.6.12. The v0.6.12-fuji-example tag tagged only for this specific example, you don't actually need to upgrade your nodes with that version. The bug is just in the example code and it does not need to have it's own release, all other stuff should be working fine with v0.6.12.
I see this in your logs |
@ceyonur, first of all thank you a lot for your help here! really appreciate it I tried to upgrade my devnet setup (upgraded avalanchego to v1.12.0-fuji and subnet-evm to v0.6.12). Then I dropped db folder and chainData/11111111111111111111111111111111LpoYY (because I saw some error on P-Chain). And finally one of my node (bootstrap node with weight 100) was able to boot and work well. Then I tried to repeat everything with 2nd node (PoS, weight 3). But I can't sync it with bootstrap node. First run ends with:
it successfully downloads chainData, but bootstrapping never ends. After node restart I got the following:
really sorry for prob off top here, but I'm in one step from checking if the original issue is solved for me completely. UPD: looks like I missed upgrade flow and that's the reason. I'll recreate the chain. |
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 usev1.12.0-initial-poc.9
of avalanchego. I also use subnet-evm of this commit - ava-labs/subnet-evm@cc414c8.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
blockchain_id
validation_id
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
Additional context
n/a
To best protect the Avalanche community security bugs should be reported in accordance to our Security Policy
The text was updated successfully, but these errors were encountered: