Skip to content

Commit

Permalink
More tests around string validation code (aptos-labs#4131)
Browse files Browse the repository at this point in the history
  • Loading branch information
dariorussi committed Sep 14, 2022
1 parent 9ddae8c commit 03c0811
Show file tree
Hide file tree
Showing 2 changed files with 221 additions and 312 deletions.
2 changes: 1 addition & 1 deletion aptos-move/aptos-vm/src/transaction_arg_validation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ fn validate_arg<S: MoveResolverExt>(
// performed in `is_valid_txn_arg`
let st = session
.get_struct_type(*idx)
.expect("unrachable, type must exist");
.expect("unreachable, type must exist");
let full_name = format!("{}::{}", st.module.short_str_lossless(), st.name);
// load the serialized string
let len = get_len(cursor)?;
Expand Down

0 comments on commit 03c0811

Please sign in to comment.