From b8c270c2c3a6a3f7fbe41d2067e3101e44911e9f Mon Sep 17 00:00:00 2001 From: Algorand Generation Bot Date: Thu, 8 Sep 2022 23:32:07 +0000 Subject: [PATCH] Regenerate code from specification file --- client/v2/indexer/searchForAccounts.go | 12 ++++++++++-- test/applications_integration_test.go | 1 - test/helpers.go | 1 - 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/client/v2/indexer/searchForAccounts.go b/client/v2/indexer/searchForAccounts.go index aba7aed1..bd8abadb 100644 --- a/client/v2/indexer/searchForAccounts.go +++ b/client/v2/indexer/searchForAccounts.go @@ -48,7 +48,11 @@ type SearchAccountsParams struct { NextToken string `url:"next,omitempty"` // Round include results for the specified round. For performance reasons, this - // parameter may be disabled on some configurations. + // parameter may be disabled on some configurations. Using application-id or + // asset-id filters will return both creator and opt-in accounts. Filtering by + // include-all will return creator and opt-in accounts for deleted assets and + // accounts. Non-opt-in managers are not included in the results when asset-id is + // used. Round uint64 `url:"round,omitempty"` } @@ -124,7 +128,11 @@ func (s *SearchAccounts) NextToken(NextToken string) *SearchAccounts { } // Round include results for the specified round. For performance reasons, this -// parameter may be disabled on some configurations. +// parameter may be disabled on some configurations. Using application-id or +// asset-id filters will return both creator and opt-in accounts. Filtering by +// include-all will return creator and opt-in accounts for deleted assets and +// accounts. Non-opt-in managers are not included in the results when asset-id is +// used. func (s *SearchAccounts) Round(Round uint64) *SearchAccounts { s.p.Round = Round return s diff --git a/test/applications_integration_test.go b/test/applications_integration_test.go index 14f9ab06..6c64b676 100644 --- a/test/applications_integration_test.go +++ b/test/applications_integration_test.go @@ -452,7 +452,6 @@ func theTransientAccountShouldHave(appCreated string, byteSlices, uints int, return nil } - func suggestedParamsAlgodV2() error { var err error sugParams, err = aclv2.SuggestedParams().Do(context.Background()) diff --git a/test/helpers.go b/test/helpers.go index c9e36142..f0a932a0 100644 --- a/test/helpers.go +++ b/test/helpers.go @@ -94,7 +94,6 @@ func expectErrorStringToContain(contains string) error { "actual error string: %s", contains, globalErrForExamination.Error()) } - func loadResource(filepath string) ([]byte, error) { return ioutil.ReadFile(path.Join("features", "resources", filepath)) }