-
Notifications
You must be signed in to change notification settings - Fork 287
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Feature] lower oracle feeder cost (#463)
* add tx-gas-hard-limit flag to prevent spamming attack * convert spamming protection to mempool operation * remove oracle messages from gas charging * prevent huge gas * add mempool logic to check oracle spamming attack * remove unused app function * update test * prevent simulation to change map * make bondcheck default after softfork * update simulation * update simulation
- Loading branch information
yys
authored
Mar 18, 2021
1 parent
8545958
commit 534de88
Showing
14 changed files
with
318 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
// nolint:deadcode unused DONTCOVER | ||
package exported | ||
|
||
import "github.com/terra-project/core/x/oracle/internal/types" | ||
|
||
type ( | ||
MsgAggregateExchangeRatePrevote = types.MsgAggregateExchangeRatePrevote | ||
MsgAggregateExchangeRateVote = types.MsgAggregateExchangeRateVote | ||
) |
Oops, something went wrong.