Skip to content

Commit b796f80

Browse files
committed
GetExecutionTraceArgs doc comments
1 parent 05214b4 commit b796f80

File tree

1 file changed

+5
-2
lines changed
  • forc-plugins/forc-mcp/src/forc_call

1 file changed

+5
-2
lines changed

forc-plugins/forc-mcp/src/forc_call/mod.rs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,12 @@ pub struct TransferAssetsArgs {
5151

5252
#[derive(Debug, Deserialize, JsonSchema)]
5353
pub struct GetExecutionTraceArgs {
54-
pub trace_events: Vec<HashMap<String, Value>>, // JSON objects representing TraceEvent
54+
/// JSON objects representing TraceEvent
55+
pub trace_events: Vec<HashMap<String, Value>>,
56+
/// Total gas used in the execution trace
5557
pub total_gas: u64,
56-
pub labels: Option<HashMap<String, String>>, // JSON string representation of HashMap<ContractId, String>
58+
/// JSON string representation of HashMap<ContractId, String>
59+
pub labels: Option<HashMap<String, String>>,
5760
}
5861

5962
fn default_mode() -> String {

0 commit comments

Comments
 (0)