Skip to content

Commit f0d3478

Browse files
committed
Update fuel-abi-types to 0.15.0.
1 parent f43554d commit f0d3478

File tree

3 files changed

+76
-11
lines changed

3 files changed

+76
-11
lines changed

Cargo.lock

Lines changed: 70 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ sway-ir-macros = { path = "sway-ir/sway-ir-macros", version = "0.69.1" }
7474
#
7575

7676
# Dependencies from the `fuel-abi-types` repository:
77-
fuel-abi-types = "0.12"
77+
fuel-abi-types = "0.15"
7878

7979
# Dependencies from the `fuel-core` repository:
8080
#

sway-core/src/abi_generation/fuel_abi.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -334,6 +334,7 @@ pub fn generate_program_abi(
334334
messages_types: Some(messages_types),
335335
configurables: Some(configurables),
336336
error_codes: Some(error_codes),
337+
panicking_calls: None,
337338
})
338339
}
339340
TyProgramKind::Script { main_function, .. } => {
@@ -363,6 +364,7 @@ pub fn generate_program_abi(
363364
messages_types: Some(messages_types),
364365
configurables: Some(configurables),
365366
error_codes: Some(error_codes),
367+
panicking_calls: None,
366368
})
367369
}
368370
TyProgramKind::Predicate { main_function, .. } => {
@@ -392,6 +394,7 @@ pub fn generate_program_abi(
392394
messages_types: Some(messages_types),
393395
configurables: Some(configurables),
394396
error_codes: Some(error_codes),
397+
panicking_calls: None,
395398
})
396399
}
397400
TyProgramKind::Library { .. } => {
@@ -411,6 +414,7 @@ pub fn generate_program_abi(
411414
messages_types: Some(messages_types),
412415
configurables: None,
413416
error_codes: Some(error_codes),
417+
panicking_calls: None,
414418
})
415419
}
416420
})?;
@@ -834,6 +838,7 @@ fn generate_error_codes(panic_occurrences: &PanicOccurrences) -> BTreeMap<u64, E
834838
*revert_code,
835839
ErrorDetails {
836840
pos: ErrorPosition {
841+
function: String::default(),
837842
pkg: panic_occurrence.loc.pkg.clone(),
838843
file: panic_occurrence.loc.file.clone(),
839844
line: panic_occurrence.loc.loc.line as u64,

0 commit comments

Comments
 (0)