@@ -8,11 +8,14 @@ option go_package = "github.com/Agoric/agoric-sdk/golang/cosmos/x/vbank/types";
8
8
9
9
message Params {
10
10
option (gogoproto.equal ) = true ;
11
+ option (gogoproto.goproto_stringer ) = false ;
11
12
12
- // feeEpochDurationBlocks is the length of a fee epoch, in blocks.
13
+ // fee_epoch_duration_blocks is the length of a fee epoch, in blocks.
13
14
// A value of zero has the same meaning as a value of one:
14
15
// the full fee buffer should be distributed immediately.
15
- int64 feeEpochDurationBlocks = 1 ;
16
+ int64 fee_epoch_duration_blocks = 1 [
17
+ (gogoproto.moretags ) = "yaml:\"fee_epoch_duration_blocks\""
18
+ ];
16
19
}
17
20
18
21
message State {
@@ -21,15 +24,22 @@ message State {
21
24
// rewardPool is the current balance of rewards in the module account.
22
25
// NOTE: Tracking manually since there is no bank call for getting a
23
26
// module account balance by name.
24
- repeated cosmos.base.v1beta1.Coin rewardPool = 1
25
- [(gogoproto.nullable ) = false , (gogoproto.castrepeated ) = "github.com/cosmos/cosmos-sdk/types.Coins"
26
- ];
27
+ repeated cosmos.base.v1beta1.Coin reward_pool = 1 [
28
+ (gogoproto.nullable ) = false ,
29
+ (gogoproto.moretags ) = "yaml:\"reward_pool\"" ,
30
+ (gogoproto.castrepeated ) = "github.com/cosmos/cosmos-sdk/types.Coins"
31
+ ];
27
32
28
- // rewardRate is the amount of reward, if available, to send to the
33
+ // reward_rate is the amount of reward, if available, to send to the
29
34
// fee collector module on every block.
30
- repeated cosmos.base.v1beta1.Coin rewardRate = 2
31
- [(gogoproto.nullable ) = false , (gogoproto.castrepeated ) = "github.com/cosmos/cosmos-sdk/types.Coins" ];
35
+ repeated cosmos.base.v1beta1.Coin reward_rate = 2 [
36
+ (gogoproto.nullable ) = false ,
37
+ (gogoproto.moretags ) = "yaml:\"reward_rate\"" ,
38
+ (gogoproto.castrepeated ) = "github.com/cosmos/cosmos-sdk/types.Coins"
39
+ ];
32
40
33
- // lastNonce is a sequence number for communicating with the VM.
34
- uint64 lastNonce = 3 ;
41
+ // last_sequence is a sequence number for communicating with the VM.
42
+ uint64 last_sequence = 3 [
43
+ (gogoproto.moretags ) = "yaml:\"last_sequence\""
44
+ ];
35
45
}
0 commit comments