Skip to content

Commit

Permalink
Merge pull request #297 from NilFoundation/minor-explorer-bugs
Browse files Browse the repository at this point in the history
Added support to interact with a mapping via playground
  • Loading branch information
gitshreevatsa authored Mar 3, 2025
2 parents 9549a10 + f71b146 commit 31e0ffb
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions explorer_frontend/src/features/contracts/init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -345,8 +345,14 @@ sample({
if (typeof input.name !== "string") {
continue;
}
const name = input.name;
args.push(callParams[name] || "");
if (input.name === "") {
for (const key in callParams) {
args.push(callParams[key] || "");
}
} else {
const name = input.name;
args.push(callParams[name] || "");
}
}
}
}
Expand Down

0 comments on commit 31e0ffb

Please sign in to comment.