Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: extract_contract_call_data function pub modifier #1553

Merged
merged 1 commit into from
Dec 10, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
extract_contract_call_data function made public
zees-dev committed Dec 6, 2024

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
commit 5580027ce207eb6d7aa1149d545dc5a70c4bbf5a
2 changes: 1 addition & 1 deletion packages/fuels-programs/src/calls/receipt_parser.rs
Original file line number Diff line number Diff line change
@@ -59,7 +59,7 @@ impl ReceiptParser {
)
}

fn extract_contract_call_data(&mut self, target_contract: ContractId) -> Option<Vec<u8>> {
pub fn extract_contract_call_data(&mut self, target_contract: ContractId) -> Option<Vec<u8>> {
// If the script contains nested calls, we need to extract the data of the top-level call
let mut nested_calls_stack = vec![];