Skip to content

Commit 3c5c45a

Browse files
authored
Merge branch 'develop' into feat/pox-4-tests-nakamoto
2 parents f18a6b9 + cbf0c52 commit 3c5c45a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

71 files changed

+3950
-1426
lines changed

.github/workflows/bitcoin-tests.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ jobs:
7272
- tests::neon_integrations::confirm_unparsed_ongoing_ops
7373
- tests::neon_integrations::min_txs
7474
- tests::neon_integrations::vote_for_aggregate_key_burn_op_test
75+
- tests::neon_integrations::mock_miner_replay
7576
- tests::epoch_25::microblocks_disabled
7677
- tests::should_succeed_handling_malformed_and_valid_txs
7778
- tests::nakamoto_integrations::simple_neon_integration
@@ -96,6 +97,7 @@ jobs:
9697
- tests::signer::v0::signer_set_rollover
9798
- tests::signer::v0::miner_forking
9899
- tests::signer::v0::reloads_signer_set_in
100+
- tests::signer::v0::signers_broadcast_signed_blocks
99101
- tests::nakamoto_integrations::stack_stx_burn_op_integration_test
100102
- tests::nakamoto_integrations::check_block_heights
101103
- tests::nakamoto_integrations::clarity_burn_state

clarity/src/vm/ast/definition_sorter/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ impl DefinitionSorter {
173173
return Ok(());
174174
}
175175
DefineFunctions::Map => {
176-
// Args: [name, key, value]: with key value being potentialy tuples
176+
// Args: [name, key, value]: with key value being potentially tuples
177177
if function_args.len() == 3 {
178178
self.probe_for_dependencies(
179179
function_args[1],

contrib/boot-contracts-unit-tests/tests/misc.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -575,7 +575,7 @@ describe("test `get-total-ustx-stacked`", () => {
575575
expect(response.result).toBeUint(amount * 3n);
576576
});
577577

578-
it("expires stacking after the stacking duration has finsihed", () => {
578+
it("expires stacking after the stacking duration has finished", () => {
579579
const amount = getStackingMinimum() * 2n;
580580

581581
stackers.forEach((stacker, i) => {

docs/rpc-endpoints.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ Determine whether a given trait is implemented within the specified contract (ei
427427

428428
See OpenAPI [spec](./rpc/openapi.yaml) for details.
429429

430-
### POST /v2/block_proposal
430+
### POST /v3/block_proposal
431431

432432
Used by miner to validate a proposed Stacks block using JSON encoding.
433433

libsigner/src/runloop.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ pub trait SignerRunLoop<R: Send, CMD: Send, T: SignerEventTrait> {
5353
&mut self,
5454
event: Option<SignerEvent<T>>,
5555
cmd: Option<CMD>,
56-
res: Sender<R>,
56+
res: &Sender<R>,
5757
) -> Option<R>;
5858

5959
/// This is the main loop body for the signer. It continuously receives events from
@@ -70,6 +70,7 @@ pub trait SignerRunLoop<R: Send, CMD: Send, T: SignerEventTrait> {
7070
result_send: Sender<R>,
7171
mut event_stop_signaler: EVST,
7272
) -> Option<R> {
73+
info!("Signer runloop begin");
7374
loop {
7475
let poll_timeout = self.get_event_timeout();
7576
let next_event_opt = match event_recv.recv_timeout(poll_timeout) {
@@ -83,7 +84,7 @@ pub trait SignerRunLoop<R: Send, CMD: Send, T: SignerEventTrait> {
8384
// Do not block for commands
8485
let next_command_opt = command_recv.try_recv().ok();
8586
if let Some(final_state) =
86-
self.run_one_pass(next_event_opt, next_command_opt, result_send.clone())
87+
self.run_one_pass(next_event_opt, next_command_opt, &result_send)
8788
{
8889
info!("Runloop exit; signaling event-receiver to stop");
8990
event_stop_signaler.send();

libsigner/src/tests/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ impl<T: SignerEventTrait> SignerRunLoop<Vec<SignerEvent<T>>, Command, T> for Sim
7676
&mut self,
7777
event: Option<SignerEvent<T>>,
7878
_cmd: Option<Command>,
79-
_res: Sender<Vec<SignerEvent<T>>>,
79+
_res: &Sender<Vec<SignerEvent<T>>>,
8080
) -> Option<Vec<SignerEvent<T>>> {
8181
debug!("Got event: {:?}", &event);
8282
if let Some(event) = event {

0 commit comments

Comments
 (0)