File tree Expand file tree Collapse file tree 2 files changed +26
-0
lines changed
ibc/client/light_clients/types/proto Expand file tree Collapse file tree 2 files changed +26
-0
lines changed Original file line number Diff line number Diff line change @@ -311,6 +311,7 @@ protogen_local: go_protoc-go-inject-tag ## Generate go structures for all of the
311
311
# IBC
312
312
$(PROTOC_SHARED) -I=./ibc/types/proto --go_out=./ibc/types ./ibc/types/proto/*.proto
313
313
$(PROTOC_SHARED) -I=./ibc/client/types/proto --go_out=./ibc/client/types ./ibc/client/types/proto/*.proto
314
+ $(PROTOC_SHARED) -I=./ibc/client/types/proto -I=./ibc/client/light_clients/types/proto --go_out=./ibc/client/light_clients/types ./ibc/client/light_clients/types/proto/*.proto
314
315
315
316
# echo "View generated proto files by running: make protogen_show"
316
317
Original file line number Diff line number Diff line change
1
+ syntax = "proto3" ;
2
+
3
+ package core ;
4
+
5
+ option go_package = "github.com/pokt-network/pocket/ibc/client/light_client/types" ;
6
+
7
+ import "google/protobuf/timestamp.proto" ;
8
+ import "wasm.proto" ;
9
+
10
+ // PocketConsensusState defines the ibc client consensus state for Pocket
11
+ message PocketConsensusState {
12
+ google.protobuf.Timestamp timestamp = 1 ; // unixnano timestamp of the block
13
+ string state_hash = 2 ; // hex encoded root state tree hash
14
+ map <string , string > state_tree_hashes = 3 ; // map of state tree hashes; map[TreeName]hex(TreeRootHash)
15
+ string next_val_set_hash = 4 ; // hex encoded sha3_256 hash of the next validator set
16
+ }
17
+
18
+ // PocketClientState defines the ibc client state for Pocket
19
+ message PocketClientState {
20
+ string network_id = 1 ;
21
+ uint64 trusting_period = 3 ;
22
+ uint64 unbonding_period = 4 ;
23
+ Height latest_height = 5 ;
24
+ uint64 frozen_height = 6 ;
25
+ }
You can’t perform that action at this time.
0 commit comments