Skip to content

Commit

Permalink
- raise gas limit for vote tx to account for byte gas cost (#42)
Browse files Browse the repository at this point in the history
* - raise gas limit for vote tx to account for byte gas cost

* - bump version

* - audit fix

* - audit fixes
  • Loading branch information
StrathCole authored Sep 6, 2024
1 parent 80b23f0 commit ba0ca90
Show file tree
Hide file tree
Showing 6 changed files with 107 additions and 174 deletions.
22 changes: 11 additions & 11 deletions feeder/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion feeder/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@classic-terra/oracle-feeder",
"version": "3.1.3",
"version": "3.1.4",
"main": "src/index.ts",
"license": "Apache-2.0",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion feeder/src/vote.ts
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ export async function processVote(
logger.info(`[PREVOTE] msg: ${JSON.stringify(msgs)}\n`)
const tx = await wallet.createAndSignTx({
msgs,
fee: new Fee((1 + msgs.length) * 50000, []),
fee: new Fee((1 + msgs.length) * 100_000, []),
memo: `${packageInfo.name}@${packageInfo.version}`,
})

Expand Down
Loading

0 comments on commit ba0ca90

Please sign in to comment.