Skip to content

Commit

Permalink
Fix the incorrect event filter on issue iso script.
Browse files Browse the repository at this point in the history
  • Loading branch information
ian-lee-mxc committed Aug 7, 2024
1 parent 283f56e commit abe8892
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deploy/issue_iso.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ async function main() {
// Create Applicaiton
const create_tnx = await proxy_mep801.getFunction('createApplication').send(token_name);
await create_tnx.wait();
const event_list = await proxy_mep801.queryFilter("ApplicationCreated", -100)
const event_list = await proxy_mep801.queryFilter("ApplicationCreated", -1);
var parsedEvents = event_list.map(function(log) {return proxy_mep801.interface.parseLog(log)});
if (!parsedEvents) {
console.log("Error. Failed to get event log.");
Expand Down

0 comments on commit abe8892

Please sign in to comment.