// CreateDummyApps sets applications with given IDs to the account with the default
// AEMA schema. Note: existing applications are completely overridden.
CreateDummyApps sets applications with given IDs to the account with the default
AEMA schema. Note: existing applications are completely overridden.
// CreateDummyApps sets applications with given IDs to the account with the default // AEMA schema . Note : existing applications are completely overridden .
func (a *AlgorandMock) CreateDummyApps(ids ...uint64) {
	a.Account.CreatedApps = make([]models.Application, len(ids))
	loc, glob := GenerateSchemasModel()
	for i, val := range ids {
		params := models.ApplicationParams{GlobalStateSchema: glob, LocalStateSchema: loc}
		a.Account.CreatedApps[i] = models.Application{Id: val, Params: params}
	}
}
func ( a * AlgorandMock ) CreateDummyApps ( ids ... uint64 ) { a . Account . CreatedApps = make ( [ ] models . Application , len ( ids ) ) loc , glob := GenerateSchemasModel ( ) for i , val := range ids { params := models . ApplicationParams { GlobalStateSchema : glob , LocalStateSchema : loc } a . Account . CreatedApps [ i ] = models . Application { Id : val , Params : params } } }
CreateDummyApps sets applications with given IDs to the account with the default
AEMA schema.
CreateDummyApps sets applications with given IDs to the account with the default AEMA schema .