Proto commits in strangelove-ventures/horcrux

These 20 commits are when the Protocol Buffers files have changed:

Commit:7ec3ec7
Author:Andrew Gouin

reconcile changes to privval definition

Commit:039b8a3
Author:Andrew Gouin
Committer:Andrew Gouin

fix after rebase

Commit:1f6a79c
Author:Andrew Gouin
Committer:Andrew Gouin

pull in latest union

Commit:7ee8f4a
Author:Andrew Gouin
Committer:Andrew Gouin

remove comet as dependency

Commit:85f1b53
Author:Andrew Gouin
Committer:Andrew Gouin

regen protos

Commit:18d6915
Author:Andrew Gouin
Committer:Andrew Gouin

Marshal bn254 pubkeys

Commit:6ccfc19
Author:Andrew Gouin
Committer:GitHub

vote extensions (#242) * Support vote extensions * Update single signer test * Lint * add additional checks * Fix leader election test * fix e2e * lint * use grpc timeout in nonce overallocation * lint * Bump horcrux-proxy

The documentation is generated from this commit.

Commit:791b5f9
Author:Andrew Gouin

remove comet as dependency

Commit:5c32f1f
Author:Andrew Gouin

regen protos

Commit:0c9df8f
Author:Andrew Gouin
Committer:Andrew Gouin

Marshal bn254 pubkeys

Commit:eef600c
Author:Jakub Bujny
Committer:GitHub

Update Horcrux go.mod module path (#240) * Update go.mod * change package path --------- Co-authored-by: jakubbujny <jakub@figment.io>

Commit:73350e2
Author:Andrew Gouin
Committer:GitHub

Pre-share nonces (#218) * Pre-share nonces * lint * next cosigner retry * improve * fix test * lint * noplogger * Add fallback to old nonces fetch mechanism * lint * use new raft get leader ID * lint * lint * add back leader election timeout metric. Use existing grpc clients for ping * error types * Expired nonce pruning * should use nonceExpiration * make local cosigner nonce cache expiration twice the leader nonce cache

Commit:706fa2f
Author:Andrew Gouin
Committer:GitHub

remote signer grpc server (#215) * remote signer grpc server * simplify api * expose ToProto * Go 1.21 * buf.lock perms * Remove buf mod update * direct path * test updates * Fix race in leader election test * simplify * Add test for horcrux proxy * bump to go 1.21 in test too

Commit:788974c
Author:Andrew Gouin
Committer:GitHub

nonce rename (#165) * nonce rename * lint * feedback

Commit:839f66c
Author:Andrew Gouin

implement legacy soft signer

Commit:f6df4ef
Author:Andrew Gouin
Committer:GitHub

Make threshold validator chain ID agnostic (#140) * Make threshold validator chain ID agnostic * Feedback

Commit:9a1251d
Author:Andrew Gouin

Track chain IDs in separate chain state caches. Remove chain ID from config and determine automatically from block sign requests. Enable a single horcrux cluster to sign multiple networks at once with the same private key.

Commit:c24ca49
Author:Andrew Gouin
Committer:GitHub

Leader election tests (#110) * Add tests for leader election and cleanup related code * lint fix * Show container logs for failed tests * Add retries for privval timeout * Add cmd to get current leader from CLI * wait for signed blocks after electing leader before checking leader among cluster * Make client package for address utils. Don't swallow errors * Simplify sanitize address

Commit:8f08c3a
Author:Andrew Gouin
Committer:GitHub

Use GRPC for Raft and Leader calls (#61) * Use GRPC for both Raft and Leader calls. Add leader election command * Fix config init in tests * Fix tests * Update README.md * Fix 2of3 test * Fix listen flag in tests * Add more sentries to downed signer tests * Return recent blocks from cache * Cleanup test waits * Fix val address * Add null safety for raft in pv.SignBlock * Fix grpc raft store NPE. Better error for conflicting data. * Fix lint * Add missing return. Unlock mutexes before calling wg.Done * Add signer-proto target to generate proto .go files. Use in tests * Add more logs for conflicting data state * Improve errors around conflicting data * Don't sign votes with nil BlockID. Use timestamp in key with HRS to allow signing same HRS blocks with same data other than timestamp * Use int64 for timestamp in HRSTKey * Allow signing different timestamp from local cosigner * Always return first proposal signature. Add wait for leader if no current leader when proxying * Fix local cosigner test * Close grpc connections * Rename hrst * Fix Serialization test

Commit:cd91d9f
Author:Andrew Gouin
Committer:Andrew Gouin

Use GRPC for both Raft and Leader calls. Add leader election command