mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-11-10 10:05:18 +00:00
rename go mod path
This commit is contained in:
parent
e976f28232
commit
3b75c9a3db
@ -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 🖖🏽
|
||||
# make sure to update god committee member permissions for the module
|
||||
# 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
|
||||
|
||||
# fetch current module params
|
||||
|
2
.github/scripts/seed-internal-testnet.sh
vendored
2
.github/scripts/seed-internal-testnet.sh
vendored
@ -170,7 +170,7 @@ printf "original evm util module params\n %s" , "$originalEvmUtilParams"
|
||||
# change the params of the chain like a god - make it so 🖖🏽
|
||||
# make sure to update god committee member permissions for the module
|
||||
# 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.
|
||||
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 🖖🏽
|
||||
# make sure to update god committee member permissions for the module
|
||||
# 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
|
||||
|
||||
sleep $AVG_SECONDS_BETWEEN_BLOCKS
|
||||
|
4
Makefile
4
Makefile
@ -45,7 +45,7 @@ print-version:
|
||||
LEDGER_ENABLED ?= true
|
||||
DOCKER:=docker
|
||||
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 ###
|
||||
@ -233,7 +233,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 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/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
|
||||
|
||||
###############################################################################
|
||||
|
@ -32,15 +32,15 @@ import (
|
||||
"github.com/cosmos/cosmos-sdk/x/staking"
|
||||
"github.com/cosmos/cosmos-sdk/x/supply"
|
||||
|
||||
"github.com/kava-labs/kava/x/auction"
|
||||
"github.com/kava-labs/kava/x/bep3"
|
||||
"github.com/kava-labs/kava/x/cdp"
|
||||
"github.com/kava-labs/kava/x/committee"
|
||||
"github.com/kava-labs/kava/x/incentive"
|
||||
"github.com/kava-labs/kava/x/kavadist"
|
||||
"github.com/kava-labs/kava/x/pricefeed"
|
||||
"github.com/kava-labs/kava/x/swap"
|
||||
validatorvesting "github.com/kava-labs/kava/x/validator-vesting"
|
||||
"github.com/0glabs/0g-chain/x/auction"
|
||||
"github.com/0glabs/0g-chain/x/bep3"
|
||||
"github.com/0glabs/0g-chain/x/cdp"
|
||||
"github.com/0glabs/0g-chain/x/committee"
|
||||
"github.com/0glabs/0g-chain/x/incentive"
|
||||
"github.com/0glabs/0g-chain/x/kavadist"
|
||||
"github.com/0glabs/0g-chain/x/pricefeed"
|
||||
"github.com/0glabs/0g-chain/x/swap"
|
||||
validatorvesting "github.com/0glabs/0g-chain/x/validator-vesting"
|
||||
)
|
||||
|
||||
type StoreKeysPrefixes struct {
|
||||
|
@ -9,7 +9,7 @@ import (
|
||||
"testing"
|
||||
|
||||
sdkmath "cosmossdk.io/math"
|
||||
"github.com/kava-labs/kava/app"
|
||||
"github.com/0glabs/0g-chain/app"
|
||||
|
||||
abci "github.com/cometbft/cometbft/abci/types"
|
||||
tmbytes "github.com/cometbft/cometbft/libs/bytes"
|
||||
|
@ -22,9 +22,9 @@ import (
|
||||
evmtypes "github.com/evmos/ethermint/x/evm/types"
|
||||
"github.com/stretchr/testify/require"
|
||||
|
||||
"github.com/kava-labs/kava/app"
|
||||
bep3types "github.com/kava-labs/kava/x/bep3/types"
|
||||
pricefeedtypes "github.com/kava-labs/kava/x/pricefeed/types"
|
||||
"github.com/0glabs/0g-chain/app"
|
||||
bep3types "github.com/0glabs/0g-chain/x/bep3/types"
|
||||
pricefeedtypes "github.com/0glabs/0g-chain/x/pricefeed/types"
|
||||
)
|
||||
|
||||
func TestMain(m *testing.M) {
|
||||
|
@ -10,8 +10,8 @@ import (
|
||||
banktypes "github.com/cosmos/cosmos-sdk/x/bank/types"
|
||||
"github.com/stretchr/testify/require"
|
||||
|
||||
"github.com/kava-labs/kava/app"
|
||||
"github.com/kava-labs/kava/app/ante"
|
||||
"github.com/0glabs/0g-chain/app"
|
||||
"github.com/0glabs/0g-chain/app/ante"
|
||||
)
|
||||
|
||||
var _ sdk.AnteHandler = (&MockAnteHandler{}).AnteHandle
|
||||
|
@ -14,8 +14,8 @@ import (
|
||||
evmtypes "github.com/evmos/ethermint/x/evm/types"
|
||||
"github.com/stretchr/testify/require"
|
||||
|
||||
"github.com/kava-labs/kava/app"
|
||||
"github.com/kava-labs/kava/app/ante"
|
||||
"github.com/0glabs/0g-chain/app"
|
||||
"github.com/0glabs/0g-chain/app/ante"
|
||||
)
|
||||
|
||||
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"
|
||||
"github.com/stretchr/testify/suite"
|
||||
|
||||
"github.com/kava-labs/kava/app"
|
||||
cdptypes "github.com/kava-labs/kava/x/cdp/types"
|
||||
evmutilkeeper "github.com/kava-labs/kava/x/evmutil/keeper"
|
||||
evmutiltestutil "github.com/kava-labs/kava/x/evmutil/testutil"
|
||||
evmutiltypes "github.com/kava-labs/kava/x/evmutil/types"
|
||||
hardtypes "github.com/kava-labs/kava/x/hard/types"
|
||||
pricefeedtypes "github.com/kava-labs/kava/x/pricefeed/types"
|
||||
"github.com/0glabs/0g-chain/app"
|
||||
cdptypes "github.com/0glabs/0g-chain/x/cdp/types"
|
||||
evmutilkeeper "github.com/0glabs/0g-chain/x/evmutil/keeper"
|
||||
evmutiltestutil "github.com/0glabs/0g-chain/x/evmutil/testutil"
|
||||
evmutiltypes "github.com/0glabs/0g-chain/x/evmutil/types"
|
||||
hardtypes "github.com/0glabs/0g-chain/x/hard/types"
|
||||
pricefeedtypes "github.com/0glabs/0g-chain/x/pricefeed/types"
|
||||
)
|
||||
|
||||
const (
|
||||
|
@ -11,8 +11,8 @@ import (
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/stretchr/testify/require"
|
||||
|
||||
"github.com/kava-labs/kava/app"
|
||||
"github.com/kava-labs/kava/app/ante"
|
||||
"github.com/0glabs/0g-chain/app"
|
||||
"github.com/0glabs/0g-chain/app/ante"
|
||||
)
|
||||
|
||||
func mustParseDecCoins(value string) sdk.DecCoins {
|
||||
|
@ -12,8 +12,8 @@ import (
|
||||
vesting "github.com/cosmos/cosmos-sdk/x/auth/vesting/types"
|
||||
banktypes "github.com/cosmos/cosmos-sdk/x/bank/types"
|
||||
|
||||
"github.com/kava-labs/kava/app"
|
||||
"github.com/kava-labs/kava/app/ante"
|
||||
"github.com/0glabs/0g-chain/app"
|
||||
"github.com/0glabs/0g-chain/app/ante"
|
||||
)
|
||||
|
||||
func TestVestingMempoolDecorator_MsgCreateVestingAccount_Unauthorized(t *testing.T) {
|
||||
|
118
app/app.go
118
app/app.go
@ -105,65 +105,65 @@ import (
|
||||
feemarkettypes "github.com/evmos/ethermint/x/feemarket/types"
|
||||
"github.com/gorilla/mux"
|
||||
|
||||
"github.com/kava-labs/kava/app/ante"
|
||||
kavaparams "github.com/kava-labs/kava/app/params"
|
||||
"github.com/kava-labs/kava/x/auction"
|
||||
auctionkeeper "github.com/kava-labs/kava/x/auction/keeper"
|
||||
auctiontypes "github.com/kava-labs/kava/x/auction/types"
|
||||
"github.com/kava-labs/kava/x/bep3"
|
||||
bep3keeper "github.com/kava-labs/kava/x/bep3/keeper"
|
||||
bep3types "github.com/kava-labs/kava/x/bep3/types"
|
||||
"github.com/kava-labs/kava/x/cdp"
|
||||
cdpkeeper "github.com/kava-labs/kava/x/cdp/keeper"
|
||||
cdptypes "github.com/kava-labs/kava/x/cdp/types"
|
||||
"github.com/kava-labs/kava/x/committee"
|
||||
committeeclient "github.com/kava-labs/kava/x/committee/client"
|
||||
committeekeeper "github.com/kava-labs/kava/x/committee/keeper"
|
||||
committeetypes "github.com/kava-labs/kava/x/committee/types"
|
||||
"github.com/kava-labs/kava/x/community"
|
||||
communityclient "github.com/kava-labs/kava/x/community/client"
|
||||
communitykeeper "github.com/kava-labs/kava/x/community/keeper"
|
||||
communitytypes "github.com/kava-labs/kava/x/community/types"
|
||||
earn "github.com/kava-labs/kava/x/earn"
|
||||
earnclient "github.com/kava-labs/kava/x/earn/client"
|
||||
earnkeeper "github.com/kava-labs/kava/x/earn/keeper"
|
||||
earntypes "github.com/kava-labs/kava/x/earn/types"
|
||||
evmutil "github.com/kava-labs/kava/x/evmutil"
|
||||
evmutilkeeper "github.com/kava-labs/kava/x/evmutil/keeper"
|
||||
evmutiltypes "github.com/kava-labs/kava/x/evmutil/types"
|
||||
"github.com/kava-labs/kava/x/hard"
|
||||
hardkeeper "github.com/kava-labs/kava/x/hard/keeper"
|
||||
hardtypes "github.com/kava-labs/kava/x/hard/types"
|
||||
"github.com/kava-labs/kava/x/incentive"
|
||||
incentivekeeper "github.com/kava-labs/kava/x/incentive/keeper"
|
||||
incentivetypes "github.com/kava-labs/kava/x/incentive/types"
|
||||
issuance "github.com/kava-labs/kava/x/issuance"
|
||||
issuancekeeper "github.com/kava-labs/kava/x/issuance/keeper"
|
||||
issuancetypes "github.com/kava-labs/kava/x/issuance/types"
|
||||
"github.com/kava-labs/kava/x/kavadist"
|
||||
kavadistclient "github.com/kava-labs/kava/x/kavadist/client"
|
||||
kavadistkeeper "github.com/kava-labs/kava/x/kavadist/keeper"
|
||||
kavadisttypes "github.com/kava-labs/kava/x/kavadist/types"
|
||||
"github.com/kava-labs/kava/x/liquid"
|
||||
liquidkeeper "github.com/kava-labs/kava/x/liquid/keeper"
|
||||
liquidtypes "github.com/kava-labs/kava/x/liquid/types"
|
||||
metrics "github.com/kava-labs/kava/x/metrics"
|
||||
metricstypes "github.com/kava-labs/kava/x/metrics/types"
|
||||
pricefeed "github.com/kava-labs/kava/x/pricefeed"
|
||||
pricefeedkeeper "github.com/kava-labs/kava/x/pricefeed/keeper"
|
||||
pricefeedtypes "github.com/kava-labs/kava/x/pricefeed/types"
|
||||
"github.com/kava-labs/kava/x/router"
|
||||
routerkeeper "github.com/kava-labs/kava/x/router/keeper"
|
||||
routertypes "github.com/kava-labs/kava/x/router/types"
|
||||
savings "github.com/kava-labs/kava/x/savings"
|
||||
savingskeeper "github.com/kava-labs/kava/x/savings/keeper"
|
||||
savingstypes "github.com/kava-labs/kava/x/savings/types"
|
||||
"github.com/kava-labs/kava/x/swap"
|
||||
swapkeeper "github.com/kava-labs/kava/x/swap/keeper"
|
||||
swaptypes "github.com/kava-labs/kava/x/swap/types"
|
||||
validatorvesting "github.com/kava-labs/kava/x/validator-vesting"
|
||||
validatorvestingrest "github.com/kava-labs/kava/x/validator-vesting/client/rest"
|
||||
validatorvestingtypes "github.com/kava-labs/kava/x/validator-vesting/types"
|
||||
"github.com/0glabs/0g-chain/app/ante"
|
||||
kavaparams "github.com/0glabs/0g-chain/app/params"
|
||||
"github.com/0glabs/0g-chain/x/auction"
|
||||
auctionkeeper "github.com/0glabs/0g-chain/x/auction/keeper"
|
||||
auctiontypes "github.com/0glabs/0g-chain/x/auction/types"
|
||||
"github.com/0glabs/0g-chain/x/bep3"
|
||||
bep3keeper "github.com/0glabs/0g-chain/x/bep3/keeper"
|
||||
bep3types "github.com/0glabs/0g-chain/x/bep3/types"
|
||||
"github.com/0glabs/0g-chain/x/cdp"
|
||||
cdpkeeper "github.com/0glabs/0g-chain/x/cdp/keeper"
|
||||
cdptypes "github.com/0glabs/0g-chain/x/cdp/types"
|
||||
"github.com/0glabs/0g-chain/x/committee"
|
||||
committeeclient "github.com/0glabs/0g-chain/x/committee/client"
|
||||
committeekeeper "github.com/0glabs/0g-chain/x/committee/keeper"
|
||||
committeetypes "github.com/0glabs/0g-chain/x/committee/types"
|
||||
"github.com/0glabs/0g-chain/x/community"
|
||||
communityclient "github.com/0glabs/0g-chain/x/community/client"
|
||||
communitykeeper "github.com/0glabs/0g-chain/x/community/keeper"
|
||||
communitytypes "github.com/0glabs/0g-chain/x/community/types"
|
||||
earn "github.com/0glabs/0g-chain/x/earn"
|
||||
earnclient "github.com/0glabs/0g-chain/x/earn/client"
|
||||
earnkeeper "github.com/0glabs/0g-chain/x/earn/keeper"
|
||||
earntypes "github.com/0glabs/0g-chain/x/earn/types"
|
||||
evmutil "github.com/0glabs/0g-chain/x/evmutil"
|
||||
evmutilkeeper "github.com/0glabs/0g-chain/x/evmutil/keeper"
|
||||
evmutiltypes "github.com/0glabs/0g-chain/x/evmutil/types"
|
||||
"github.com/0glabs/0g-chain/x/hard"
|
||||
hardkeeper "github.com/0glabs/0g-chain/x/hard/keeper"
|
||||
hardtypes "github.com/0glabs/0g-chain/x/hard/types"
|
||||
"github.com/0glabs/0g-chain/x/incentive"
|
||||
incentivekeeper "github.com/0glabs/0g-chain/x/incentive/keeper"
|
||||
incentivetypes "github.com/0glabs/0g-chain/x/incentive/types"
|
||||
issuance "github.com/0glabs/0g-chain/x/issuance"
|
||||
issuancekeeper "github.com/0glabs/0g-chain/x/issuance/keeper"
|
||||
issuancetypes "github.com/0glabs/0g-chain/x/issuance/types"
|
||||
"github.com/0glabs/0g-chain/x/kavadist"
|
||||
kavadistclient "github.com/0glabs/0g-chain/x/kavadist/client"
|
||||
kavadistkeeper "github.com/0glabs/0g-chain/x/kavadist/keeper"
|
||||
kavadisttypes "github.com/0glabs/0g-chain/x/kavadist/types"
|
||||
"github.com/0glabs/0g-chain/x/liquid"
|
||||
liquidkeeper "github.com/0glabs/0g-chain/x/liquid/keeper"
|
||||
liquidtypes "github.com/0glabs/0g-chain/x/liquid/types"
|
||||
metrics "github.com/0glabs/0g-chain/x/metrics"
|
||||
metricstypes "github.com/0glabs/0g-chain/x/metrics/types"
|
||||
pricefeed "github.com/0glabs/0g-chain/x/pricefeed"
|
||||
pricefeedkeeper "github.com/0glabs/0g-chain/x/pricefeed/keeper"
|
||||
pricefeedtypes "github.com/0glabs/0g-chain/x/pricefeed/types"
|
||||
"github.com/0glabs/0g-chain/x/router"
|
||||
routerkeeper "github.com/0glabs/0g-chain/x/router/keeper"
|
||||
routertypes "github.com/0glabs/0g-chain/x/router/types"
|
||||
savings "github.com/0glabs/0g-chain/x/savings"
|
||||
savingskeeper "github.com/0glabs/0g-chain/x/savings/keeper"
|
||||
savingstypes "github.com/0glabs/0g-chain/x/savings/types"
|
||||
"github.com/0glabs/0g-chain/x/swap"
|
||||
swapkeeper "github.com/0glabs/0g-chain/x/swap/keeper"
|
||||
swaptypes "github.com/0glabs/0g-chain/x/swap/types"
|
||||
validatorvesting "github.com/0glabs/0g-chain/x/validator-vesting"
|
||||
validatorvestingrest "github.com/0glabs/0g-chain/x/validator-vesting/client/rest"
|
||||
validatorvestingtypes "github.com/0glabs/0g-chain/x/validator-vesting/types"
|
||||
)
|
||||
|
||||
const (
|
||||
|
@ -3,7 +3,7 @@ package app
|
||||
import (
|
||||
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.
|
||||
|
@ -2,16 +2,16 @@ package app
|
||||
|
||||
import (
|
||||
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"
|
||||
bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper"
|
||||
govkeeper "github.com/cosmos/cosmos-sdk/x/gov/keeper"
|
||||
govv1 "github.com/cosmos/cosmos-sdk/x/gov/types/v1"
|
||||
stakingkeeper "github.com/cosmos/cosmos-sdk/x/staking/keeper"
|
||||
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{}
|
||||
|
@ -17,8 +17,8 @@ import (
|
||||
stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"
|
||||
"github.com/stretchr/testify/suite"
|
||||
|
||||
earntypes "github.com/kava-labs/kava/x/earn/types"
|
||||
liquidtypes "github.com/kava-labs/kava/x/liquid/types"
|
||||
earntypes "github.com/0glabs/0g-chain/x/earn/types"
|
||||
liquidtypes "github.com/0glabs/0g-chain/x/liquid/types"
|
||||
)
|
||||
|
||||
// d is an alias for sdk.MustNewDecFromStr
|
||||
|
@ -41,22 +41,22 @@ import (
|
||||
feemarketkeeper "github.com/evmos/ethermint/x/feemarket/keeper"
|
||||
"github.com/stretchr/testify/require"
|
||||
|
||||
auctionkeeper "github.com/kava-labs/kava/x/auction/keeper"
|
||||
bep3keeper "github.com/kava-labs/kava/x/bep3/keeper"
|
||||
cdpkeeper "github.com/kava-labs/kava/x/cdp/keeper"
|
||||
committeekeeper "github.com/kava-labs/kava/x/committee/keeper"
|
||||
communitykeeper "github.com/kava-labs/kava/x/community/keeper"
|
||||
earnkeeper "github.com/kava-labs/kava/x/earn/keeper"
|
||||
evmutilkeeper "github.com/kava-labs/kava/x/evmutil/keeper"
|
||||
hardkeeper "github.com/kava-labs/kava/x/hard/keeper"
|
||||
incentivekeeper "github.com/kava-labs/kava/x/incentive/keeper"
|
||||
issuancekeeper "github.com/kava-labs/kava/x/issuance/keeper"
|
||||
kavadistkeeper "github.com/kava-labs/kava/x/kavadist/keeper"
|
||||
liquidkeeper "github.com/kava-labs/kava/x/liquid/keeper"
|
||||
pricefeedkeeper "github.com/kava-labs/kava/x/pricefeed/keeper"
|
||||
routerkeeper "github.com/kava-labs/kava/x/router/keeper"
|
||||
savingskeeper "github.com/kava-labs/kava/x/savings/keeper"
|
||||
swapkeeper "github.com/kava-labs/kava/x/swap/keeper"
|
||||
auctionkeeper "github.com/0glabs/0g-chain/x/auction/keeper"
|
||||
bep3keeper "github.com/0glabs/0g-chain/x/bep3/keeper"
|
||||
cdpkeeper "github.com/0glabs/0g-chain/x/cdp/keeper"
|
||||
committeekeeper "github.com/0glabs/0g-chain/x/committee/keeper"
|
||||
communitykeeper "github.com/0glabs/0g-chain/x/community/keeper"
|
||||
earnkeeper "github.com/0glabs/0g-chain/x/earn/keeper"
|
||||
evmutilkeeper "github.com/0glabs/0g-chain/x/evmutil/keeper"
|
||||
hardkeeper "github.com/0glabs/0g-chain/x/hard/keeper"
|
||||
incentivekeeper "github.com/0glabs/0g-chain/x/incentive/keeper"
|
||||
issuancekeeper "github.com/0glabs/0g-chain/x/issuance/keeper"
|
||||
kavadistkeeper "github.com/0glabs/0g-chain/x/kavadist/keeper"
|
||||
liquidkeeper "github.com/0glabs/0g-chain/x/liquid/keeper"
|
||||
pricefeedkeeper "github.com/0glabs/0g-chain/x/pricefeed/keeper"
|
||||
routerkeeper "github.com/0glabs/0g-chain/x/router/keeper"
|
||||
savingskeeper "github.com/0glabs/0g-chain/x/savings/keeper"
|
||||
swapkeeper "github.com/0glabs/0g-chain/x/swap/keeper"
|
||||
)
|
||||
|
||||
var (
|
||||
|
@ -5,11 +5,11 @@ import (
|
||||
"time"
|
||||
|
||||
sdkmath "cosmossdk.io/math"
|
||||
"github.com/0glabs/0g-chain/app"
|
||||
incentivetypes "github.com/0glabs/0g-chain/x/incentive/types"
|
||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
||||
stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"
|
||||
"github.com/evmos/ethermint/crypto/ethsecp256k1"
|
||||
"github.com/kava-labs/kava/app"
|
||||
incentivetypes "github.com/kava-labs/kava/x/incentive/types"
|
||||
"github.com/stretchr/testify/require"
|
||||
tmproto "github.com/tendermint/tendermint/proto/tendermint/types"
|
||||
tmtime "github.com/tendermint/tendermint/types/time"
|
||||
|
@ -7,7 +7,7 @@ proto-lint check-proto-lint: install-build-deps
|
||||
proto-gen: install-build-deps
|
||||
@echo "Generating go proto files"
|
||||
@$(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
|
||||
|
||||
.PHONY: check-proto-gen
|
||||
|
@ -28,7 +28,7 @@ import (
|
||||
"github.com/cosmos/cosmos-sdk/x/slashing"
|
||||
"github.com/cosmos/cosmos-sdk/x/staking"
|
||||
|
||||
"github.com/kava-labs/kava/app"
|
||||
"github.com/0glabs/0g-chain/app"
|
||||
)
|
||||
|
||||
const (
|
||||
|
@ -7,7 +7,7 @@
|
||||
},
|
||||
"externalDocs": {
|
||||
"description": "GitHub",
|
||||
"url": "https://github.com/Kava-Labs/kava"
|
||||
"url": "https://github.com/0glabs/0g-chain"
|
||||
},
|
||||
"host": "api.data.kava.io",
|
||||
"schemes": ["https"],
|
||||
|
@ -5,7 +5,7 @@ info:
|
||||
version: 1.0.0
|
||||
externalDocs:
|
||||
description: GitHub
|
||||
url: https://github.com/Kava-Labs/kava
|
||||
url: https://github.com/0glabs/0g-chain
|
||||
host: api.data.kava.io
|
||||
schemes:
|
||||
- https
|
||||
|
@ -12,7 +12,7 @@ import (
|
||||
"github.com/spf13/viper"
|
||||
"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/flags"
|
||||
"github.com/cosmos/cosmos-sdk/codec"
|
||||
@ -20,7 +20,6 @@ import (
|
||||
"github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1"
|
||||
cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types"
|
||||
"github.com/cosmos/cosmos-sdk/types"
|
||||
"github.com/kava-labs/kava/client/rest"
|
||||
)
|
||||
|
||||
func TestBaseReq_Sanitize(t *testing.T) {
|
||||
|
@ -23,9 +23,9 @@ import (
|
||||
"github.com/spf13/cast"
|
||||
"github.com/spf13/cobra"
|
||||
|
||||
"github.com/kava-labs/kava/app"
|
||||
"github.com/kava-labs/kava/app/params"
|
||||
metricstypes "github.com/kava-labs/kava/x/metrics/types"
|
||||
"github.com/0glabs/0g-chain/app"
|
||||
"github.com/0glabs/0g-chain/app/params"
|
||||
metricstypes "github.com/0glabs/0g-chain/x/metrics/types"
|
||||
)
|
||||
|
||||
const (
|
||||
|
@ -9,8 +9,8 @@ import (
|
||||
genutiltypes "github.com/cosmos/cosmos-sdk/x/genutil/types"
|
||||
"github.com/spf13/cobra"
|
||||
|
||||
"github.com/kava-labs/kava/app"
|
||||
"github.com/kava-labs/kava/app/params"
|
||||
"github.com/0glabs/0g-chain/app"
|
||||
"github.com/0glabs/0g-chain/app/params"
|
||||
)
|
||||
|
||||
func AssertInvariantsCmd(config params.EncodingConfig) *cobra.Command {
|
||||
|
@ -7,7 +7,7 @@ import (
|
||||
authcmd "github.com/cosmos/cosmos-sdk/x/auth/client/cli"
|
||||
"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.
|
||||
|
@ -23,10 +23,9 @@ import (
|
||||
servercfg "github.com/evmos/ethermint/server/config"
|
||||
"github.com/spf13/cobra"
|
||||
|
||||
"github.com/kava-labs/kava/app"
|
||||
"github.com/kava-labs/kava/app/params"
|
||||
"github.com/kava-labs/kava/cmd/kava/cmd/rocksdb"
|
||||
"github.com/kava-labs/kava/cmd/kava/opendb"
|
||||
"github.com/0glabs/0g-chain/app"
|
||||
"github.com/0glabs/0g-chain/app/params"
|
||||
"github.com/0glabs/0g-chain/cmd/kava/opendb"
|
||||
)
|
||||
|
||||
// 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"
|
||||
"github.com/spf13/cobra"
|
||||
|
||||
"github.com/kava-labs/kava/app"
|
||||
"github.com/0glabs/0g-chain/app"
|
||||
)
|
||||
|
||||
// newTxCmd creates all commands for submitting blockchain transactions.
|
||||
|
@ -6,8 +6,8 @@ import (
|
||||
"github.com/cosmos/cosmos-sdk/server"
|
||||
svrcmd "github.com/cosmos/cosmos-sdk/server/cmd"
|
||||
|
||||
"github.com/kava-labs/kava/app"
|
||||
"github.com/kava-labs/kava/cmd/kava/cmd"
|
||||
"github.com/0glabs/0g-chain/app"
|
||||
"github.com/0glabs/0g-chain/cmd/kava/cmd"
|
||||
)
|
||||
|
||||
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
|
||||
|
||||
|
@ -6,7 +6,7 @@ import "cosmos_proto/cosmos.proto";
|
||||
import "gogoproto/gogo.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;
|
||||
|
||||
// BaseAuction defines common attributes of all auctions
|
||||
|
@ -6,7 +6,7 @@ import "gogoproto/gogo.proto";
|
||||
import "google/protobuf/any.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;
|
||||
|
||||
// GenesisState defines the auction module's genesis state.
|
||||
|
@ -7,7 +7,7 @@ import "google/api/annotations.proto";
|
||||
import "google/protobuf/any.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
|
||||
service Query {
|
||||
|
@ -4,7 +4,7 @@ package kava.auction.v1beta1;
|
||||
import "cosmos/base/v1beta1/coin.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.
|
||||
service Msg {
|
||||
|
@ -6,7 +6,7 @@ import "cosmos_proto/cosmos.proto";
|
||||
import "gogoproto/gogo.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.
|
||||
message Params {
|
||||
|
@ -5,7 +5,7 @@ import "gogoproto/gogo.proto";
|
||||
import "google/protobuf/timestamp.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.
|
||||
message GenesisState {
|
||||
|
@ -9,7 +9,7 @@ import "google/api/annotations.proto";
|
||||
import "google/protobuf/duration.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
|
||||
service Query {
|
||||
|
@ -5,7 +5,7 @@ import "cosmos/base/v1beta1/coin.proto";
|
||||
import "cosmos_proto/cosmos.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.
|
||||
service Msg {
|
||||
|
@ -6,7 +6,7 @@ import "cosmos_proto/cosmos.proto";
|
||||
import "gogoproto/gogo.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;
|
||||
|
||||
// CDP defines the state of a single collateralized debt position.
|
||||
|
@ -7,7 +7,7 @@ import "gogoproto/gogo.proto";
|
||||
import "google/protobuf/timestamp.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.
|
||||
message GenesisState {
|
||||
|
@ -11,7 +11,7 @@ import "google/protobuf/timestamp.proto";
|
||||
import "kava/cdp/v1beta1/cdp.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
|
||||
service Query {
|
||||
|
@ -5,7 +5,7 @@ import "cosmos/base/v1beta1/coin.proto";
|
||||
import "cosmos_proto/cosmos.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.
|
||||
service Msg {
|
||||
|
@ -6,7 +6,7 @@ import "gogoproto/gogo.proto";
|
||||
import "google/protobuf/any.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;
|
||||
|
||||
// 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/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.
|
||||
message GenesisState {
|
||||
|
@ -4,7 +4,7 @@ package kava.committee.v1beta1;
|
||||
import "cosmos_proto/cosmos.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.
|
||||
message GodPermission {
|
||||
|
@ -5,7 +5,7 @@ import "cosmos_proto/cosmos.proto";
|
||||
import "gogoproto/gogo.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;
|
||||
|
||||
// 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 "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;
|
||||
|
||||
// Query defines the gRPC querier service for committee module
|
||||
|
@ -6,7 +6,7 @@ import "gogoproto/gogo.proto";
|
||||
import "google/protobuf/any.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;
|
||||
|
||||
// Msg defines the committee Msg service
|
||||
|
@ -5,7 +5,7 @@ import "gogoproto/gogo.proto";
|
||||
import "kava/community/v1beta1/params.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.
|
||||
message GenesisState {
|
||||
|
@ -5,7 +5,7 @@ import "cosmos_proto/cosmos.proto";
|
||||
import "gogoproto/gogo.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.
|
||||
message Params {
|
||||
|
@ -4,7 +4,7 @@ package kava.community.v1beta1;
|
||||
import "cosmos/base/v1beta1/coin.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
|
||||
message CommunityPoolLendDepositProposal {
|
||||
|
@ -7,7 +7,7 @@ import "gogoproto/gogo.proto";
|
||||
import "google/api/annotations.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.
|
||||
service Query {
|
||||
|
@ -5,7 +5,7 @@ import "cosmos_proto/cosmos.proto";
|
||||
import "gogoproto/gogo.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.
|
||||
message StakingRewardsState {
|
||||
|
@ -6,7 +6,7 @@ import "cosmos_proto/cosmos.proto";
|
||||
import "gogoproto/gogo.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;
|
||||
|
||||
// Msg defines the community Msg service.
|
||||
|
@ -5,7 +5,7 @@ import "gogoproto/gogo.proto";
|
||||
import "kava/earn/v1beta1/params.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.
|
||||
message GenesisState {
|
||||
|
@ -4,7 +4,7 @@ package kava.earn.v1beta1;
|
||||
import "gogoproto/gogo.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.
|
||||
message Params {
|
||||
|
@ -4,7 +4,7 @@ package kava.earn.v1beta1;
|
||||
import "cosmos/base/v1beta1/coin.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
|
||||
message CommunityPoolDepositProposal {
|
||||
|
@ -10,7 +10,7 @@ import "kava/earn/v1beta1/params.proto";
|
||||
import "kava/earn/v1beta1/strategy.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;
|
||||
|
||||
// Query defines the gRPC querier service for earn module
|
||||
|
@ -3,7 +3,7 @@ package kava.earn.v1beta1;
|
||||
|
||||
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.
|
||||
enum StrategyType {
|
||||
|
@ -7,7 +7,7 @@ import "gogoproto/gogo.proto";
|
||||
import "kava/earn/v1beta1/strategy.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.
|
||||
service Msg {
|
||||
|
@ -5,7 +5,7 @@ import "cosmos_proto/cosmos.proto";
|
||||
import "gogoproto/gogo.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
|
||||
// modified via parameter governance.
|
||||
|
@ -3,7 +3,7 @@ package kava.evmutil.v1beta1;
|
||||
|
||||
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.verbose_equal_all) = true;
|
||||
|
||||
|
@ -5,7 +5,7 @@ import "cosmos_proto/cosmos.proto";
|
||||
import "gogoproto/gogo.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.verbose_equal_all) = true;
|
||||
|
||||
|
@ -6,7 +6,7 @@ import "gogoproto/gogo.proto";
|
||||
import "google/api/annotations.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
|
||||
service Query {
|
||||
|
@ -5,7 +5,7 @@ import "cosmos/base/v1beta1/coin.proto";
|
||||
import "cosmos_proto/cosmos.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.verbose_equal_all) = true;
|
||||
|
||||
|
@ -7,7 +7,7 @@ import "gogoproto/gogo.proto";
|
||||
import "google/protobuf/timestamp.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.
|
||||
message GenesisState {
|
||||
|
@ -5,7 +5,7 @@ import "cosmos/base/v1beta1/coin.proto";
|
||||
import "cosmos_proto/cosmos.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;
|
||||
|
||||
// Params defines the parameters for the hard module.
|
||||
|
@ -9,7 +9,7 @@ import "gogoproto/gogo.proto";
|
||||
import "google/api/annotations.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.
|
||||
service Query {
|
||||
|
@ -5,7 +5,7 @@ import "cosmos/base/v1beta1/coin.proto";
|
||||
import "cosmos_proto/cosmos.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.
|
||||
service Msg {
|
||||
|
@ -4,7 +4,7 @@ package kava.incentive.v1beta1;
|
||||
import "cosmos_proto/cosmos.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
|
||||
// instant in time.
|
||||
|
@ -5,7 +5,7 @@ import "cosmos/base/v1beta1/coin.proto";
|
||||
import "cosmos_proto/cosmos.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;
|
||||
|
||||
// -------------- 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/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;
|
||||
|
||||
// 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 "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;
|
||||
|
||||
// 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/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.
|
||||
service Query {
|
||||
|
@ -3,7 +3,7 @@ package kava.incentive.v1beta1;
|
||||
|
||||
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.
|
||||
service Msg {
|
||||
|
@ -5,7 +5,7 @@ import "cosmos/base/v1beta1/coin.proto";
|
||||
import "gogoproto/gogo.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.
|
||||
message GenesisState {
|
||||
|
@ -5,7 +5,7 @@ import "gogoproto/gogo.proto";
|
||||
import "google/api/annotations.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
|
||||
service Query {
|
||||
|
@ -4,7 +4,7 @@ package kava.issuance.v1beta1;
|
||||
import "cosmos/base/v1beta1/coin.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.
|
||||
service Msg {
|
||||
|
@ -5,7 +5,7 @@ import "gogoproto/gogo.proto";
|
||||
import "google/protobuf/timestamp.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.
|
||||
message GenesisState {
|
||||
|
@ -6,7 +6,7 @@ import "cosmos_proto/cosmos.proto";
|
||||
import "gogoproto/gogo.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_stringer_all) = false;
|
||||
|
||||
|
@ -4,7 +4,7 @@ package kava.kavadist.v1beta1;
|
||||
import "cosmos/base/v1beta1/coin.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
|
||||
// addresses
|
||||
|
@ -6,7 +6,7 @@ import "gogoproto/gogo.proto";
|
||||
import "google/api/annotations.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.
|
||||
service Query {
|
||||
|
@ -6,7 +6,7 @@ import "cosmos_proto/cosmos.proto";
|
||||
import "gogoproto/gogo.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;
|
||||
|
||||
// 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 "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.
|
||||
service Msg {
|
||||
|
@ -4,7 +4,7 @@ package kava.pricefeed.v1beta1;
|
||||
import "gogoproto/gogo.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.verbose_equal_all) = true;
|
||||
|
||||
|
@ -6,7 +6,7 @@ import "google/api/annotations.proto";
|
||||
import "google/protobuf/timestamp.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.verbose_equal_all) = true;
|
||||
|
||||
|
@ -5,7 +5,7 @@ import "cosmos_proto/cosmos.proto";
|
||||
import "gogoproto/gogo.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.verbose_equal_all) = true;
|
||||
|
||||
|
@ -4,7 +4,7 @@ package kava.pricefeed.v1beta1;
|
||||
import "gogoproto/gogo.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.verbose_equal_all) = true;
|
||||
|
||||
|
@ -5,7 +5,7 @@ import "cosmos/base/v1beta1/coin.proto";
|
||||
import "cosmos_proto/cosmos.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;
|
||||
|
||||
// Msg defines the router Msg service.
|
||||
|
@ -4,7 +4,7 @@ package kava.savings.v1beta1;
|
||||
import "gogoproto/gogo.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.
|
||||
message GenesisState {
|
||||
|
@ -8,7 +8,7 @@ import "gogoproto/gogo.proto";
|
||||
import "google/api/annotations.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
|
||||
service Query {
|
||||
|
@ -5,7 +5,7 @@ import "cosmos/base/v1beta1/coin.proto";
|
||||
import "cosmos_proto/cosmos.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;
|
||||
|
||||
// Params defines the parameters for the savings module.
|
||||
|
@ -5,7 +5,7 @@ import "cosmos/base/v1beta1/coin.proto";
|
||||
import "cosmos_proto/cosmos.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.
|
||||
service Msg {
|
||||
|
@ -4,7 +4,7 @@ package kava.swap.v1beta1;
|
||||
import "gogoproto/gogo.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.
|
||||
message GenesisState {
|
||||
|
@ -8,7 +8,7 @@ import "gogoproto/gogo.proto";
|
||||
import "google/api/annotations.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
|
||||
service Query {
|
||||
|
@ -5,7 +5,7 @@ import "cosmos/base/v1beta1/coin.proto";
|
||||
import "cosmos_proto/cosmos.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.
|
||||
message Params {
|
||||
|
@ -5,7 +5,7 @@ import "cosmos/base/v1beta1/coin.proto";
|
||||
import "cosmos_proto/cosmos.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.
|
||||
service Msg {
|
||||
|
@ -12,9 +12,9 @@ import (
|
||||
govtypes "github.com/cosmos/cosmos-sdk/x/gov/types"
|
||||
govv1 "github.com/cosmos/cosmos-sdk/x/gov/types/v1"
|
||||
|
||||
"github.com/kava-labs/kava/tests/e2e/testutil"
|
||||
"github.com/kava-labs/kava/tests/util"
|
||||
communitytypes "github.com/kava-labs/kava/x/community/types"
|
||||
"github.com/0glabs/0g-chain/tests/e2e/testutil"
|
||||
"github.com/0glabs/0g-chain/tests/util"
|
||||
communitytypes "github.com/0glabs/0g-chain/x/community/types"
|
||||
)
|
||||
|
||||
func (suite *IntegrationTestSuite) TestCommunityUpdateParams_NonAuthority() {
|
||||
|
@ -12,9 +12,9 @@ import (
|
||||
|
||||
ethtypes "github.com/ethereum/go-ethereum/core/types"
|
||||
|
||||
"github.com/kava-labs/kava/tests/e2e/testutil"
|
||||
"github.com/kava-labs/kava/tests/util"
|
||||
evmutiltypes "github.com/kava-labs/kava/x/evmutil/types"
|
||||
"github.com/0glabs/0g-chain/tests/e2e/testutil"
|
||||
"github.com/0glabs/0g-chain/tests/util"
|
||||
evmutiltypes "github.com/0glabs/0g-chain/x/evmutil/types"
|
||||
)
|
||||
|
||||
const initialCosmosCoinConversionDenomFunds = int64(1e4)
|
||||
|
@ -10,12 +10,12 @@ import (
|
||||
txtypes "github.com/cosmos/cosmos-sdk/types/tx"
|
||||
banktypes "github.com/cosmos/cosmos-sdk/x/bank/types"
|
||||
|
||||
"github.com/kava-labs/kava/app"
|
||||
cdptypes "github.com/kava-labs/kava/x/cdp/types"
|
||||
evmutiltypes "github.com/kava-labs/kava/x/evmutil/types"
|
||||
"github.com/0glabs/0g-chain/app"
|
||||
cdptypes "github.com/0glabs/0g-chain/x/cdp/types"
|
||||
evmutiltypes "github.com/0glabs/0g-chain/x/evmutil/types"
|
||||
|
||||
"github.com/kava-labs/kava/tests/e2e/contracts/greeter"
|
||||
"github.com/kava-labs/kava/tests/util"
|
||||
"github.com/0glabs/0g-chain/tests/e2e/contracts/greeter"
|
||||
"github.com/0glabs/0g-chain/tests/util"
|
||||
)
|
||||
|
||||
func (suite *IntegrationTestSuite) TestEthCallToGreeterContract() {
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user