Skip to content

Commit

Permalink
Merge pull request #4 from LayerTwo-Labs/2025-02-03-backport-thunder-…
Browse files Browse the repository at this point in the history
…0.11.2

backport thunder 0.11.2
  • Loading branch information
Ash-L2L authored Feb 7, 2025
2 parents a2b0b07 + bc592e7 commit 72c41b3
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 17 deletions.
35 changes: 22 additions & 13 deletions Cargo.lock

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

6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@ utoipa = { version = "5.2.0", default-features = false }
[workspace.dependencies.bip300301_enforcer_lib]
default-features = false
git = "https://github.com/Ash-L2L/bip300301_enforcer"
rev = "135d408213ee7309b59f49dfdc2608e6fa53db42"
rev = "42cfbe73a894186a73cadc36cc398b879fe5bee6"

[workspace.dependencies.bip300301_enforcer_integration_tests]
default-features = false
git = "https://github.com/Ash-L2L/bip300301_enforcer"
rev = "135d408213ee7309b59f49dfdc2608e6fa53db42"
rev = "42cfbe73a894186a73cadc36cc398b879fe5bee6"

[workspace.dependencies.l2l-openapi]
git = "https://github.com/Ash-L2L/l2l-openapi"
Expand All @@ -64,7 +64,7 @@ authors = [ "Ash Manning <[email protected]>" ]
edition = "2021"
license-file = "LICENSE.txt"
publish = false
version = "0.10.1"
version = "0.10.2"

# temp-dir does not leak correctly after clone
# https://gitlab.com/leonhard-llc/ops/-/issues/17
Expand Down
5 changes: 4 additions & 1 deletion lib/types/proto.rs
Original file line number Diff line number Diff line change
Expand Up @@ -897,9 +897,12 @@ pub mod mainchain {
T: super::Transport,
{
pub fn new(inner: T) -> Self {
// 1GB
const MAX_DECODE_MESSAGE_SIZE: usize = 1024 * 1024 * 1024;
Self(generated::validator_service_client::ValidatorServiceClient::<T>::new(
inner,
))
).max_decoding_message_size(MAX_DECODE_MESSAGE_SIZE)
)
}

pub async fn get_block_header_info(
Expand Down

0 comments on commit 72c41b3

Please sign in to comment.