Skip to content

Commit 7fdeb60

Browse files
committed
merged with develop
2 parents dacd214 + 3aec2b1 commit 7fdeb60

Some content is hidden

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

49 files changed

+4046
-1086
lines changed

.gitattributes

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,6 @@
11
legacy/* linguist-vendored
2-
* text=lf
2+
# Enforcing 'lf' eol mainly for:
3+
# - 'stx-genesis' package, where txt files need hash computation and comparison
4+
# - 'clarity' package, where clarity language is sensitive to line endings for .clar files
5+
# anyhow, setting eol for all text files to have a homogeneous management over the whole code base
6+
* text eol=lf

.github/workflows/bitcoin-tests.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,13 @@ jobs:
106106
- test-name: tests::epoch_24::verify_auto_unlock_behavior
107107
# Disable this flaky test. We don't need continue testing Epoch 2 -> 3 transition
108108
- test-name: tests::nakamoto_integrations::flash_blocks_on_epoch_3_FLAKY
109+
# These mempool tests take a long time to run, and are meant to be run manually
110+
- test-name: tests::nakamoto_integrations::large_mempool_original_constant_fee
111+
- test-name: tests::nakamoto_integrations::large_mempool_original_random_fee
112+
- test-name: tests::nakamoto_integrations::large_mempool_next_constant_fee
113+
- test-name: tests::nakamoto_integrations::large_mempool_next_random_fee
114+
- test-name: tests::nakamoto_integrations::larger_mempool
115+
- test-name: tests::signer::v0::larger_mempool
109116

110117
steps:
111118
## Setup test environment

.vscode/settings.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,6 @@
77
},
88
"rust-analyzer.rustfmt.extraArgs": [
99
"+nightly"
10-
]
10+
],
11+
"files.eol": "\n"
1112
}

Cargo.lock

Lines changed: 78 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,8 @@ _Warning, this typically takes a few minutes_
7777
cargo nextest run
7878
```
7979

80+
_On Windows, many tests will fail, mainly due to parallelism. To mitigate the issue you may need to run the tests individually._
81+
8082
## Run the testnet
8183

8284
You can observe the state machine in action locally by running:
@@ -85,8 +87,6 @@ You can observe the state machine in action locally by running:
8587
cargo run --bin stacks-node -- start --config ./sample/conf/testnet-follower-conf.toml
8688
```
8789

88-
_On Windows, many tests will fail if the line endings aren't `LF`. Please ensure that you have git's `core.autocrlf` set to `input` when you clone the repository to avoid any potential issues. This is due to the Clarity language currently being sensitive to line endings._
89-
9090
Additional testnet documentation is available [here](./docs/testnet.md) and [here](https://docs.stacks.co/docs/nodes-and-miners/miner-testnet)
9191

9292
## Release Process

docs/rpc/entities/contracts/read-only-function-args.schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$schema": "http://json-schema.org/draft-07/schema#",
33
"title": "ReadOnlyFunctionArgs",
4-
"description": "Describes representation of a Type-0 Stacks 2.0 transaction. https://github.com/blockstack/stacks-blockchain/blob/master/sip/sip-005-blocks-and-transactions.md#type-0-transferring-an-asset",
4+
"description": "Describes representation of a Type-0 Stacks 2.0 transaction. https://github.com/stacksgov/sips/blob/main/sips/sip-005/sip-005-blocks-and-transactions.md#type-0-transferring-an-asset",
55
"type": "object",
66
"required": ["sender", "arguments"],
77
"properties": {

libsigner/src/v0/messages.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1705,6 +1705,12 @@ impl From<BlockResponse> for SignerMessage {
17051705
}
17061706
}
17071707

1708+
impl From<StateMachineUpdate> for SignerMessage {
1709+
fn from(update: StateMachineUpdate) -> Self {
1710+
Self::StateMachineUpdate(update)
1711+
}
1712+
}
1713+
17081714
#[cfg(test)]
17091715
mod test {
17101716
use blockstack_lib::chainstate::nakamoto::NakamotoBlockHeader;

sip/README.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

sip/sip-000-stacks-improvement-proposal-process.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

sip/sip-001-burn-election.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)