Commit Graph

21930 Commits

Author SHA1 Message Date
Brice Dobry
ac9836ddff ci: disable fail_ci_if_error until codecov upload is fixed 2024-03-05 10:13:13 -05:00
saralab
45c80a4179 Merge pull request #4467 from stacks-network/fix/get-vote-response-type
Fix `get-vote` response type
2024-03-05 13:48:13 +00:00
Matthew Little
38cd24d7e1 Merge pull request #4475 from stacks-network/fix/stacks-client-endpoint-dns
fix: resolve DNS/hostnames for signer node_host config
2024-03-05 13:27:30 +00:00
Matthew Little
8c1dab8552 Merge branch 'next' into fix/stacks-client-endpoint-dns 2024-03-05 14:05:44 +01:00
saralab
11d74341d7 Merge pull request #4468 from stacks-network/feat/pox-info-reward-cycle
Fix: manually calculate current reward cycle ID in /v2/pox_info
2024-03-05 09:39:35 +00:00
Matthew Little
9760ced0a5 chore: pr feedback 2024-03-05 10:22:51 +01:00
Matthew Little
54a7fc3160 Merge branch 'next' into fix/stacks-client-endpoint-dns 2024-03-05 10:11:59 +01:00
Brice Dobry
138fa3aa98 fix: different mock reponse for get-vote 2024-03-04 21:00:13 -05:00
8marz8
afe7e68ba4 Merge pull request #4474 from stacks-network/chore/graceful-shutdown
Ctrl-C graceful shutdown during burnchain initialization
2024-03-04 22:25:02 +00:00
Hank Stoever
2f52d4151f fix: update tests in mock for get-approved-agg-key 2024-03-04 14:05:58 -08:00
Aaron Blankstein
d5af26e0ce chore: add comment to the manual calculation of reward_cycle_id 2024-03-04 16:04:38 -06:00
Marzi
5ea730c224 Ctrl-C graceful shutdown during burnchain initialization + retry logic when adding a bootstrap node 2024-03-04 16:53:57 -05:00
Hank Stoever
ec149d73cd Merge branch 'next' into fix/get-vote-response-type 2024-03-04 12:56:42 -08:00
Jeff Bencin
9be0b65cd7 Merge pull request #4462 from jbencin/chore/hashmap-alloc
chore(clarity): Allocate `HashMap`s with capacity when possible
2024-03-04 19:04:49 +00:00
Brice Dobry
5f887348c8 Merge pull request #4480 from stacks-network/fix/signer-nonces
Fix signer nonces
2024-03-04 19:01:59 +00:00
Jeff Bencin
5f4d1fb2e7 chore: Address PR feedback 2024-03-04 13:29:59 -05:00
Jeff Bencin
ad27ac4ded chore(clarity): Allocate HashMaps with capacity when possible 2024-03-04 13:29:59 -05:00
Brice Dobry
2493821cc9 fix: use the correct tip to retrieve signer nonces 2024-03-04 12:33:03 -05:00
Matthew Little
72d473ace9 Merge branch 'next' into fix/stacks-client-endpoint-dns 2024-03-04 18:07:49 +01:00
Matthew Little
8754734b28 Merge branch 'next' into fix/stacks-client-endpoint-dns 2024-03-04 18:04:35 +01:00
Matthew Little
e9290cb978 chore: pr feedback around string ownership 2024-03-04 17:59:19 +01:00
Mårten Blankfors
0910eeda63 Merge pull request #4473 from stacks-network/4472-race-condition-in-stacks-signer-client-tests
Fix race condition in stacks signer client tests
2024-03-04 16:24:11 +00:00
wileyj
0a4a6d30c7 Merge pull request #4231 from stacks-network/feat/pox-4-initial-clarity-tests
PoX-4 Clarunit Setup & Initial Tests
2024-03-04 15:18:34 +00:00
Matthew Little
05e26e0805 fix: resolve DNS/hostnames for signer node_host value #4466 2024-03-04 15:34:49 +01:00
Mårten Blankfors
ac03fc769a fix: Port binding conflict in client::stackerdb::tests 2024-03-04 11:38:58 +01:00
Aaron Blankstein
383d586a79 Merge pull request #4435 from jbencin/chore/remove-sha2-asm
Chore: Remove unnecessary `sha2-asm` dependency
2024-03-01 20:48:45 +00:00
Jeff Bencin
aa0f6d7e4b chore: Remove unnecessary sha2-asm dependency 2024-03-01 15:17:44 -05:00
jferrant
4888ba273b Merge pull request #4451 from stacks-network/bugfix/misuse-signer-id-signer-slot-id
Fix signer id use in stackerdb
2024-03-01 20:06:15 +00:00
Jacinta Ferrant
73fd5e0309 Wrap signer slot ID in a struct to prevent conflation with signer ID
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co>
2024-03-01 13:13:10 -05:00
Jacinta Ferrant
fd54d9d81b Fix signer id use in stackerdb
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co>
2024-03-01 13:13:09 -05:00
jferrant
911c3ff7f7 Merge pull request #4436 from stacks-network/feat/allow-single-transaction-per-signer
Move signer transaction to global location and utilize in both miner and signer
2024-03-01 17:48:40 +00:00
Aaron Blankstein
432e9184cb fix: manually calculate current reward cycle ID in /v2/pox_info 2024-03-01 09:38:16 -06:00
Brice Dobry
31e4896e5c fix: update the expected response type for a call to get-vote
It now returns a tuple including the weight, instead of just the key.

