github.com/Finschia/finschia-sdk@v0.49.1/proto/cosmos/base/store/v1beta1/commit_info.proto (about)

     1  syntax = "proto3";
     2  package cosmos.base.store.v1beta1;
     3  
     4  import "gogoproto/gogo.proto";
     5  
     6  option go_package = "github.com/Finschia/finschia-sdk/store/types";
     7  
     8  // CommitInfo defines commit information used by the multi-store when committing
     9  // a version/height.
    10  message CommitInfo {
    11    int64              version     = 1;
    12    repeated StoreInfo store_infos = 2 [(gogoproto.nullable) = false];
    13  }
    14  
    15  // StoreInfo defines store-specific commit information. It contains a reference
    16  // between a store name and the commit ID.
    17  message StoreInfo {
    18    string   name      = 1;
    19    CommitID commit_id = 2 [(gogoproto.nullable) = false];
    20  }
    21  
    22  // CommitID defines the committment information when a specific store is
    23  // committed.
    24  message CommitID {
    25    option (gogoproto.goproto_stringer) = false;
    26  
    27    int64 version = 1;
    28    bytes hash    = 2;
    29  }