Skip to content

Commit

Permalink
introduce priority fee config for channel and TakenFeeByIbcSequence list
Browse files Browse the repository at this point in the history
  • Loading branch information
RustNinja committed Apr 25, 2024
1 parent b67db99 commit 1dceede
Show file tree
Hide file tree
Showing 4 changed files with 414 additions and 47 deletions.
3 changes: 3 additions & 0 deletions proto/composable/ibctransfermiddleware/v1beta1/genesis.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,14 @@ package composable.ibctransfermiddleware.v1beta1;
import "gogoproto/gogo.proto";
import "composable/ibctransfermiddleware/v1beta1/ibctransfermiddleware.proto";
import "amino/amino.proto";
import "cosmos/base/v1beta1/coin.proto";


option go_package = "x/ibctransfermiddleware/types";

// GenesisState defines the ibctransfermiddleware module's genesis state.
message GenesisState {
Params params = 1 [ (gogoproto.nullable) = false ];

repeated cosmos.base.v1beta1.Coin taken_fee_by_ibc_sequence = 2 [(gogoproto.nullable) = false, (amino.dont_omitempty) = true];
}
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,11 @@ message ChannelFee{
message CoinItem{
cosmos.base.v1beta1.Coin min_fee = 1 [(gogoproto.nullable) = false, (amino.dont_omitempty) = true];
int64 percentage = 2;
repeated TxPriorityFee tx_priority_fee = 3;
}

message TxPriorityFee{
string priority = 1;
cosmos.base.v1beta1.Coin priority_fee = 2 [(gogoproto.nullable) = false, (amino.dont_omitempty) = true];
}

101 changes: 85 additions & 16 deletions x/ibctransfermiddleware/types/genesis.pb.go

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

Loading

0 comments on commit 1dceede

Please sign in to comment.