Skip to content

Commit

Permalink
Applied comments from PR
Browse files Browse the repository at this point in the history
  • Loading branch information
xgreenx committed Apr 9, 2024
1 parent 4771d5a commit 29aa53b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions fuel-tx/src/tests/offset.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
//! This module tests the offset calculation for each field of each transaction type in
//! canonical representation. Since each transaction can be executed inside FuelVM
//! it lives inside VM's memory. The predicate or script may want to have access to
//! different fields of transactions. An offset is used to access it.
use crate::{
field::{
InputContract,
Expand Down
3 changes: 2 additions & 1 deletion fuel-tx/src/tests/valid_cases/transaction/upgrade.rs
Original file line number Diff line number Diff line change
Expand Up @@ -613,7 +613,8 @@ fn check__errors_when_consensus_parameters_different_than_calculated_metadata()
assert_eq!(Err(ValidityError::TransactionMetadataMismatch), result);
}

mod inputs {
// The module tests that `Upgrade` transaction can work with different input types.
mod check_inputs {
use super::*;
use itertools::Itertools;

Expand Down

0 comments on commit 29aa53b

Please sign in to comment.