```clarity
(option { aggregate-public-key: (buff 33), signer-weight: uint })
```
2024-03-01 09:39:26 -05:00
Jacinta Ferrant
c533146b7d CRC: pull parsed aggregate key vote results into a struct
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co>
2024-03-01 09:31:08 -05:00
Jacinta Ferrant
ce308f33c6 CRC: rename point vars to dkg_public_key for clarity
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co>
2024-03-01 09:31:08 -05:00
Jacinta Ferrant
f6aa7e3514 Make filtering of signer transactions global and use in miner
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co>
2024-03-01 09:31:08 -05:00
Jacinta Ferrant
533bf19f7c Filter only invalid formed transactions and enforce one per signer in stacks-signer
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co>
2024-03-01 09:31:08 -05:00
Brice Dobry
4530f01456 Merge pull request #4432 from stacks-network/bug/pox-4-signer-checks
Additional 'set-signer-key-authorization' Checks
2024-03-01 13:52:32 +00:00
MarvinJanssen
a9ef3ba14f chore: enabled disabled unit test 2024-03-01 14:08:41 +01:00
jferrant
90e36dfab4 Merge pull request #4455 from stacks-network/bugfix/threshold-calculation-should-round-up
Round up thresholds
2024-02-29 22:07:52 +00:00
Jacinta Ferrant
206eca639f Cast to f64 and use ceil instead
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co>
2024-02-29 12:58:22 -05:00
Jacinta Ferrant
770ee39af0 Round up thresholds using +0.9
Signed-off-by: Jacinta Ferrant <jacinta@trustmachines.co>
2024-02-29 12:07:17 -05:00
jesus
8490fd9f99 removed throwaway 2024-02-29 10:17:55 -05:00
jesus
5a54ae45a5 remaining tests intact 2024-02-29 08:18:48 -05:00
jesus
37a681dc04 formatter 2024-02-29 08:18:48 -05:00
jesus
2a63322ea6 completed updating test_set_signer_key_auth 2024-02-29 08:18:48 -05:00
jesus
11a5ce92b7 updated test_set_signer_key_auth passing again, still work remaining 2024-02-29 08:18:48 -05:00
jesus
8d327754a8 two minor checks 2024-02-29 08:18:48 -05:00
MarvinJanssen
4962452c06 fix: attempt to fix codecov upload 2024-02-29 10:57:57 +01:00
MarvinJanssen
07ebe46eaf chore: forgot to switch back to false 2024-02-29 10:29:03 +01:00