Skip to content

Commit

Permalink
fixup! Merge branch 'tiago/rebased-validate-tx-bytes-len' (#2187)
Browse files Browse the repository at this point in the history
  • Loading branch information
tzemanovic committed Nov 20, 2023
1 parent 7ef86ee commit 1af4eb2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion apps/src/lib/node/ledger/shell/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2990,7 +2990,8 @@ mod shell_tests {
None,
))));
wrapper.header.chain_id = shell.chain_id.clone();
wrapper.set_code(Code::new("wasm_code".as_bytes().to_owned()));
wrapper
.set_code(Code::new("wasm_code".as_bytes().to_owned(), None));
wrapper.set_data(Data::new(vec![0; size as usize]));
wrapper.add_section(Section::Signature(Signature::new(
wrapper.sechashes(),
Expand Down
3 changes: 2 additions & 1 deletion apps/src/lib/node/ledger/shell/process_proposal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2083,7 +2083,8 @@ mod test_process_proposal {
None,
))));
wrapper.header.chain_id = shell.chain_id.clone();
wrapper.set_code(Code::new("wasm_code".as_bytes().to_owned()));
wrapper
.set_code(Code::new("wasm_code".as_bytes().to_owned(), None));
wrapper.set_data(Data::new(vec![0; size as usize]));
wrapper.add_section(Section::Signature(Signature::new(
wrapper.sechashes(),
Expand Down

0 comments on commit 1af4eb2

Please sign in to comment.