Skip to content

Commit ec44bcf

Browse files
[release] v0.0.9 (#112)
* use local * make pruned debug * use contiguous height * set a massive replay buffer * load storage concurrently * adjust replay * remove compression * use 0.0.53 * use from * v0.0.9
1 parent 65f0595 commit ec44bcf

11 files changed

Lines changed: 59 additions & 64 deletions

File tree

Cargo.lock

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

Cargo.toml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,20 @@ members = [
88
resolver = "2"
99

1010
[workspace.dependencies]
11-
alto-client = { version = "0.0.8", path = "client" }
12-
alto-types = { version = "0.0.8", path = "types" }
13-
commonware-broadcast = { version = "0.0.52" }
14-
commonware-codec = { version = "0.0.52" }
15-
commonware-consensus = { version = "0.0.52" }
16-
commonware-cryptography = { version = "0.0.52" }
17-
commonware-deployer = { version = "0.0.52", default-features = false }
18-
commonware-macros = { version = "0.0.52" }
19-
commonware-p2p = { version = "0.0.52" }
20-
commonware-resolver = { version = "0.0.52" }
21-
commonware-runtime = { version = "0.0.52" }
22-
commonware-storage = { version = "0.0.52" }
23-
commonware-stream = { version = "0.0.52" }
24-
commonware-utils = { version = "0.0.52" }
11+
alto-client = { version = "0.0.9", path = "client" }
12+
alto-types = { version = "0.0.9", path = "types" }
13+
commonware-broadcast = { version = "0.0.53" }
14+
commonware-codec = { version = "0.0.53" }
15+
commonware-consensus = { version = "0.0.53" }
16+
commonware-cryptography = { version = "0.0.53" }
17+
commonware-deployer = { version = "0.0.53", default-features = false }
18+
commonware-macros = { version = "0.0.53" }
19+
commonware-p2p = { version = "0.0.53" }
20+
commonware-resolver = { version = "0.0.53" }
21+
commonware-runtime = { version = "0.0.53" }
22+
commonware-storage = { version = "0.0.53" }
23+
commonware-stream = { version = "0.0.53" }
24+
commonware-utils = { version = "0.0.53" }
2525
thiserror = "2.0.12"
2626
bytes = "1.7.1"
2727
rand = "0.8.5"

chain/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "alto-chain"
3-
version = "0.0.8"
3+
version = "0.0.9"
44
publish = true
55
edition = "2021"
66
license = "MIT OR Apache-2.0"

chain/dashboard.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@
426426
},
427427
"disableTextWrap": false,
428428
"editorMode": "builder",
429-
"expr": "engine_syncer_finalized_height{deployer_name=~\"$Validator\", deployer_region=~\"$Region\"}",
429+
"expr": "engine_syncer_contiguous_height{deployer_name=~\"$Validator\", deployer_region=~\"$Region\"}",
430430
"fullMetaSearch": false,
431431
"includeNullMetadata": true,
432432
"legendFormat": "{{deployer_name}} ({{deployer_ip}})",
@@ -435,7 +435,7 @@
435435
"useBackend": false
436436
}
437437
],
438-
"title": "Finalized Height",
438+
"title": "Finalized Height (Contiguous)",
439439
"type": "timeseries"
440440
},
441441
{
@@ -3037,7 +3037,9 @@
30373037
{
30383038
"allowCustomValue": false,
30393039
"current": {
3040-
"text": "All",
3040+
"text": [
3041+
"All"
3042+
],
30413043
"value": [
30423044
"$__all"
30433045
]

chain/src/actors/syncer/actor.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ impl<R: Rng + Spawner + Metrics + Clock + GClock + Storage, I: Indexer> Actor<R,
8686
section_mask: 0xffff_ffff_ffff_f000u64,
8787
pending_writes: 0,
8888
replay_concurrency: REPLAY_CONCURRENCY,
89-
compression: Some(3),
89+
compression: None,
9090
codec_config: (),
9191
replay_buffer: REPLAY_BUFFER,
9292
write_buffer: WRITE_BUFFER,
@@ -106,7 +106,7 @@ impl<R: Rng + Spawner + Metrics + Clock + GClock + Storage, I: Indexer> Actor<R,
106106
section_mask: 0xffff_ffff_ffff_f000u64,
107107
pending_writes: 0,
108108
replay_concurrency: REPLAY_CONCURRENCY,
109-
compression: Some(3),
109+
compression: None,
110110
codec_config: (),
111111
replay_buffer: REPLAY_BUFFER,
112112
write_buffer: WRITE_BUFFER,
@@ -126,7 +126,7 @@ impl<R: Rng + Spawner + Metrics + Clock + GClock + Storage, I: Indexer> Actor<R,
126126
section_mask: 0xffff_ffff_fff0_0000u64,
127127
pending_writes: 0,
128128
replay_concurrency: REPLAY_CONCURRENCY,
129-
compression: Some(3),
129+
compression: None,
130130
codec_config: (),
131131
replay_buffer: REPLAY_BUFFER,
132132
write_buffer: WRITE_BUFFER,
@@ -146,7 +146,7 @@ impl<R: Rng + Spawner + Metrics + Clock + GClock + Storage, I: Indexer> Actor<R,
146146
section_mask: 0xffff_ffff_fff0_0000u64,
147147
pending_writes: 0,
148148
replay_concurrency: REPLAY_CONCURRENCY,
149-
compression: Some(3),
149+
compression: None,
150150
codec_config: (),
151151
replay_buffer: REPLAY_BUFFER,
152152
write_buffer: WRITE_BUFFER,
@@ -504,7 +504,7 @@ impl<R: Rng + Spawner + Metrics + Clock + GClock + Storage, I: Indexer> Actor<R,
504504
.prune(min_view)
505505
.await
506506
.expect("Failed to prune notarized block");
507-
info!(min_view, "pruned verified and notarized archives");
507+
debug!(min_view, "pruned verified and notarized archives");
508508

509509
// Notify finalizer
510510
let _ = finalizer_sender.try_send(());

chain/src/bin/validator.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ fn main() {
6464
let config: Config = serde_yaml::from_str(&config_file).expect("Could not parse config file");
6565
let key = from_hex_formatted(&config.private_key).expect("Could not parse private key");
6666
let key = PrivateKey::decode(key.as_ref()).expect("Private key is invalid");
67-
let signer = <Ed25519 as Signer>::from(key).expect("Could not create signer");
67+
let signer = Ed25519::from(key);
6868
let public_key = signer.public_key();
6969

7070
// Initialize runtime

chain/src/engine.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ impl<
140140
reporter: syncer_mailbox.clone(),
141141
supervisor,
142142
partition: format!("{}-consensus", cfg.partition_prefix),
143-
compression: Some(3),
143+
compression: None,
144144
mailbox_size: cfg.mailbox_size,
145145
replay_concurrency: 1,
146146
leader_timeout: cfg.leader_timeout,

client/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "alto-client"
3-
version = "0.0.8"
3+
version = "0.0.9"
44
publish = true
55
edition = "2021"
66
license = "MIT OR Apache-2.0"

explorer/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "alto-explorer",
3-
"version": "0.0.8",
3+
"version": "0.0.9",
44
"private": true,
55
"dependencies": {
66
"@types/node": "^16.18.126",

inspector/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "alto-inspector"
3-
version = "0.0.8"
3+
version = "0.0.9"
44
publish = true
55
edition = "2021"
66
license = "MIT OR Apache-2.0"

0 commit comments

Comments
 (0)