Skip to content
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

Batch signature submission lasting several blocks and suboptimal #29

Open
filippos47 opened this issue Nov 10, 2024 · 0 comments
Open

Comments

@filippos47
Copy link
Member

filippos47 commented Nov 10, 2024

Version: v0.7.0

I notice that several blocks might elapse between successful submission of sig batches. Is it due to BBN nodes preferring to include other txs in blocks / fee issue / sig batch taking too long to build?

In the below log, block time is 30s - 4 blocks elapse between 2 consecutive batch submissions.

2024-11-10T19:20:42.927192Z	info	Successful transaction	{"chain_id": "devnet-4", "gas_used": 4291916, "fees": "39228ubbn", "fee_payer": "\u001f3\ufffd\ufffdI\ufffd\ufffd\ufffdv<bs\ufffd\ufffd\u0005\ufffd\ufffd\ufffd\u0018M", "height": 27038, "msg_types": ["/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs"], "tx_hash": "466C2912F20D1BA1325B66DFC668150C1ADBC7BA0EA51627BD40896F4956BA54"}
2024-11-10T19:22:51.552064Z	info	Successful transaction	{"chain_id": "devnet-4", "gas_used": 3594472, "fees": "35629ubbn", "fee_payer": "\u001f3\ufffd\ufffdI\ufffd\ufffd\ufffdv<bs\ufffd\ufffd\u0005\ufffd\ufffd\ufffd\u0018M", "height": 27042, "msg_types": ["/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs", "/babylon.btcstaking.v1.MsgAddCovenantSigs"], "tx_hash": "80235B7EA5FF360EC64D77167BED89D71EDA275CA269B289727E505B323F449D"}

Another thing is that currently, the batch sig limit is configured to 100 sigs. The network has more than 1k pending delegations, so theoretically each batch submission should contain the maximum amount of sigs to catch up (100). However the covenants batch is rarely hitting 100 sigs per submission. Why is that?

@filippos47 filippos47 changed the title Batch signature submission lasting several blocks Batch signature submission lasting several blocks and suboptimal Nov 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant