Skip to content

Commit

Permalink
updated vote gas
Browse files Browse the repository at this point in the history
  • Loading branch information
Megha-Dev-19 committed Feb 18, 2024
1 parent 3a87699 commit d1f1438
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,9 @@ const handleFunctionCall = () => {
});
return;
}
if (state.gas > 300) {
if (state.gas > 270) {
State.update({
error: "Maximum gas allowed is 300Tgas"
error: "Maximum gas allowed is 270Tgas"
});
return;
}
Expand Down
2 changes: 1 addition & 1 deletion apps/astraplusplus/widget/DAO/Proposals/Card/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@ const handleVote = ({
contractName: daoId,
methodName: isCongressDaoID ? "vote" : "act_proposal",
args: args,
gas: 270000000000000
gas: 300000000000000
}
];
if (showNotification) {
Expand Down
2 changes: 1 addition & 1 deletion apps/astraplusplus/widget/DAO/Proposals/MultiVote.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ if (view === "submit") {
contractName: daoId,
methodName: isCongressDaoID ? "vote" : "act_proposal",
args: args,
gas: 270000000000000
gas: 300000000000000
});
}
});
Expand Down

0 comments on commit d1f1438

Please sign in to comment.