Skip to content

Commit 24ea177

Browse files
authored
Merge pull request #766 from input-output-hk/ensemble/765-upgrade-sqlite-3.40-infra
Upgrade SQLite to `3.40` in aggregator infra
2 parents 33fc9fe + 9d82025 commit 24ea177

File tree

5 files changed

+10
-5
lines changed

5 files changed

+10
-5
lines changed

docs/root/manual/developer-docs/nodes/mithril-aggregator.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ This is the node of the **Mithril Network** responsible for collecting individua
3939

4040
* Install OpenSSL development libraries, for example on Ubuntu/Debian/Mint run `apt install libssl-dev`
4141

42-
* Ensure SQLite3 library is installed on your system and its version is at least `3.35` (released Apr. 2021) on Debian/Ubuntu: `apt install libsqlite3` and `sqlite3 --version`.
42+
* Ensure SQLite3 library is installed on your system and its version is at least `3.40`. Run `sqlite3 --version` to check your version.
4343

4444
## Download source
4545

docs/root/manual/getting-started/run-mithril-devnet.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ More information about this private Cardano/Mithril `devnet` is available [here]
3939

4040
* Install OpenSSL development libraries, for example on Ubuntu/Debian/Mint run `apt install libssl-dev`
4141

42-
* Ensure SQLite3 library is installed on your system and its version is at least `3.35` (released Apr. 2021) on Debian/Ubuntu: `apt install libsqlite3` and `sqlite3 --version`.
42+
* Ensure SQLite3 library is installed on your system and its version is at least `3.40`. Run `sqlite3 --version` to check your version.
4343

4444
## Download source
4545

mithril-aggregator/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ This is a first version of the Mithril Aggregagator
1212

1313
- Install a [correctly configured](https://www.rust-lang.org/learn/get-started) Rust toolchain (latest stable version).
1414
- Install OpenSSL development libraries, for example on Ubuntu/Debian/Mint run `apt install libssl-dev`
15-
- Ensure `libsqlite3` is installed on your system and check its version is at least `3.35`. Run `apt install libsqlite3` and `sqlite3 --version`
15+
- Ensure `libsqlite3` is installed on your system and check its version is at least `3.40`. Run `sqlite3 --version` to check your version.
1616

1717
## Mithril test networks
1818

mithril-aggregator/src/http_server/routes/signer_routes.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ mod handlers {
6868
}
6969
};
7070

71-
if epoch_str.is_empty() {
71+
if !epoch_str.is_empty() {
7272
headers.push(("epoch", epoch_str.as_str()));
7373
}
7474
match signer_registerer.register_signer(&signer).await {

mithril-infra/assets/startup-vm.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,12 @@ sudo apt update -y
88
sudo apt install -y jq tree ca-certificates curl gnupg lsb-release
99

1010
# Install sqlite3
11-
sudo apt install -y sqlite3
11+
curl http://ftp.fr.debian.org/debian/pool/main/s/sqlite3/libsqlite3-0_3.40.1-1_amd64.deb -o libsqlite3-0_3.40.1-1_amd64.deb
12+
dpkg -i libsqlite3-0_3.40.1-1_amd64.deb
13+
rm -f libsqlite3-0_3.40.1-1_amd64.deb
14+
curl http://ftp.fr.debian.org/debian/pool/main/s/sqlite3/sqlite3_3.40.1-1_amd64.deb -o sqlite3_3.40.1-1_amd64.deb
15+
dpkg -i sqlite3_3.40.1-1_amd64.deb
16+
rm -f sqlite3_3.40.1-1_amd64.deb
1217

1318
# Install docker & docker-compose
1419
sudo mkdir -p /etc/apt/keyrings

0 commit comments

Comments
 (0)