Skip to content

Commit

Permalink
Merge pull request #4102 from sisuresh/fix-prev
Browse files Browse the repository at this point in the history
Fix enable-protocol-upgrade-via-soroban-env-host-prev build

Reviewed-by: dmkozh
  • Loading branch information
latobarita authored Dec 22, 2023
2 parents 3c95d00 + df3e77f commit 7385432
Show file tree
Hide file tree
Showing 3 changed files with 85 additions and 154 deletions.
12 changes: 0 additions & 12 deletions src/rust/src/contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -114,18 +114,6 @@ impl From<CxxWriteFeeConfiguration> for WriteFeeConfiguration {
}
}

impl From<Vec<u8>> for RustBuf {
fn from(value: Vec<u8>) -> Self {
Self { data: value }
}
}

impl AsRef<[u8]> for CxxBuf {
fn as_ref(&self) -> &[u8] {
self.data.as_slice()
}
}

// FIXME: plumb this through from the limit xdrpp uses.
// Currently they are just two same-valued constants.
const MARSHALLING_STACK_LIMIT: u32 = 1000;
Expand Down
Loading

0 comments on commit 7385432

Please sign in to comment.