Skip to content

Commit

Permalink
add arg
Browse files Browse the repository at this point in the history
  • Loading branch information
runtian-zhou committed Nov 18, 2024
1 parent 36ef86c commit e5d6e5d
Show file tree
Hide file tree
Showing 3 changed files with 119 additions and 1,447 deletions.
4 changes: 4 additions & 0 deletions crates/transaction-generator-lib/src/args.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ pub enum TransactionTypeArg {
SmartTablePicture1BWith256Change,
SmartTablePicture1MWith1KChangeExceedsLimit,
DeserializeU256,
PermissionedTransfer,
APTTransfer,
}

impl TransactionTypeArg {
Expand Down Expand Up @@ -318,6 +320,8 @@ impl TransactionTypeArg {
})
},
TransactionTypeArg::DeserializeU256 => call_custom_module(EntryPoints::DeserializeU256),
TransactionTypeArg::PermissionedTransfer => call_custom_module(EntryPoints::APTPermissionedTransfer),
TransactionTypeArg::APTTransfer => call_custom_module(EntryPoints::APTTransfer),
}
}

Expand Down
Loading

0 comments on commit e5d6e5d

Please sign in to comment.