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
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
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
MarvinJanssen
c54b00cf95
Merge branch 'next' into feat/pox-4-initial-clarity-tests
2024-02-29 10:27:38 +01:00
MarvinJanssen
4ad742cdf3
chore: clean up tests
2024-02-29 10:21:47 +01:00
MarvinJanssen
1625de1da2
fix: typo in test error message
2024-02-29 10:08:01 +01:00
MarvinJanssen
898f59e1fd
fix: name register TS test
2024-02-29 10:05:44 +01:00
wileyj
d063a74a92
Merge pull request #4403 from stacks-network/feat/signers-voting-property-testing
...
Add property-based tests for signers-voting contract functions
2024-02-28 21:45:51 +00:00
wileyj
5e255017db
Merge pull request #4438 from stacks-network/ci/merge-queue
...
Update ci trigger to enable merge queue in next
2024-02-28 11:03:46 -08:00
wileyj
b2b236ca52
Merge branch 'next' into ci/merge-queue
2024-02-28 09:21:57 -08:00
wileyj
db49c703ed
Merge pull request #4380 from ASuciuX/mutants/optimisations
...
Mutants Optimisations: big-packages, timeout multiplier, stacks-signer case
2024-02-28 09:19:07 -08:00
wileyj
63493b7c88
Merge branch 'next' into mutants/optimisations
2024-02-28 08:52:08 -08:00
wileyj
418f9dd6f6
Merge branch 'next' into ci/merge-queue
2024-02-28 08:22:09 -08:00
Jeff Bencin
3c8d656b44
chore: Remove imports already included by std::prelude
2024-02-28 11:05:56 -05:00
wileyj
bc67c88ba9
Merge branch 'next' into ci/merge-queue
2024-02-28 07:13:59 -08:00
Nikos Baxevanis
8d373fcf00
Merge branch 'next' into feat/signers-voting-property-testing
2024-02-28 14:56:18 +01:00
ASuciuX
9b9d91bdaa
Merge branch 'next' into mutants/optimisations
2024-02-28 15:10:27 +02:00
Nikos Baxevanis
6e6090eb80
Bump @stacks/transactions for isClarityType
...
- Bump @stacks/transactions from ^6.9.0 to ^6.12.0 for `isClarityType`.
- Use `assert` and `isClarityType` for stricter TypeScript type checks.
- Replace `// @ts-ignore` with precise assertions, improving tests.
Thanks to Hugo Caillard for his crucial help and guidance.
2024-02-28 13:28:49 +01:00
Nikos Baxevanis
ae05a62b3e
Add property-based tests for signers-voting contract functions
...
- reward-cycle-to-burn-height
- burn-height-to-reward-cycle
- is-in-prepare-phase
This effort, initially part of https://github.com/stacks-network/stacks-core/pull/4286 ,
is now in a separate commit and PR as it's autonomous with regards to PoX-4
property and fuzz testing. Additional property-based tests for the remaining
functions of the signers-voting contract are warranted and will be addressed
in separate commits/PRs.
2024-02-28 13:02:40 +01:00
Jeff Bencin
9385b42360
Merge pull request #4425 from jbencin/chore/vec-allocation-stacks-common
...
chore(stacks-common): Improvements to `Vec` allocation and operations
2024-02-27 22:06:13 -05:00
Jeff Bencin
16bd17cd43
chore: Address Brice's PR comment
2024-02-27 17:37:45 -05:00
Jeff Bencin
5a3b6f6895
chore: Address Brice's PR comments
2024-02-27 17:37:45 -05:00
Jeff Bencin
a6e3bedb21
chore: Minor performance tweaks
2024-02-27 17:37:45 -05:00
Jeff Bencin
29cfdb8620
chore: Undo flat_map() changes because this seems to optimize significantly worse than a for loop
2024-02-27 17:37:45 -05:00
Jeff Bencin
05c63dc3b2
chore(stacks-common): Clean up Vec operations in transaction.rs
2024-02-27 17:37:45 -05:00
Jeff Bencin
04ddd83192
chore(stacks-common): Use vec::with_capacity() when possible to allocate vectors
2024-02-27 17:37:45 -05:00
Jeff Bencin
d72ad44e24
Merge pull request #4408 from jbencin/chore/vec-with-capacity
...
chore(clarity): Replace `Vec::new()` and `vec![]`
2024-02-27 17:36:33 -05:00
Jeff Bencin
9ff45c3b0f
chore: Address Brice's PR comments
2024-02-27 15:57:08 -05:00
Jeff Bencin
21e2232156
chore(clarity): Use vec::with_capacity() when possible to allocate vectors
2024-02-27 15:57:08 -05:00