Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion crates/cestory/src/bootstrap.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ where
// TODO(billw): If `cifrost` turns on the `fast-sync` switch,
// it will load the current chain state to `ceseal`, and the chain state increases over time,
// so increasing the size of the request packet is not the final solution.
const MAX_ENCODED_MSG_SIZE: usize = 48 << 20; // 48MiB
const MAX_ENCODED_MSG_SIZE: usize = 128 << 20; // 128MiB
const MAX_DECODED_MSG_SIZE: usize = MAX_ENCODED_MSG_SIZE;

let (expert_cmd_tx, expert_cmd_rx) = mpsc::channel(16);
Expand Down
2 changes: 1 addition & 1 deletion crates/cesxt/src/chain_api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ pub async fn connect(uri: &str) -> Result<ChainApi> {
}

const MAX_REQUEST_SIZE: u32 = 8 << 20; // 8MiB
const MAX_RESPONSE_SIZE: u32 = 128 << 20; //128MiB
const MAX_RESPONSE_SIZE: u32 = 256 << 20; //256MiB

async fn ws_client(url: &str) -> Result<jsonrpsee::async_client::Client> {
use jsonrpsee::client_transport::ws::Url;
Expand Down
2 changes: 1 addition & 1 deletion standalone/teeworker/ceseal/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion standalone/teeworker/ceseal/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
edition = "2021"
name = "ceseal"
version = "0.4.0"
version = "0.4.1"
build = "build.rs"

[profile.release]
Expand Down
2 changes: 1 addition & 1 deletion standalone/teeworker/cifrost/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cifrost"
version = "0.3.0"
version = "0.3.1"
authors = ["CESS Network"]
edition = "2021"

Expand Down
4 changes: 2 additions & 2 deletions standalone/teeworker/cifrost/src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -99,14 +99,14 @@ pub struct Args {
pub mnemonic: String,

#[arg(
default_value = "1000",
default_value = "500",
long = "fetch-blocks",
help = "The batch size to fetch blocks from Substrate."
)]
pub fetch_blocks: u32,

#[arg(
default_value = "4",
default_value = "2",
long = "sync-blocks",
help = "The batch size to sync blocks to Ceseal."
)]
Expand Down
Loading