Skip to content

Commit

Permalink
Add deleted gov determ config
Browse files Browse the repository at this point in the history
  • Loading branch information
ysv committed Oct 30, 2023
1 parent 629a57f commit 4b1164e
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions x/deterministicgas/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,13 @@ func DefaultConfig() Config {
MsgToMsgURL(&feegranttypes.MsgRevokeAllowance{}): constantGasFunc(2_500),

// gov
MsgToMsgURL(&govtypesv1.MsgVote{}): constantGasFunc(6000),
MsgToMsgURL(&govtypesv1.MsgVoteWeighted{}): constantGasFunc(6500),
MsgToMsgURL(&govtypesv1.MsgDeposit{}): constantGasFunc(65000),
MsgToMsgURL(&govtypesv1beta1.MsgVote{}): constantGasFunc(6_000),
MsgToMsgURL(&govtypesv1beta1.MsgVoteWeighted{}): constantGasFunc(9_000),
MsgToMsgURL(&govtypesv1beta1.MsgDeposit{}): constantGasFunc(85_000),

MsgToMsgURL(&govtypesv1.MsgVote{}): constantGasFunc(6_000),
MsgToMsgURL(&govtypesv1.MsgVoteWeighted{}): constantGasFunc(6_500),
MsgToMsgURL(&govtypesv1.MsgDeposit{}): constantGasFunc(65_000),

// group
MsgToMsgURL(&group.MsgCreateGroup{}): constantGasFunc(55_000),
Expand Down

0 comments on commit 4b1164e

Please sign in to comment.