Skip to content

Commit

Permalink
Merge pull request #154 from varovainen/va-2024-02-09-external-memory…
Browse files Browse the repository at this point in the history
…-bump

chore: bump external-memory-tools
  • Loading branch information
Slesarew authored Feb 9, 2024
2 parents 4c8e0df + a1dc350 commit f248c67
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ exclude = ["/for_tests", "/.github"]
base58 = {version = "0.2.0"}
bitvec = {version = "1.0.1", default-features = false, features = ["alloc"]}
blake2 = {version = "0.10.6", default-features = false}
external-memory-tools = {version = "0.1.0", default-features = false}
external-memory-tools = {version = "0.1.1", default-features = false}
frame-metadata = {version = "16.0.0", default-features = false, features = ["current", "decode"]}
hex = {version = "0.4.3", default-features = false, features = ["alloc"]}
num-bigint = {version = "0.4.3", default-features = false}
Expand Down
4 changes: 3 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -605,7 +605,9 @@ where
/// Extensions are cut to ensure the call decoding never gets outside the
/// call data.
pub fn data_no_extensions(&self) -> B {
self.data.limit_length(self.extensions_start())
self.data
.limit_length(self.extensions_start())
.expect("checked extensions start to be within limits when generating `MarkedData`")
}

/// Start positions for call data.
Expand Down

0 comments on commit f248c67

Please sign in to comment.