@@ -728,7 +728,7 @@ def parse_asset(context, index):
728728
729729
730730@when ( 
731-     'we make a Search For Transactions call with account "{account:MaybeString}" NotePrefix "{notePrefixB64:MaybeString}" TxType "{txType:MaybeString}" SigType "{sigType:MaybeString}" txid "{txid:MaybeString}" round {block} minRound {minRound} maxRound {maxRound} limit {limit} beforeTime "{beforeTime:MaybeString}" afterTime "{afterTime:MaybeString}" currencyGreaterThan {currencyGreaterThan} currencyLessThan {currencyLessThan} assetIndex {index} addressRole "{addressRole:MaybeString}" ExcluseCloseTo "{excludeCloseTo:MaybeString}" rekeyTo "{rekeyTo:MaybeString}"'  
731+     'we make a Search For Transactions call with account "{account:MaybeString}" NotePrefix "{notePrefixB64:MaybeString}" TxType "{txType:MaybeString}" SigType "{sigType:MaybeString}" txid "{txid:MaybeString}" round {block} minRound {minRound} maxRound {maxRound} limit {limit} beforeTime "{beforeTime:MaybeString}" afterTime "{afterTime:MaybeString}" currencyGreaterThan {currencyGreaterThan} currencyLessThan {currencyLessThan} assetIndex {index} addressRole "{addressRole:MaybeString}" ExcluseCloseTo "{excludeCloseTo:MaybeString}" groupid "{groupidB64:MaybeString}"  rekeyTo "{rekeyTo:MaybeString}"'  
732732) 
733733def  search_txns (
734734    context ,
@@ -748,6 +748,7 @@ def search_txns(
748748    index ,
749749    addressRole ,
750750    excludeCloseTo ,
751+     groupidB64 ,
751752    rekeyTo ,
752753):
753754    if  notePrefixB64  ==  "none" :
@@ -768,6 +769,8 @@ def search_txns(
768769        addressRole  =  None 
769770    if  excludeCloseTo  ==  "none" :
770771        excludeCloseTo  =  None 
772+     if  groupidB64  ==  "none" :
773+         groupidB64  =  "" 
771774    if  rekeyTo  ==  "none" :
772775        rekeyTo  =  None 
773776    context .response  =  context .icl .search_transactions (
@@ -788,12 +791,13 @@ def search_txns(
788791        address = account ,
789792        address_role = addressRole ,
790793        exclude_close_to = excludeCloseTo ,
794+         group_id = base64 .b64decode (groupidB64 ),
791795        rekey_to = rekeyTo ,
792796    )
793797
794798
795799@when ( 
796-     'we make a Search For Transactions call with account "{account:MaybeString}" NotePrefix "{notePrefixB64:MaybeString}" TxType "{txType:MaybeString}" SigType "{sigType:MaybeString}" txid "{txid:MaybeString}" round {block} minRound {minRound} maxRound {maxRound} limit {limit} beforeTime "{beforeTime:MaybeString}" afterTime "{afterTime:MaybeString}" currencyGreaterThan {currencyGreaterThan} currencyLessThan {currencyLessThan} assetIndex {index} addressRole "{addressRole:MaybeString}" ExcluseCloseTo "{excludeCloseTo:MaybeString}"'  
800+     'we make a Search For Transactions call with account "{account:MaybeString}" NotePrefix "{notePrefixB64:MaybeString}" TxType "{txType:MaybeString}" SigType "{sigType:MaybeString}" txid "{txid:MaybeString}" round {block} minRound {minRound} maxRound {maxRound} limit {limit} beforeTime "{beforeTime:MaybeString}" afterTime "{afterTime:MaybeString}" currencyGreaterThan {currencyGreaterThan} currencyLessThan {currencyLessThan} assetIndex {index} addressRole "{addressRole:MaybeString}" ExcluseCloseTo "{excludeCloseTo:MaybeString}" groupid "{groupidB64:MaybeString}" '  
797801) 
798802def  search_txns2 (
799803    context ,
@@ -813,6 +817,7 @@ def search_txns2(
813817    index ,
814818    addressRole ,
815819    excludeCloseTo ,
820+     groupidB64 ,
816821):
817822    if  notePrefixB64  ==  "none" :
818823        notePrefixB64  =  "" 
@@ -832,6 +837,8 @@ def search_txns2(
832837        addressRole  =  None 
833838    if  excludeCloseTo  ==  "none" :
834839        excludeCloseTo  =  None 
840+     if  groupidB64  ==  "none" :
841+         groupidB64  =  "" 
835842    context .response  =  context .icl .search_transactions (
836843        asset_id = int (index ),
837844        limit = int (limit ),
@@ -850,6 +857,7 @@ def search_txns2(
850857        address = account ,
851858        address_role = addressRole ,
852859        exclude_close_to = excludeCloseTo ,
860+         group_id = base64 .b64decode (groupidB64 ),
853861        rekey_to = None ,
854862    )
855863
0 commit comments