remove go mod path

This commit is contained in:
Solovyov1796 2024-08-03 17:51:56 +08:00
parent b484f1d3c8
commit b204fc6a1e
689 changed files with 3776 additions and 3751 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -61,7 +61,7 @@ jobs:
- name: checkout kava bridge repo for deploying evm contracts
uses: actions/checkout@v4
with:
repository: Kava-Labs/kava-bridge
repository: 0glabs/0g-chain-bridge
path: kava-bridge
ref: main
- name: install nodeJS
@ -77,7 +77,7 @@ jobs:
run: make compile-contracts
working-directory: kava-bridge
- name: download seed script from current commit
run: wget https://raw.githubusercontent.com/Kava-Labs/kava/${GITHUB_SHA}/.github/scripts/${SEED_SCRIPT_FILENAME} && chmod +x ${SEED_SCRIPT_FILENAME}
run: wget https://raw.githubusercontent.com/0glabs/0g-chain/${GITHUB_SHA}/.github/scripts/${SEED_SCRIPT_FILENAME} && chmod +x ${SEED_SCRIPT_FILENAME}
working-directory: kava-bridge/contract
env:
SEED_SCRIPT_FILENAME: ${{ inputs.seed-script-filename }}

View File

@ -176,7 +176,7 @@ Ref: https://keepachangelog.com/en/1.0.0/
## [v0.13.0]
- Hard Protocol - Introduces borrowing functionality to HARD protocol. See full
[spec](https://github.com/Kava-Labs/kava/tree/master/x/hard/spec)
[spec](https://github.com/0glabs/0g-chain/tree/master/x/hard/spec)
### Breaking changes
@ -273,9 +273,9 @@ non-breaking manner and that nodes will be able to update seamlessly after the
launch of kava-3.
The steps for upgrading to kava-3 can be found
[here](https://github.com/Kava-Labs/kava/blob/v0.10.0/contrib/kava-3/migration.md).
[here](https://github.com/0glabs/0g-chain/blob/v0.10.0/contrib/kava-3/migration.md).
Please note the additional section on
[pruning](https://github.com/Kava-Labs/kava/blob/v0.10.0/contrib/kava-3/migration.md#Pruning).
[pruning](https://github.com/0glabs/0g-chain/blob/v0.10.0/contrib/kava-3/migration.md#Pruning).
## [v0.8.0] kava-3 Release
@ -287,7 +287,7 @@ state-machine faults that require a new version to launch successfully.
### Migration
The steps for upgrading to kava-3 can be found
[here](https://github.com/Kava-Labs/kava/blob/v0.10.0/contrib/kava-3/migration.md)
[here](https://github.com/0glabs/0g-chain/blob/v0.10.0/contrib/kava-3/migration.md)
### Features
@ -327,86 +327,86 @@ the [changelog](https://github.com/cosmos/cosmos-sdk/blob/v0.38.4/CHANGELOG.md).
### Improvements
- [#257](https://github.com/Kava-Labs/kava/pulls/257) Include scripts to run
- [#257](https://github.com/0glabs/0g-chain/pulls/257) Include scripts to run
large-scale simulations remotely using aws-batch
[#1846]: https://github.com/Kava-Labs/kava/pull/1846
[#1848]: https://github.com/Kava-Labs/kava/pull/1848
[#1839]: https://github.com/Kava-Labs/kava/pull/1839
[#1836]: https://github.com/Kava-Labs/kava/pull/1836
[#1832]: https://github.com/Kava-Labs/kava/pull/1832
[#1811]: https://github.com/Kava-Labs/kava/pull/1811
[#1804]: https://github.com/Kava-Labs/kava/pull/1804
[#1785]: https://github.com/Kava-Labs/kava/pull/1785
[#1784]: https://github.com/Kava-Labs/kava/pull/1784
[#1770]: https://github.com/Kava-Labs/kava/pull/1770
[#1755]: https://github.com/Kava-Labs/kava/pull/1755
[#1761]: https://github.com/Kava-Labs/kava/pull/1761
[#1752]: https://github.com/Kava-Labs/kava/pull/1752
[#1751]: https://github.com/Kava-Labs/kava/pull/1751
[#1745]: https://github.com/Kava-Labs/kava/pull/1745
[#1729]: https://github.com/Kava-Labs/kava/pull/1729
[#1707]: https://github.com/Kava-Labs/kava/pull/1707
[#1706]: https://github.com/Kava-Labs/kava/pull/1706
[#1704]: https://github.com/Kava-Labs/kava/pull/1704
[#1668]: https://github.com/Kava-Labs/kava/pull/1668
[#1669]: https://github.com/Kava-Labs/kava/pull/1669
[#1655]: https://github.com/Kava-Labs/kava/pull/1655
[#1624]: https://github.com/Kava-Labs/kava/pull/1624
[#1631]: https://github.com/Kava-Labs/kava/pull/1631
[#1622]: https://github.com/Kava-Labs/kava/pull/1622
[#1614]: https://github.com/Kava-Labs/kava/pull/1614
[#1610]: https://github.com/Kava-Labs/kava/pull/1610
[#1609]: https://github.com/Kava-Labs/kava/pull/1609
[#1605]: https://github.com/Kava-Labs/kava/pull/1605
[#1604]: https://github.com/Kava-Labs/kava/pull/1604
[#1603]: https://github.com/Kava-Labs/kava/pull/1603
[#1598]: https://github.com/Kava-Labs/kava/pull/1598
[#1596]: https://github.com/Kava-Labs/kava/pull/1596
[#1591]: https://github.com/Kava-Labs/kava/pull/1591
[#1590]: https://github.com/Kava-Labs/kava/pull/1590
[#1568]: https://github.com/Kava-Labs/kava/pull/1568
[#1567]: https://github.com/Kava-Labs/kava/pull/1567
[#1566]: https://github.com/Kava-Labs/kava/pull/1566
[#1565]: https://github.com/Kava-Labs/kava/pull/1565
[#1563]: https://github.com/Kava-Labs/kava/pull/1563
[#1562]: https://github.com/Kava-Labs/kava/pull/1562
[#1550]: https://github.com/Kava-Labs/kava/pull/1550
[#1544]: https://github.com/Kava-Labs/kava/pull/1544
[#1477]: https://github.com/Kava-Labs/kava/pull/1477
[#1512]: https://github.com/Kava-Labs/kava/pull/1512
[#1519]: https://github.com/Kava-Labs/kava/pull/1519
[#1106]: https://github.com/Kava-Labs/kava/pull/1106
[#1152]: https://github.com/Kava-Labs/kava/pull/1152
[#1542]: https://github.com/Kava-Labs/kava/pull/1542
[#253]: https://github.com/Kava-Labs/kava/pull/253
[#260]: https://github.com/Kava-Labs/kava/pull/260
[#266]: https://github.com/Kava-Labs/kava/pull/266
[#364]: https://github.com/Kava-Labs/kava/pull/364
[#590]: https://github.com/Kava-Labs/kava/pull/590
[#591]: https://github.com/Kava-Labs/kava/pull/591
[#596]: https://github.com/Kava-Labs/kava/pull/596
[#598]: https://github.com/Kava-Labs/kava/pull/598
[#625]: https://github.com/Kava-Labs/kava/pull/625
[#701]: https://github.com/Kava-Labs/kava/pull/701
[#750]: https://github.com/Kava-Labs/kava/pull/750
[#751]: https://github.com/Kava-Labs/kava/pull/751
[#780]: https://github.com/Kava-Labs/kava/pull/780
[unreleased]: https://github.com/Kava-Labs/kava/compare/v0.25.0...HEAD
[v0.25.0]: https://github.com/Kava-Labs/kava/compare/v0.25.0...v0.24.3
[v0.24.3]: https://github.com/Kava-Labs/kava/compare/v0.24.3...v0.24.1
[v0.24.1]: https://github.com/Kava-Labs/kava/compare/v0.24.1...v0.24.0
[v0.24.0]: https://github.com/Kava-Labs/kava/compare/v0.24.0...v0.23.2
[v0.23.2]: https://github.com/Kava-Labs/kava/compare/v0.23.1...v0.23.2
[v0.23.0]: https://github.com/Kava-Labs/kava/compare/v0.21.1...v0.23.0
[v0.16.1]: https://github.com/Kava-Labs/kava/compare/v0.16.0...v0.16.1
[v0.16.0]: https://github.com/Kava-Labs/kava/compare/v0.15.2...v0.16.0
[v0.13.0]: https://github.com/Kava-Labs/kava/compare/v0.12.4...v0.13.0
[v0.12.0]: https://github.com/Kava-Labs/kava/compare/v0.11.1...v0.12.0
[v0.11.0]: https://github.com/Kava-Labs/kava/compare/v0.10.0...v0.11.0
[v0.8.1]: https://github.com/Kava-Labs/kava/compare/v0.8.0...v0.8.1
[v0.8.0]: https://github.com/Kava-Labs/kava/compare/v0.7.0...v0.8.0
[v0.3.5]: https://github.com/Kava-Labs/kava/compare/v0.3.4...v0.3.5
[v0.3.2]: https://github.com/Kava-Labs/kava/compare/v0.3.1...v0.3.2
[v0.3.1]: https://github.com/Kava-Labs/kava/compare/v0.3.0...v0.3.1
[v0.3.0]: https://github.com/Kava-Labs/kava/compare/v0.2.0...v0.3.0
[#1846]: https://github.com/0glabs/0g-chain/pull/1846
[#1848]: https://github.com/0glabs/0g-chain/pull/1848
[#1839]: https://github.com/0glabs/0g-chain/pull/1839
[#1836]: https://github.com/0glabs/0g-chain/pull/1836
[#1832]: https://github.com/0glabs/0g-chain/pull/1832
[#1811]: https://github.com/0glabs/0g-chain/pull/1811
[#1804]: https://github.com/0glabs/0g-chain/pull/1804
[#1785]: https://github.com/0glabs/0g-chain/pull/1785
[#1784]: https://github.com/0glabs/0g-chain/pull/1784
[#1770]: https://github.com/0glabs/0g-chain/pull/1770
[#1755]: https://github.com/0glabs/0g-chain/pull/1755
[#1761]: https://github.com/0glabs/0g-chain/pull/1761
[#1752]: https://github.com/0glabs/0g-chain/pull/1752
[#1751]: https://github.com/0glabs/0g-chain/pull/1751
[#1745]: https://github.com/0glabs/0g-chain/pull/1745
[#1729]: https://github.com/0glabs/0g-chain/pull/1729
[#1707]: https://github.com/0glabs/0g-chain/pull/1707
[#1706]: https://github.com/0glabs/0g-chain/pull/1706
[#1704]: https://github.com/0glabs/0g-chain/pull/1704
[#1668]: https://github.com/0glabs/0g-chain/pull/1668
[#1669]: https://github.com/0glabs/0g-chain/pull/1669
[#1655]: https://github.com/0glabs/0g-chain/pull/1655
[#1624]: https://github.com/0glabs/0g-chain/pull/1624
[#1631]: https://github.com/0glabs/0g-chain/pull/1631
[#1622]: https://github.com/0glabs/0g-chain/pull/1622
[#1614]: https://github.com/0glabs/0g-chain/pull/1614
[#1610]: https://github.com/0glabs/0g-chain/pull/1610
[#1609]: https://github.com/0glabs/0g-chain/pull/1609
[#1605]: https://github.com/0glabs/0g-chain/pull/1605
[#1604]: https://github.com/0glabs/0g-chain/pull/1604
[#1603]: https://github.com/0glabs/0g-chain/pull/1603
[#1598]: https://github.com/0glabs/0g-chain/pull/1598
[#1596]: https://github.com/0glabs/0g-chain/pull/1596
[#1591]: https://github.com/0glabs/0g-chain/pull/1591
[#1590]: https://github.com/0glabs/0g-chain/pull/1590
[#1568]: https://github.com/0glabs/0g-chain/pull/1568
[#1567]: https://github.com/0glabs/0g-chain/pull/1567
[#1566]: https://github.com/0glabs/0g-chain/pull/1566
[#1565]: https://github.com/0glabs/0g-chain/pull/1565
[#1563]: https://github.com/0glabs/0g-chain/pull/1563
[#1562]: https://github.com/0glabs/0g-chain/pull/1562
[#1550]: https://github.com/0glabs/0g-chain/pull/1550
[#1544]: https://github.com/0glabs/0g-chain/pull/1544
[#1477]: https://github.com/0glabs/0g-chain/pull/1477
[#1512]: https://github.com/0glabs/0g-chain/pull/1512
[#1519]: https://github.com/0glabs/0g-chain/pull/1519
[#1106]: https://github.com/0glabs/0g-chain/pull/1106
[#1152]: https://github.com/0glabs/0g-chain/pull/1152
[#1542]: https://github.com/0glabs/0g-chain/pull/1542
[#253]: https://github.com/0glabs/0g-chain/pull/253
[#260]: https://github.com/0glabs/0g-chain/pull/260
[#266]: https://github.com/0glabs/0g-chain/pull/266
[#364]: https://github.com/0glabs/0g-chain/pull/364
[#590]: https://github.com/0glabs/0g-chain/pull/590
[#591]: https://github.com/0glabs/0g-chain/pull/591
[#596]: https://github.com/0glabs/0g-chain/pull/596
[#598]: https://github.com/0glabs/0g-chain/pull/598
[#625]: https://github.com/0glabs/0g-chain/pull/625
[#701]: https://github.com/0glabs/0g-chain/pull/701
[#750]: https://github.com/0glabs/0g-chain/pull/750
[#751]: https://github.com/0glabs/0g-chain/pull/751
[#780]: https://github.com/0glabs/0g-chain/pull/780
[unreleased]: https://github.com/0glabs/0g-chain/compare/v0.25.0...HEAD
[v0.25.0]: https://github.com/0glabs/0g-chain/compare/v0.25.0...v0.24.3
[v0.24.3]: https://github.com/0glabs/0g-chain/compare/v0.24.3...v0.24.1
[v0.24.1]: https://github.com/0glabs/0g-chain/compare/v0.24.1...v0.24.0
[v0.24.0]: https://github.com/0glabs/0g-chain/compare/v0.24.0...v0.23.2
[v0.23.2]: https://github.com/0glabs/0g-chain/compare/v0.23.1...v0.23.2
[v0.23.0]: https://github.com/0glabs/0g-chain/compare/v0.21.1...v0.23.0
[v0.16.1]: https://github.com/0glabs/0g-chain/compare/v0.16.0...v0.16.1
[v0.16.0]: https://github.com/0glabs/0g-chain/compare/v0.15.2...v0.16.0
[v0.13.0]: https://github.com/0glabs/0g-chain/compare/v0.12.4...v0.13.0
[v0.12.0]: https://github.com/0glabs/0g-chain/compare/v0.11.1...v0.12.0
[v0.11.0]: https://github.com/0glabs/0g-chain/compare/v0.10.0...v0.11.0
[v0.8.1]: https://github.com/0glabs/0g-chain/compare/v0.8.0...v0.8.1
[v0.8.0]: https://github.com/0glabs/0g-chain/compare/v0.7.0...v0.8.0
[v0.3.5]: https://github.com/0glabs/0g-chain/compare/v0.3.4...v0.3.5
[v0.3.2]: https://github.com/0glabs/0g-chain/compare/v0.3.1...v0.3.2
[v0.3.1]: https://github.com/0glabs/0g-chain/compare/v0.3.0...v0.3.1
[v0.3.0]: https://github.com/0glabs/0g-chain/compare/v0.2.0...v0.3.0

View File

@ -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
###############################################################################

View File

@ -4,11 +4,11 @@
<div align="center">
[![version](https://img.shields.io/github/tag/kava-labs/kava.svg)](https://github.com/kava-labs/kava/releases/latest)
[![CircleCI](https://circleci.com/gh/Kava-Labs/kava/tree/master.svg?style=shield)](https://circleci.com/gh/Kava-Labs/kava/tree/master)
[![Go Report Card](https://goreportcard.com/badge/github.com/kava-labs/kava)](https://goreportcard.com/report/github.com/kava-labs/kava)
[![API Reference](https://godoc.org/github.com/Kava-Labs/kava?status.svg)](https://godoc.org/github.com/Kava-Labs/kava)
[![GitHub](https://img.shields.io/github/license/kava-labs/kava.svg)](https://github.com/Kava-Labs/kava/blob/master/LICENSE.md)
[![version](https://img.shields.io/github/tag/0glabs/0g-chain.svg)](https://github.com/0glabs/0g-chain/releases/latest)
[![CircleCI](https://circleci.com/gh/0glabs/0g-chain/tree/master.svg?style=shield)](https://circleci.com/gh/0glabs/0g-chain/tree/master)
[![Go Report Card](https://goreportcard.com/badge/github.com/0glabs/0g-chain)](https://goreportcard.com/report/github.com/0glabs/0g-chain)
[![API Reference](https://godoc.org/github.com/0glabs/0g-chain?status.svg)](https://godoc.org/github.com/0glabs/0g-chain)
[![GitHub](https://img.shields.io/github/license/0glabs/0g-chain.svg)](https://github.com/0glabs/0g-chain/blob/master/LICENSE.md)
[![Twitter Follow](https://img.shields.io/twitter/follow/KAVA_CHAIN.svg?label=Follow&style=social)](https://twitter.com/KAVA_CHAIN)
[![Discord Chat](https://img.shields.io/discord/704389840614981673.svg)](https://discord.com/invite/kQzh3Uv)
@ -24,7 +24,7 @@ Reference implementation of Kava, a blockchain for cross-chain DeFi. Built using
## Mainnet
The current recommended version of the software for mainnet is [v0.25.0](https://github.com/Kava-Labs/kava/releases/tag/v0.25.0) The master branch of this repository often contains considerable development work since the last mainnet release and is __not__ runnable on mainnet.
The current recommended version of the software for mainnet is [v0.25.0](https://github.com/0glabs/0g-chain/releases/tag/v0.25.0) The master branch of this repository often contains considerable development work since the last mainnet release and is __not__ runnable on mainnet.
### Installation and Setup
For detailed instructions see [the Kava docs](https://docs.kava.io/docs/participate/validator-node).
@ -39,14 +39,14 @@ This is included as a git submodule at [`tests/e2e/kvtool`](tests/e2e/kvtool/).
When first cloning the repository, if you intend to run the e2e integration tests, you must also
clone the submodules:
```bash
git clone --recurse-submodules https://github.com/Kava-Labs/kava.git
git clone --recurse-submodules https://github.com/0glabs/0g-chain.git
```
Or, if you have already cloned the repo: `git submodule update --init`
## Testnet
For further information on joining the testnet, head over to the [testnet repo](https://github.com/Kava-Labs/kava-testnets).
For further information on joining the testnet, head over to the [testnet repo](https://github.com/0glabs/0g-chain-testnets).
## Docs

View File

@ -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 {

View File

@ -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"

View File

@ -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) {

View File

@ -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

View File

@ -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 {

View File

@ -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 (

View File

@ -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 {

View File

@ -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) {

View File

@ -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 (

View File

@ -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.

View File

@ -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{}

View File

@ -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

View File

@ -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 (

View File

@ -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

View File

@ -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 (

View File

@ -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"],

View File

@ -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

View File

@ -16,7 +16,7 @@ The Kava gRPC client is a tool for making gRPC queries on a Kava chain.
package main
import (
kavaGrpc "github.com/kava-labs/kava/client/grpc"
kavaGrpc "github.com/0glabs/0g-chain/client/grpc"
)
grpcUrl := "https://grpc.kava.io:443"
client, err := kavaGrpc.NewClient(grpcUrl)
@ -46,7 +46,7 @@ Example: Query Kava module `x/evmutil` for params
```go
import (
evmutiltypes "github.com/kava-labs/kava/x/evmutil/types"
evmutiltypes "github.com/0glabs/0g-chain/x/evmutil/types"
)
rsp, err := client.Query.Evmutil.Params(

View File

@ -3,8 +3,8 @@ package grpc
import (
"errors"
"github.com/kava-labs/kava/client/grpc/query"
"github.com/kava-labs/kava/client/grpc/util"
"github.com/0glabs/0g-chain/client/grpc/query"
"github.com/0glabs/0g-chain/client/grpc/util"
)
// KavaGrpcClient enables the usage of kava grpc query clients and query utils

View File

@ -3,7 +3,7 @@ package grpc_test
import (
"testing"
"github.com/kava-labs/kava/client/grpc"
"github.com/0glabs/0g-chain/client/grpc"
"github.com/stretchr/testify/require"
)

View File

@ -24,21 +24,21 @@ import (
evmtypes "github.com/evmos/ethermint/x/evm/types"
feemarkettypes "github.com/evmos/ethermint/x/feemarket/types"
auctiontypes "github.com/kava-labs/kava/x/auction/types"
bep3types "github.com/kava-labs/kava/x/bep3/types"
cdptypes "github.com/kava-labs/kava/x/cdp/types"
committeetypes "github.com/kava-labs/kava/x/committee/types"
communitytypes "github.com/kava-labs/kava/x/community/types"
earntypes "github.com/kava-labs/kava/x/earn/types"
evmutiltypes "github.com/kava-labs/kava/x/evmutil/types"
hardtypes "github.com/kava-labs/kava/x/hard/types"
incentivetypes "github.com/kava-labs/kava/x/incentive/types"
issuancetypes "github.com/kava-labs/kava/x/issuance/types"
kavadisttypes "github.com/kava-labs/kava/x/kavadist/types"
liquidtypes "github.com/kava-labs/kava/x/liquid/types"
pricefeedtypes "github.com/kava-labs/kava/x/pricefeed/types"
savingstypes "github.com/kava-labs/kava/x/savings/types"
swaptypes "github.com/kava-labs/kava/x/swap/types"
auctiontypes "github.com/0glabs/0g-chain/x/auction/types"
bep3types "github.com/0glabs/0g-chain/x/bep3/types"
cdptypes "github.com/0glabs/0g-chain/x/cdp/types"
committeetypes "github.com/0glabs/0g-chain/x/committee/types"
communitytypes "github.com/0glabs/0g-chain/x/community/types"
earntypes "github.com/0glabs/0g-chain/x/earn/types"
evmutiltypes "github.com/0glabs/0g-chain/x/evmutil/types"
hardtypes "github.com/0glabs/0g-chain/x/hard/types"
incentivetypes "github.com/0glabs/0g-chain/x/incentive/types"
issuancetypes "github.com/0glabs/0g-chain/x/issuance/types"
kavadisttypes "github.com/0glabs/0g-chain/x/kavadist/types"
liquidtypes "github.com/0glabs/0g-chain/x/liquid/types"
pricefeedtypes "github.com/0glabs/0g-chain/x/pricefeed/types"
savingstypes "github.com/0glabs/0g-chain/x/savings/types"
swaptypes "github.com/0glabs/0g-chain/x/swap/types"
)
// QueryClient is a wrapper with all Cosmos and Kava grpc query clients

View File

@ -3,7 +3,7 @@ package query_test
import (
"testing"
"github.com/kava-labs/kava/client/grpc/query"
"github.com/0glabs/0g-chain/client/grpc/query"
"github.com/stretchr/testify/require"
)

View File

@ -7,9 +7,9 @@ import (
grpctypes "github.com/cosmos/cosmos-sdk/types/grpc"
"google.golang.org/grpc/metadata"
"github.com/kava-labs/kava/app"
"github.com/kava-labs/kava/app/params"
query "github.com/kava-labs/kava/client/grpc/query"
"github.com/0glabs/0g-chain/app"
"github.com/0glabs/0g-chain/app/params"
query "github.com/0glabs/0g-chain/client/grpc/query"
)
// Util contains utility functions for the Kava gRPC client

View File

@ -13,6 +13,7 @@ import (
"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 +21,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) {

View File

@ -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 (

View File

@ -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 {

View File

@ -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.

View File

@ -14,9 +14,9 @@ import (
"syscall"
"time"
"github.com/0glabs/0g-chain/cmd/kava/opendb"
"github.com/cosmos/cosmos-sdk/client"
"github.com/cosmos/cosmos-sdk/server"
"github.com/kava-labs/kava/cmd/kava/opendb"
"github.com/linxGnu/grocksdb"
"github.com/spf13/cobra"
"golang.org/x/exp/slices"

View File

@ -23,10 +23,10 @@ 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/cmd/rocksdb"
"github.com/0glabs/0g-chain/cmd/kava/opendb"
)
// EnvPrefix is the prefix environment variables must have to configure the app.

View File

@ -4,7 +4,7 @@ import (
"fmt"
"strings"
"github.com/kava-labs/kava/app"
"github.com/0glabs/0g-chain/app"
"github.com/spf13/cobra"
dbm "github.com/cometbft/cometbft-db"

View File

@ -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.

View File

@ -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
View File

@ -1,4 +1,4 @@
module github.com/kava-labs/kava
module github.com/0glabs/0g-chain
go 1.21

View File

@ -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

View File

@ -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.

View File

@ -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 {

View File

@ -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 {

View File

@ -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 {

View File

@ -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 {

View File

@ -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 {

View File

@ -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 {

View File

@ -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.

View File

@ -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 {

View File

@ -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 {

View File

@ -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 {

View File

@ -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

View File

@ -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 {

View File

@ -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 {

View File

@ -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.

View File

@ -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

View File

@ -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

View File

@ -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 {

View File

@ -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 {

View File

@ -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 {

View File

@ -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 {

View File

@ -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 {

View File

@ -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.

View File

@ -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 {

View File

@ -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 {

View File

@ -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 {

View File

@ -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

View File

@ -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 {

View File

@ -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 {

View File

@ -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.

View File

@ -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;

View File

@ -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;

View File

@ -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 {

View File

@ -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;

View File

@ -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 {

View File

@ -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.

View File

@ -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 {

View File

@ -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 {

View File

@ -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.

View File

@ -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 --------------

View File

@ -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

View File

@ -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

View File

@ -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 {

View File

@ -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 {

View File

@ -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 {

View File

@ -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 {

View File

@ -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 {

View File

@ -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 {

View File

@ -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;

View File

@ -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

View File

@ -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 {

View File

@ -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

View File

@ -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 {

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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.

View File

@ -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 {

Some files were not shown because too many files have changed in this diff Show More