Skip to content

Commit

Permalink
Merge pull request #385 from dusk-network/increase-scratch
Browse files Browse the repository at this point in the history
uplink: increase scratch size to 1024
  • Loading branch information
Eduardo Leegwater Simões authored Sep 24, 2024
2 parents fdbb97a + d14870b commit 0501903
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions piecrust-uplink/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Changed

- Increase `SCRATCH_BUF_BYTES` to 1024

## [0.17.0] - 2024-09-04

### Added
Expand Down
2 changes: 1 addition & 1 deletion piecrust-uplink/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ mod error;
pub use error::*;

/// How many bytes to use for scratch space when serializing
pub const SCRATCH_BUF_BYTES: usize = 64;
pub const SCRATCH_BUF_BYTES: usize = 1024;

/// The size of the argument buffer in bytes
pub const ARGBUF_LEN: usize = 64 * 1024;

0 comments on commit 0501903

Please sign in to comment.