Skip to content

Commit

Permalink
bug: reexport fuel_tx::Output (#1030)
Browse files Browse the repository at this point in the history
  • Loading branch information
segfault-magnet authored Jul 5, 2023
1 parent f0c5789 commit 6efa6f1
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/fuels-core/src/types/wrappers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,6 @@ pub mod message_proof;
pub mod node_info;
pub mod transaction;
pub mod transaction_response;
pub mod output {
pub use fuel_tx::Output;
}
9 changes: 9 additions & 0 deletions packages/fuels/tests/imports.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#[cfg(test)]
mod tests {
#[test]
fn provides_output_type() {
// test exists because we've excluded fuel_tx::Output twice
#[allow(unused_imports)]
use fuels::types::output::Output;
}
}

0 comments on commit 6efa6f1

Please sign in to comment.