mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-12-24 23:35:19 +00:00
rename go mod path
This commit is contained in:
parent
bd0acdbd4b
commit
28fa4b7993
@ -80,7 +80,7 @@ printf "original evm util module params\n %s" , "$originalEvmUtilParams"
|
|||||||
# change the params of the chain like a god - make it so 🖖🏽
|
# change the params of the chain like a god - make it so 🖖🏽
|
||||||
# make sure to update god committee member permissions for the module
|
# make sure to update god committee member permissions for the module
|
||||||
# and params being updated (see below for example)
|
# and params being updated (see below for example)
|
||||||
# https://github.com/Kava-Labs/kava/pull/1556/files#diff-0bd6043650c708661f37bbe6fa5b29b52149e0ec0069103c3954168fc9f12612R900-R903
|
# https://github.com/0glabs/0g-chain/pull/1556/files#diff-0bd6043650c708661f37bbe6fa5b29b52149e0ec0069103c3954168fc9f12612R900-R903
|
||||||
kava tx committee submit-proposal 1 "$proposalFileName" --gas 2000000 --gas-prices 0.01ukava --from god -y
|
kava tx committee submit-proposal 1 "$proposalFileName" --gas 2000000 --gas-prices 0.01ukava --from god -y
|
||||||
|
|
||||||
# fetch current module params
|
# fetch current module params
|
||||||
|
2
.github/scripts/seed-internal-testnet.sh
vendored
2
.github/scripts/seed-internal-testnet.sh
vendored
@ -210,7 +210,7 @@ printf "original evm util module params\n %s" , "$originalEvmUtilParams"
|
|||||||
# change the params of the chain like a god - make it so 🖖🏽
|
# change the params of the chain like a god - make it so 🖖🏽
|
||||||
# make sure to update god committee member permissions for the module
|
# make sure to update god committee member permissions for the module
|
||||||
# and params being updated (see below for example)
|
# and params being updated (see below for example)
|
||||||
# https://github.com/Kava-Labs/kava/pull/1556/files#diff-0bd6043650c708661f37bbe6fa5b29b52149e0ec0069103c3954168fc9f12612R900-R903
|
# https://github.com/0glabs/0g-chain/pull/1556/files#diff-0bd6043650c708661f37bbe6fa5b29b52149e0ec0069103c3954168fc9f12612R900-R903
|
||||||
# committee 1 is the stability committee. on internal testnet, this has only one member.
|
# committee 1 is the stability committee. on internal testnet, this has only one member.
|
||||||
kava tx committee submit-proposal 1 "$proposalFileName" --gas 2000000 --gas-prices 0.01ukava --from god -y
|
kava tx committee submit-proposal 1 "$proposalFileName" --gas 2000000 --gas-prices 0.01ukava --from god -y
|
||||||
|
|
||||||
|
2
.github/scripts/seed-protonet.sh
vendored
2
.github/scripts/seed-protonet.sh
vendored
@ -164,7 +164,7 @@ printf "original evm util module params\n %s" , "$originalEvmUtilParams"
|
|||||||
# change the params of the chain like a god - make it so 🖖🏽
|
# change the params of the chain like a god - make it so 🖖🏽
|
||||||
# make sure to update god committee member permissions for the module
|
# make sure to update god committee member permissions for the module
|
||||||
# and params being updated (see below for example)
|
# and params being updated (see below for example)
|
||||||
# https://github.com/Kava-Labs/kava/pull/1556/files#diff-0bd6043650c708661f37bbe6fa5b29b52149e0ec0069103c3954168fc9f12612R900-R903
|
# https://github.com/0glabs/0g-chain/pull/1556/files#diff-0bd6043650c708661f37bbe6fa5b29b52149e0ec0069103c3954168fc9f12612R900-R903
|
||||||
kava tx committee submit-proposal 1 "$proposalFileName" --gas 2000000 --gas-prices 0.01ukava --from god -y
|
kava tx committee submit-proposal 1 "$proposalFileName" --gas 2000000 --gas-prices 0.01ukava --from god -y
|
||||||
|
|
||||||
sleep $AVG_SECONDS_BETWEEN_BLOCKS
|
sleep $AVG_SECONDS_BETWEEN_BLOCKS
|
||||||
|
4
Makefile
4
Makefile
@ -45,7 +45,7 @@ print-version:
|
|||||||
LEDGER_ENABLED ?= true
|
LEDGER_ENABLED ?= true
|
||||||
DOCKER:=docker
|
DOCKER:=docker
|
||||||
DOCKER_BUF := $(DOCKER) run --rm -v $(CURDIR):/workspace --workdir /workspace bufbuild/buf
|
DOCKER_BUF := $(DOCKER) run --rm -v $(CURDIR):/workspace --workdir /workspace bufbuild/buf
|
||||||
HTTPS_GIT := https://github.com/Kava-Labs/kava.git
|
HTTPS_GIT := https://github.com/0glabs/0g-chain.git
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
### Machine Info ###
|
### Machine Info ###
|
||||||
@ -236,7 +236,7 @@ format:
|
|||||||
find . -name '*.go' -type f -not -path "./vendor*" -not -path "*.git*" -not -name '*.pb.go' | xargs misspell -w
|
find . -name '*.go' -type f -not -path "./vendor*" -not -path "*.git*" -not -name '*.pb.go' | xargs misspell -w
|
||||||
find . -name '*.go' -type f -not -path "./vendor*" -not -path "*.git*" -not -name '*.pb.go' | xargs goimports -w -local github.com/tendermint
|
find . -name '*.go' -type f -not -path "./vendor*" -not -path "*.git*" -not -name '*.pb.go' | xargs goimports -w -local github.com/tendermint
|
||||||
find . -name '*.go' -type f -not -path "./vendor*" -not -path "*.git*" -not -name '*.pb.go' | xargs goimports -w -local github.com/cosmos/cosmos-sdk
|
find . -name '*.go' -type f -not -path "./vendor*" -not -path "*.git*" -not -name '*.pb.go' | xargs goimports -w -local github.com/cosmos/cosmos-sdk
|
||||||
find . -name '*.go' -type f -not -path "./vendor*" -not -path "*.git*" -not -name '*.pb.go' | xargs goimports -w -local github.com/kava-labs/kava
|
find . -name '*.go' -type f -not -path "./vendor*" -not -path "*.git*" -not -name '*.pb.go' | xargs goimports -w -local github.com/0glabs/0g-chain
|
||||||
.PHONY: format
|
.PHONY: format
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
@ -32,15 +32,15 @@ import (
|
|||||||
"github.com/cosmos/cosmos-sdk/x/staking"
|
"github.com/cosmos/cosmos-sdk/x/staking"
|
||||||
"github.com/cosmos/cosmos-sdk/x/supply"
|
"github.com/cosmos/cosmos-sdk/x/supply"
|
||||||
|
|
||||||
"github.com/kava-labs/kava/x/auction"
|
"github.com/0glabs/0g-chain/x/auction"
|
||||||
"github.com/kava-labs/kava/x/bep3"
|
"github.com/0glabs/0g-chain/x/bep3"
|
||||||
"github.com/kava-labs/kava/x/cdp"
|
"github.com/0glabs/0g-chain/x/cdp"
|
||||||
"github.com/kava-labs/kava/x/committee"
|
"github.com/0glabs/0g-chain/x/committee"
|
||||||
"github.com/kava-labs/kava/x/incentive"
|
"github.com/0glabs/0g-chain/x/incentive"
|
||||||
"github.com/kava-labs/kava/x/kavadist"
|
"github.com/0glabs/0g-chain/x/kavadist"
|
||||||
"github.com/kava-labs/kava/x/pricefeed"
|
"github.com/0glabs/0g-chain/x/pricefeed"
|
||||||
"github.com/kava-labs/kava/x/swap"
|
"github.com/0glabs/0g-chain/x/swap"
|
||||||
validatorvesting "github.com/kava-labs/kava/x/validator-vesting"
|
validatorvesting "github.com/0glabs/0g-chain/x/validator-vesting"
|
||||||
)
|
)
|
||||||
|
|
||||||
type StoreKeysPrefixes struct {
|
type StoreKeysPrefixes struct {
|
||||||
|
@ -9,7 +9,7 @@ import (
|
|||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
sdkmath "cosmossdk.io/math"
|
sdkmath "cosmossdk.io/math"
|
||||||
"github.com/kava-labs/kava/app"
|
"github.com/0glabs/0g-chain/app"
|
||||||
|
|
||||||
abci "github.com/cometbft/cometbft/abci/types"
|
abci "github.com/cometbft/cometbft/abci/types"
|
||||||
tmbytes "github.com/cometbft/cometbft/libs/bytes"
|
tmbytes "github.com/cometbft/cometbft/libs/bytes"
|
||||||
|
@ -22,9 +22,9 @@ import (
|
|||||||
evmtypes "github.com/evmos/ethermint/x/evm/types"
|
evmtypes "github.com/evmos/ethermint/x/evm/types"
|
||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
|
|
||||||
"github.com/kava-labs/kava/app"
|
"github.com/0glabs/0g-chain/app"
|
||||||
bep3types "github.com/kava-labs/kava/x/bep3/types"
|
bep3types "github.com/0glabs/0g-chain/x/bep3/types"
|
||||||
pricefeedtypes "github.com/kava-labs/kava/x/pricefeed/types"
|
pricefeedtypes "github.com/0glabs/0g-chain/x/pricefeed/types"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestMain(m *testing.M) {
|
func TestMain(m *testing.M) {
|
||||||
|
@ -10,8 +10,8 @@ import (
|
|||||||
banktypes "github.com/cosmos/cosmos-sdk/x/bank/types"
|
banktypes "github.com/cosmos/cosmos-sdk/x/bank/types"
|
||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
|
|
||||||
"github.com/kava-labs/kava/app"
|
"github.com/0glabs/0g-chain/app"
|
||||||
"github.com/kava-labs/kava/app/ante"
|
"github.com/0glabs/0g-chain/app/ante"
|
||||||
)
|
)
|
||||||
|
|
||||||
var _ sdk.AnteHandler = (&MockAnteHandler{}).AnteHandle
|
var _ sdk.AnteHandler = (&MockAnteHandler{}).AnteHandle
|
||||||
|
@ -14,8 +14,8 @@ import (
|
|||||||
evmtypes "github.com/evmos/ethermint/x/evm/types"
|
evmtypes "github.com/evmos/ethermint/x/evm/types"
|
||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
|
|
||||||
"github.com/kava-labs/kava/app"
|
"github.com/0glabs/0g-chain/app"
|
||||||
"github.com/kava-labs/kava/app/ante"
|
"github.com/0glabs/0g-chain/app/ante"
|
||||||
)
|
)
|
||||||
|
|
||||||
func newMsgGrant(granter sdk.AccAddress, grantee sdk.AccAddress, a authz.Authorization, expiration time.Time) *authz.MsgGrant {
|
func newMsgGrant(granter sdk.AccAddress, grantee sdk.AccAddress, a authz.Authorization, expiration time.Time) *authz.MsgGrant {
|
||||||
|
@ -33,13 +33,13 @@ import (
|
|||||||
feemarkettypes "github.com/evmos/ethermint/x/feemarket/types"
|
feemarkettypes "github.com/evmos/ethermint/x/feemarket/types"
|
||||||
"github.com/stretchr/testify/suite"
|
"github.com/stretchr/testify/suite"
|
||||||
|
|
||||||
"github.com/kava-labs/kava/app"
|
"github.com/0glabs/0g-chain/app"
|
||||||
cdptypes "github.com/kava-labs/kava/x/cdp/types"
|
cdptypes "github.com/0glabs/0g-chain/x/cdp/types"
|
||||||
evmutilkeeper "github.com/kava-labs/kava/x/evmutil/keeper"
|
evmutilkeeper "github.com/0glabs/0g-chain/x/evmutil/keeper"
|
||||||
evmutiltestutil "github.com/kava-labs/kava/x/evmutil/testutil"
|
evmutiltestutil "github.com/0glabs/0g-chain/x/evmutil/testutil"
|
||||||
evmutiltypes "github.com/kava-labs/kava/x/evmutil/types"
|
evmutiltypes "github.com/0glabs/0g-chain/x/evmutil/types"
|
||||||
hardtypes "github.com/kava-labs/kava/x/hard/types"
|
hardtypes "github.com/0glabs/0g-chain/x/hard/types"
|
||||||
pricefeedtypes "github.com/kava-labs/kava/x/pricefeed/types"
|
pricefeedtypes "github.com/0glabs/0g-chain/x/pricefeed/types"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
@ -11,8 +11,8 @@ import (
|
|||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
|
|
||||||
"github.com/kava-labs/kava/app"
|
"github.com/0glabs/0g-chain/app"
|
||||||
"github.com/kava-labs/kava/app/ante"
|
"github.com/0glabs/0g-chain/app/ante"
|
||||||
)
|
)
|
||||||
|
|
||||||
func mustParseDecCoins(value string) sdk.DecCoins {
|
func mustParseDecCoins(value string) sdk.DecCoins {
|
||||||
|
@ -12,8 +12,8 @@ import (
|
|||||||
vesting "github.com/cosmos/cosmos-sdk/x/auth/vesting/types"
|
vesting "github.com/cosmos/cosmos-sdk/x/auth/vesting/types"
|
||||||
banktypes "github.com/cosmos/cosmos-sdk/x/bank/types"
|
banktypes "github.com/cosmos/cosmos-sdk/x/bank/types"
|
||||||
|
|
||||||
"github.com/kava-labs/kava/app"
|
"github.com/0glabs/0g-chain/app"
|
||||||
"github.com/kava-labs/kava/app/ante"
|
"github.com/0glabs/0g-chain/app/ante"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestVestingMempoolDecorator_MsgCreateVestingAccount_Unauthorized(t *testing.T) {
|
func TestVestingMempoolDecorator_MsgCreateVestingAccount_Unauthorized(t *testing.T) {
|
||||||
|
125
app/app.go
125
app/app.go
@ -105,69 +105,68 @@ import (
|
|||||||
feemarkettypes "github.com/evmos/ethermint/x/feemarket/types"
|
feemarkettypes "github.com/evmos/ethermint/x/feemarket/types"
|
||||||
"github.com/gorilla/mux"
|
"github.com/gorilla/mux"
|
||||||
|
|
||||||
"github.com/kava-labs/kava/app/ante"
|
"github.com/0glabs/0g-chain/app/ante"
|
||||||
kavaparams "github.com/kava-labs/kava/app/params"
|
kavaparams "github.com/0glabs/0g-chain/app/params"
|
||||||
_ "github.com/kava-labs/kava/precompile/registry" // Ensure precompiles are registered when using the app module
|
"github.com/0glabs/0g-chain/x/auction"
|
||||||
"github.com/kava-labs/kava/x/auction"
|
auctionkeeper "github.com/0glabs/0g-chain/x/auction/keeper"
|
||||||
auctionkeeper "github.com/kava-labs/kava/x/auction/keeper"
|
auctiontypes "github.com/0glabs/0g-chain/x/auction/types"
|
||||||
auctiontypes "github.com/kava-labs/kava/x/auction/types"
|
"github.com/0glabs/0g-chain/x/bep3"
|
||||||
"github.com/kava-labs/kava/x/bep3"
|
bep3keeper "github.com/0glabs/0g-chain/x/bep3/keeper"
|
||||||
bep3keeper "github.com/kava-labs/kava/x/bep3/keeper"
|
bep3types "github.com/0glabs/0g-chain/x/bep3/types"
|
||||||
bep3types "github.com/kava-labs/kava/x/bep3/types"
|
"github.com/0glabs/0g-chain/x/cdp"
|
||||||
"github.com/kava-labs/kava/x/cdp"
|
cdpkeeper "github.com/0glabs/0g-chain/x/cdp/keeper"
|
||||||
cdpkeeper "github.com/kava-labs/kava/x/cdp/keeper"
|
cdptypes "github.com/0glabs/0g-chain/x/cdp/types"
|
||||||
cdptypes "github.com/kava-labs/kava/x/cdp/types"
|
"github.com/0glabs/0g-chain/x/committee"
|
||||||
"github.com/kava-labs/kava/x/committee"
|
committeeclient "github.com/0glabs/0g-chain/x/committee/client"
|
||||||
committeeclient "github.com/kava-labs/kava/x/committee/client"
|
committeekeeper "github.com/0glabs/0g-chain/x/committee/keeper"
|
||||||
committeekeeper "github.com/kava-labs/kava/x/committee/keeper"
|
committeetypes "github.com/0glabs/0g-chain/x/committee/types"
|
||||||
committeetypes "github.com/kava-labs/kava/x/committee/types"
|
"github.com/0glabs/0g-chain/x/community"
|
||||||
"github.com/kava-labs/kava/x/community"
|
communityclient "github.com/0glabs/0g-chain/x/community/client"
|
||||||
communityclient "github.com/kava-labs/kava/x/community/client"
|
communitykeeper "github.com/0glabs/0g-chain/x/community/keeper"
|
||||||
communitykeeper "github.com/kava-labs/kava/x/community/keeper"
|
communitytypes "github.com/0glabs/0g-chain/x/community/types"
|
||||||
communitytypes "github.com/kava-labs/kava/x/community/types"
|
earn "github.com/0glabs/0g-chain/x/earn"
|
||||||
earn "github.com/kava-labs/kava/x/earn"
|
earnclient "github.com/0glabs/0g-chain/x/earn/client"
|
||||||
earnclient "github.com/kava-labs/kava/x/earn/client"
|
earnkeeper "github.com/0glabs/0g-chain/x/earn/keeper"
|
||||||
earnkeeper "github.com/kava-labs/kava/x/earn/keeper"
|
earntypes "github.com/0glabs/0g-chain/x/earn/types"
|
||||||
earntypes "github.com/kava-labs/kava/x/earn/types"
|
evmutil "github.com/0glabs/0g-chain/x/evmutil"
|
||||||
evmutil "github.com/kava-labs/kava/x/evmutil"
|
evmutilkeeper "github.com/0glabs/0g-chain/x/evmutil/keeper"
|
||||||
evmutilkeeper "github.com/kava-labs/kava/x/evmutil/keeper"
|
evmutiltypes "github.com/0glabs/0g-chain/x/evmutil/types"
|
||||||
evmutiltypes "github.com/kava-labs/kava/x/evmutil/types"
|
"github.com/0glabs/0g-chain/x/hard"
|
||||||
"github.com/kava-labs/kava/x/hard"
|
hardkeeper "github.com/0glabs/0g-chain/x/hard/keeper"
|
||||||
hardkeeper "github.com/kava-labs/kava/x/hard/keeper"
|
hardtypes "github.com/0glabs/0g-chain/x/hard/types"
|
||||||
hardtypes "github.com/kava-labs/kava/x/hard/types"
|
"github.com/0glabs/0g-chain/x/incentive"
|
||||||
"github.com/kava-labs/kava/x/incentive"
|
incentivekeeper "github.com/0glabs/0g-chain/x/incentive/keeper"
|
||||||
incentivekeeper "github.com/kava-labs/kava/x/incentive/keeper"
|
incentivetypes "github.com/0glabs/0g-chain/x/incentive/types"
|
||||||
incentivetypes "github.com/kava-labs/kava/x/incentive/types"
|
issuance "github.com/0glabs/0g-chain/x/issuance"
|
||||||
issuance "github.com/kava-labs/kava/x/issuance"
|
issuancekeeper "github.com/0glabs/0g-chain/x/issuance/keeper"
|
||||||
issuancekeeper "github.com/kava-labs/kava/x/issuance/keeper"
|
issuancetypes "github.com/0glabs/0g-chain/x/issuance/types"
|
||||||
issuancetypes "github.com/kava-labs/kava/x/issuance/types"
|
"github.com/0glabs/0g-chain/x/kavadist"
|
||||||
"github.com/kava-labs/kava/x/kavadist"
|
kavadistclient "github.com/0glabs/0g-chain/x/kavadist/client"
|
||||||
kavadistclient "github.com/kava-labs/kava/x/kavadist/client"
|
kavadistkeeper "github.com/0glabs/0g-chain/x/kavadist/keeper"
|
||||||
kavadistkeeper "github.com/kava-labs/kava/x/kavadist/keeper"
|
kavadisttypes "github.com/0glabs/0g-chain/x/kavadist/types"
|
||||||
kavadisttypes "github.com/kava-labs/kava/x/kavadist/types"
|
"github.com/0glabs/0g-chain/x/liquid"
|
||||||
"github.com/kava-labs/kava/x/liquid"
|
liquidkeeper "github.com/0glabs/0g-chain/x/liquid/keeper"
|
||||||
liquidkeeper "github.com/kava-labs/kava/x/liquid/keeper"
|
liquidtypes "github.com/0glabs/0g-chain/x/liquid/types"
|
||||||
liquidtypes "github.com/kava-labs/kava/x/liquid/types"
|
metrics "github.com/0glabs/0g-chain/x/metrics"
|
||||||
metrics "github.com/kava-labs/kava/x/metrics"
|
metricstypes "github.com/0glabs/0g-chain/x/metrics/types"
|
||||||
metricstypes "github.com/kava-labs/kava/x/metrics/types"
|
"github.com/0glabs/0g-chain/x/precisebank"
|
||||||
"github.com/kava-labs/kava/x/precisebank"
|
precisebankkeeper "github.com/0glabs/0g-chain/x/precisebank/keeper"
|
||||||
precisebankkeeper "github.com/kava-labs/kava/x/precisebank/keeper"
|
precisebanktypes "github.com/0glabs/0g-chain/x/precisebank/types"
|
||||||
precisebanktypes "github.com/kava-labs/kava/x/precisebank/types"
|
pricefeed "github.com/0glabs/0g-chain/x/pricefeed"
|
||||||
pricefeed "github.com/kava-labs/kava/x/pricefeed"
|
pricefeedkeeper "github.com/0glabs/0g-chain/x/pricefeed/keeper"
|
||||||
pricefeedkeeper "github.com/kava-labs/kava/x/pricefeed/keeper"
|
pricefeedtypes "github.com/0glabs/0g-chain/x/pricefeed/types"
|
||||||
pricefeedtypes "github.com/kava-labs/kava/x/pricefeed/types"
|
"github.com/0glabs/0g-chain/x/router"
|
||||||
"github.com/kava-labs/kava/x/router"
|
routerkeeper "github.com/0glabs/0g-chain/x/router/keeper"
|
||||||
routerkeeper "github.com/kava-labs/kava/x/router/keeper"
|
routertypes "github.com/0glabs/0g-chain/x/router/types"
|
||||||
routertypes "github.com/kava-labs/kava/x/router/types"
|
savings "github.com/0glabs/0g-chain/x/savings"
|
||||||
savings "github.com/kava-labs/kava/x/savings"
|
savingskeeper "github.com/0glabs/0g-chain/x/savings/keeper"
|
||||||
savingskeeper "github.com/kava-labs/kava/x/savings/keeper"
|
savingstypes "github.com/0glabs/0g-chain/x/savings/types"
|
||||||
savingstypes "github.com/kava-labs/kava/x/savings/types"
|
"github.com/0glabs/0g-chain/x/swap"
|
||||||
"github.com/kava-labs/kava/x/swap"
|
swapkeeper "github.com/0glabs/0g-chain/x/swap/keeper"
|
||||||
swapkeeper "github.com/kava-labs/kava/x/swap/keeper"
|
swaptypes "github.com/0glabs/0g-chain/x/swap/types"
|
||||||
swaptypes "github.com/kava-labs/kava/x/swap/types"
|
validatorvesting "github.com/0glabs/0g-chain/x/validator-vesting"
|
||||||
validatorvesting "github.com/kava-labs/kava/x/validator-vesting"
|
validatorvestingrest "github.com/0glabs/0g-chain/x/validator-vesting/client/rest"
|
||||||
validatorvestingrest "github.com/kava-labs/kava/x/validator-vesting/client/rest"
|
validatorvestingtypes "github.com/0glabs/0g-chain/x/validator-vesting/types"
|
||||||
validatorvestingtypes "github.com/kava-labs/kava/x/validator-vesting/types"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
@ -3,7 +3,7 @@ package app
|
|||||||
import (
|
import (
|
||||||
enccodec "github.com/evmos/ethermint/encoding/codec"
|
enccodec "github.com/evmos/ethermint/encoding/codec"
|
||||||
|
|
||||||
"github.com/kava-labs/kava/app/params"
|
"github.com/0glabs/0g-chain/app/params"
|
||||||
)
|
)
|
||||||
|
|
||||||
// MakeEncodingConfig creates an EncodingConfig and registers the app's types on it.
|
// MakeEncodingConfig creates an EncodingConfig and registers the app's types on it.
|
||||||
|
@ -2,16 +2,16 @@ package app
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
sdkmath "cosmossdk.io/math"
|
sdkmath "cosmossdk.io/math"
|
||||||
|
earnkeeper "github.com/0glabs/0g-chain/x/earn/keeper"
|
||||||
|
liquidkeeper "github.com/0glabs/0g-chain/x/liquid/keeper"
|
||||||
|
liquidtypes "github.com/0glabs/0g-chain/x/liquid/types"
|
||||||
|
savingskeeper "github.com/0glabs/0g-chain/x/savings/keeper"
|
||||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
sdk "github.com/cosmos/cosmos-sdk/types"
|
||||||
bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper"
|
bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper"
|
||||||
govkeeper "github.com/cosmos/cosmos-sdk/x/gov/keeper"
|
govkeeper "github.com/cosmos/cosmos-sdk/x/gov/keeper"
|
||||||
govv1 "github.com/cosmos/cosmos-sdk/x/gov/types/v1"
|
govv1 "github.com/cosmos/cosmos-sdk/x/gov/types/v1"
|
||||||
stakingkeeper "github.com/cosmos/cosmos-sdk/x/staking/keeper"
|
stakingkeeper "github.com/cosmos/cosmos-sdk/x/staking/keeper"
|
||||||
stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"
|
stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"
|
||||||
earnkeeper "github.com/kava-labs/kava/x/earn/keeper"
|
|
||||||
liquidkeeper "github.com/kava-labs/kava/x/liquid/keeper"
|
|
||||||
liquidtypes "github.com/kava-labs/kava/x/liquid/types"
|
|
||||||
savingskeeper "github.com/kava-labs/kava/x/savings/keeper"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
var _ govv1.TallyHandler = TallyHandler{}
|
var _ govv1.TallyHandler = TallyHandler{}
|
||||||
|
@ -17,8 +17,8 @@ import (
|
|||||||
stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"
|
stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"
|
||||||
"github.com/stretchr/testify/suite"
|
"github.com/stretchr/testify/suite"
|
||||||
|
|
||||||
earntypes "github.com/kava-labs/kava/x/earn/types"
|
earntypes "github.com/0glabs/0g-chain/x/earn/types"
|
||||||
liquidtypes "github.com/kava-labs/kava/x/liquid/types"
|
liquidtypes "github.com/0glabs/0g-chain/x/liquid/types"
|
||||||
)
|
)
|
||||||
|
|
||||||
// d is an alias for sdk.MustNewDecFromStr
|
// d is an alias for sdk.MustNewDecFromStr
|
||||||
|
@ -41,23 +41,23 @@ import (
|
|||||||
feemarketkeeper "github.com/evmos/ethermint/x/feemarket/keeper"
|
feemarketkeeper "github.com/evmos/ethermint/x/feemarket/keeper"
|
||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
|
|
||||||
auctionkeeper "github.com/kava-labs/kava/x/auction/keeper"
|
auctionkeeper "github.com/0glabs/0g-chain/x/auction/keeper"
|
||||||
bep3keeper "github.com/kava-labs/kava/x/bep3/keeper"
|
bep3keeper "github.com/0glabs/0g-chain/x/bep3/keeper"
|
||||||
cdpkeeper "github.com/kava-labs/kava/x/cdp/keeper"
|
cdpkeeper "github.com/0glabs/0g-chain/x/cdp/keeper"
|
||||||
committeekeeper "github.com/kava-labs/kava/x/committee/keeper"
|
committeekeeper "github.com/0glabs/0g-chain/x/committee/keeper"
|
||||||
communitykeeper "github.com/kava-labs/kava/x/community/keeper"
|
communitykeeper "github.com/0glabs/0g-chain/x/community/keeper"
|
||||||
earnkeeper "github.com/kava-labs/kava/x/earn/keeper"
|
earnkeeper "github.com/0glabs/0g-chain/x/earn/keeper"
|
||||||
evmutilkeeper "github.com/kava-labs/kava/x/evmutil/keeper"
|
evmutilkeeper "github.com/0glabs/0g-chain/x/evmutil/keeper"
|
||||||
hardkeeper "github.com/kava-labs/kava/x/hard/keeper"
|
hardkeeper "github.com/0glabs/0g-chain/x/hard/keeper"
|
||||||
incentivekeeper "github.com/kava-labs/kava/x/incentive/keeper"
|
incentivekeeper "github.com/0glabs/0g-chain/x/incentive/keeper"
|
||||||
issuancekeeper "github.com/kava-labs/kava/x/issuance/keeper"
|
issuancekeeper "github.com/0glabs/0g-chain/x/issuance/keeper"
|
||||||
kavadistkeeper "github.com/kava-labs/kava/x/kavadist/keeper"
|
kavadistkeeper "github.com/0glabs/0g-chain/x/kavadist/keeper"
|
||||||
liquidkeeper "github.com/kava-labs/kava/x/liquid/keeper"
|
liquidkeeper "github.com/0glabs/0g-chain/x/liquid/keeper"
|
||||||
precisebankkeeper "github.com/kava-labs/kava/x/precisebank/keeper"
|
precisebankkeeper "github.com/0glabs/0g-chain/x/precisebank/keeper"
|
||||||
pricefeedkeeper "github.com/kava-labs/kava/x/pricefeed/keeper"
|
pricefeedkeeper "github.com/0glabs/0g-chain/x/pricefeed/keeper"
|
||||||
routerkeeper "github.com/kava-labs/kava/x/router/keeper"
|
routerkeeper "github.com/0glabs/0g-chain/x/router/keeper"
|
||||||
savingskeeper "github.com/kava-labs/kava/x/savings/keeper"
|
savingskeeper "github.com/0glabs/0g-chain/x/savings/keeper"
|
||||||
swapkeeper "github.com/kava-labs/kava/x/swap/keeper"
|
swapkeeper "github.com/0glabs/0g-chain/x/swap/keeper"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
@ -7,7 +7,7 @@ proto-lint check-proto-lint: install-build-deps
|
|||||||
proto-gen: install-build-deps
|
proto-gen: install-build-deps
|
||||||
@echo "Generating go proto files"
|
@echo "Generating go proto files"
|
||||||
@$(BUF) generate --template proto/buf.gen.gogo.yaml proto
|
@$(BUF) generate --template proto/buf.gen.gogo.yaml proto
|
||||||
@cp -r out/github.com/kava-labs/kava/* ./
|
@cp -r out/github.com/0glabs/0g-chain/* ./
|
||||||
@rm -rf out/github.com
|
@rm -rf out/github.com
|
||||||
|
|
||||||
.PHONY: check-proto-gen
|
.PHONY: check-proto-gen
|
||||||
|
@ -28,7 +28,7 @@ import (
|
|||||||
"github.com/cosmos/cosmos-sdk/x/slashing"
|
"github.com/cosmos/cosmos-sdk/x/slashing"
|
||||||
"github.com/cosmos/cosmos-sdk/x/staking"
|
"github.com/cosmos/cosmos-sdk/x/staking"
|
||||||
|
|
||||||
"github.com/kava-labs/kava/app"
|
"github.com/0glabs/0g-chain/app"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
},
|
},
|
||||||
"externalDocs": {
|
"externalDocs": {
|
||||||
"description": "GitHub",
|
"description": "GitHub",
|
||||||
"url": "https://github.com/Kava-Labs/kava"
|
"url": "https://github.com/0glabs/0g-chain"
|
||||||
},
|
},
|
||||||
"host": "api.data.kava.io",
|
"host": "api.data.kava.io",
|
||||||
"schemes": ["https"],
|
"schemes": ["https"],
|
||||||
|
@ -5,7 +5,7 @@ info:
|
|||||||
version: 1.0.0
|
version: 1.0.0
|
||||||
externalDocs:
|
externalDocs:
|
||||||
description: GitHub
|
description: GitHub
|
||||||
url: https://github.com/Kava-Labs/kava
|
url: https://github.com/0glabs/0g-chain
|
||||||
host: api.data.kava.io
|
host: api.data.kava.io
|
||||||
schemes:
|
schemes:
|
||||||
- https
|
- https
|
||||||
|
@ -12,7 +12,7 @@ import (
|
|||||||
"github.com/spf13/viper"
|
"github.com/spf13/viper"
|
||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
|
|
||||||
simappparams "cosmossdk.io/simapp/params"
|
"github.com/0glabs/0g-chain/client/rest"
|
||||||
"github.com/cosmos/cosmos-sdk/client"
|
"github.com/cosmos/cosmos-sdk/client"
|
||||||
"github.com/cosmos/cosmos-sdk/client/flags"
|
"github.com/cosmos/cosmos-sdk/client/flags"
|
||||||
"github.com/cosmos/cosmos-sdk/codec"
|
"github.com/cosmos/cosmos-sdk/codec"
|
||||||
@ -20,7 +20,6 @@ import (
|
|||||||
"github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1"
|
"github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1"
|
||||||
cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types"
|
cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types"
|
||||||
"github.com/cosmos/cosmos-sdk/types"
|
"github.com/cosmos/cosmos-sdk/types"
|
||||||
"github.com/kava-labs/kava/client/rest"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestBaseReq_Sanitize(t *testing.T) {
|
func TestBaseReq_Sanitize(t *testing.T) {
|
||||||
|
@ -23,10 +23,10 @@ import (
|
|||||||
"github.com/spf13/cast"
|
"github.com/spf13/cast"
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
|
|
||||||
|
"github.com/0glabs/0g-chain/app"
|
||||||
|
"github.com/0glabs/0g-chain/app/params"
|
||||||
|
metricstypes "github.com/0glabs/0g-chain/x/metrics/types"
|
||||||
"github.com/Kava-Labs/opendb"
|
"github.com/Kava-Labs/opendb"
|
||||||
"github.com/kava-labs/kava/app"
|
|
||||||
"github.com/kava-labs/kava/app/params"
|
|
||||||
metricstypes "github.com/kava-labs/kava/x/metrics/types"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
@ -9,8 +9,8 @@ import (
|
|||||||
genutiltypes "github.com/cosmos/cosmos-sdk/x/genutil/types"
|
genutiltypes "github.com/cosmos/cosmos-sdk/x/genutil/types"
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
|
|
||||||
"github.com/kava-labs/kava/app"
|
"github.com/0glabs/0g-chain/app"
|
||||||
"github.com/kava-labs/kava/app/params"
|
"github.com/0glabs/0g-chain/app/params"
|
||||||
)
|
)
|
||||||
|
|
||||||
func AssertInvariantsCmd(config params.EncodingConfig) *cobra.Command {
|
func AssertInvariantsCmd(config params.EncodingConfig) *cobra.Command {
|
||||||
|
@ -7,7 +7,7 @@ import (
|
|||||||
authcmd "github.com/cosmos/cosmos-sdk/x/auth/client/cli"
|
authcmd "github.com/cosmos/cosmos-sdk/x/auth/client/cli"
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
|
|
||||||
"github.com/kava-labs/kava/app"
|
"github.com/0glabs/0g-chain/app"
|
||||||
)
|
)
|
||||||
|
|
||||||
// newQueryCmd creates all the commands for querying blockchain state.
|
// newQueryCmd creates all the commands for querying blockchain state.
|
||||||
|
@ -25,11 +25,11 @@ import (
|
|||||||
servercfg "github.com/evmos/ethermint/server/config"
|
servercfg "github.com/evmos/ethermint/server/config"
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
|
|
||||||
|
"github.com/0glabs/0g-chain/app"
|
||||||
|
"github.com/0glabs/0g-chain/app/params"
|
||||||
|
"github.com/0glabs/0g-chain/cmd/kava/cmd/iavlviewer"
|
||||||
|
"github.com/0glabs/0g-chain/cmd/kava/cmd/rocksdb"
|
||||||
"github.com/Kava-Labs/opendb"
|
"github.com/Kava-Labs/opendb"
|
||||||
"github.com/kava-labs/kava/app"
|
|
||||||
"github.com/kava-labs/kava/app/params"
|
|
||||||
"github.com/kava-labs/kava/cmd/kava/cmd/iavlviewer"
|
|
||||||
"github.com/kava-labs/kava/cmd/kava/cmd/rocksdb"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
// EnvPrefix is the prefix environment variables must have to configure the app.
|
// EnvPrefix is the prefix environment variables must have to configure the app.
|
||||||
|
@ -6,7 +6,7 @@ import (
|
|||||||
authcmd "github.com/cosmos/cosmos-sdk/x/auth/client/cli"
|
authcmd "github.com/cosmos/cosmos-sdk/x/auth/client/cli"
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
|
|
||||||
"github.com/kava-labs/kava/app"
|
"github.com/0glabs/0g-chain/app"
|
||||||
)
|
)
|
||||||
|
|
||||||
// newTxCmd creates all commands for submitting blockchain transactions.
|
// newTxCmd creates all commands for submitting blockchain transactions.
|
||||||
|
@ -6,8 +6,8 @@ import (
|
|||||||
"github.com/cosmos/cosmos-sdk/server"
|
"github.com/cosmos/cosmos-sdk/server"
|
||||||
svrcmd "github.com/cosmos/cosmos-sdk/server/cmd"
|
svrcmd "github.com/cosmos/cosmos-sdk/server/cmd"
|
||||||
|
|
||||||
"github.com/kava-labs/kava/app"
|
"github.com/0glabs/0g-chain/app"
|
||||||
"github.com/kava-labs/kava/cmd/kava/cmd"
|
"github.com/0glabs/0g-chain/cmd/kava/cmd"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
2
go.mod
2
go.mod
@ -1,4 +1,4 @@
|
|||||||
module github.com/kava-labs/kava
|
module github.com/0glabs/0g-chain
|
||||||
|
|
||||||
go 1.21
|
go 1.21
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@ import "cosmos_proto/cosmos.proto";
|
|||||||
import "gogoproto/gogo.proto";
|
import "gogoproto/gogo.proto";
|
||||||
import "google/protobuf/timestamp.proto";
|
import "google/protobuf/timestamp.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/auction/types";
|
option go_package = "github.com/0glabs/0g-chain/x/auction/types";
|
||||||
option (gogoproto.goproto_getters_all) = false;
|
option (gogoproto.goproto_getters_all) = false;
|
||||||
|
|
||||||
// BaseAuction defines common attributes of all auctions
|
// BaseAuction defines common attributes of all auctions
|
||||||
|
@ -6,7 +6,7 @@ import "gogoproto/gogo.proto";
|
|||||||
import "google/protobuf/any.proto";
|
import "google/protobuf/any.proto";
|
||||||
import "google/protobuf/duration.proto";
|
import "google/protobuf/duration.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/auction/types";
|
option go_package = "github.com/0glabs/0g-chain/x/auction/types";
|
||||||
option (gogoproto.goproto_getters_all) = false;
|
option (gogoproto.goproto_getters_all) = false;
|
||||||
|
|
||||||
// GenesisState defines the auction module's genesis state.
|
// GenesisState defines the auction module's genesis state.
|
||||||
|
@ -7,7 +7,7 @@ import "google/api/annotations.proto";
|
|||||||
import "google/protobuf/any.proto";
|
import "google/protobuf/any.proto";
|
||||||
import "kava/auction/v1beta1/genesis.proto";
|
import "kava/auction/v1beta1/genesis.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/auction/types";
|
option go_package = "github.com/0glabs/0g-chain/x/auction/types";
|
||||||
|
|
||||||
// Query defines the gRPC querier service for auction module
|
// Query defines the gRPC querier service for auction module
|
||||||
service Query {
|
service Query {
|
||||||
|
@ -4,7 +4,7 @@ package kava.auction.v1beta1;
|
|||||||
import "cosmos/base/v1beta1/coin.proto";
|
import "cosmos/base/v1beta1/coin.proto";
|
||||||
import "gogoproto/gogo.proto";
|
import "gogoproto/gogo.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/auction/types";
|
option go_package = "github.com/0glabs/0g-chain/x/auction/types";
|
||||||
|
|
||||||
// Msg defines the auction Msg service.
|
// Msg defines the auction Msg service.
|
||||||
service Msg {
|
service Msg {
|
||||||
|
@ -6,7 +6,7 @@ import "cosmos_proto/cosmos.proto";
|
|||||||
import "gogoproto/gogo.proto";
|
import "gogoproto/gogo.proto";
|
||||||
import "google/protobuf/duration.proto";
|
import "google/protobuf/duration.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/bep3/types";
|
option go_package = "github.com/0glabs/0g-chain/x/bep3/types";
|
||||||
|
|
||||||
// Params defines the parameters for the bep3 module.
|
// Params defines the parameters for the bep3 module.
|
||||||
message Params {
|
message Params {
|
||||||
|
@ -5,7 +5,7 @@ import "gogoproto/gogo.proto";
|
|||||||
import "google/protobuf/timestamp.proto";
|
import "google/protobuf/timestamp.proto";
|
||||||
import "kava/bep3/v1beta1/bep3.proto";
|
import "kava/bep3/v1beta1/bep3.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/bep3/types";
|
option go_package = "github.com/0glabs/0g-chain/x/bep3/types";
|
||||||
|
|
||||||
// GenesisState defines the pricefeed module's genesis state.
|
// GenesisState defines the pricefeed module's genesis state.
|
||||||
message GenesisState {
|
message GenesisState {
|
||||||
|
@ -9,7 +9,7 @@ import "google/api/annotations.proto";
|
|||||||
import "google/protobuf/duration.proto";
|
import "google/protobuf/duration.proto";
|
||||||
import "kava/bep3/v1beta1/bep3.proto";
|
import "kava/bep3/v1beta1/bep3.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/bep3/types";
|
option go_package = "github.com/0glabs/0g-chain/x/bep3/types";
|
||||||
|
|
||||||
// Query defines the gRPC querier service for bep3 module
|
// Query defines the gRPC querier service for bep3 module
|
||||||
service Query {
|
service Query {
|
||||||
|
@ -5,7 +5,7 @@ import "cosmos/base/v1beta1/coin.proto";
|
|||||||
import "cosmos_proto/cosmos.proto";
|
import "cosmos_proto/cosmos.proto";
|
||||||
import "gogoproto/gogo.proto";
|
import "gogoproto/gogo.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/bep3/types";
|
option go_package = "github.com/0glabs/0g-chain/x/bep3/types";
|
||||||
|
|
||||||
// Msg defines the bep3 Msg service.
|
// Msg defines the bep3 Msg service.
|
||||||
service Msg {
|
service Msg {
|
||||||
|
@ -6,7 +6,7 @@ import "cosmos_proto/cosmos.proto";
|
|||||||
import "gogoproto/gogo.proto";
|
import "gogoproto/gogo.proto";
|
||||||
import "google/protobuf/timestamp.proto";
|
import "google/protobuf/timestamp.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/cdp/types";
|
option go_package = "github.com/0glabs/0g-chain/x/cdp/types";
|
||||||
option (gogoproto.goproto_getters_all) = false;
|
option (gogoproto.goproto_getters_all) = false;
|
||||||
|
|
||||||
// CDP defines the state of a single collateralized debt position.
|
// CDP defines the state of a single collateralized debt position.
|
||||||
|
@ -7,7 +7,7 @@ import "gogoproto/gogo.proto";
|
|||||||
import "google/protobuf/timestamp.proto";
|
import "google/protobuf/timestamp.proto";
|
||||||
import "kava/cdp/v1beta1/cdp.proto";
|
import "kava/cdp/v1beta1/cdp.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/cdp/types";
|
option go_package = "github.com/0glabs/0g-chain/x/cdp/types";
|
||||||
|
|
||||||
// GenesisState defines the cdp module's genesis state.
|
// GenesisState defines the cdp module's genesis state.
|
||||||
message GenesisState {
|
message GenesisState {
|
||||||
|
@ -11,7 +11,7 @@ import "google/protobuf/timestamp.proto";
|
|||||||
import "kava/cdp/v1beta1/cdp.proto";
|
import "kava/cdp/v1beta1/cdp.proto";
|
||||||
import "kava/cdp/v1beta1/genesis.proto";
|
import "kava/cdp/v1beta1/genesis.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/cdp/types";
|
option go_package = "github.com/0glabs/0g-chain/x/cdp/types";
|
||||||
|
|
||||||
// Query defines the gRPC querier service for cdp module
|
// Query defines the gRPC querier service for cdp module
|
||||||
service Query {
|
service Query {
|
||||||
|
@ -5,7 +5,7 @@ import "cosmos/base/v1beta1/coin.proto";
|
|||||||
import "cosmos_proto/cosmos.proto";
|
import "cosmos_proto/cosmos.proto";
|
||||||
import "gogoproto/gogo.proto";
|
import "gogoproto/gogo.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/cdp/types";
|
option go_package = "github.com/0glabs/0g-chain/x/cdp/types";
|
||||||
|
|
||||||
// Msg defines the cdp Msg service.
|
// Msg defines the cdp Msg service.
|
||||||
service Msg {
|
service Msg {
|
||||||
|
@ -6,7 +6,7 @@ import "gogoproto/gogo.proto";
|
|||||||
import "google/protobuf/any.proto";
|
import "google/protobuf/any.proto";
|
||||||
import "google/protobuf/duration.proto";
|
import "google/protobuf/duration.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/committee/types";
|
option go_package = "github.com/0glabs/0g-chain/x/committee/types";
|
||||||
option (gogoproto.goproto_getters_all) = false;
|
option (gogoproto.goproto_getters_all) = false;
|
||||||
|
|
||||||
// BaseCommittee is a common type shared by all Committees
|
// BaseCommittee is a common type shared by all Committees
|
||||||
|
@ -6,7 +6,7 @@ import "gogoproto/gogo.proto";
|
|||||||
import "google/protobuf/any.proto";
|
import "google/protobuf/any.proto";
|
||||||
import "google/protobuf/timestamp.proto";
|
import "google/protobuf/timestamp.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/committee/types";
|
option go_package = "github.com/0glabs/0g-chain/x/committee/types";
|
||||||
|
|
||||||
// GenesisState defines the committee module's genesis state.
|
// GenesisState defines the committee module's genesis state.
|
||||||
message GenesisState {
|
message GenesisState {
|
||||||
|
@ -4,7 +4,7 @@ package kava.committee.v1beta1;
|
|||||||
import "cosmos_proto/cosmos.proto";
|
import "cosmos_proto/cosmos.proto";
|
||||||
import "gogoproto/gogo.proto";
|
import "gogoproto/gogo.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/committee/types";
|
option go_package = "github.com/0glabs/0g-chain/x/committee/types";
|
||||||
|
|
||||||
// GodPermission allows any governance proposal. It is used mainly for testing.
|
// GodPermission allows any governance proposal. It is used mainly for testing.
|
||||||
message GodPermission {
|
message GodPermission {
|
||||||
|
@ -5,7 +5,7 @@ import "cosmos_proto/cosmos.proto";
|
|||||||
import "gogoproto/gogo.proto";
|
import "gogoproto/gogo.proto";
|
||||||
import "google/protobuf/any.proto";
|
import "google/protobuf/any.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/committee/types";
|
option go_package = "github.com/0glabs/0g-chain/x/committee/types";
|
||||||
option (gogoproto.goproto_getters_all) = false;
|
option (gogoproto.goproto_getters_all) = false;
|
||||||
|
|
||||||
// CommitteeChangeProposal is a gov proposal for creating a new committee or modifying an existing one.
|
// CommitteeChangeProposal is a gov proposal for creating a new committee or modifying an existing one.
|
||||||
|
@ -9,7 +9,7 @@ import "google/protobuf/any.proto";
|
|||||||
import "google/protobuf/timestamp.proto";
|
import "google/protobuf/timestamp.proto";
|
||||||
import "kava/committee/v1beta1/genesis.proto";
|
import "kava/committee/v1beta1/genesis.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/committee/types";
|
option go_package = "github.com/0glabs/0g-chain/x/committee/types";
|
||||||
option (gogoproto.goproto_getters_all) = false;
|
option (gogoproto.goproto_getters_all) = false;
|
||||||
|
|
||||||
// Query defines the gRPC querier service for committee module
|
// Query defines the gRPC querier service for committee module
|
||||||
|
@ -6,7 +6,7 @@ import "gogoproto/gogo.proto";
|
|||||||
import "google/protobuf/any.proto";
|
import "google/protobuf/any.proto";
|
||||||
import "kava/committee/v1beta1/genesis.proto";
|
import "kava/committee/v1beta1/genesis.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/committee/types";
|
option go_package = "github.com/0glabs/0g-chain/x/committee/types";
|
||||||
option (gogoproto.goproto_getters_all) = false;
|
option (gogoproto.goproto_getters_all) = false;
|
||||||
|
|
||||||
// Msg defines the committee Msg service
|
// Msg defines the committee Msg service
|
||||||
|
@ -5,7 +5,7 @@ import "gogoproto/gogo.proto";
|
|||||||
import "kava/community/v1beta1/params.proto";
|
import "kava/community/v1beta1/params.proto";
|
||||||
import "kava/community/v1beta1/staking.proto";
|
import "kava/community/v1beta1/staking.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/community/types";
|
option go_package = "github.com/0glabs/0g-chain/x/community/types";
|
||||||
|
|
||||||
// GenesisState defines the community module's genesis state.
|
// GenesisState defines the community module's genesis state.
|
||||||
message GenesisState {
|
message GenesisState {
|
||||||
|
@ -5,7 +5,7 @@ import "cosmos_proto/cosmos.proto";
|
|||||||
import "gogoproto/gogo.proto";
|
import "gogoproto/gogo.proto";
|
||||||
import "google/protobuf/timestamp.proto";
|
import "google/protobuf/timestamp.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/community/types";
|
option go_package = "github.com/0glabs/0g-chain/x/community/types";
|
||||||
|
|
||||||
// Params defines the parameters of the community module.
|
// Params defines the parameters of the community module.
|
||||||
message Params {
|
message Params {
|
||||||
|
@ -4,7 +4,7 @@ package kava.community.v1beta1;
|
|||||||
import "cosmos/base/v1beta1/coin.proto";
|
import "cosmos/base/v1beta1/coin.proto";
|
||||||
import "gogoproto/gogo.proto";
|
import "gogoproto/gogo.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/community/types";
|
option go_package = "github.com/0glabs/0g-chain/x/community/types";
|
||||||
|
|
||||||
// CommunityPoolLendDepositProposal deposits from the community pool into lend
|
// CommunityPoolLendDepositProposal deposits from the community pool into lend
|
||||||
message CommunityPoolLendDepositProposal {
|
message CommunityPoolLendDepositProposal {
|
||||||
|
@ -7,7 +7,7 @@ import "gogoproto/gogo.proto";
|
|||||||
import "google/api/annotations.proto";
|
import "google/api/annotations.proto";
|
||||||
import "kava/community/v1beta1/params.proto";
|
import "kava/community/v1beta1/params.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/community/types";
|
option go_package = "github.com/0glabs/0g-chain/x/community/types";
|
||||||
|
|
||||||
// Query defines the gRPC querier service for x/community.
|
// Query defines the gRPC querier service for x/community.
|
||||||
service Query {
|
service Query {
|
||||||
|
@ -5,7 +5,7 @@ import "cosmos_proto/cosmos.proto";
|
|||||||
import "gogoproto/gogo.proto";
|
import "gogoproto/gogo.proto";
|
||||||
import "google/protobuf/timestamp.proto";
|
import "google/protobuf/timestamp.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/community/types";
|
option go_package = "github.com/0glabs/0g-chain/x/community/types";
|
||||||
|
|
||||||
// StakingRewardsState represents the state of staking reward accumulation between blocks.
|
// StakingRewardsState represents the state of staking reward accumulation between blocks.
|
||||||
message StakingRewardsState {
|
message StakingRewardsState {
|
||||||
|
@ -6,7 +6,7 @@ import "cosmos_proto/cosmos.proto";
|
|||||||
import "gogoproto/gogo.proto";
|
import "gogoproto/gogo.proto";
|
||||||
import "kava/community/v1beta1/params.proto";
|
import "kava/community/v1beta1/params.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/community/types";
|
option go_package = "github.com/0glabs/0g-chain/x/community/types";
|
||||||
option (gogoproto.equal_all) = true;
|
option (gogoproto.equal_all) = true;
|
||||||
|
|
||||||
// Msg defines the community Msg service.
|
// Msg defines the community Msg service.
|
||||||
|
@ -5,7 +5,7 @@ import "gogoproto/gogo.proto";
|
|||||||
import "kava/earn/v1beta1/params.proto";
|
import "kava/earn/v1beta1/params.proto";
|
||||||
import "kava/earn/v1beta1/vault.proto";
|
import "kava/earn/v1beta1/vault.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/earn/types";
|
option go_package = "github.com/0glabs/0g-chain/x/earn/types";
|
||||||
|
|
||||||
// GenesisState defines the earn module's genesis state.
|
// GenesisState defines the earn module's genesis state.
|
||||||
message GenesisState {
|
message GenesisState {
|
||||||
|
@ -4,7 +4,7 @@ package kava.earn.v1beta1;
|
|||||||
import "gogoproto/gogo.proto";
|
import "gogoproto/gogo.proto";
|
||||||
import "kava/earn/v1beta1/vault.proto";
|
import "kava/earn/v1beta1/vault.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/earn/types";
|
option go_package = "github.com/0glabs/0g-chain/x/earn/types";
|
||||||
|
|
||||||
// Params defines the parameters of the earn module.
|
// Params defines the parameters of the earn module.
|
||||||
message Params {
|
message Params {
|
||||||
|
@ -4,7 +4,7 @@ package kava.earn.v1beta1;
|
|||||||
import "cosmos/base/v1beta1/coin.proto";
|
import "cosmos/base/v1beta1/coin.proto";
|
||||||
import "gogoproto/gogo.proto";
|
import "gogoproto/gogo.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/earn/types";
|
option go_package = "github.com/0glabs/0g-chain/x/earn/types";
|
||||||
|
|
||||||
// CommunityPoolDepositProposal deposits from the community pool into an earn vault
|
// CommunityPoolDepositProposal deposits from the community pool into an earn vault
|
||||||
message CommunityPoolDepositProposal {
|
message CommunityPoolDepositProposal {
|
||||||
|
@ -10,7 +10,7 @@ import "kava/earn/v1beta1/params.proto";
|
|||||||
import "kava/earn/v1beta1/strategy.proto";
|
import "kava/earn/v1beta1/strategy.proto";
|
||||||
import "kava/earn/v1beta1/vault.proto";
|
import "kava/earn/v1beta1/vault.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/earn/types";
|
option go_package = "github.com/0glabs/0g-chain/x/earn/types";
|
||||||
option (gogoproto.goproto_getters_all) = false;
|
option (gogoproto.goproto_getters_all) = false;
|
||||||
|
|
||||||
// Query defines the gRPC querier service for earn module
|
// Query defines the gRPC querier service for earn module
|
||||||
|
@ -3,7 +3,7 @@ package kava.earn.v1beta1;
|
|||||||
|
|
||||||
import "gogoproto/gogo.proto";
|
import "gogoproto/gogo.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/earn/types";
|
option go_package = "github.com/0glabs/0g-chain/x/earn/types";
|
||||||
|
|
||||||
// StrategyType is the type of strategy that a vault uses to optimize yields.
|
// StrategyType is the type of strategy that a vault uses to optimize yields.
|
||||||
enum StrategyType {
|
enum StrategyType {
|
||||||
|
@ -7,7 +7,7 @@ import "gogoproto/gogo.proto";
|
|||||||
import "kava/earn/v1beta1/strategy.proto";
|
import "kava/earn/v1beta1/strategy.proto";
|
||||||
import "kava/earn/v1beta1/vault.proto";
|
import "kava/earn/v1beta1/vault.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/earn/types";
|
option go_package = "github.com/0glabs/0g-chain/x/earn/types";
|
||||||
|
|
||||||
// Msg defines the earn Msg service.
|
// Msg defines the earn Msg service.
|
||||||
service Msg {
|
service Msg {
|
||||||
|
@ -5,7 +5,7 @@ import "cosmos_proto/cosmos.proto";
|
|||||||
import "gogoproto/gogo.proto";
|
import "gogoproto/gogo.proto";
|
||||||
import "kava/earn/v1beta1/strategy.proto";
|
import "kava/earn/v1beta1/strategy.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/earn/types";
|
option go_package = "github.com/0glabs/0g-chain/x/earn/types";
|
||||||
|
|
||||||
// AllowedVault is a vault that is allowed to be created. These can be
|
// AllowedVault is a vault that is allowed to be created. These can be
|
||||||
// modified via parameter governance.
|
// modified via parameter governance.
|
||||||
|
@ -3,7 +3,7 @@ package kava.evmutil.v1beta1;
|
|||||||
|
|
||||||
import "gogoproto/gogo.proto";
|
import "gogoproto/gogo.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/evmutil/types";
|
option go_package = "github.com/0glabs/0g-chain/x/evmutil/types";
|
||||||
option (gogoproto.equal_all) = true;
|
option (gogoproto.equal_all) = true;
|
||||||
option (gogoproto.verbose_equal_all) = true;
|
option (gogoproto.verbose_equal_all) = true;
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@ import "cosmos_proto/cosmos.proto";
|
|||||||
import "gogoproto/gogo.proto";
|
import "gogoproto/gogo.proto";
|
||||||
import "kava/evmutil/v1beta1/conversion_pair.proto";
|
import "kava/evmutil/v1beta1/conversion_pair.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/evmutil/types";
|
option go_package = "github.com/0glabs/0g-chain/x/evmutil/types";
|
||||||
option (gogoproto.equal_all) = true;
|
option (gogoproto.equal_all) = true;
|
||||||
option (gogoproto.verbose_equal_all) = true;
|
option (gogoproto.verbose_equal_all) = true;
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@ import "gogoproto/gogo.proto";
|
|||||||
import "google/api/annotations.proto";
|
import "google/api/annotations.proto";
|
||||||
import "kava/evmutil/v1beta1/genesis.proto";
|
import "kava/evmutil/v1beta1/genesis.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/evmutil/types";
|
option go_package = "github.com/0glabs/0g-chain/x/evmutil/types";
|
||||||
|
|
||||||
// Query defines the gRPC querier service for evmutil module
|
// Query defines the gRPC querier service for evmutil module
|
||||||
service Query {
|
service Query {
|
||||||
|
@ -5,7 +5,7 @@ import "cosmos/base/v1beta1/coin.proto";
|
|||||||
import "cosmos_proto/cosmos.proto";
|
import "cosmos_proto/cosmos.proto";
|
||||||
import "gogoproto/gogo.proto";
|
import "gogoproto/gogo.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/evmutil/types";
|
option go_package = "github.com/0glabs/0g-chain/x/evmutil/types";
|
||||||
option (gogoproto.equal_all) = true;
|
option (gogoproto.equal_all) = true;
|
||||||
option (gogoproto.verbose_equal_all) = true;
|
option (gogoproto.verbose_equal_all) = true;
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@ import "gogoproto/gogo.proto";
|
|||||||
import "google/protobuf/timestamp.proto";
|
import "google/protobuf/timestamp.proto";
|
||||||
import "kava/hard/v1beta1/hard.proto";
|
import "kava/hard/v1beta1/hard.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/hard/types";
|
option go_package = "github.com/0glabs/0g-chain/x/hard/types";
|
||||||
|
|
||||||
// GenesisState defines the hard module's genesis state.
|
// GenesisState defines the hard module's genesis state.
|
||||||
message GenesisState {
|
message GenesisState {
|
||||||
|
@ -5,7 +5,7 @@ import "cosmos/base/v1beta1/coin.proto";
|
|||||||
import "cosmos_proto/cosmos.proto";
|
import "cosmos_proto/cosmos.proto";
|
||||||
import "gogoproto/gogo.proto";
|
import "gogoproto/gogo.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/hard/types";
|
option go_package = "github.com/0glabs/0g-chain/x/hard/types";
|
||||||
option (gogoproto.goproto_getters_all) = false;
|
option (gogoproto.goproto_getters_all) = false;
|
||||||
|
|
||||||
// Params defines the parameters for the hard module.
|
// Params defines the parameters for the hard module.
|
||||||
|
@ -9,7 +9,7 @@ import "gogoproto/gogo.proto";
|
|||||||
import "google/api/annotations.proto";
|
import "google/api/annotations.proto";
|
||||||
import "kava/hard/v1beta1/hard.proto";
|
import "kava/hard/v1beta1/hard.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/hard/types";
|
option go_package = "github.com/0glabs/0g-chain/x/hard/types";
|
||||||
|
|
||||||
// Query defines the gRPC querier service for bep3 module.
|
// Query defines the gRPC querier service for bep3 module.
|
||||||
service Query {
|
service Query {
|
||||||
|
@ -5,7 +5,7 @@ import "cosmos/base/v1beta1/coin.proto";
|
|||||||
import "cosmos_proto/cosmos.proto";
|
import "cosmos_proto/cosmos.proto";
|
||||||
import "gogoproto/gogo.proto";
|
import "gogoproto/gogo.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/hard/types";
|
option go_package = "github.com/0glabs/0g-chain/x/hard/types";
|
||||||
|
|
||||||
// Msg defines the hard Msg service.
|
// Msg defines the hard Msg service.
|
||||||
service Msg {
|
service Msg {
|
||||||
|
@ -4,7 +4,7 @@ package kava.incentive.v1beta1;
|
|||||||
import "cosmos_proto/cosmos.proto";
|
import "cosmos_proto/cosmos.proto";
|
||||||
import "gogoproto/gogo.proto";
|
import "gogoproto/gogo.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/incentive/types";
|
option go_package = "github.com/0glabs/0g-chain/x/incentive/types";
|
||||||
|
|
||||||
// Apy contains the calculated APY for a given collateral type at a specific
|
// Apy contains the calculated APY for a given collateral type at a specific
|
||||||
// instant in time.
|
// instant in time.
|
||||||
|
@ -5,7 +5,7 @@ import "cosmos/base/v1beta1/coin.proto";
|
|||||||
import "cosmos_proto/cosmos.proto";
|
import "cosmos_proto/cosmos.proto";
|
||||||
import "gogoproto/gogo.proto";
|
import "gogoproto/gogo.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/incentive/types";
|
option go_package = "github.com/0glabs/0g-chain/x/incentive/types";
|
||||||
option (gogoproto.goproto_getters_all) = false;
|
option (gogoproto.goproto_getters_all) = false;
|
||||||
|
|
||||||
// -------------- Base Claim Types, Reward Indexes --------------
|
// -------------- Base Claim Types, Reward Indexes --------------
|
||||||
|
@ -9,7 +9,7 @@ import "kava/incentive/v1beta1/params.proto";
|
|||||||
// import "cosmos/base/v1beta1/coin.proto";
|
// import "cosmos/base/v1beta1/coin.proto";
|
||||||
// import "cosmos/base/v1beta1/coins.proto";
|
// import "cosmos/base/v1beta1/coins.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/incentive/types";
|
option go_package = "github.com/0glabs/0g-chain/x/incentive/types";
|
||||||
option (gogoproto.goproto_getters_all) = false;
|
option (gogoproto.goproto_getters_all) = false;
|
||||||
|
|
||||||
// AccumulationTime stores the previous reward distribution time and its corresponding collateral type
|
// AccumulationTime stores the previous reward distribution time and its corresponding collateral type
|
||||||
|
@ -5,7 +5,7 @@ import "cosmos/base/v1beta1/coin.proto";
|
|||||||
import "gogoproto/gogo.proto";
|
import "gogoproto/gogo.proto";
|
||||||
import "google/protobuf/timestamp.proto";
|
import "google/protobuf/timestamp.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/incentive/types";
|
option go_package = "github.com/0glabs/0g-chain/x/incentive/types";
|
||||||
option (gogoproto.goproto_getters_all) = false;
|
option (gogoproto.goproto_getters_all) = false;
|
||||||
|
|
||||||
// RewardPeriod stores the state of an ongoing reward
|
// RewardPeriod stores the state of an ongoing reward
|
||||||
|
@ -7,7 +7,7 @@ import "kava/incentive/v1beta1/apy.proto";
|
|||||||
import "kava/incentive/v1beta1/claims.proto";
|
import "kava/incentive/v1beta1/claims.proto";
|
||||||
import "kava/incentive/v1beta1/params.proto";
|
import "kava/incentive/v1beta1/params.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/incentive/types";
|
option go_package = "github.com/0glabs/0g-chain/x/incentive/types";
|
||||||
|
|
||||||
// Query defines the gRPC querier service for incentive module.
|
// Query defines the gRPC querier service for incentive module.
|
||||||
service Query {
|
service Query {
|
||||||
|
@ -3,7 +3,7 @@ package kava.incentive.v1beta1;
|
|||||||
|
|
||||||
import "gogoproto/gogo.proto";
|
import "gogoproto/gogo.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/incentive/types";
|
option go_package = "github.com/0glabs/0g-chain/x/incentive/types";
|
||||||
|
|
||||||
// Msg defines the incentive Msg service.
|
// Msg defines the incentive Msg service.
|
||||||
service Msg {
|
service Msg {
|
||||||
|
@ -5,7 +5,7 @@ import "cosmos/base/v1beta1/coin.proto";
|
|||||||
import "gogoproto/gogo.proto";
|
import "gogoproto/gogo.proto";
|
||||||
import "google/protobuf/duration.proto";
|
import "google/protobuf/duration.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/issuance/types";
|
option go_package = "github.com/0glabs/0g-chain/x/issuance/types";
|
||||||
|
|
||||||
// GenesisState defines the issuance module's genesis state.
|
// GenesisState defines the issuance module's genesis state.
|
||||||
message GenesisState {
|
message GenesisState {
|
||||||
|
@ -5,7 +5,7 @@ import "gogoproto/gogo.proto";
|
|||||||
import "google/api/annotations.proto";
|
import "google/api/annotations.proto";
|
||||||
import "kava/issuance/v1beta1/genesis.proto";
|
import "kava/issuance/v1beta1/genesis.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/issuance/types";
|
option go_package = "github.com/0glabs/0g-chain/x/issuance/types";
|
||||||
|
|
||||||
// Query defines the gRPC querier service for issuance module
|
// Query defines the gRPC querier service for issuance module
|
||||||
service Query {
|
service Query {
|
||||||
|
@ -4,7 +4,7 @@ package kava.issuance.v1beta1;
|
|||||||
import "cosmos/base/v1beta1/coin.proto";
|
import "cosmos/base/v1beta1/coin.proto";
|
||||||
import "gogoproto/gogo.proto";
|
import "gogoproto/gogo.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/issuance/types";
|
option go_package = "github.com/0glabs/0g-chain/x/issuance/types";
|
||||||
|
|
||||||
// Msg defines the issuance Msg service.
|
// Msg defines the issuance Msg service.
|
||||||
service Msg {
|
service Msg {
|
||||||
|
@ -5,7 +5,7 @@ import "gogoproto/gogo.proto";
|
|||||||
import "google/protobuf/timestamp.proto";
|
import "google/protobuf/timestamp.proto";
|
||||||
import "kava/kavadist/v1beta1/params.proto";
|
import "kava/kavadist/v1beta1/params.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/kavadist/types";
|
option go_package = "github.com/0glabs/0g-chain/x/kavadist/types";
|
||||||
|
|
||||||
// GenesisState defines the kavadist module's genesis state.
|
// GenesisState defines the kavadist module's genesis state.
|
||||||
message GenesisState {
|
message GenesisState {
|
||||||
|
@ -6,7 +6,7 @@ import "cosmos_proto/cosmos.proto";
|
|||||||
import "gogoproto/gogo.proto";
|
import "gogoproto/gogo.proto";
|
||||||
import "google/protobuf/timestamp.proto";
|
import "google/protobuf/timestamp.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/kavadist/types";
|
option go_package = "github.com/0glabs/0g-chain/x/kavadist/types";
|
||||||
option (gogoproto.goproto_getters_all) = false;
|
option (gogoproto.goproto_getters_all) = false;
|
||||||
option (gogoproto.goproto_stringer_all) = false;
|
option (gogoproto.goproto_stringer_all) = false;
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@ package kava.kavadist.v1beta1;
|
|||||||
import "cosmos/base/v1beta1/coin.proto";
|
import "cosmos/base/v1beta1/coin.proto";
|
||||||
import "gogoproto/gogo.proto";
|
import "gogoproto/gogo.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/kavadist/types";
|
option go_package = "github.com/0glabs/0g-chain/x/kavadist/types";
|
||||||
|
|
||||||
// CommunityPoolMultiSpendProposal spends from the community pool by sending to one or more
|
// CommunityPoolMultiSpendProposal spends from the community pool by sending to one or more
|
||||||
// addresses
|
// addresses
|
||||||
|
@ -6,7 +6,7 @@ import "gogoproto/gogo.proto";
|
|||||||
import "google/api/annotations.proto";
|
import "google/api/annotations.proto";
|
||||||
import "kava/kavadist/v1beta1/params.proto";
|
import "kava/kavadist/v1beta1/params.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/kavadist/types";
|
option go_package = "github.com/0glabs/0g-chain/x/kavadist/types";
|
||||||
|
|
||||||
// Query defines the gRPC querier service.
|
// Query defines the gRPC querier service.
|
||||||
service Query {
|
service Query {
|
||||||
|
@ -6,7 +6,7 @@ import "cosmos_proto/cosmos.proto";
|
|||||||
import "gogoproto/gogo.proto";
|
import "gogoproto/gogo.proto";
|
||||||
import "google/api/annotations.proto";
|
import "google/api/annotations.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/liquid/types";
|
option go_package = "github.com/0glabs/0g-chain/x/liquid/types";
|
||||||
option (gogoproto.goproto_getters_all) = false;
|
option (gogoproto.goproto_getters_all) = false;
|
||||||
|
|
||||||
// Query defines the gRPC querier service for liquid module
|
// Query defines the gRPC querier service for liquid module
|
||||||
|
@ -5,7 +5,7 @@ import "cosmos/base/v1beta1/coin.proto";
|
|||||||
import "cosmos_proto/cosmos.proto";
|
import "cosmos_proto/cosmos.proto";
|
||||||
import "gogoproto/gogo.proto";
|
import "gogoproto/gogo.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/liquid/types";
|
option go_package = "github.com/0glabs/0g-chain/x/liquid/types";
|
||||||
|
|
||||||
// Msg defines the liquid Msg service.
|
// Msg defines the liquid Msg service.
|
||||||
service Msg {
|
service Msg {
|
||||||
|
@ -4,7 +4,7 @@ package kava.pricefeed.v1beta1;
|
|||||||
import "gogoproto/gogo.proto";
|
import "gogoproto/gogo.proto";
|
||||||
import "kava/pricefeed/v1beta1/store.proto";
|
import "kava/pricefeed/v1beta1/store.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/pricefeed/types";
|
option go_package = "github.com/0glabs/0g-chain/x/pricefeed/types";
|
||||||
option (gogoproto.equal_all) = true;
|
option (gogoproto.equal_all) = true;
|
||||||
option (gogoproto.verbose_equal_all) = true;
|
option (gogoproto.verbose_equal_all) = true;
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@ import "google/api/annotations.proto";
|
|||||||
import "google/protobuf/timestamp.proto";
|
import "google/protobuf/timestamp.proto";
|
||||||
import "kava/pricefeed/v1beta1/store.proto";
|
import "kava/pricefeed/v1beta1/store.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/pricefeed/types";
|
option go_package = "github.com/0glabs/0g-chain/x/pricefeed/types";
|
||||||
option (gogoproto.equal_all) = true;
|
option (gogoproto.equal_all) = true;
|
||||||
option (gogoproto.verbose_equal_all) = true;
|
option (gogoproto.verbose_equal_all) = true;
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@ import "cosmos_proto/cosmos.proto";
|
|||||||
import "gogoproto/gogo.proto";
|
import "gogoproto/gogo.proto";
|
||||||
import "google/protobuf/timestamp.proto";
|
import "google/protobuf/timestamp.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/pricefeed/types";
|
option go_package = "github.com/0glabs/0g-chain/x/pricefeed/types";
|
||||||
option (gogoproto.equal_all) = true;
|
option (gogoproto.equal_all) = true;
|
||||||
option (gogoproto.verbose_equal_all) = true;
|
option (gogoproto.verbose_equal_all) = true;
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@ package kava.pricefeed.v1beta1;
|
|||||||
import "gogoproto/gogo.proto";
|
import "gogoproto/gogo.proto";
|
||||||
import "google/protobuf/timestamp.proto";
|
import "google/protobuf/timestamp.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/pricefeed/types";
|
option go_package = "github.com/0glabs/0g-chain/x/pricefeed/types";
|
||||||
option (gogoproto.equal_all) = true;
|
option (gogoproto.equal_all) = true;
|
||||||
option (gogoproto.verbose_equal_all) = true;
|
option (gogoproto.verbose_equal_all) = true;
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@ import "cosmos/base/v1beta1/coin.proto";
|
|||||||
import "cosmos_proto/cosmos.proto";
|
import "cosmos_proto/cosmos.proto";
|
||||||
import "gogoproto/gogo.proto";
|
import "gogoproto/gogo.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/router/types";
|
option go_package = "github.com/0glabs/0g-chain/x/router/types";
|
||||||
option (gogoproto.goproto_getters_all) = false;
|
option (gogoproto.goproto_getters_all) = false;
|
||||||
|
|
||||||
// Msg defines the router Msg service.
|
// Msg defines the router Msg service.
|
||||||
|
@ -4,7 +4,7 @@ package kava.savings.v1beta1;
|
|||||||
import "gogoproto/gogo.proto";
|
import "gogoproto/gogo.proto";
|
||||||
import "kava/savings/v1beta1/store.proto";
|
import "kava/savings/v1beta1/store.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/savings/types";
|
option go_package = "github.com/0glabs/0g-chain/x/savings/types";
|
||||||
|
|
||||||
// GenesisState defines the savings module's genesis state.
|
// GenesisState defines the savings module's genesis state.
|
||||||
message GenesisState {
|
message GenesisState {
|
||||||
|
@ -8,7 +8,7 @@ import "gogoproto/gogo.proto";
|
|||||||
import "google/api/annotations.proto";
|
import "google/api/annotations.proto";
|
||||||
import "kava/savings/v1beta1/store.proto";
|
import "kava/savings/v1beta1/store.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/savings/types";
|
option go_package = "github.com/0glabs/0g-chain/x/savings/types";
|
||||||
|
|
||||||
// Query defines the gRPC querier service for savings module
|
// Query defines the gRPC querier service for savings module
|
||||||
service Query {
|
service Query {
|
||||||
|
@ -5,7 +5,7 @@ import "cosmos/base/v1beta1/coin.proto";
|
|||||||
import "cosmos_proto/cosmos.proto";
|
import "cosmos_proto/cosmos.proto";
|
||||||
import "gogoproto/gogo.proto";
|
import "gogoproto/gogo.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/savings/types";
|
option go_package = "github.com/0glabs/0g-chain/x/savings/types";
|
||||||
option (gogoproto.goproto_getters_all) = false;
|
option (gogoproto.goproto_getters_all) = false;
|
||||||
|
|
||||||
// Params defines the parameters for the savings module.
|
// Params defines the parameters for the savings module.
|
||||||
|
@ -5,7 +5,7 @@ import "cosmos/base/v1beta1/coin.proto";
|
|||||||
import "cosmos_proto/cosmos.proto";
|
import "cosmos_proto/cosmos.proto";
|
||||||
import "gogoproto/gogo.proto";
|
import "gogoproto/gogo.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/savings/types";
|
option go_package = "github.com/0glabs/0g-chain/x/savings/types";
|
||||||
|
|
||||||
// Msg defines the savings Msg service.
|
// Msg defines the savings Msg service.
|
||||||
service Msg {
|
service Msg {
|
||||||
|
@ -4,7 +4,7 @@ package kava.swap.v1beta1;
|
|||||||
import "gogoproto/gogo.proto";
|
import "gogoproto/gogo.proto";
|
||||||
import "kava/swap/v1beta1/swap.proto";
|
import "kava/swap/v1beta1/swap.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/swap/types";
|
option go_package = "github.com/0glabs/0g-chain/x/swap/types";
|
||||||
|
|
||||||
// GenesisState defines the swap module's genesis state.
|
// GenesisState defines the swap module's genesis state.
|
||||||
message GenesisState {
|
message GenesisState {
|
||||||
|
@ -8,7 +8,7 @@ import "gogoproto/gogo.proto";
|
|||||||
import "google/api/annotations.proto";
|
import "google/api/annotations.proto";
|
||||||
import "kava/swap/v1beta1/swap.proto";
|
import "kava/swap/v1beta1/swap.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/swap/types";
|
option go_package = "github.com/0glabs/0g-chain/x/swap/types";
|
||||||
|
|
||||||
// Query defines the gRPC querier service for swap module
|
// Query defines the gRPC querier service for swap module
|
||||||
service Query {
|
service Query {
|
||||||
|
@ -5,7 +5,7 @@ import "cosmos/base/v1beta1/coin.proto";
|
|||||||
import "cosmos_proto/cosmos.proto";
|
import "cosmos_proto/cosmos.proto";
|
||||||
import "gogoproto/gogo.proto";
|
import "gogoproto/gogo.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/swap/types";
|
option go_package = "github.com/0glabs/0g-chain/x/swap/types";
|
||||||
|
|
||||||
// Params defines the parameters for the swap module.
|
// Params defines the parameters for the swap module.
|
||||||
message Params {
|
message Params {
|
||||||
|
@ -5,7 +5,7 @@ import "cosmos/base/v1beta1/coin.proto";
|
|||||||
import "cosmos_proto/cosmos.proto";
|
import "cosmos_proto/cosmos.proto";
|
||||||
import "gogoproto/gogo.proto";
|
import "gogoproto/gogo.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/swap/types";
|
option go_package = "github.com/0glabs/0g-chain/x/swap/types";
|
||||||
|
|
||||||
// Msg defines the swap Msg service.
|
// Msg defines the swap Msg service.
|
||||||
service Msg {
|
service Msg {
|
||||||
|
@ -12,9 +12,9 @@ import (
|
|||||||
govtypes "github.com/cosmos/cosmos-sdk/x/gov/types"
|
govtypes "github.com/cosmos/cosmos-sdk/x/gov/types"
|
||||||
govv1 "github.com/cosmos/cosmos-sdk/x/gov/types/v1"
|
govv1 "github.com/cosmos/cosmos-sdk/x/gov/types/v1"
|
||||||
|
|
||||||
"github.com/kava-labs/kava/tests/e2e/testutil"
|
"github.com/0glabs/0g-chain/tests/e2e/testutil"
|
||||||
"github.com/kava-labs/kava/tests/util"
|
"github.com/0glabs/0g-chain/tests/util"
|
||||||
communitytypes "github.com/kava-labs/kava/x/community/types"
|
communitytypes "github.com/0glabs/0g-chain/x/community/types"
|
||||||
)
|
)
|
||||||
|
|
||||||
func (suite *IntegrationTestSuite) TestCommunityUpdateParams_NonAuthority() {
|
func (suite *IntegrationTestSuite) TestCommunityUpdateParams_NonAuthority() {
|
||||||
|
@ -12,9 +12,9 @@ import (
|
|||||||
|
|
||||||
ethtypes "github.com/ethereum/go-ethereum/core/types"
|
ethtypes "github.com/ethereum/go-ethereum/core/types"
|
||||||
|
|
||||||
"github.com/kava-labs/kava/tests/e2e/testutil"
|
"github.com/0glabs/0g-chain/tests/e2e/testutil"
|
||||||
"github.com/kava-labs/kava/tests/util"
|
"github.com/0glabs/0g-chain/tests/util"
|
||||||
evmutiltypes "github.com/kava-labs/kava/x/evmutil/types"
|
evmutiltypes "github.com/0glabs/0g-chain/x/evmutil/types"
|
||||||
)
|
)
|
||||||
|
|
||||||
const initialCosmosCoinConversionDenomFunds = int64(1e4)
|
const initialCosmosCoinConversionDenomFunds = int64(1e4)
|
||||||
|
@ -10,12 +10,12 @@ import (
|
|||||||
txtypes "github.com/cosmos/cosmos-sdk/types/tx"
|
txtypes "github.com/cosmos/cosmos-sdk/types/tx"
|
||||||
banktypes "github.com/cosmos/cosmos-sdk/x/bank/types"
|
banktypes "github.com/cosmos/cosmos-sdk/x/bank/types"
|
||||||
|
|
||||||
"github.com/kava-labs/kava/app"
|
"github.com/0glabs/0g-chain/app"
|
||||||
cdptypes "github.com/kava-labs/kava/x/cdp/types"
|
cdptypes "github.com/0glabs/0g-chain/x/cdp/types"
|
||||||
evmutiltypes "github.com/kava-labs/kava/x/evmutil/types"
|
evmutiltypes "github.com/0glabs/0g-chain/x/evmutil/types"
|
||||||
|
|
||||||
"github.com/kava-labs/kava/tests/e2e/contracts/greeter"
|
"github.com/0glabs/0g-chain/tests/e2e/contracts/greeter"
|
||||||
"github.com/kava-labs/kava/tests/util"
|
"github.com/0glabs/0g-chain/tests/util"
|
||||||
)
|
)
|
||||||
|
|
||||||
func (suite *IntegrationTestSuite) TestEthCallToGreeterContract() {
|
func (suite *IntegrationTestSuite) TestEthCallToGreeterContract() {
|
||||||
|
@ -12,8 +12,8 @@ import (
|
|||||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
sdk "github.com/cosmos/cosmos-sdk/types"
|
||||||
ethtypes "github.com/ethereum/go-ethereum/core/types"
|
ethtypes "github.com/ethereum/go-ethereum/core/types"
|
||||||
|
|
||||||
"github.com/kava-labs/kava/app"
|
"github.com/0glabs/0g-chain/app"
|
||||||
"github.com/kava-labs/kava/tests/util"
|
"github.com/0glabs/0g-chain/tests/util"
|
||||||
)
|
)
|
||||||
|
|
||||||
func (suite *IntegrationTestSuite) TestEthGasPriceReturnsMinFee() {
|
func (suite *IntegrationTestSuite) TestEthGasPriceReturnsMinFee() {
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user