Skip to content

Commit 612026e

Browse files
committed
update: version of Simplex to 0.0.7
1 parent 19415b7 commit 612026e

6 files changed

Lines changed: 68 additions & 67 deletions

File tree

.github/actions/setup-smplx/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ runs:
1717
shell: bash
1818
run: |
1919
set -euo pipefail
20-
REVISION="${{ inputs.commit-sha}}"
20+
REVISION="${{ inputs.commit-sha }}"
2121
OWNER_REPO="${{ inputs.owner-repo }}"
2222
bash "$GITHUB_WORKSPACE/.github/scripts/setup-smplx" "${REVISION}" "${OWNER_REPO}"

.github/workflows/tests.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,6 @@ jobs:
4646

4747
- name: Install simplex-cli
4848
uses: ./.github/actions/setup-smplx
49-
with:
50-
commit-sha: '3afcc04aae8a0a92722b28bc1d16ef27983d4aa1'
5149

5250
- name: Generate contract artifacts
5351
shell: bash

Cargo.lock

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

Cargo.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ rust-version = "1.91.0"
55
version = "0.1.0"
66

77
[dependencies]
8-
# todo: Replace git dependency with crates.io version that supports modules once available
9-
smplx-std = { git = "https://github.com/BlockstreamResearch/smplx.git", rev = "3afcc04" }
8+
smplx-std = "0.0.7"
109

1110
anyhow = { version = "1.0.101" }
1211
rand = { version = "0.8.6" }

README.md

Lines changed: 11 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -3,29 +3,22 @@
33
This repository contains the standard library for [SimplicityHL](https://github.com/BlockstreamResearch/SimplicityHL).
44

55
> [!NOTE]
6-
> If you are using the VS Code syntax highlighting extension, you may see errors because the extension does not support modules and imports yet.
6+
> The VS Code syntax-highlighting extension does not yet support modules and imports, so you may see spurious errors when editing files in this repo.
77
8-
## Dev Info
8+
## Installation
99

10-
### Installation
10+
> Project currently uses Simplex version `0.0.7`.
1111
12-
> Project currently uses Simplex version 0.0.6 from the dev branch.
13-
14-
To compile the project, execute the following command:
15-
16-
To download simplexup, run:
12+
Install `siplexup`, then use it to install the pinned Simplex toolchain:
1713

1814
```bash
1915
curl -L https://smplx.simplicity-lang.org | bash
16+
simplexup -i 0.0.7
2017
```
2118

22-
To install a specific Simplex version (in this case from the specific commit):
23-
24-
```bash
25-
simplexup --commit 3afcc04aae8a0a92722b28bc1d16ef27983d4aa1
26-
```
19+
## Usage
2720

28-
### Compilation
21+
### Build
2922

3023
To compile the contracts, execute the following command:
3124

@@ -53,28 +46,21 @@ To run the tests using multiple threads:
5346
simplex test --test-threads 8
5447
```
5548

56-
To run a specific test:
57-
58-
```bash
59-
simplex test test_name
60-
```
61-
6249
To run a specific test module:
6350

6451
```bash
6552
simplex test u8_test
6653
```
6754

68-
### Linting
69-
70-
To format the rust files, execute the following command:
55+
To run a specific test:
7156

7257
```bash
73-
cargo fmt
58+
simplex test test_name
7459
```
7560

76-
To check the project for common mistakes:
61+
### Lint & format
7762

7863
```bash
64+
cargo fmt
7965
cargo clippy --workspace --all-targets --all-features -- -D warnings
8066
```

Simplex.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
1-
# Default Simplex Config
1+
# DEFAULT CONFIG
22

33
# [build]
44
# src_dir = "./simf"
55
# simf_files = ["*.simf"]
66
# out_dir = "./src/artifacts"
77

8+
# [dependencies]
9+
# some_dep = { git = "<git url>", path = "<or a relative path>" }
10+
811
# [regtest]
912
# mnemonic = "exist carry drive collect lend cereal occur much tiger just involve mean"
1013
# bitcoins = 10_000_000
@@ -16,6 +19,7 @@
1619
# [test]
1720
# mnemonic = "exist carry drive collect lend cereal occur much tiger just involve mean"
1821
# bitcoins = 10_000_000
22+
# verbosity = 0
1923

2024
# [test.esplora]
2125
# url = "<esplora url>"

0 commit comments

Comments
 (0)