{"record":{"id":"5f5f66ef55a4521e","repo":"ruvnet/ruflo","slug":"execution-failed-5f5f66","errorCode":"EXECUTION_FAILED","errorMessage":"result.error ?? 'Gas estimation failed'","messagePattern":"result\\.error \\?\\? 'Gas estimation failed'","errorType":"exception","errorClass":"GtBridgeError","httpStatus":null,"severity":"error","filePath":"v3/plugins/gastown-bridge/src/bridges/gt-bridge.ts","lineNumber":605,"sourceCode":"\n    if (params.data) {\n      const validatedData = SafeStringSchema.parse(params.data);\n      args.push('--data', validatedData);\n    }\n\n    if (params.value) {\n      const validatedValue = SafeStringSchema.parse(params.value);\n      args.push('--value', validatedValue);\n    }\n\n    if (params.from) {\n      const validatedFrom = AddressSchema.parse(params.from);\n      args.push('--from', validatedFrom);\n    }\n\n    const result = await this.execGt(args);\n    if (!result.success || !result.data) {\n      throw new GtBridgeError(\n        result.error ?? 'Gas estimation failed',\n        'EXECUTION_FAILED',\n        'gt',\n        args\n      );\n    }\n\n    return this.parseGtOutput<GasEstimate>(result.data);\n  }\n\n  /**\n   * Get transaction status\n   */\n  async getTxStatus(txHash: string, network?: z.infer<typeof NetworkSchema>): Promise<TxStatus> {\n    this.ensureInitialized();\n\n    const validatedHash = TxHashSchema.parse(txHash);\n    const args = [","sourceCodeStart":587,"sourceCodeEnd":623,"githubUrl":"https://github.com/ruvnet/ruflo/blob/fa13ee4ad60ac2090b1480656eb233521790d640/v3/plugins/gastown-bridge/src/bridges/gt-bridge.ts#L587-L623","documentation":"estimateGas() ran the gt estimate command and execGt returned success=false or no data. The EXECUTION_FAILED wrapper prefers the underlying error text (else the generic 'Gas estimation failed') with the executed args attached.","triggerScenarios":"Thrown at v3/plugins/gastown-bridge/src/bridges/gt-bridge.ts:605 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Inspect the underlying cause in logs, fix the root issue, and retry the operation.","Validate inputs and preconditions before invoking this code path so the error is avoided."],"exampleFix":null,"handlingStrategy":"try-catch","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"fa13ee4ad60ac2090b1480656eb233521790d640","analyzedAt":"2026-08-18T21:34:22.708Z","contentChangedAt":"2026-08-18T21:34:22.708Z","schemaVersion":2},"datasetVersion":"2026-09-14T00:17:10.932Z"}