Compare commits

..

No commits in common. "d10ba2482b736153c5271870507c0a0502a3b5ec" and "3017ed9919430b01b7535e0adff59e5aae985c8c" have entirely different histories.

10 changed files with 117 additions and 144 deletions

View File

@ -1,5 +1,5 @@
syntax = "proto3";
package zgc.validatorvesting.v1beta1;
package zg.validatorvesting.v1beta1;
import "cosmos_proto/cosmos.proto";
import "gogoproto/gogo.proto";

View File

@ -17,17 +17,22 @@ type Ballot struct {
content []byte
}
func (k Keeper) BeginBlock(ctx sdk.Context, _ abci.RequestBeginBlock) {
params := k.GetParams(ctx)
if uint64(ctx.BlockHeight())%params.EpochBlocks != 0 {
return
}
// generateOneEpoch generate one epoch and returns true if there is a new epoch generated
func (k Keeper) generateOneEpoch(ctx sdk.Context) bool {
epochNumber, err := k.GetEpochNumber(ctx)
if err != nil {
k.Logger(ctx).Error("[BeginBlock] cannot get epoch number")
panic(err)
}
expectedEpoch := epochNumber + 1
params := k.GetParams(ctx)
expectedEpoch := uint64(ctx.BlockHeight()) / params.EpochBlocks
if expectedEpoch == epochNumber {
return false
}
if expectedEpoch < epochNumber {
panic("block height is not continuous")
}
expectedEpoch = epochNumber + 1
// new epoch
k.Logger(ctx).Info(fmt.Sprintf("[BeginBlock] generating epoch %v", expectedEpoch))
registrations := []Ballot{}
@ -105,6 +110,11 @@ func (k Keeper) BeginBlock(ctx sdk.Context, _ abci.RequestBeginBlock) {
// save to store
k.SetEpochQuorums(ctx, expectedEpoch, quorums)
k.SetEpochNumber(ctx, expectedEpoch)
k.Logger(ctx).Info(fmt.Sprintf("[BeginBlock] epoch %v generated at block height %v, with %v quorums", expectedEpoch, ctx.BlockHeight(), len(quorums.Quorums)))
return
k.Logger(ctx).Info(fmt.Sprintf("[BeginBlock] epoch %v generated, with %v quorums", expectedEpoch, len(quorums.Quorums)))
return true
}
func (k Keeper) BeginBlock(ctx sdk.Context, _ abci.RequestBeginBlock) {
for k.generateOneEpoch(ctx) {
}
}

View File

@ -31,7 +31,11 @@ func (suite *AbciTestSuite) TestBeginBlock_NotContinuous() {
})
epoch, err = suite.Keeper.GetEpochNumber(suite.Ctx)
suite.Require().NoError(err)
suite.Assert().EqualValues(epoch, 1)
suite.Assert().EqualValues(epoch, 10)
suite.Assert().Panics(func() {
suite.Keeper.BeginBlock(suite.Ctx.WithBlockHeight(int64(params.EpochBlocks*9)), abci.RequestBeginBlock{})
}, "block height is not continuous")
}
func (suite *AbciTestSuite) TestBeginBlock_Success() {

View File

@ -2,21 +2,18 @@ package keeper
import (
"encoding/hex"
"fmt"
"math/big"
"cosmossdk.io/math"
"github.com/cometbft/cometbft/libs/log"
"github.com/cosmos/cosmos-sdk/codec"
"github.com/cosmos/cosmos-sdk/store/prefix"
storetypes "github.com/cosmos/cosmos-sdk/store/types"
sdk "github.com/cosmos/cosmos-sdk/types"
stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"
"github.com/0glabs/0g-chain/chaincfg"
"github.com/0glabs/0g-chain/x/dasigners/v1/types"
stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"
)
var BondedConversionRate = math.NewIntFromBigInt(big.NewInt(0).Exp(big.NewInt(10), big.NewInt(chaincfg.GasDenomUnit), nil))
@ -60,17 +57,6 @@ func (k Keeper) SetParams(ctx sdk.Context, params types.Params) {
store := ctx.KVStore(k.storeKey)
bz := k.cdc.MustMarshal(&params)
store.Set(types.ParamsKey, bz)
ctx.EventManager().EmitEvent(
sdk.NewEvent(
types.EventTypeUpdateParams,
sdk.NewAttribute(types.AttributeKeyBlockHeight, fmt.Sprint(ctx.BlockHeader().Height)),
sdk.NewAttribute(types.AttributeKeyTokensPerVote, fmt.Sprint(params.TokensPerVote)),
sdk.NewAttribute(types.AttributeKeyMaxQuorums, fmt.Sprint(params.MaxQuorums)),
sdk.NewAttribute(types.AttributeKeyEpochBlocks, fmt.Sprint(params.EpochBlocks)),
sdk.NewAttribute(types.AttributeKeyEncodedSlices, fmt.Sprint(params.EncodedSlices)),
),
)
}
func (k Keeper) GetEpochNumber(ctx sdk.Context) (uint64, error) {

View File

@ -1,12 +1,10 @@
package keeper_test
import (
"fmt"
"testing"
"github.com/0glabs/0g-chain/x/dasigners/v1/testutil"
"github.com/0glabs/0g-chain/x/dasigners/v1/types"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/stretchr/testify/suite"
)
@ -55,7 +53,6 @@ func (suite *MsgServerTestSuite) TestChangeParams() {
}
for _, tc := range testCases {
suite.Run(tc.name, func() {
oldEventNum := len(suite.Ctx.EventManager().Events())
_, err := suite.Keeper.ChangeParams(suite.Ctx, tc.req)
if tc.expectErr {
suite.Require().Error(err)
@ -64,19 +61,6 @@ func (suite *MsgServerTestSuite) TestChangeParams() {
suite.Require().NoError(err)
params := suite.Keeper.GetParams(suite.Ctx)
suite.Require().EqualValues(*tc.req.Params, params)
suite.Assert().NoError(err)
events := suite.Ctx.EventManager().Events()
suite.Assert().EqualValues(len(events), oldEventNum+1)
suite.Assert().EqualValues(events[len(events)-1], sdk.NewEvent(
types.EventTypeUpdateParams,
sdk.NewAttribute(types.AttributeKeyBlockHeight, fmt.Sprint(suite.Ctx.BlockHeader().Height)),
sdk.NewAttribute(types.AttributeKeyTokensPerVote, fmt.Sprint(params.TokensPerVote)),
sdk.NewAttribute(types.AttributeKeyMaxQuorums, fmt.Sprint(params.MaxQuorums)),
sdk.NewAttribute(types.AttributeKeyEpochBlocks, fmt.Sprint(params.EpochBlocks)),
sdk.NewAttribute(types.AttributeKeyEncodedSlices, fmt.Sprint(params.EncodedSlices)),
),
)
}
})
}

View File

@ -12,5 +12,4 @@ var (
ErrQuorumBitmapLengthMismatch = errorsmod.Register(ModuleName, 7, "quorum bitmap length mismatch")
ErrInsufficientBonded = errorsmod.Register(ModuleName, 8, "insufficient bonded amount")
ErrRowIndexOutOfBound = errorsmod.Register(ModuleName, 9, "row index out of bound")
ErrInvalidEpochBlocks = errorsmod.Register(ModuleName, 10, "invalid epoch blocks")
)

View File

@ -3,16 +3,9 @@ package types
// Module event types
const (
EventTypeUpdateSigner = "update_signer"
EventTypeUpdateParams = "update_params"
AttributeKeySigner = "signer"
AttributeKeySocket = "socket"
AttributeKeyPublicKeyG1 = "pubkey_g1"
AttributeKeyPublicKeyG2 = "pubkey_g2"
AttributeKeyBlockHeight = "block_height"
AttributeKeyTokensPerVote = "tokens_per_vote"
AttributeKeyMaxVotesPerSigner = "max_votes_per_signer"
AttributeKeyMaxQuorums = "max_quorums"
AttributeKeyEpochBlocks = "epoch_blocks"
AttributeKeyEncodedSlices = "encoded_slices"
)

View File

@ -1,8 +1,5 @@
package types
func (p *Params) Validate() error {
if p.EpochBlocks == 0 {
return ErrInvalidEpochBlocks
}
return nil
}

View File

@ -1,5 +1,5 @@
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: zgc/validatorvesting/v1beta1/query.proto
// source: zg/validatorvesting/v1beta1/query.proto
package types
@ -39,7 +39,7 @@ func (m *QueryCirculatingSupplyRequest) Reset() { *m = QueryCirculatingS
func (m *QueryCirculatingSupplyRequest) String() string { return proto.CompactTextString(m) }
func (*QueryCirculatingSupplyRequest) ProtoMessage() {}
func (*QueryCirculatingSupplyRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_4eb4aa17850547e7, []int{0}
return fileDescriptor_a02a785c2c013eb6, []int{0}
}
func (m *QueryCirculatingSupplyRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -77,7 +77,7 @@ func (m *QueryCirculatingSupplyResponse) Reset() { *m = QueryCirculating
func (m *QueryCirculatingSupplyResponse) String() string { return proto.CompactTextString(m) }
func (*QueryCirculatingSupplyResponse) ProtoMessage() {}
func (*QueryCirculatingSupplyResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_4eb4aa17850547e7, []int{1}
return fileDescriptor_a02a785c2c013eb6, []int{1}
}
func (m *QueryCirculatingSupplyResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -114,7 +114,7 @@ func (m *QueryTotalSupplyRequest) Reset() { *m = QueryTotalSupplyRequest
func (m *QueryTotalSupplyRequest) String() string { return proto.CompactTextString(m) }
func (*QueryTotalSupplyRequest) ProtoMessage() {}
func (*QueryTotalSupplyRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_4eb4aa17850547e7, []int{2}
return fileDescriptor_a02a785c2c013eb6, []int{2}
}
func (m *QueryTotalSupplyRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -152,7 +152,7 @@ func (m *QueryTotalSupplyResponse) Reset() { *m = QueryTotalSupplyRespon
func (m *QueryTotalSupplyResponse) String() string { return proto.CompactTextString(m) }
func (*QueryTotalSupplyResponse) ProtoMessage() {}
func (*QueryTotalSupplyResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_4eb4aa17850547e7, []int{3}
return fileDescriptor_a02a785c2c013eb6, []int{3}
}
func (m *QueryTotalSupplyResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -189,7 +189,7 @@ func (m *QueryCirculatingSupplyHARDRequest) Reset() { *m = QueryCirculat
func (m *QueryCirculatingSupplyHARDRequest) String() string { return proto.CompactTextString(m) }
func (*QueryCirculatingSupplyHARDRequest) ProtoMessage() {}
func (*QueryCirculatingSupplyHARDRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_4eb4aa17850547e7, []int{4}
return fileDescriptor_a02a785c2c013eb6, []int{4}
}
func (m *QueryCirculatingSupplyHARDRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -227,7 +227,7 @@ func (m *QueryCirculatingSupplyHARDResponse) Reset() { *m = QueryCircula
func (m *QueryCirculatingSupplyHARDResponse) String() string { return proto.CompactTextString(m) }
func (*QueryCirculatingSupplyHARDResponse) ProtoMessage() {}
func (*QueryCirculatingSupplyHARDResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_4eb4aa17850547e7, []int{5}
return fileDescriptor_a02a785c2c013eb6, []int{5}
}
func (m *QueryCirculatingSupplyHARDResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -264,7 +264,7 @@ func (m *QueryCirculatingSupplyUSDXRequest) Reset() { *m = QueryCirculat
func (m *QueryCirculatingSupplyUSDXRequest) String() string { return proto.CompactTextString(m) }
func (*QueryCirculatingSupplyUSDXRequest) ProtoMessage() {}
func (*QueryCirculatingSupplyUSDXRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_4eb4aa17850547e7, []int{6}
return fileDescriptor_a02a785c2c013eb6, []int{6}
}
func (m *QueryCirculatingSupplyUSDXRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -302,7 +302,7 @@ func (m *QueryCirculatingSupplyUSDXResponse) Reset() { *m = QueryCircula
func (m *QueryCirculatingSupplyUSDXResponse) String() string { return proto.CompactTextString(m) }
func (*QueryCirculatingSupplyUSDXResponse) ProtoMessage() {}
func (*QueryCirculatingSupplyUSDXResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_4eb4aa17850547e7, []int{7}
return fileDescriptor_a02a785c2c013eb6, []int{7}
}
func (m *QueryCirculatingSupplyUSDXResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -339,7 +339,7 @@ func (m *QueryCirculatingSupplySWPRequest) Reset() { *m = QueryCirculati
func (m *QueryCirculatingSupplySWPRequest) String() string { return proto.CompactTextString(m) }
func (*QueryCirculatingSupplySWPRequest) ProtoMessage() {}
func (*QueryCirculatingSupplySWPRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_4eb4aa17850547e7, []int{8}
return fileDescriptor_a02a785c2c013eb6, []int{8}
}
func (m *QueryCirculatingSupplySWPRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -377,7 +377,7 @@ func (m *QueryCirculatingSupplySWPResponse) Reset() { *m = QueryCirculat
func (m *QueryCirculatingSupplySWPResponse) String() string { return proto.CompactTextString(m) }
func (*QueryCirculatingSupplySWPResponse) ProtoMessage() {}
func (*QueryCirculatingSupplySWPResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_4eb4aa17850547e7, []int{9}
return fileDescriptor_a02a785c2c013eb6, []int{9}
}
func (m *QueryCirculatingSupplySWPResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -414,7 +414,7 @@ func (m *QueryTotalSupplyHARDRequest) Reset() { *m = QueryTotalSupplyHAR
func (m *QueryTotalSupplyHARDRequest) String() string { return proto.CompactTextString(m) }
func (*QueryTotalSupplyHARDRequest) ProtoMessage() {}
func (*QueryTotalSupplyHARDRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_4eb4aa17850547e7, []int{10}
return fileDescriptor_a02a785c2c013eb6, []int{10}
}
func (m *QueryTotalSupplyHARDRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -452,7 +452,7 @@ func (m *QueryTotalSupplyHARDResponse) Reset() { *m = QueryTotalSupplyHA
func (m *QueryTotalSupplyHARDResponse) String() string { return proto.CompactTextString(m) }
func (*QueryTotalSupplyHARDResponse) ProtoMessage() {}
func (*QueryTotalSupplyHARDResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_4eb4aa17850547e7, []int{11}
return fileDescriptor_a02a785c2c013eb6, []int{11}
}
func (m *QueryTotalSupplyHARDResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -489,7 +489,7 @@ func (m *QueryTotalSupplyUSDXRequest) Reset() { *m = QueryTotalSupplyUSD
func (m *QueryTotalSupplyUSDXRequest) String() string { return proto.CompactTextString(m) }
func (*QueryTotalSupplyUSDXRequest) ProtoMessage() {}
func (*QueryTotalSupplyUSDXRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_4eb4aa17850547e7, []int{12}
return fileDescriptor_a02a785c2c013eb6, []int{12}
}
func (m *QueryTotalSupplyUSDXRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -527,7 +527,7 @@ func (m *QueryTotalSupplyUSDXResponse) Reset() { *m = QueryTotalSupplyUS
func (m *QueryTotalSupplyUSDXResponse) String() string { return proto.CompactTextString(m) }
func (*QueryTotalSupplyUSDXResponse) ProtoMessage() {}
func (*QueryTotalSupplyUSDXResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_4eb4aa17850547e7, []int{13}
return fileDescriptor_a02a785c2c013eb6, []int{13}
}
func (m *QueryTotalSupplyUSDXResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -557,67 +557,67 @@ func (m *QueryTotalSupplyUSDXResponse) XXX_DiscardUnknown() {
var xxx_messageInfo_QueryTotalSupplyUSDXResponse proto.InternalMessageInfo
func init() {
proto.RegisterType((*QueryCirculatingSupplyRequest)(nil), "zgc.validatorvesting.v1beta1.QueryCirculatingSupplyRequest")
proto.RegisterType((*QueryCirculatingSupplyResponse)(nil), "zgc.validatorvesting.v1beta1.QueryCirculatingSupplyResponse")
proto.RegisterType((*QueryTotalSupplyRequest)(nil), "zgc.validatorvesting.v1beta1.QueryTotalSupplyRequest")
proto.RegisterType((*QueryTotalSupplyResponse)(nil), "zgc.validatorvesting.v1beta1.QueryTotalSupplyResponse")
proto.RegisterType((*QueryCirculatingSupplyHARDRequest)(nil), "zgc.validatorvesting.v1beta1.QueryCirculatingSupplyHARDRequest")
proto.RegisterType((*QueryCirculatingSupplyHARDResponse)(nil), "zgc.validatorvesting.v1beta1.QueryCirculatingSupplyHARDResponse")
proto.RegisterType((*QueryCirculatingSupplyUSDXRequest)(nil), "zgc.validatorvesting.v1beta1.QueryCirculatingSupplyUSDXRequest")
proto.RegisterType((*QueryCirculatingSupplyUSDXResponse)(nil), "zgc.validatorvesting.v1beta1.QueryCirculatingSupplyUSDXResponse")
proto.RegisterType((*QueryCirculatingSupplySWPRequest)(nil), "zgc.validatorvesting.v1beta1.QueryCirculatingSupplySWPRequest")
proto.RegisterType((*QueryCirculatingSupplySWPResponse)(nil), "zgc.validatorvesting.v1beta1.QueryCirculatingSupplySWPResponse")
proto.RegisterType((*QueryTotalSupplyHARDRequest)(nil), "zgc.validatorvesting.v1beta1.QueryTotalSupplyHARDRequest")
proto.RegisterType((*QueryTotalSupplyHARDResponse)(nil), "zgc.validatorvesting.v1beta1.QueryTotalSupplyHARDResponse")
proto.RegisterType((*QueryTotalSupplyUSDXRequest)(nil), "zgc.validatorvesting.v1beta1.QueryTotalSupplyUSDXRequest")
proto.RegisterType((*QueryTotalSupplyUSDXResponse)(nil), "zgc.validatorvesting.v1beta1.QueryTotalSupplyUSDXResponse")
proto.RegisterType((*QueryCirculatingSupplyRequest)(nil), "zg.validatorvesting.v1beta1.QueryCirculatingSupplyRequest")
proto.RegisterType((*QueryCirculatingSupplyResponse)(nil), "zg.validatorvesting.v1beta1.QueryCirculatingSupplyResponse")
proto.RegisterType((*QueryTotalSupplyRequest)(nil), "zg.validatorvesting.v1beta1.QueryTotalSupplyRequest")
proto.RegisterType((*QueryTotalSupplyResponse)(nil), "zg.validatorvesting.v1beta1.QueryTotalSupplyResponse")
proto.RegisterType((*QueryCirculatingSupplyHARDRequest)(nil), "zg.validatorvesting.v1beta1.QueryCirculatingSupplyHARDRequest")
proto.RegisterType((*QueryCirculatingSupplyHARDResponse)(nil), "zg.validatorvesting.v1beta1.QueryCirculatingSupplyHARDResponse")
proto.RegisterType((*QueryCirculatingSupplyUSDXRequest)(nil), "zg.validatorvesting.v1beta1.QueryCirculatingSupplyUSDXRequest")
proto.RegisterType((*QueryCirculatingSupplyUSDXResponse)(nil), "zg.validatorvesting.v1beta1.QueryCirculatingSupplyUSDXResponse")
proto.RegisterType((*QueryCirculatingSupplySWPRequest)(nil), "zg.validatorvesting.v1beta1.QueryCirculatingSupplySWPRequest")
proto.RegisterType((*QueryCirculatingSupplySWPResponse)(nil), "zg.validatorvesting.v1beta1.QueryCirculatingSupplySWPResponse")
proto.RegisterType((*QueryTotalSupplyHARDRequest)(nil), "zg.validatorvesting.v1beta1.QueryTotalSupplyHARDRequest")
proto.RegisterType((*QueryTotalSupplyHARDResponse)(nil), "zg.validatorvesting.v1beta1.QueryTotalSupplyHARDResponse")
proto.RegisterType((*QueryTotalSupplyUSDXRequest)(nil), "zg.validatorvesting.v1beta1.QueryTotalSupplyUSDXRequest")
proto.RegisterType((*QueryTotalSupplyUSDXResponse)(nil), "zg.validatorvesting.v1beta1.QueryTotalSupplyUSDXResponse")
}
func init() {
proto.RegisterFile("zgc/validatorvesting/v1beta1/query.proto", fileDescriptor_4eb4aa17850547e7)
proto.RegisterFile("zg/validatorvesting/v1beta1/query.proto", fileDescriptor_a02a785c2c013eb6)
}
var fileDescriptor_4eb4aa17850547e7 = []byte{
// 624 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x96, 0x4f, 0x6f, 0xd3, 0x30,
0x18, 0xc6, 0x1b, 0x24, 0x26, 0xe1, 0x1d, 0x10, 0xd6, 0x10, 0x5b, 0xd8, 0xd2, 0x11, 0x24, 0x34,
0x21, 0x1a, 0xb7, 0x65, 0x7f, 0x60, 0x14, 0x06, 0x63, 0x07, 0x76, 0x83, 0x76, 0x08, 0xc4, 0xa5,
0x72, 0xd3, 0xc8, 0x8d, 0x48, 0xe3, 0xac, 0x76, 0xca, 0xda, 0x23, 0x9f, 0x00, 0x89, 0x33, 0xdf,
0x81, 0x03, 0x5f, 0x80, 0x5b, 0x8f, 0x13, 0x08, 0x09, 0x38, 0x4c, 0xd0, 0xf2, 0x41, 0x50, 0x1c,
0x57, 0x0d, 0x6d, 0x56, 0xd6, 0x4c, 0x85, 0x53, 0xdb, 0xf8, 0x7d, 0xfd, 0xfe, 0x1e, 0xbf, 0xaf,
0x9f, 0x06, 0xac, 0xb4, 0x89, 0x89, 0x9a, 0xd8, 0xb1, 0xab, 0x98, 0xd3, 0x46, 0xd3, 0x62, 0xdc,
0x76, 0x09, 0x6a, 0xe6, 0x2a, 0x16, 0xc7, 0x39, 0xb4, 0xef, 0x5b, 0x8d, 0x96, 0xe1, 0x35, 0x28,
0xa7, 0x70, 0xb1, 0x4d, 0x4c, 0x63, 0x38, 0xd2, 0x90, 0x91, 0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 0x7b, 0xe5, 0xc1, 0x8f,
0x0a, 0x38, 0x3f, 0x64, 0x8f, 0xf0, 0xf6, 0x64, 0xf7, 0x21, 0x3a, 0x83, 0x9b, 0x49, 0x52, 0xa5,
0x90, 0x0d, 0x21, 0x24, 0x07, 0xd1, 0xc9, 0xaf, 0x53, 0x38, 0x77, 0x43, 0x1a, 0xc4, 0xc4, 0x4d,
0xa8, 0x21, 0x3a, 0x6b, 0x9b, 0x49, 0x52, 0x4f, 0xa1, 0x21, 0x98, 0xaf, 0xed, 0x62, 0xe7, 0xa7,
0x96, 0xea, 0x74, 0x35, 0xe5, 0xb0, 0xab, 0x29, 0x3f, 0xba, 0x9a, 0xf2, 0xa6, 0xa7, 0xa5, 0x0e,
0x7b, 0x5a, 0xea, 0x6b, 0x4f, 0x4b, 0xbd, 0x58, 0x8d, 0x78, 0x7f, 0x96, 0x38, 0xb8, 0xc2, 0x50,
0x96, 0x64, 0xcc, 0x1a, 0xb6, 0x5d, 0x74, 0x10, 0x53, 0x47, 0xfc, 0x1b, 0x54, 0x66, 0xc4, 0xbb,
0xe2, 0xcd, 0xdf, 0x01, 0x00, 0x00, 0xff, 0xff, 0xfc, 0x3c, 0x8d, 0x66, 0xc4, 0x0a, 0x00, 0x00,
var fileDescriptor_a02a785c2c013eb6 = []byte{
// 620 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x96, 0x31, 0x6f, 0xd3, 0x40,
0x14, 0xc7, 0x63, 0x24, 0x2a, 0x71, 0x1d, 0x10, 0xa7, 0x22, 0x5a, 0xb7, 0x75, 0x8a, 0x91, 0x00,
0x21, 0xe2, 0x4b, 0x42, 0x4a, 0x5b, 0x68, 0x8b, 0x28, 0x1d, 0xe8, 0x06, 0x49, 0x11, 0x88, 0x25,
0xba, 0x24, 0x96, 0x63, 0xe1, 0xf8, 0xdc, 0xdc, 0x39, 0x34, 0x19, 0xf9, 0x02,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f, 0xeb, 0xb4, 0x0a, 0x00, 0x00,
}
// Reference imports to suppress errors if they are not otherwise used.
@ -658,7 +658,7 @@ func NewQueryClient(cc grpc1.ClientConn) QueryClient {
func (c *queryClient) CirculatingSupply(ctx context.Context, in *QueryCirculatingSupplyRequest, opts ...grpc.CallOption) (*QueryCirculatingSupplyResponse, error) {
out := new(QueryCirculatingSupplyResponse)
err := c.cc.Invoke(ctx, "/zgc.validatorvesting.v1beta1.Query/CirculatingSupply", in, out, opts...)
err := c.cc.Invoke(ctx, "/zg.validatorvesting.v1beta1.Query/CirculatingSupply", in, out, opts...)
if err != nil {
return nil, err
}
@ -667,7 +667,7 @@ func (c *queryClient) CirculatingSupply(ctx context.Context, in *QueryCirculatin
func (c *queryClient) TotalSupply(ctx context.Context, in *QueryTotalSupplyRequest, opts ...grpc.CallOption) (*QueryTotalSupplyResponse, error) {
out := new(QueryTotalSupplyResponse)
err := c.cc.Invoke(ctx, "/zgc.validatorvesting.v1beta1.Query/TotalSupply", in, out, opts...)
err := c.cc.Invoke(ctx, "/zg.validatorvesting.v1beta1.Query/TotalSupply", in, out, opts...)
if err != nil {
return nil, err
}
@ -676,7 +676,7 @@ func (c *queryClient) TotalSupply(ctx context.Context, in *QueryTotalSupplyReque
func (c *queryClient) CirculatingSupplyHARD(ctx context.Context, in *QueryCirculatingSupplyHARDRequest, opts ...grpc.CallOption) (*QueryCirculatingSupplyHARDResponse, error) {
out := new(QueryCirculatingSupplyHARDResponse)
err := c.cc.Invoke(ctx, "/zgc.validatorvesting.v1beta1.Query/CirculatingSupplyHARD", in, out, opts...)
err := c.cc.Invoke(ctx, "/zg.validatorvesting.v1beta1.Query/CirculatingSupplyHARD", in, out, opts...)
if err != nil {
return nil, err
}
@ -685,7 +685,7 @@ func (c *queryClient) CirculatingSupplyHARD(ctx context.Context, in *QueryCircul
func (c *queryClient) CirculatingSupplyUSDX(ctx context.Context, in *QueryCirculatingSupplyUSDXRequest, opts ...grpc.CallOption) (*QueryCirculatingSupplyUSDXResponse, error) {
out := new(QueryCirculatingSupplyUSDXResponse)
err := c.cc.Invoke(ctx, "/zgc.validatorvesting.v1beta1.Query/CirculatingSupplyUSDX", in, out, opts...)
err := c.cc.Invoke(ctx, "/zg.validatorvesting.v1beta1.Query/CirculatingSupplyUSDX", in, out, opts...)
if err != nil {
return nil, err
}
@ -694,7 +694,7 @@ func (c *queryClient) CirculatingSupplyUSDX(ctx context.Context, in *QueryCircul
func (c *queryClient) CirculatingSupplySWP(ctx context.Context, in *QueryCirculatingSupplySWPRequest, opts ...grpc.CallOption) (*QueryCirculatingSupplySWPResponse, error) {
out := new(QueryCirculatingSupplySWPResponse)
err := c.cc.Invoke(ctx, "/zgc.validatorvesting.v1beta1.Query/CirculatingSupplySWP", in, out, opts...)
err := c.cc.Invoke(ctx, "/zg.validatorvesting.v1beta1.Query/CirculatingSupplySWP", in, out, opts...)
if err != nil {
return nil, err
}
@ -703,7 +703,7 @@ func (c *queryClient) CirculatingSupplySWP(ctx context.Context, in *QueryCircula
func (c *queryClient) TotalSupplyHARD(ctx context.Context, in *QueryTotalSupplyHARDRequest, opts ...grpc.CallOption) (*QueryTotalSupplyHARDResponse, error) {
out := new(QueryTotalSupplyHARDResponse)
err := c.cc.Invoke(ctx, "/zgc.validatorvesting.v1beta1.Query/TotalSupplyHARD", in, out, opts...)
err := c.cc.Invoke(ctx, "/zg.validatorvesting.v1beta1.Query/TotalSupplyHARD", in, out, opts...)
if err != nil {
return nil, err
}
@ -712,7 +712,7 @@ func (c *queryClient) TotalSupplyHARD(ctx context.Context, in *QueryTotalSupplyH
func (c *queryClient) TotalSupplyUSDX(ctx context.Context, in *QueryTotalSupplyUSDXRequest, opts ...grpc.CallOption) (*QueryTotalSupplyUSDXResponse, error) {
out := new(QueryTotalSupplyUSDXResponse)
err := c.cc.Invoke(ctx, "/zgc.validatorvesting.v1beta1.Query/TotalSupplyUSDX", in, out, opts...)
err := c.cc.Invoke(ctx, "/zg.validatorvesting.v1beta1.Query/TotalSupplyUSDX", in, out, opts...)
if err != nil {
return nil, err
}
@ -777,7 +777,7 @@ func _Query_CirculatingSupply_Handler(srv interface{}, ctx context.Context, dec
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/zgc.validatorvesting.v1beta1.Query/CirculatingSupply",
FullMethod: "/zg.validatorvesting.v1beta1.Query/CirculatingSupply",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).CirculatingSupply(ctx, req.(*QueryCirculatingSupplyRequest))
@ -795,7 +795,7 @@ func _Query_TotalSupply_Handler(srv interface{}, ctx context.Context, dec func(i
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/zgc.validatorvesting.v1beta1.Query/TotalSupply",
FullMethod: "/zg.validatorvesting.v1beta1.Query/TotalSupply",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).TotalSupply(ctx, req.(*QueryTotalSupplyRequest))
@ -813,7 +813,7 @@ func _Query_CirculatingSupplyHARD_Handler(srv interface{}, ctx context.Context,
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/zgc.validatorvesting.v1beta1.Query/CirculatingSupplyHARD",
FullMethod: "/zg.validatorvesting.v1beta1.Query/CirculatingSupplyHARD",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).CirculatingSupplyHARD(ctx, req.(*QueryCirculatingSupplyHARDRequest))
@ -831,7 +831,7 @@ func _Query_CirculatingSupplyUSDX_Handler(srv interface{}, ctx context.Context,
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/zgc.validatorvesting.v1beta1.Query/CirculatingSupplyUSDX",
FullMethod: "/zg.validatorvesting.v1beta1.Query/CirculatingSupplyUSDX",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).CirculatingSupplyUSDX(ctx, req.(*QueryCirculatingSupplyUSDXRequest))
@ -849,7 +849,7 @@ func _Query_CirculatingSupplySWP_Handler(srv interface{}, ctx context.Context, d
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/zgc.validatorvesting.v1beta1.Query/CirculatingSupplySWP",
FullMethod: "/zg.validatorvesting.v1beta1.Query/CirculatingSupplySWP",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).CirculatingSupplySWP(ctx, req.(*QueryCirculatingSupplySWPRequest))
@ -867,7 +867,7 @@ func _Query_TotalSupplyHARD_Handler(srv interface{}, ctx context.Context, dec fu
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/zgc.validatorvesting.v1beta1.Query/TotalSupplyHARD",
FullMethod: "/zg.validatorvesting.v1beta1.Query/TotalSupplyHARD",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).TotalSupplyHARD(ctx, req.(*QueryTotalSupplyHARDRequest))
@ -885,7 +885,7 @@ func _Query_TotalSupplyUSDX_Handler(srv interface{}, ctx context.Context, dec fu
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/zgc.validatorvesting.v1beta1.Query/TotalSupplyUSDX",
FullMethod: "/zg.validatorvesting.v1beta1.Query/TotalSupplyUSDX",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).TotalSupplyUSDX(ctx, req.(*QueryTotalSupplyUSDXRequest))
@ -894,7 +894,7 @@ func _Query_TotalSupplyUSDX_Handler(srv interface{}, ctx context.Context, dec fu
}
var _Query_serviceDesc = grpc.ServiceDesc{
ServiceName: "zgc.validatorvesting.v1beta1.Query",
ServiceName: "zg.validatorvesting.v1beta1.Query",
HandlerType: (*QueryServer)(nil),
Methods: []grpc.MethodDesc{
{
@ -927,7 +927,7 @@ var _Query_serviceDesc = grpc.ServiceDesc{
},
},
Streams: []grpc.StreamDesc{},
Metadata: "zgc/validatorvesting/v1beta1/query.proto",
Metadata: "zg/validatorvesting/v1beta1/query.proto",
}
func (m *QueryCirculatingSupplyRequest) Marshal() (dAtA []byte, err error) {

View File

@ -1,5 +1,5 @@
// Code generated by protoc-gen-grpc-gateway. DO NOT EDIT.
// source: zgc/validatorvesting/v1beta1/query.proto
// source: zg/validatorvesting/v1beta1/query.proto
/*
Package types is a reverse proxy.