Skip to content

Commit

Permalink
fix: Solving problem with populate resources not working for readonly…
Browse files Browse the repository at this point in the history
… calls
  • Loading branch information
robdmoore committed Oct 1, 2024
1 parent 3bc9eec commit fa71652
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/types/app-client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1171,7 +1171,9 @@ export class AppClient {
const result = await this._algorand
.newGroup()
.addAppCallMethodCall(await this.params.call(params))
.simulate()
.simulate({
allowUnnamedResources: params.populateAppCallResources,
})
return this.processMethodCallReturn(
{
...result,
Expand Down

0 comments on commit fa71652

Please sign in to comment.