Skip to content

Commit

Permalink
feat: add LogDecoder getter for script instances (FuelLabs#1036)
Browse files Browse the repository at this point in the history
  • Loading branch information
hal3e committed Jul 11, 2023
1 parent 8332578 commit 9d12359
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 100,7 @@ pub(crate) fn contract_bindings(
fn id(&self) -> ::fuels::types::bech32::Bech32ContractId {
self.contract_id.clone()
}

fn log_decoder(&self) -> ::fuels::programs::logs::LogDecoder {
self.log_decoder.clone()
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 68,10 @@ pub(crate) fn script_bindings(
self
}

pub fn log_decoder(&self) -> ::fuels::programs::logs::LogDecoder {
self.log_decoder.clone()
}

#main_function
}

Expand Down

0 comments on commit 9d12359

Please sign in to comment.