-
Notifications
You must be signed in to change notification settings - Fork 610
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* whitelist address for setting fee tokens * register subspace and codec * changelog * add params to genesis, add test case for SenderValidationSetFeeTokens * add genesis test and TestMsgSetFeeTokens * add DAO address to upgrade handler * use osmoutils helper (cherry picked from commit f3e311a) Co-authored-by: Adam Tucker <[email protected]>
- Loading branch information
1 parent
c5b6861
commit 9bf7c74
Showing
25 changed files
with
1,491 additions
and
22 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
syntax = "proto3"; | ||
package osmosis.txfees.v1beta1; | ||
|
||
import "gogoproto/gogo.proto"; | ||
|
||
option go_package = "github.com/osmosis-labs/osmosis/v24/x/txfees/types"; | ||
|
||
// Params holds parameters for the txfees module | ||
message Params { | ||
repeated string whitelisted_fee_token_setters = 1 [ | ||
(gogoproto.moretags) = "yaml:\"whitelisted_fee_token_setters\"", | ||
(gogoproto.nullable) = false | ||
]; | ||
} |
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,25 @@ | ||
syntax = "proto3"; | ||
package osmosis.txfees.v1beta1; | ||
|
||
import "gogoproto/gogo.proto"; | ||
import "amino/amino.proto"; | ||
import "osmosis/txfees/v1beta1/feetoken.proto"; | ||
|
||
option go_package = "github.com/osmosis-labs/osmosis/v24/x/txfees/types"; | ||
|
||
service Msg { | ||
rpc SetFeeTokens(MsgSetFeeTokens) returns (MsgSetFeeTokensResponse); | ||
} | ||
|
||
// ===================== MsgSetFeeTokens | ||
message MsgSetFeeTokens { | ||
option (amino.name) = "osmosis/set-fee-tokens"; | ||
|
||
repeated FeeToken fee_tokens = 1 [ | ||
(gogoproto.moretags) = "yaml:\"fee_tokens\"", | ||
(gogoproto.nullable) = false | ||
]; | ||
string sender = 2 [ (gogoproto.moretags) = "yaml:\"sender\"" ]; | ||
} | ||
|
||
message MsgSetFeeTokensResponse {} |
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
Oops, something went wrong.