From bc2bc72b37f9a7d643b08c0e9f6e168ccfdb1043 Mon Sep 17 00:00:00 2001 From: Ignacio Esteban Losiggio Date: Mon, 20 Jul 2026 12:14:51 -0300 Subject: [PATCH] go: Include the `model`package if SimulateTransaction is present We removed `TealDryRun` recently but `SimulateTransaction` still requires the package for the generated file to work as expected. --- go_templates/client.vm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go_templates/client.vm b/go_templates/client.vm index 6bbbf30..6478a05 100644 --- a/go_templates/client.vm +++ b/go_templates/client.vm @@ -8,7 +8,7 @@ import ( "github.com/algorand/go-algorand-sdk/v2/client/v2/common" #foreach( $q in $queries ) ## TODO: Something like: $str.matches("#oapiToGo($qp)", "model\..*") -#if ( "$go.queryTypeMapper(${str.capitalize($q.name)})" == "TealDryrun" ) +#if ( "$go.queryTypeMapper(${str.capitalize($q.name)})" == "SimulateTransaction" ) "github.com/algorand/go-algorand-sdk/v2/client/v2/common/models" #end #end