Skip to content

Commit 1148710

Browse files
chore: fix typos (#7350)
## Description Corrected misspellings: - `sub section` → `subsection` - `trandaction` → `transaction` No logic or functionality has been modified. Co-authored-by: Joshua Batty <joshpbatty@gmail.com>
1 parent 9899de0 commit 1148710

File tree

1 file changed

+5
-5
lines changed
  • test/src/sdk-harness/test_projects/tx_fields

1 file changed

+5
-5
lines changed

test/src/sdk-harness/test_projects/tx_fields/mod.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,7 @@ mod tx {
577577
predicate_coin_amount as usize * subsections.len()
578578
);
579579

580-
// Upload each sub section in a separate transaction and include the predicate with the transaction.
580+
// Upload each subsection in a separate transaction and include the predicate with the transaction.
581581
for subsection in subsections {
582582
let mut builder = UploadTransactionBuilder::prepare_subsection_upload(
583583
subsection,
@@ -637,7 +637,7 @@ mod tx {
637637
let subsection_size = 65536;
638638
let subsections = UploadSubsection::split_bytecode(&bytecode, subsection_size).unwrap();
639639

640-
// Upload each sub section in a separate transaction and include the predicate with the transaction.
640+
// Upload each subsection in a separate transaction and include the predicate with the transaction.
641641
for subsection in subsections.clone() {
642642
let mut builder = UploadTransactionBuilder::prepare_subsection_upload(
643643
subsection,
@@ -1049,7 +1049,7 @@ mod inputs {
10491049
let subsection_size = 65536;
10501050
let subsections = UploadSubsection::split_bytecode(&bytecode, subsection_size).unwrap();
10511051

1052-
// Upload each sub section in a separate transaction and include the predicate with the transaction.
1052+
// Upload each subsection in a separate transaction and include the predicate with the transaction.
10531053
for subsection in subsections.clone() {
10541054
let mut builder = UploadTransactionBuilder::prepare_subsection_upload(
10551055
subsection,
@@ -1595,7 +1595,7 @@ mod outputs {
15951595
// Build transaction
15961596
let tx = tb.build(provider).await.unwrap();
15971597

1598-
// Send trandaction
1598+
// Send transaction
15991599
provider
16001600
.send_transaction_and_await_commit(tx)
16011601
.await
@@ -1673,7 +1673,7 @@ mod outputs {
16731673
let subsection_size = 65536;
16741674
let subsections = UploadSubsection::split_bytecode(&bytecode, subsection_size).unwrap();
16751675

1676-
// Upload each sub section in a separate transaction and include the predicate with the transaction.
1676+
// Upload each subsection in a separate transaction and include the predicate with the transaction.
16771677
for subsection in subsections.clone() {
16781678
let mut builder = UploadTransactionBuilder::prepare_subsection_upload(
16791679
subsection,

0 commit comments

Comments
 (0)