-
Notifications
You must be signed in to change notification settings - Fork 170
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cleanup params in Babylon custom modules. #334
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,18 +3,14 @@ package babylon.checkpointing.v1; | |
|
||
import "gogoproto/gogo.proto"; | ||
import "cosmos/crypto/ed25519/keys.proto"; | ||
import "babylon/checkpointing/v1/params.proto"; | ||
import "babylon/checkpointing/v1/bls_key.proto"; | ||
|
||
option go_package = "github.com/babylonchain/babylon/x/checkpointing/types"; | ||
|
||
// GenesisState defines the checkpointing module's genesis state. | ||
message GenesisState { | ||
// params defines all the paramaters of related to checkpointing | ||
Params params = 1 [ (gogoproto.nullable) = false ]; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It it worth keeping the |
||
|
||
// genesis_keys defines the public keys for the genesis validators | ||
repeated GenesisKey genesis_keys = 2; | ||
repeated GenesisKey genesis_keys = 1; | ||
} | ||
|
||
// GenesisKey defines public key information about the genesis validators | ||
|
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,9 +2,8 @@ syntax = "proto3"; | |
package babylon.monitor.v1; | ||
|
||
import "gogoproto/gogo.proto"; | ||
import "babylon/monitor/v1/params.proto"; | ||
|
||
option go_package = "github.com/babylonchain/babylon/x/monitor/types"; | ||
|
||
// GenesisState defines the monitor module's genesis state. | ||
message GenesisState { Params params = 1 [ (gogoproto.nullable) = false ]; } | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. same here |
||
message GenesisState {} |
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,12 +2,10 @@ syntax = "proto3"; | |
package babylon.zoneconcierge.v1; | ||
|
||
import "gogoproto/gogo.proto"; | ||
import "babylon/zoneconcierge/v1/params.proto"; | ||
|
||
option go_package = "github.com/babylonchain/babylon/x/zoneconcierge/types"; | ||
|
||
// GenesisState defines the zoneconcierge module's genesis state. | ||
message GenesisState { | ||
Params params = 1 [ (gogoproto.nullable) = false ]; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same here. Notably, a param that can be upgraded by gov prop might be useful when we add support to phase 3 when at phase 2. |
||
string port_id = 2; | ||
string port_id = 1; | ||
} |
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same here, is it worth keeping params?