diff --git a/.github/scripts/examples/force-update-module-params.sh b/.github/scripts/examples/force-update-module-params.sh
index cd94fabf..20c75c15 100755
--- a/.github/scripts/examples/force-update-module-params.sh
+++ b/.github/scripts/examples/force-update-module-params.sh
@@ -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
diff --git a/.github/scripts/seed-internal-testnet.sh b/.github/scripts/seed-internal-testnet.sh
index 0a7a384c..de909a83 100755
--- a/.github/scripts/seed-internal-testnet.sh
+++ b/.github/scripts/seed-internal-testnet.sh
@@ -202,7 +202,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
diff --git a/.github/scripts/seed-protonet.sh b/.github/scripts/seed-protonet.sh
index 4009c3e3..57e9ff62 100755
--- a/.github/scripts/seed-protonet.sh
+++ b/.github/scripts/seed-protonet.sh
@@ -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
diff --git a/CHANGELOG.md b/CHANGELOG.md
index b7d6ee48..1824f6e8 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -174,7 +174,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
@@ -271,9 +271,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
@@ -285,7 +285,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
@@ -325,86 +325,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
diff --git a/Dockerfile b/Dockerfile
index 11d30e41..c590ed05 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -7,7 +7,7 @@ FROM golang:1.21-alpine AS build-env
RUN apk add bash git make libc-dev gcc linux-headers eudev-dev jq curl
# Set working directory for the build
-WORKDIR /root/kava
+WORKDIR /root/0gchain
# default home directory is /root
# Copy dependency files first to facilitate dependency caching
@@ -32,6 +32,6 @@ RUN --mount=type=cache,target=/root/.cache/go-build \
FROM alpine:3.15
RUN apk add bash jq curl
-COPY --from=build-env /go/bin/kava /bin/kava
+COPY --from=build-env /go/bin/0gchain /bin/0gchain
-CMD ["kava"]
+CMD ["0g-chain"]
diff --git a/Dockerfile-rocksdb b/Dockerfile-rocksdb
index 89d0f3d2..9b8cfa25 100644
--- a/Dockerfile-rocksdb
+++ b/Dockerfile-rocksdb
@@ -1,4 +1,4 @@
-FROM golang:1.21-bullseye AS kava-builder
+FROM golang:1.21-bullseye AS zg-chain-builder
# Set up dependencies
RUN apt-get update \
@@ -19,7 +19,7 @@ RUN git clone https://github.com/facebook/rocksdb.git \
&& make -j$(nproc) install-shared \
&& ldconfig
-WORKDIR /root/kava
+WORKDIR /root/0g-chain
# Copy dependency files first to facilitate dependency caching
COPY ./go.mod ./
COPY ./go.sum ./
@@ -32,13 +32,13 @@ RUN --mount=type=cache,target=/root/.cache/go-build \
# Add source files
COPY . .
-ARG kava_database_backend=rocksdb
-ENV KAVA_DATABASE_BACKEND=$kava_database_backend
+ARG 0gchain_database_backend=rocksdb
+ENV 0GCHAIN_DATABASE_BACKEND=$0gchain_database_backend
# Mount go build and mod caches as container caches, persisted between builder invocations
RUN --mount=type=cache,target=/root/.cache/go-build \
--mount=type=cache,target=/go/pkg/mod \
- make install COSMOS_BUILD_OPTIONS=$KAVA_DATABASE_BACKEND
+ make install COSMOS_BUILD_OPTIONS=$0GCHAIN_DATABASE_BACKEND
FROM ubuntu:22.04
@@ -48,10 +48,10 @@ RUN apt-get update \
&& rm -rf /var/lib/apt/lists/*
# copy rocksdb shared objects
-COPY --from=kava-builder /usr/local/lib/ /usr/local/lib/
+COPY --from=zg-chain-builder /usr/local/lib/ /usr/local/lib/
RUN ldconfig
-# copy kava binary
-COPY --from=kava-builder /go/bin/kava /bin/kava
+# copy 0g-chain binary
+COPY --from=zg-chain-builder /go/bin/0g-chain /bin/0g-chain
-CMD ["kava"]
+CMD ["0g-chain"]
diff --git a/Makefile b/Makefile
index d44d1ea9..75c3c1a2 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
################################################################################
### Project Info ###
################################################################################
-PROJECT_NAME := kava# unique namespace for project
+PROJECT_NAME := 0gchain# unique namespace for project
GO_BIN ?= go
@@ -37,7 +37,7 @@ print-git-info:
.PHONY: print-version
print-version:
- @echo "kava $(VERSION)\ntendermint $(TENDERMINT_VERSION)\ncosmos $(COSMOS_SDK_VERSION)"
+ @echo "0gchain $(VERSION)\ntendermint $(TENDERMINT_VERSION)\ncosmos $(COSMOS_SDK_VERSION)"
################################################################################
### Project Settings ###
@@ -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 ###
@@ -142,8 +142,8 @@ build_tags_comma_sep := $(subst $(whitespace),$(comma),$(build_tags))
# process linker flags
-ldflags = -X github.com/cosmos/cosmos-sdk/version.Name=kava \
- -X github.com/cosmos/cosmos-sdk/version.AppName=kava \
+ldflags = -X github.com/cosmos/cosmos-sdk/version.Name=0gchain \
+ -X github.com/cosmos/cosmos-sdk/version.AppName=0gchain \
-X github.com/cosmos/cosmos-sdk/version.Version=$(VERSION_NUMBER) \
-X github.com/cosmos/cosmos-sdk/version.Commit=$(GIT_COMMIT) \
-X "github.com/cosmos/cosmos-sdk/version.BuildTags=$(build_tags_comma_sep)" \
@@ -188,15 +188,15 @@ all: install
build: go.sum
ifeq ($(OS), Windows_NT)
- $(GO_BIN) build -mod=readonly $(BUILD_FLAGS) -o out/$(shell $(GO_BIN) env GOOS)/kava.exe ./cmd/kava
+ $(GO_BIN) build -mod=readonly $(BUILD_FLAGS) -o out/$(shell $(GO_BIN) env GOOS)/0gchain.exe ./cmd/0gchain
else
- $(GO_BIN) build -mod=readonly $(BUILD_FLAGS) -o out/$(shell $(GO_BIN) env GOOS)/kava ./cmd/kava
+ $(GO_BIN) build -mod=readonly $(BUILD_FLAGS) -o out/$(shell $(GO_BIN) env GOOS)/0gchain ./cmd/0gchain
endif
build-linux: go.sum
LEDGER_ENABLED=false GOOS=linux GOARCH=amd64 $(MAKE) build
-# build on rocksdb-backed kava on macOS with shared libs from brew
+# build on rocksdb-backed 0gchain on macOS with shared libs from brew
# this assumes you are on macOS & these deps have been installed with brew:
# rocksdb, snappy, lz4, and zstd
# use like `make build-rocksdb-brew COSMOS_BUILD_OPTIONS=rocksdb`
@@ -205,7 +205,7 @@ build-rocksdb-brew:
export CGO_LDFLAGS := -L$(shell brew --prefix rocksdb)/lib -lrocksdb -lstdc++ -lm -lz -L$(shell brew --prefix snappy)/lib -L$(shell brew --prefix lz4)/lib -L$(shell brew --prefix zstd)/lib
install: go.sum
- $(GO_BIN) install -mod=readonly $(BUILD_FLAGS) ./cmd/kava
+ $(GO_BIN) install -mod=readonly $(BUILD_FLAGS) ./cmd/0gchain
########################################
### Tools & dependencies
@@ -227,6 +227,7 @@ go.sum: go.mod
# Set to exclude riot links as they trigger false positives
link-check:
@$(GO_BIN) get -u github.com/raviqqe/liche@f57a5d1c5be4856454cb26de155a65a4fd856ee3
+ # TODO: replace kava in following line with project name
liche -r . --exclude "^http://127.*|^https://riot.im/app*|^http://kava-testnet*|^https://testnet-dex*|^https://kava3.data.kava.io*|^https://ipfs.io*|^https://apps.apple.com*|^https://kava.quicksync.io*"
@@ -241,26 +242,26 @@ 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/0gchain
.PHONY: format
###############################################################################
### Localnet ###
###############################################################################
-# Build docker image and tag as kava/kava:local
+# Build docker image and tag as 0glabs/0gchain:local
docker-build:
- DOCKER_BUILDKIT=1 $(DOCKER) build -t kava/kava:local .
+ DOCKER_BUILDKIT=1 $(DOCKER) build -t 0glabs/0gchain:local .
docker-build-rocksdb:
- DOCKER_BUILDKIT=1 $(DOCKER) build -f Dockerfile-rocksdb -t kava/kava:local .
+ DOCKER_BUILDKIT=1 $(DOCKER) build -f Dockerfile-rocksdb -t 0glabs/0gchain:local .
-build-docker-local-kava:
+build-docker-local-0gchain:
@$(MAKE) -C networks/local
# Run a 4-node testnet locally
localnet-start: build-linux localnet-stop
- @if ! [ -f build/node0/kvd/config/genesis.json ]; then docker run --rm -v $(CURDIR)/build:/kvd:Z kava/kavanode testnet --v 4 -o . --starting-ip-address 192.168.10.2 --keyring-backend=test ; fi
+ @if ! [ -f build/node0/kvd/config/genesis.json ]; then docker run --rm -v $(CURDIR)/build:/kvd:Z 0glabs/0gchain-node testnet --v 4 -o . --starting-ip-address 192.168.10.2 --keyring-backend=test ; fi
docker-compose up -d
localnet-stop:
@@ -269,7 +270,7 @@ localnet-stop:
# Launch a new single validator chain
start:
./contrib/devnet/init-new-chain.sh
- kava start
+ 0gchain start
#proto-format:
#@echo "Formatting Protobuf files"
@@ -310,7 +311,7 @@ test:
@$(GO_BIN) test $$($(GO_BIN) list ./... | grep -v 'contrib' | grep -v 'tests/e2e')
test-rocksdb:
- @go test -tags=rocksdb ./cmd/kava/opendb
+ @go test -tags=rocksdb ./cmd/0gchain/opendb
# Run cli integration tests
# `-p 4` to use 4 cores, `-tags cli_test` to tell $(GO_BIN) not to ignore the cli package
@@ -326,15 +327,15 @@ test-migrate:
# This submits an AWS Batch job to run a lot of sims, each within a docker image. Results are uploaded to S3
start-remote-sims:
# build the image used for running sims in, and tag it
- docker build -f simulations/Dockerfile -t kava/kava-sim:master .
+ docker build -f simulations/Dockerfile -t 0glabs/0gchain-sim:master .
# push that image to the hub
- docker push kava/kava-sim:master
+ docker push 0glabs/0gchain-sim:master
# submit an array job on AWS Batch, using 1000 seeds, spot instances
aws batch submit-job \
-—job-name "master-$(VERSION)" \
-—job-queue “simulation-1-queue-spot" \
-—array-properties size=1000 \
- -—job-definition kava-sim-master \
+ -—job-definition 0gchain-sim-master \
-—container-override environment=[{SIM_NAME=master-$(VERSION)}]
update-kvtool:
diff --git a/README.md b/README.md
index 42b8a251..4430f975 100644
--- a/README.md
+++ b/README.md
@@ -4,11 +4,11 @@
-[](https://github.com/kava-labs/kava/releases/latest)
+[](https://github.com/0glabs/0g-chain/releases/latest)
[](https://circleci.com/gh/Kava-Labs/kava/tree/master)
-[](https://goreportcard.com/report/github.com/kava-labs/kava)
-[](https://godoc.org/github.com/Kava-Labs/kava)
-[](https://github.com/Kava-Labs/kava/blob/master/LICENSE.md)
+[](https://goreportcard.com/report/github.com/0glabs/0g-chain)
+[](https://godoc.org/github.com/0glabs/0g-chain)
+[](https://github.com/0glabs/0g-chain/blob/master/LICENSE.md)
[](https://twitter.com/KAVA_CHAIN)
[](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
diff --git a/app/_sim_test.go b/app/_sim_test.go
index 0b75637f..d2b0a473 100644
--- a/app/_sim_test.go
+++ b/app/_sim_test.go
@@ -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 {
diff --git a/app/_simulate_tx_test.go b/app/_simulate_tx_test.go
index a6136020..53bb31bf 100644
--- a/app/_simulate_tx_test.go
+++ b/app/_simulate_tx_test.go
@@ -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"
diff --git a/app/ante/ante_test.go b/app/ante/ante_test.go
index fd4af13f..64bbd1a9 100644
--- a/app/ante/ante_test.go
+++ b/app/ante/ante_test.go
@@ -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) {
diff --git a/app/ante/authorized_test.go b/app/ante/authorized_test.go
index 2cca0a75..d6dcf220 100644
--- a/app/ante/authorized_test.go
+++ b/app/ante/authorized_test.go
@@ -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
diff --git a/app/ante/authz_test.go b/app/ante/authz_test.go
index 452da4d2..ea98ecfb 100644
--- a/app/ante/authz_test.go
+++ b/app/ante/authz_test.go
@@ -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 {
diff --git a/app/ante/eip712_test.go b/app/ante/eip712_test.go
index 91504d69..5c593ebe 100644
--- a/app/ante/eip712_test.go
+++ b/app/ante/eip712_test.go
@@ -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 (
diff --git a/app/ante/min_gas_filter_test.go b/app/ante/min_gas_filter_test.go
index b8f00df3..037034af 100644
--- a/app/ante/min_gas_filter_test.go
+++ b/app/ante/min_gas_filter_test.go
@@ -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 {
diff --git a/app/ante/vesting_test.go b/app/ante/vesting_test.go
index f0216655..8dfdae08 100644
--- a/app/ante/vesting_test.go
+++ b/app/ante/vesting_test.go
@@ -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) {
diff --git a/app/app.go b/app/app.go
index 563ac76b..d7b00cee 100644
--- a/app/app.go
+++ b/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 (
diff --git a/app/encoding.go b/app/encoding.go
index 17445f10..ac95666f 100644
--- a/app/encoding.go
+++ b/app/encoding.go
@@ -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.
diff --git a/app/tally_handler.go b/app/tally_handler.go
index 5a341c7e..f8c2e599 100644
--- a/app/tally_handler.go
+++ b/app/tally_handler.go
@@ -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{}
diff --git a/app/tally_handler_test.go b/app/tally_handler_test.go
index 42344562..2dae1da8 100644
--- a/app/tally_handler_test.go
+++ b/app/tally_handler_test.go
@@ -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
diff --git a/app/test_common.go b/app/test_common.go
index 725a245c..ebf23b10 100644
--- a/app/test_common.go
+++ b/app/test_common.go
@@ -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 (
diff --git a/build/proto.mk b/build/proto.mk
index 8a9a924c..c8cde8ff 100644
--- a/build/proto.mk
+++ b/build/proto.mk
@@ -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
diff --git a/cli_test/test_helpers.go b/cli_test/test_helpers.go
index 161217f6..b1ae5a30 100644
--- a/cli_test/test_helpers.go
+++ b/cli_test/test_helpers.go
@@ -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 (
diff --git a/client/docs/config.json b/client/docs/config.json
index 0cabffdc..0fd99b33 100644
--- a/client/docs/config.json
+++ b/client/docs/config.json
@@ -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"],
diff --git a/client/docs/swagger-ui/swagger.yaml b/client/docs/swagger-ui/swagger.yaml
index 2bf77515..173ec859 100644
--- a/client/docs/swagger-ui/swagger.yaml
+++ b/client/docs/swagger-ui/swagger.yaml
@@ -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
diff --git a/client/grpc/README.md b/client/grpc/README.md
index e9c1bdd1..c571a7f2 100644
--- a/client/grpc/README.md
+++ b/client/grpc/README.md
@@ -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(
diff --git a/client/grpc/client.go b/client/grpc/client.go
index 5cb309f1..e0d0b7f0 100644
--- a/client/grpc/client.go
+++ b/client/grpc/client.go
@@ -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
diff --git a/client/grpc/client_test.go b/client/grpc/client_test.go
index 82b8ae5d..116558d2 100644
--- a/client/grpc/client_test.go
+++ b/client/grpc/client_test.go
@@ -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"
)
diff --git a/client/grpc/query/query.go b/client/grpc/query/query.go
index 8466c5d6..04515597 100644
--- a/client/grpc/query/query.go
+++ b/client/grpc/query/query.go
@@ -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
diff --git a/client/grpc/query/query_test.go b/client/grpc/query/query_test.go
index 86ed9dbc..47113a0c 100644
--- a/client/grpc/query/query_test.go
+++ b/client/grpc/query/query_test.go
@@ -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"
)
diff --git a/client/grpc/util/util.go b/client/grpc/util/util.go
index 0c9c5744..1fed3f75 100644
--- a/client/grpc/util/util.go
+++ b/client/grpc/util/util.go
@@ -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
diff --git a/client/rest/rest_test.go b/client/rest/rest_test.go
index 6de35a45..2e5efde2 100644
--- a/client/rest/rest_test.go
+++ b/client/rest/rest_test.go
@@ -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) {
diff --git a/cmd/kava/cmd/app.go b/cmd/0gchain/cmd/app.go
similarity index 97%
rename from cmd/kava/cmd/app.go
rename to cmd/0gchain/cmd/app.go
index b4bf2c80..1ed481bc 100644
--- a/cmd/kava/cmd/app.go
+++ b/cmd/0gchain/cmd/app.go
@@ -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 (
diff --git a/cmd/kava/cmd/assert-invariants.go b/cmd/0gchain/cmd/assert-invariants.go
similarity index 96%
rename from cmd/kava/cmd/assert-invariants.go
rename to cmd/0gchain/cmd/assert-invariants.go
index de4ef717..fbdeb825 100644
--- a/cmd/kava/cmd/assert-invariants.go
+++ b/cmd/0gchain/cmd/assert-invariants.go
@@ -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 {
diff --git a/cmd/kava/cmd/genaccounts.go b/cmd/0gchain/cmd/genaccounts.go
similarity index 100%
rename from cmd/kava/cmd/genaccounts.go
rename to cmd/0gchain/cmd/genaccounts.go
diff --git a/cmd/kava/cmd/keys.go b/cmd/0gchain/cmd/keys.go
similarity index 100%
rename from cmd/kava/cmd/keys.go
rename to cmd/0gchain/cmd/keys.go
diff --git a/cmd/kava/cmd/query.go b/cmd/0gchain/cmd/query.go
similarity index 96%
rename from cmd/kava/cmd/query.go
rename to cmd/0gchain/cmd/query.go
index 8bf5cec9..a83e751d 100644
--- a/cmd/kava/cmd/query.go
+++ b/cmd/0gchain/cmd/query.go
@@ -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.
diff --git a/cmd/kava/cmd/rocksdb/compact.go b/cmd/0gchain/cmd/rocksdb/compact.go
similarity index 99%
rename from cmd/kava/cmd/rocksdb/compact.go
rename to cmd/0gchain/cmd/rocksdb/compact.go
index 4adcbfe8..035f675b 100644
--- a/cmd/kava/cmd/rocksdb/compact.go
+++ b/cmd/0gchain/cmd/rocksdb/compact.go
@@ -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"
diff --git a/cmd/kava/cmd/rocksdb/rocksdb.go b/cmd/0gchain/cmd/rocksdb/rocksdb.go
similarity index 100%
rename from cmd/kava/cmd/rocksdb/rocksdb.go
rename to cmd/0gchain/cmd/rocksdb/rocksdb.go
diff --git a/cmd/kava/cmd/rocksdb/rocksdb_dummy.go b/cmd/0gchain/cmd/rocksdb/rocksdb_dummy.go
similarity index 100%
rename from cmd/kava/cmd/rocksdb/rocksdb_dummy.go
rename to cmd/0gchain/cmd/rocksdb/rocksdb_dummy.go
diff --git a/cmd/kava/cmd/root.go b/cmd/0gchain/cmd/root.go
similarity index 89%
rename from cmd/kava/cmd/root.go
rename to cmd/0gchain/cmd/root.go
index 6b9242e7..6b6099f3 100644
--- a/cmd/kava/cmd/root.go
+++ b/cmd/0gchain/cmd/root.go
@@ -23,16 +23,16 @@ 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/0gchain/cmd/rocksdb"
+ "github.com/0glabs/0g-chain/cmd/0gchain/opendb"
)
// EnvPrefix is the prefix environment variables must have to configure the app.
-const EnvPrefix = "KAVA"
+const EnvPrefix = "0GCHAIN"
-// NewRootCmd creates a new root command for the kava blockchain.
+// NewRootCmd creates a new root command for the 0gchain blockchain.
func NewRootCmd() *cobra.Command {
app.SetSDKConfig().Seal()
@@ -51,8 +51,8 @@ func NewRootCmd() *cobra.Command {
WithViper(EnvPrefix)
rootCmd := &cobra.Command{
- Use: "kava",
- Short: "Daemon and CLI for the Kava blockchain.",
+ Use: "0g-chain",
+ Short: "Daemon and CLI for the 0g-chain blockchain.",
PersistentPreRunE: func(cmd *cobra.Command, _ []string) error {
cmd.SetOut(cmd.OutOrStdout())
cmd.SetErr(cmd.ErrOrStderr())
@@ -71,7 +71,7 @@ func NewRootCmd() *cobra.Command {
return err
}
- customAppTemplate, customAppConfig := servercfg.AppConfig("ukava")
+ customAppTemplate, customAppConfig := servercfg.AppConfig("ukava") // TODO: merge evmos
return server.InterceptConfigsPreRunHandler(
cmd,
@@ -87,7 +87,7 @@ func NewRootCmd() *cobra.Command {
return rootCmd
}
-// addSubCmds registers all the sub commands used by kava.
+// addSubCmds registers all the sub commands used by 0gchain.
func addSubCmds(rootCmd *cobra.Command, encodingConfig params.EncodingConfig, defaultNodeHome string) {
gentxModule, ok := app.ModuleBasics[genutiltypes.ModuleName].(genutil.AppModuleBasic)
if !ok {
diff --git a/cmd/kava/cmd/shard.go b/cmd/0gchain/cmd/shard.go
similarity index 99%
rename from cmd/kava/cmd/shard.go
rename to cmd/0gchain/cmd/shard.go
index 7a44589b..1f5737e5 100644
--- a/cmd/kava/cmd/shard.go
+++ b/cmd/0gchain/cmd/shard.go
@@ -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"
diff --git a/cmd/kava/cmd/status.go b/cmd/0gchain/cmd/status.go
similarity index 100%
rename from cmd/kava/cmd/status.go
rename to cmd/0gchain/cmd/status.go
diff --git a/cmd/kava/cmd/tx.go b/cmd/0gchain/cmd/tx.go
similarity index 96%
rename from cmd/kava/cmd/tx.go
rename to cmd/0gchain/cmd/tx.go
index 25d1c5ac..2d6b4875 100644
--- a/cmd/kava/cmd/tx.go
+++ b/cmd/0gchain/cmd/tx.go
@@ -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.
diff --git a/cmd/kava/main.go b/cmd/0gchain/main.go
similarity index 81%
rename from cmd/kava/main.go
rename to cmd/0gchain/main.go
index 155b5a42..3f057aa3 100644
--- a/cmd/kava/main.go
+++ b/cmd/0gchain/main.go
@@ -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/0gchain/cmd"
)
func main() {
diff --git a/cmd/kava/opendb/metrics.go b/cmd/0gchain/opendb/metrics.go
similarity index 100%
rename from cmd/kava/opendb/metrics.go
rename to cmd/0gchain/opendb/metrics.go
diff --git a/cmd/kava/opendb/opendb.go b/cmd/0gchain/opendb/opendb.go
similarity index 100%
rename from cmd/kava/opendb/opendb.go
rename to cmd/0gchain/opendb/opendb.go
diff --git a/cmd/kava/opendb/opendb_rocksdb.go b/cmd/0gchain/opendb/opendb_rocksdb.go
similarity index 100%
rename from cmd/kava/opendb/opendb_rocksdb.go
rename to cmd/0gchain/opendb/opendb_rocksdb.go
diff --git a/cmd/kava/opendb/opendb_rocksdb_test.go b/cmd/0gchain/opendb/opendb_rocksdb_test.go
similarity index 100%
rename from cmd/kava/opendb/opendb_rocksdb_test.go
rename to cmd/0gchain/opendb/opendb_rocksdb_test.go
diff --git a/cmd/kava/opendb/props_loader.go b/cmd/0gchain/opendb/props_loader.go
similarity index 100%
rename from cmd/kava/opendb/props_loader.go
rename to cmd/0gchain/opendb/props_loader.go
diff --git a/cmd/kava/opendb/props_loader_test.go b/cmd/0gchain/opendb/props_loader_test.go
similarity index 100%
rename from cmd/kava/opendb/props_loader_test.go
rename to cmd/0gchain/opendb/props_loader_test.go
diff --git a/cmd/kava/opendb/stat_parser.go b/cmd/0gchain/opendb/stat_parser.go
similarity index 100%
rename from cmd/kava/opendb/stat_parser.go
rename to cmd/0gchain/opendb/stat_parser.go
diff --git a/cmd/kava/opendb/stat_parser_test.go b/cmd/0gchain/opendb/stat_parser_test.go
similarity index 100%
rename from cmd/kava/opendb/stat_parser_test.go
rename to cmd/0gchain/opendb/stat_parser_test.go
diff --git a/cmd/kava/opendb/stats_loader.go b/cmd/0gchain/opendb/stats_loader.go
similarity index 100%
rename from cmd/kava/opendb/stats_loader.go
rename to cmd/0gchain/opendb/stats_loader.go
diff --git a/cmd/kava/opendb/stats_loader_test.go b/cmd/0gchain/opendb/stats_loader_test.go
similarity index 100%
rename from cmd/kava/opendb/stats_loader_test.go
rename to cmd/0gchain/opendb/stats_loader_test.go
diff --git a/docker-compose.yml b/docker-compose.yml
index 62ebd1ec..c4ca1707 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -1,9 +1,9 @@
version: '3'
services:
- kvdnode0:
- container_name: kvdnode0
- image: "kava/kavanode"
+ 0gchnode0:
+ container_name: 0gchnode0
+ image: "0glabs/0gchain-node"
ports:
- "26656-26657:26656-26657"
environment:
@@ -15,9 +15,9 @@ services:
localnet:
ipv4_address: 192.168.10.2
- kvdnode1:
- container_name: kvdnode1
- image: "kava/kavanode"
+ 0gchnode1:
+ container_name: 0gchnode1
+ image: "0glabs/0gchain-node"
ports:
- "26659-26660:26656-26657"
environment:
@@ -29,9 +29,9 @@ services:
localnet:
ipv4_address: 192.168.10.3
- kvdnode2:
- container_name: kvdnode2
- image: "kava/kavanode"
+ 0gchnode2:
+ container_name: 0gchnode2
+ image: "0glabs/0gchain-node"
environment:
- ID=2
- LOG=${LOG:-kvd.log}
@@ -43,9 +43,9 @@ services:
localnet:
ipv4_address: 192.168.10.4
- kvdnode3:
- container_name: kvdnode3
- image: "kava/kavanode"
+ 0gchnode3:
+ container_name: 0gchnode3
+ image: "0glabs/0gchain-node"
environment:
- ID=3
- LOG=${LOG:-kvd.log}
diff --git a/go.mod b/go.mod
index 4e300659..aa22ed76 100644
--- a/go.mod
+++ b/go.mod
@@ -1,4 +1,4 @@
-module github.com/kava-labs/kava
+module github.com/0glabs/0g-chain
go 1.21
diff --git a/networks/local/Makefile b/networks/local/Makefile
index 7ab650be..268b25ba 100644
--- a/networks/local/Makefile
+++ b/networks/local/Makefile
@@ -1,4 +1,4 @@
all:
- docker build --tag kava/kavanode kavanode
+ docker build --tag 0glabs/0gchain-node 0gchain-node
.PHONY: all
diff --git a/proto/kava/auction/v1beta1/auction.proto b/proto/kava/auction/v1beta1/auction.proto
index a5e8c7d8..f9772062 100644
--- a/proto/kava/auction/v1beta1/auction.proto
+++ b/proto/kava/auction/v1beta1/auction.proto
@@ -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
diff --git a/proto/kava/auction/v1beta1/genesis.proto b/proto/kava/auction/v1beta1/genesis.proto
index ca6ca799..9b4be0a1 100644
--- a/proto/kava/auction/v1beta1/genesis.proto
+++ b/proto/kava/auction/v1beta1/genesis.proto
@@ -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.
diff --git a/proto/kava/auction/v1beta1/query.proto b/proto/kava/auction/v1beta1/query.proto
index 5c93ffa0..40cb9208 100644
--- a/proto/kava/auction/v1beta1/query.proto
+++ b/proto/kava/auction/v1beta1/query.proto
@@ -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 {
diff --git a/proto/kava/auction/v1beta1/tx.proto b/proto/kava/auction/v1beta1/tx.proto
index f6675392..37719b75 100644
--- a/proto/kava/auction/v1beta1/tx.proto
+++ b/proto/kava/auction/v1beta1/tx.proto
@@ -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 {
diff --git a/proto/kava/bep3/v1beta1/bep3.proto b/proto/kava/bep3/v1beta1/bep3.proto
index 9b6825c0..0a4b9266 100644
--- a/proto/kava/bep3/v1beta1/bep3.proto
+++ b/proto/kava/bep3/v1beta1/bep3.proto
@@ -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 {
diff --git a/proto/kava/bep3/v1beta1/genesis.proto b/proto/kava/bep3/v1beta1/genesis.proto
index 1e353ea6..157dd677 100644
--- a/proto/kava/bep3/v1beta1/genesis.proto
+++ b/proto/kava/bep3/v1beta1/genesis.proto
@@ -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 {
diff --git a/proto/kava/bep3/v1beta1/query.proto b/proto/kava/bep3/v1beta1/query.proto
index dc851580..80e6938f 100644
--- a/proto/kava/bep3/v1beta1/query.proto
+++ b/proto/kava/bep3/v1beta1/query.proto
@@ -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 {
diff --git a/proto/kava/bep3/v1beta1/tx.proto b/proto/kava/bep3/v1beta1/tx.proto
index 1ff090b9..8bae013b 100644
--- a/proto/kava/bep3/v1beta1/tx.proto
+++ b/proto/kava/bep3/v1beta1/tx.proto
@@ -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 {
diff --git a/proto/kava/cdp/v1beta1/cdp.proto b/proto/kava/cdp/v1beta1/cdp.proto
index 1ee21001..d75688b5 100644
--- a/proto/kava/cdp/v1beta1/cdp.proto
+++ b/proto/kava/cdp/v1beta1/cdp.proto
@@ -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.
diff --git a/proto/kava/cdp/v1beta1/genesis.proto b/proto/kava/cdp/v1beta1/genesis.proto
index a993bbae..f93c5af9 100644
--- a/proto/kava/cdp/v1beta1/genesis.proto
+++ b/proto/kava/cdp/v1beta1/genesis.proto
@@ -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 {
diff --git a/proto/kava/cdp/v1beta1/query.proto b/proto/kava/cdp/v1beta1/query.proto
index ec27b840..e950d998 100644
--- a/proto/kava/cdp/v1beta1/query.proto
+++ b/proto/kava/cdp/v1beta1/query.proto
@@ -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 {
diff --git a/proto/kava/cdp/v1beta1/tx.proto b/proto/kava/cdp/v1beta1/tx.proto
index 29c00688..8e1a5628 100644
--- a/proto/kava/cdp/v1beta1/tx.proto
+++ b/proto/kava/cdp/v1beta1/tx.proto
@@ -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 {
diff --git a/proto/kava/committee/v1beta1/committee.proto b/proto/kava/committee/v1beta1/committee.proto
index b0ab001b..49d9f036 100644
--- a/proto/kava/committee/v1beta1/committee.proto
+++ b/proto/kava/committee/v1beta1/committee.proto
@@ -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
diff --git a/proto/kava/committee/v1beta1/genesis.proto b/proto/kava/committee/v1beta1/genesis.proto
index 4c973352..ac5841c4 100644
--- a/proto/kava/committee/v1beta1/genesis.proto
+++ b/proto/kava/committee/v1beta1/genesis.proto
@@ -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 {
diff --git a/proto/kava/committee/v1beta1/permissions.proto b/proto/kava/committee/v1beta1/permissions.proto
index 997f21af..418ebbd9 100644
--- a/proto/kava/committee/v1beta1/permissions.proto
+++ b/proto/kava/committee/v1beta1/permissions.proto
@@ -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 {
diff --git a/proto/kava/committee/v1beta1/proposal.proto b/proto/kava/committee/v1beta1/proposal.proto
index 22b61dce..6dded065 100644
--- a/proto/kava/committee/v1beta1/proposal.proto
+++ b/proto/kava/committee/v1beta1/proposal.proto
@@ -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.
diff --git a/proto/kava/committee/v1beta1/query.proto b/proto/kava/committee/v1beta1/query.proto
index d99ff7ef..a5d6925d 100644
--- a/proto/kava/committee/v1beta1/query.proto
+++ b/proto/kava/committee/v1beta1/query.proto
@@ -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
diff --git a/proto/kava/committee/v1beta1/tx.proto b/proto/kava/committee/v1beta1/tx.proto
index c3a32021..32210804 100644
--- a/proto/kava/committee/v1beta1/tx.proto
+++ b/proto/kava/committee/v1beta1/tx.proto
@@ -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
diff --git a/proto/kava/community/v1beta1/genesis.proto b/proto/kava/community/v1beta1/genesis.proto
index f7f6549d..c772446f 100644
--- a/proto/kava/community/v1beta1/genesis.proto
+++ b/proto/kava/community/v1beta1/genesis.proto
@@ -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 {
diff --git a/proto/kava/community/v1beta1/params.proto b/proto/kava/community/v1beta1/params.proto
index 53c3c118..a594c773 100644
--- a/proto/kava/community/v1beta1/params.proto
+++ b/proto/kava/community/v1beta1/params.proto
@@ -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 {
diff --git a/proto/kava/community/v1beta1/proposal.proto b/proto/kava/community/v1beta1/proposal.proto
index 0f6cb637..cb6cd342 100644
--- a/proto/kava/community/v1beta1/proposal.proto
+++ b/proto/kava/community/v1beta1/proposal.proto
@@ -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 {
diff --git a/proto/kava/community/v1beta1/query.proto b/proto/kava/community/v1beta1/query.proto
index b21bb059..c3f920ef 100644
--- a/proto/kava/community/v1beta1/query.proto
+++ b/proto/kava/community/v1beta1/query.proto
@@ -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 {
diff --git a/proto/kava/community/v1beta1/staking.proto b/proto/kava/community/v1beta1/staking.proto
index e49fe58f..67a9b0fa 100644
--- a/proto/kava/community/v1beta1/staking.proto
+++ b/proto/kava/community/v1beta1/staking.proto
@@ -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 {
diff --git a/proto/kava/community/v1beta1/tx.proto b/proto/kava/community/v1beta1/tx.proto
index 6a7f523b..486f66a0 100644
--- a/proto/kava/community/v1beta1/tx.proto
+++ b/proto/kava/community/v1beta1/tx.proto
@@ -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.
diff --git a/proto/kava/earn/v1beta1/genesis.proto b/proto/kava/earn/v1beta1/genesis.proto
index 38b73bb4..177fe7ef 100644
--- a/proto/kava/earn/v1beta1/genesis.proto
+++ b/proto/kava/earn/v1beta1/genesis.proto
@@ -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 {
diff --git a/proto/kava/earn/v1beta1/params.proto b/proto/kava/earn/v1beta1/params.proto
index ba430839..02da3020 100644
--- a/proto/kava/earn/v1beta1/params.proto
+++ b/proto/kava/earn/v1beta1/params.proto
@@ -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 {
diff --git a/proto/kava/earn/v1beta1/proposal.proto b/proto/kava/earn/v1beta1/proposal.proto
index 18b6af17..d4bc05cd 100644
--- a/proto/kava/earn/v1beta1/proposal.proto
+++ b/proto/kava/earn/v1beta1/proposal.proto
@@ -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 {
diff --git a/proto/kava/earn/v1beta1/query.proto b/proto/kava/earn/v1beta1/query.proto
index 8d788d85..a49302a0 100644
--- a/proto/kava/earn/v1beta1/query.proto
+++ b/proto/kava/earn/v1beta1/query.proto
@@ -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
diff --git a/proto/kava/earn/v1beta1/strategy.proto b/proto/kava/earn/v1beta1/strategy.proto
index cd866339..e41d3650 100644
--- a/proto/kava/earn/v1beta1/strategy.proto
+++ b/proto/kava/earn/v1beta1/strategy.proto
@@ -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 {
diff --git a/proto/kava/earn/v1beta1/tx.proto b/proto/kava/earn/v1beta1/tx.proto
index 4301a097..1e8539e0 100644
--- a/proto/kava/earn/v1beta1/tx.proto
+++ b/proto/kava/earn/v1beta1/tx.proto
@@ -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 {
diff --git a/proto/kava/earn/v1beta1/vault.proto b/proto/kava/earn/v1beta1/vault.proto
index 8b3052d8..6660c112 100644
--- a/proto/kava/earn/v1beta1/vault.proto
+++ b/proto/kava/earn/v1beta1/vault.proto
@@ -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.
diff --git a/proto/kava/evmutil/v1beta1/conversion_pair.proto b/proto/kava/evmutil/v1beta1/conversion_pair.proto
index 678690fd..44af388f 100644
--- a/proto/kava/evmutil/v1beta1/conversion_pair.proto
+++ b/proto/kava/evmutil/v1beta1/conversion_pair.proto
@@ -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;
diff --git a/proto/kava/evmutil/v1beta1/genesis.proto b/proto/kava/evmutil/v1beta1/genesis.proto
index fa0f6722..63038f71 100644
--- a/proto/kava/evmutil/v1beta1/genesis.proto
+++ b/proto/kava/evmutil/v1beta1/genesis.proto
@@ -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;
diff --git a/proto/kava/evmutil/v1beta1/query.proto b/proto/kava/evmutil/v1beta1/query.proto
index 960bac48..c3a3ff48 100644
--- a/proto/kava/evmutil/v1beta1/query.proto
+++ b/proto/kava/evmutil/v1beta1/query.proto
@@ -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 {
diff --git a/proto/kava/evmutil/v1beta1/tx.proto b/proto/kava/evmutil/v1beta1/tx.proto
index 93c43f15..780f8eb5 100644
--- a/proto/kava/evmutil/v1beta1/tx.proto
+++ b/proto/kava/evmutil/v1beta1/tx.proto
@@ -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;
diff --git a/proto/kava/hard/v1beta1/genesis.proto b/proto/kava/hard/v1beta1/genesis.proto
index c2520a42..b19bfb70 100644
--- a/proto/kava/hard/v1beta1/genesis.proto
+++ b/proto/kava/hard/v1beta1/genesis.proto
@@ -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 {
diff --git a/proto/kava/hard/v1beta1/hard.proto b/proto/kava/hard/v1beta1/hard.proto
index fafcbde7..6bcd7ada 100644
--- a/proto/kava/hard/v1beta1/hard.proto
+++ b/proto/kava/hard/v1beta1/hard.proto
@@ -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.
diff --git a/proto/kava/hard/v1beta1/query.proto b/proto/kava/hard/v1beta1/query.proto
index 92ef7248..f4ed0ff6 100644
--- a/proto/kava/hard/v1beta1/query.proto
+++ b/proto/kava/hard/v1beta1/query.proto
@@ -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 {
diff --git a/proto/kava/hard/v1beta1/tx.proto b/proto/kava/hard/v1beta1/tx.proto
index 16c40709..c3b032d7 100644
--- a/proto/kava/hard/v1beta1/tx.proto
+++ b/proto/kava/hard/v1beta1/tx.proto
@@ -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 {
diff --git a/proto/kava/incentive/v1beta1/apy.proto b/proto/kava/incentive/v1beta1/apy.proto
index 5b6abf93..e3d8018c 100644
--- a/proto/kava/incentive/v1beta1/apy.proto
+++ b/proto/kava/incentive/v1beta1/apy.proto
@@ -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.
diff --git a/proto/kava/incentive/v1beta1/claims.proto b/proto/kava/incentive/v1beta1/claims.proto
index f9e54906..fa51db6f 100644
--- a/proto/kava/incentive/v1beta1/claims.proto
+++ b/proto/kava/incentive/v1beta1/claims.proto
@@ -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 --------------
diff --git a/proto/kava/incentive/v1beta1/genesis.proto b/proto/kava/incentive/v1beta1/genesis.proto
index 97348b4c..34b05810 100644
--- a/proto/kava/incentive/v1beta1/genesis.proto
+++ b/proto/kava/incentive/v1beta1/genesis.proto
@@ -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
diff --git a/proto/kava/incentive/v1beta1/params.proto b/proto/kava/incentive/v1beta1/params.proto
index 7571f9a3..078d4013 100644
--- a/proto/kava/incentive/v1beta1/params.proto
+++ b/proto/kava/incentive/v1beta1/params.proto
@@ -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
diff --git a/proto/kava/incentive/v1beta1/query.proto b/proto/kava/incentive/v1beta1/query.proto
index f814d66c..c76c0791 100644
--- a/proto/kava/incentive/v1beta1/query.proto
+++ b/proto/kava/incentive/v1beta1/query.proto
@@ -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 {
diff --git a/proto/kava/incentive/v1beta1/tx.proto b/proto/kava/incentive/v1beta1/tx.proto
index 0f03da4e..6abfb359 100644
--- a/proto/kava/incentive/v1beta1/tx.proto
+++ b/proto/kava/incentive/v1beta1/tx.proto
@@ -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 {
diff --git a/proto/kava/issuance/v1beta1/genesis.proto b/proto/kava/issuance/v1beta1/genesis.proto
index 4f791de2..34b76fb6 100644
--- a/proto/kava/issuance/v1beta1/genesis.proto
+++ b/proto/kava/issuance/v1beta1/genesis.proto
@@ -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 {
diff --git a/proto/kava/issuance/v1beta1/query.proto b/proto/kava/issuance/v1beta1/query.proto
index 91bb912d..a97d1d2e 100644
--- a/proto/kava/issuance/v1beta1/query.proto
+++ b/proto/kava/issuance/v1beta1/query.proto
@@ -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 {
diff --git a/proto/kava/issuance/v1beta1/tx.proto b/proto/kava/issuance/v1beta1/tx.proto
index 3f3833a9..2ca63873 100644
--- a/proto/kava/issuance/v1beta1/tx.proto
+++ b/proto/kava/issuance/v1beta1/tx.proto
@@ -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 {
diff --git a/proto/kava/kavadist/v1beta1/genesis.proto b/proto/kava/kavadist/v1beta1/genesis.proto
index eee5de66..82c440c4 100644
--- a/proto/kava/kavadist/v1beta1/genesis.proto
+++ b/proto/kava/kavadist/v1beta1/genesis.proto
@@ -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 {
diff --git a/proto/kava/kavadist/v1beta1/params.proto b/proto/kava/kavadist/v1beta1/params.proto
index 5c90b718..b31abe43 100644
--- a/proto/kava/kavadist/v1beta1/params.proto
+++ b/proto/kava/kavadist/v1beta1/params.proto
@@ -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;
diff --git a/proto/kava/kavadist/v1beta1/proposal.proto b/proto/kava/kavadist/v1beta1/proposal.proto
index 2ec8fbe7..1b77e7c2 100644
--- a/proto/kava/kavadist/v1beta1/proposal.proto
+++ b/proto/kava/kavadist/v1beta1/proposal.proto
@@ -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
diff --git a/proto/kava/kavadist/v1beta1/query.proto b/proto/kava/kavadist/v1beta1/query.proto
index 65838587..a77071d1 100644
--- a/proto/kava/kavadist/v1beta1/query.proto
+++ b/proto/kava/kavadist/v1beta1/query.proto
@@ -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 {
diff --git a/proto/kava/liquid/v1beta1/query.proto b/proto/kava/liquid/v1beta1/query.proto
index e528dd35..d2560290 100644
--- a/proto/kava/liquid/v1beta1/query.proto
+++ b/proto/kava/liquid/v1beta1/query.proto
@@ -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
diff --git a/proto/kava/liquid/v1beta1/tx.proto b/proto/kava/liquid/v1beta1/tx.proto
index 077e2b0b..abbac641 100644
--- a/proto/kava/liquid/v1beta1/tx.proto
+++ b/proto/kava/liquid/v1beta1/tx.proto
@@ -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 {
diff --git a/proto/kava/pricefeed/v1beta1/genesis.proto b/proto/kava/pricefeed/v1beta1/genesis.proto
index 84e263e8..721c4451 100644
--- a/proto/kava/pricefeed/v1beta1/genesis.proto
+++ b/proto/kava/pricefeed/v1beta1/genesis.proto
@@ -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;
diff --git a/proto/kava/pricefeed/v1beta1/query.proto b/proto/kava/pricefeed/v1beta1/query.proto
index eecc9bc8..80a559b1 100644
--- a/proto/kava/pricefeed/v1beta1/query.proto
+++ b/proto/kava/pricefeed/v1beta1/query.proto
@@ -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;
diff --git a/proto/kava/pricefeed/v1beta1/store.proto b/proto/kava/pricefeed/v1beta1/store.proto
index ebe04337..76ed63c7 100644
--- a/proto/kava/pricefeed/v1beta1/store.proto
+++ b/proto/kava/pricefeed/v1beta1/store.proto
@@ -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;
diff --git a/proto/kava/pricefeed/v1beta1/tx.proto b/proto/kava/pricefeed/v1beta1/tx.proto
index 66da318a..ccbcfb72 100644
--- a/proto/kava/pricefeed/v1beta1/tx.proto
+++ b/proto/kava/pricefeed/v1beta1/tx.proto
@@ -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;
diff --git a/proto/kava/router/v1beta1/tx.proto b/proto/kava/router/v1beta1/tx.proto
index da387f7d..7ae32d93 100644
--- a/proto/kava/router/v1beta1/tx.proto
+++ b/proto/kava/router/v1beta1/tx.proto
@@ -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.
diff --git a/proto/kava/savings/v1beta1/genesis.proto b/proto/kava/savings/v1beta1/genesis.proto
index 26164add..0bf5a97c 100644
--- a/proto/kava/savings/v1beta1/genesis.proto
+++ b/proto/kava/savings/v1beta1/genesis.proto
@@ -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 {
diff --git a/proto/kava/savings/v1beta1/query.proto b/proto/kava/savings/v1beta1/query.proto
index fa3aff55..f1068f8d 100644
--- a/proto/kava/savings/v1beta1/query.proto
+++ b/proto/kava/savings/v1beta1/query.proto
@@ -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 {
diff --git a/proto/kava/savings/v1beta1/store.proto b/proto/kava/savings/v1beta1/store.proto
index 7beeee10..ddc0c372 100644
--- a/proto/kava/savings/v1beta1/store.proto
+++ b/proto/kava/savings/v1beta1/store.proto
@@ -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.
diff --git a/proto/kava/savings/v1beta1/tx.proto b/proto/kava/savings/v1beta1/tx.proto
index 35ab38dc..009895d4 100644
--- a/proto/kava/savings/v1beta1/tx.proto
+++ b/proto/kava/savings/v1beta1/tx.proto
@@ -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 {
diff --git a/proto/kava/swap/v1beta1/genesis.proto b/proto/kava/swap/v1beta1/genesis.proto
index dfdb5cb9..7b87c61d 100644
--- a/proto/kava/swap/v1beta1/genesis.proto
+++ b/proto/kava/swap/v1beta1/genesis.proto
@@ -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 {
diff --git a/proto/kava/swap/v1beta1/query.proto b/proto/kava/swap/v1beta1/query.proto
index 63a0f8fb..e021c683 100644
--- a/proto/kava/swap/v1beta1/query.proto
+++ b/proto/kava/swap/v1beta1/query.proto
@@ -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 {
diff --git a/proto/kava/swap/v1beta1/swap.proto b/proto/kava/swap/v1beta1/swap.proto
index 4e295d8e..edec360c 100644
--- a/proto/kava/swap/v1beta1/swap.proto
+++ b/proto/kava/swap/v1beta1/swap.proto
@@ -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 {
diff --git a/proto/kava/swap/v1beta1/tx.proto b/proto/kava/swap/v1beta1/tx.proto
index 7980b66c..d52ec9b7 100644
--- a/proto/kava/swap/v1beta1/tx.proto
+++ b/proto/kava/swap/v1beta1/tx.proto
@@ -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 {
diff --git a/proto/kava/validatorvesting/v1beta1/query.proto b/proto/kava/validatorvesting/v1beta1/query.proto
index 406c0713..2db2751e 100644
--- a/proto/kava/validatorvesting/v1beta1/query.proto
+++ b/proto/kava/validatorvesting/v1beta1/query.proto
@@ -5,7 +5,7 @@ import "cosmos_proto/cosmos.proto";
import "gogoproto/gogo.proto";
import "google/api/annotations.proto";
-option go_package = "github.com/kava-labs/kava/x/validator-vesting/types";
+option go_package = "github.com/0glabs/0g-chain/x/validator-vesting/types";
option (gogoproto.goproto_getters_all) = false;
// Query defines the gRPC querier service for validator-vesting module
diff --git a/tests/e2e/e2e_community_update_params_test.go b/tests/e2e/e2e_community_update_params_test.go
index 59fe0ccb..9fa1262d 100644
--- a/tests/e2e/e2e_community_update_params_test.go
+++ b/tests/e2e/e2e_community_update_params_test.go
@@ -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() {
diff --git a/tests/e2e/e2e_convert_cosmos_coins_test.go b/tests/e2e/e2e_convert_cosmos_coins_test.go
index aca92140..3f3aa7e5 100644
--- a/tests/e2e/e2e_convert_cosmos_coins_test.go
+++ b/tests/e2e/e2e_convert_cosmos_coins_test.go
@@ -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)
diff --git a/tests/e2e/e2e_evm_contracts_test.go b/tests/e2e/e2e_evm_contracts_test.go
index 404891a1..5e0163d5 100644
--- a/tests/e2e/e2e_evm_contracts_test.go
+++ b/tests/e2e/e2e_evm_contracts_test.go
@@ -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() {
diff --git a/tests/e2e/e2e_grpc_client_query_test.go b/tests/e2e/e2e_grpc_client_query_test.go
index b066c9fa..a565bc89 100644
--- a/tests/e2e/e2e_grpc_client_query_test.go
+++ b/tests/e2e/e2e_grpc_client_query_test.go
@@ -6,7 +6,7 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
banktypes "github.com/cosmos/cosmos-sdk/x/bank/types"
- evmutiltypes "github.com/kava-labs/kava/x/evmutil/types"
+ evmutiltypes "github.com/0glabs/0g-chain/x/evmutil/types"
)
func (suite *IntegrationTestSuite) TestGrpcClientQueryCosmosModule_Balance() {
diff --git a/tests/e2e/e2e_min_fees_test.go b/tests/e2e/e2e_min_fees_test.go
index 0ff51ce8..5d23797c 100644
--- a/tests/e2e/e2e_min_fees_test.go
+++ b/tests/e2e/e2e_min_fees_test.go
@@ -12,8 +12,8 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
ethtypes "github.com/ethereum/go-ethereum/core/types"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/tests/util"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/tests/util"
)
func (suite *IntegrationTestSuite) TestEthGasPriceReturnsMinFee() {
diff --git a/tests/e2e/e2e_test.go b/tests/e2e/e2e_test.go
index 63e63c46..f043335a 100644
--- a/tests/e2e/e2e_test.go
+++ b/tests/e2e/e2e_test.go
@@ -18,9 +18,9 @@ import (
ethtypes "github.com/ethereum/go-ethereum/core/types"
emtypes "github.com/evmos/ethermint/types"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/tests/e2e/testutil"
- "github.com/kava-labs/kava/tests/util"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/tests/e2e/testutil"
+ "github.com/0glabs/0g-chain/tests/util"
)
var (
diff --git a/tests/e2e/readme.md b/tests/e2e/readme.md
index 1c0c6774..ff43e0a2 100644
--- a/tests/e2e/readme.md
+++ b/tests/e2e/readme.md
@@ -98,5 +98,5 @@ height. The chain runs until that height and then is shutdown due to needing the
is restarted with the local repo's Kava code and the upgrade is run. Once completed, the whole test
suite is run.
-For a full example of how this looks, see [this commit](https://github.com/Kava-Labs/kava/commit/5da48c892f0a5837141fc7de88632c7c68fff4ae)
-on the [example/e2e-test-upgrade-handler](https://github.com/Kava-Labs/kava/tree/example/e2e-test-upgrade-handler) branch.
+For a full example of how this looks, see [this commit](https://github.com/0glabs/0g-chain/commit/5da48c892f0a5837141fc7de88632c7c68fff4ae)
+on the [example/e2e-test-upgrade-handler](https://github.com/0glabs/0g-chain/tree/example/e2e-test-upgrade-handler) branch.
diff --git a/tests/e2e/runner/live.go b/tests/e2e/runner/live.go
index ecefd731..e9a1da28 100644
--- a/tests/e2e/runner/live.go
+++ b/tests/e2e/runner/live.go
@@ -7,7 +7,7 @@ import (
"github.com/cosmos/cosmos-sdk/client/grpc/tmservice"
stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"
- "github.com/kava-labs/kava/client/grpc"
+ "github.com/0glabs/0g-chain/client/grpc"
)
// LiveNodeRunnerConfig implements NodeRunner.
diff --git a/tests/e2e/testutil/account.go b/tests/e2e/testutil/account.go
index 3db20ef5..ca67e2ad 100644
--- a/tests/e2e/testutil/account.go
+++ b/tests/e2e/testutil/account.go
@@ -28,8 +28,8 @@ import (
emtests "github.com/evmos/ethermint/tests"
emtypes "github.com/evmos/ethermint/types"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/tests/util"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/tests/util"
)
// SigningAccount wraps details about an account and its private keys.
diff --git a/tests/e2e/testutil/chain.go b/tests/e2e/testutil/chain.go
index c0586070..3e4a5153 100644
--- a/tests/e2e/testutil/chain.go
+++ b/tests/e2e/testutil/chain.go
@@ -21,11 +21,11 @@ import (
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/ethclient"
- "github.com/kava-labs/kava/app"
- kavaparams "github.com/kava-labs/kava/app/params"
- "github.com/kava-labs/kava/client/grpc"
- "github.com/kava-labs/kava/tests/e2e/runner"
- "github.com/kava-labs/kava/tests/util"
+ "github.com/0glabs/0g-chain/app"
+ kavaparams "github.com/0glabs/0g-chain/app/params"
+ "github.com/0glabs/0g-chain/client/grpc"
+ "github.com/0glabs/0g-chain/tests/e2e/runner"
+ "github.com/0glabs/0g-chain/tests/util"
)
// Chain wraps query clients & accounts for a network
diff --git a/tests/e2e/testutil/init_evm.go b/tests/e2e/testutil/init_evm.go
index 61baaebf..ed20e1a0 100644
--- a/tests/e2e/testutil/init_evm.go
+++ b/tests/e2e/testutil/init_evm.go
@@ -7,9 +7,9 @@ import (
"github.com/ethereum/go-ethereum/common"
- "github.com/kava-labs/kava/tests/e2e/contracts/greeter"
- "github.com/kava-labs/kava/x/cdp/types"
- evmutiltypes "github.com/kava-labs/kava/x/evmutil/types"
+ "github.com/0glabs/0g-chain/tests/e2e/contracts/greeter"
+ "github.com/0glabs/0g-chain/x/cdp/types"
+ evmutiltypes "github.com/0glabs/0g-chain/x/evmutil/types"
)
// InitKavaEvmData is run after the chain is running, but before the tests are run.
diff --git a/tests/e2e/testutil/suite.go b/tests/e2e/testutil/suite.go
index 5c0d93bb..02238590 100644
--- a/tests/e2e/testutil/suite.go
+++ b/tests/e2e/testutil/suite.go
@@ -10,9 +10,9 @@ import (
sdkmath "cosmossdk.io/math"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/tests/e2e/runner"
- "github.com/kava-labs/kava/tests/util"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/tests/e2e/runner"
+ "github.com/0glabs/0g-chain/tests/util"
)
const (
diff --git a/tests/util/addresses_test.go b/tests/util/addresses_test.go
index 85574d7e..3a89c4a5 100644
--- a/tests/util/addresses_test.go
+++ b/tests/util/addresses_test.go
@@ -8,8 +8,8 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/ethereum/go-ethereum/common"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/tests/util"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/tests/util"
)
func TestAddressConversion(t *testing.T) {
diff --git a/tests/util/sdksigner.go b/tests/util/sdksigner.go
index a37676ff..c5e97f36 100644
--- a/tests/util/sdksigner.go
+++ b/tests/util/sdksigner.go
@@ -6,7 +6,7 @@ import (
"fmt"
"time"
- "github.com/kava-labs/kava/app/params"
+ "github.com/0glabs/0g-chain/app/params"
"google.golang.org/grpc/codes"
grpcstatus "google.golang.org/grpc/status"
diff --git a/x/auction/abci.go b/x/auction/abci.go
index 6203f6d1..1756a83e 100644
--- a/x/auction/abci.go
+++ b/x/auction/abci.go
@@ -7,8 +7,8 @@ import (
"github.com/cosmos/cosmos-sdk/telemetry"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/auction/keeper"
- "github.com/kava-labs/kava/x/auction/types"
+ "github.com/0glabs/0g-chain/x/auction/keeper"
+ "github.com/0glabs/0g-chain/x/auction/types"
)
// BeginBlocker closes all expired auctions at the end of each block. It panics if
diff --git a/x/auction/abci_test.go b/x/auction/abci_test.go
index e1b38470..6083a440 100644
--- a/x/auction/abci_test.go
+++ b/x/auction/abci_test.go
@@ -8,9 +8,9 @@ import (
sdkmath "cosmossdk.io/math"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/auction"
- "github.com/kava-labs/kava/x/auction/testutil"
- types "github.com/kava-labs/kava/x/auction/types"
+ "github.com/0glabs/0g-chain/x/auction"
+ "github.com/0glabs/0g-chain/x/auction/testutil"
+ types "github.com/0glabs/0g-chain/x/auction/types"
)
type abciTestSuite struct {
diff --git a/x/auction/client/cli/query.go b/x/auction/client/cli/query.go
index 032e4f4e..6a8e42bf 100644
--- a/x/auction/client/cli/query.go
+++ b/x/auction/client/cli/query.go
@@ -13,7 +13,7 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/cosmos-sdk/version"
- "github.com/kava-labs/kava/x/auction/types"
+ "github.com/0glabs/0g-chain/x/auction/types"
)
// GetQueryCmd returns the cli query commands for the auction module
diff --git a/x/auction/client/cli/tx.go b/x/auction/client/cli/tx.go
index 49313450..1569919f 100644
--- a/x/auction/client/cli/tx.go
+++ b/x/auction/client/cli/tx.go
@@ -12,7 +12,7 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/cosmos-sdk/version"
- "github.com/kava-labs/kava/x/auction/types"
+ "github.com/0glabs/0g-chain/x/auction/types"
)
// GetTxCmd returns the transaction cli commands for this module
diff --git a/x/auction/genesis.go b/x/auction/genesis.go
index f484d7d3..57bd0a64 100644
--- a/x/auction/genesis.go
+++ b/x/auction/genesis.go
@@ -5,8 +5,8 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/auction/keeper"
- "github.com/kava-labs/kava/x/auction/types"
+ "github.com/0glabs/0g-chain/x/auction/keeper"
+ "github.com/0glabs/0g-chain/x/auction/types"
)
// InitGenesis initializes the store state from a genesis state.
diff --git a/x/auction/genesis_test.go b/x/auction/genesis_test.go
index b8d32399..09f24704 100644
--- a/x/auction/genesis_test.go
+++ b/x/auction/genesis_test.go
@@ -12,9 +12,9 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/x/auction"
- "github.com/kava-labs/kava/x/auction/types"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/x/auction"
+ "github.com/0glabs/0g-chain/x/auction/types"
)
var (
diff --git a/x/auction/keeper/auctions.go b/x/auction/keeper/auctions.go
index 78af906b..e45b36be 100644
--- a/x/auction/keeper/auctions.go
+++ b/x/auction/keeper/auctions.go
@@ -10,7 +10,7 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
- "github.com/kava-labs/kava/x/auction/types"
+ "github.com/0glabs/0g-chain/x/auction/types"
)
// StartSurplusAuction starts a new surplus (forward) auction.
diff --git a/x/auction/keeper/auctions_test.go b/x/auction/keeper/auctions_test.go
index b61836c3..a159f7b8 100644
--- a/x/auction/keeper/auctions_test.go
+++ b/x/auction/keeper/auctions_test.go
@@ -9,8 +9,8 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
- "github.com/kava-labs/kava/x/auction/testutil"
- "github.com/kava-labs/kava/x/auction/types"
+ "github.com/0glabs/0g-chain/x/auction/testutil"
+ "github.com/0glabs/0g-chain/x/auction/types"
)
type auctionTestSuite struct {
diff --git a/x/auction/keeper/bidding_test.go b/x/auction/keeper/bidding_test.go
index 5918e62c..3c0069d5 100644
--- a/x/auction/keeper/bidding_test.go
+++ b/x/auction/keeper/bidding_test.go
@@ -12,8 +12,8 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/x/auction/types"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/x/auction/types"
)
type AuctionType int
diff --git a/x/auction/keeper/grpc_query.go b/x/auction/keeper/grpc_query.go
index be3e7b8c..e27502c7 100644
--- a/x/auction/keeper/grpc_query.go
+++ b/x/auction/keeper/grpc_query.go
@@ -13,7 +13,7 @@ import (
proto "github.com/cosmos/gogoproto/proto"
- "github.com/kava-labs/kava/x/auction/types"
+ "github.com/0glabs/0g-chain/x/auction/types"
)
type queryServer struct {
diff --git a/x/auction/keeper/grpc_query_test.go b/x/auction/keeper/grpc_query_test.go
index 12a25aec..b870753e 100644
--- a/x/auction/keeper/grpc_query_test.go
+++ b/x/auction/keeper/grpc_query_test.go
@@ -7,10 +7,10 @@ import (
sdkmath "cosmossdk.io/math"
sdk "github.com/cosmos/cosmos-sdk/types"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/x/auction/keeper"
+ "github.com/0glabs/0g-chain/x/auction/types"
tmproto "github.com/cometbft/cometbft/proto/tendermint/types"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/x/auction/keeper"
- "github.com/kava-labs/kava/x/auction/types"
"github.com/stretchr/testify/require"
)
diff --git a/x/auction/keeper/invariants.go b/x/auction/keeper/invariants.go
index d83ecbc7..f694c0be 100644
--- a/x/auction/keeper/invariants.go
+++ b/x/auction/keeper/invariants.go
@@ -7,7 +7,7 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
- "github.com/kava-labs/kava/x/auction/types"
+ "github.com/0glabs/0g-chain/x/auction/types"
)
// RegisterInvariants registers all staking invariants
diff --git a/x/auction/keeper/keeper.go b/x/auction/keeper/keeper.go
index 4b922ecc..1e792c1f 100644
--- a/x/auction/keeper/keeper.go
+++ b/x/auction/keeper/keeper.go
@@ -12,7 +12,7 @@ import (
"github.com/cometbft/cometbft/libs/log"
- "github.com/kava-labs/kava/x/auction/types"
+ "github.com/0glabs/0g-chain/x/auction/types"
)
type Keeper struct {
diff --git a/x/auction/keeper/keeper_test.go b/x/auction/keeper/keeper_test.go
index 16aab50a..4c7d5c39 100644
--- a/x/auction/keeper/keeper_test.go
+++ b/x/auction/keeper/keeper_test.go
@@ -8,8 +8,8 @@ import (
tmproto "github.com/cometbft/cometbft/proto/tendermint/types"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/x/auction/types"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/x/auction/types"
)
func SetGetDeleteAuction(t *testing.T) {
diff --git a/x/auction/keeper/msg_server.go b/x/auction/keeper/msg_server.go
index d2a0267d..6acbd34b 100644
--- a/x/auction/keeper/msg_server.go
+++ b/x/auction/keeper/msg_server.go
@@ -5,7 +5,7 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/auction/types"
+ "github.com/0glabs/0g-chain/x/auction/types"
)
type msgServer struct {
diff --git a/x/auction/keeper/params.go b/x/auction/keeper/params.go
index 3ffc3da4..9341e3bc 100644
--- a/x/auction/keeper/params.go
+++ b/x/auction/keeper/params.go
@@ -3,7 +3,7 @@ package keeper
import (
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/auction/types"
+ "github.com/0glabs/0g-chain/x/auction/types"
)
func (k Keeper) SetParams(ctx sdk.Context, params types.Params) {
diff --git a/x/auction/legacy/v0_16/codec.go b/x/auction/legacy/v0_16/codec.go
index 440aaa6a..cb993158 100644
--- a/x/auction/legacy/v0_16/codec.go
+++ b/x/auction/legacy/v0_16/codec.go
@@ -1,8 +1,8 @@
package types
import (
+ v017auction "github.com/0glabs/0g-chain/x/auction/types"
types "github.com/cosmos/cosmos-sdk/codec/types"
- v017auction "github.com/kava-labs/kava/x/auction/types"
)
func RegisterInterfaces(registry types.InterfaceRegistry) {
diff --git a/x/auction/legacy/v0_17/migrate.go b/x/auction/legacy/v0_17/migrate.go
index 3c4002d1..fb547c95 100644
--- a/x/auction/legacy/v0_17/migrate.go
+++ b/x/auction/legacy/v0_17/migrate.go
@@ -1,8 +1,8 @@
package v0_17
import (
- v016auction "github.com/kava-labs/kava/x/auction/legacy/v0_16"
- v017auction "github.com/kava-labs/kava/x/auction/types"
+ v016auction "github.com/0glabs/0g-chain/x/auction/legacy/v0_16"
+ v017auction "github.com/0glabs/0g-chain/x/auction/types"
)
func Migrate(oldState v016auction.GenesisState) *v017auction.GenesisState {
diff --git a/x/auction/module.go b/x/auction/module.go
index c18b968b..68dbaaad 100644
--- a/x/auction/module.go
+++ b/x/auction/module.go
@@ -15,9 +15,9 @@ import (
abci "github.com/cometbft/cometbft/abci/types"
- "github.com/kava-labs/kava/x/auction/client/cli"
- "github.com/kava-labs/kava/x/auction/keeper"
- "github.com/kava-labs/kava/x/auction/types"
+ "github.com/0glabs/0g-chain/x/auction/client/cli"
+ "github.com/0glabs/0g-chain/x/auction/keeper"
+ "github.com/0glabs/0g-chain/x/auction/types"
)
var (
diff --git a/x/auction/testutil/suite.go b/x/auction/testutil/suite.go
index d4373c4d..2e44e3a1 100644
--- a/x/auction/testutil/suite.go
+++ b/x/auction/testutil/suite.go
@@ -13,9 +13,9 @@ import (
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/x/auction/keeper"
- "github.com/kava-labs/kava/x/auction/types"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/x/auction/keeper"
+ "github.com/0glabs/0g-chain/x/auction/types"
)
// Suite implements a test suite for the kavadist module integration tests
diff --git a/x/bep3/abci.go b/x/bep3/abci.go
index 194ef1f2..2a615ed5 100644
--- a/x/bep3/abci.go
+++ b/x/bep3/abci.go
@@ -3,10 +3,10 @@ package bep3
import (
"time"
+ "github.com/0glabs/0g-chain/x/bep3/keeper"
+ "github.com/0glabs/0g-chain/x/bep3/types"
"github.com/cosmos/cosmos-sdk/telemetry"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/bep3/keeper"
- "github.com/kava-labs/kava/x/bep3/types"
)
// BeginBlocker on every block expires outdated atomic swaps and removes closed
diff --git a/x/bep3/abci_test.go b/x/bep3/abci_test.go
index c07f843f..0b15cb89 100644
--- a/x/bep3/abci_test.go
+++ b/x/bep3/abci_test.go
@@ -11,10 +11,10 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/x/bep3"
- "github.com/kava-labs/kava/x/bep3/keeper"
- "github.com/kava-labs/kava/x/bep3/types"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/x/bep3"
+ "github.com/0glabs/0g-chain/x/bep3/keeper"
+ "github.com/0glabs/0g-chain/x/bep3/types"
)
type ABCITestSuite struct {
diff --git a/x/bep3/client/cli/query.go b/x/bep3/client/cli/query.go
index fe7bdecc..df415bb6 100644
--- a/x/bep3/client/cli/query.go
+++ b/x/bep3/client/cli/query.go
@@ -13,7 +13,7 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/spf13/cobra"
- "github.com/kava-labs/kava/x/bep3/types"
+ "github.com/0glabs/0g-chain/x/bep3/types"
)
// Query atomic swaps flags
diff --git a/x/bep3/client/cli/tx.go b/x/bep3/client/cli/tx.go
index 62e3cc00..1a19d12d 100644
--- a/x/bep3/client/cli/tx.go
+++ b/x/bep3/client/cli/tx.go
@@ -16,7 +16,7 @@ import (
tmtime "github.com/cometbft/cometbft/types/time"
- "github.com/kava-labs/kava/x/bep3/types"
+ "github.com/0glabs/0g-chain/x/bep3/types"
)
// GetTxCmd returns the transaction commands for this module
diff --git a/x/bep3/genesis.go b/x/bep3/genesis.go
index d14e78df..f294c0bd 100644
--- a/x/bep3/genesis.go
+++ b/x/bep3/genesis.go
@@ -6,8 +6,8 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
- "github.com/kava-labs/kava/x/bep3/keeper"
- "github.com/kava-labs/kava/x/bep3/types"
+ "github.com/0glabs/0g-chain/x/bep3/keeper"
+ "github.com/0glabs/0g-chain/x/bep3/types"
)
// InitGenesis initializes the store state from a genesis state.
diff --git a/x/bep3/genesis_test.go b/x/bep3/genesis_test.go
index c1eb3a15..aff40b8d 100644
--- a/x/bep3/genesis_test.go
+++ b/x/bep3/genesis_test.go
@@ -10,9 +10,9 @@ import (
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
"github.com/stretchr/testify/suite"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/x/bep3/keeper"
- "github.com/kava-labs/kava/x/bep3/types"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/x/bep3/keeper"
+ "github.com/0glabs/0g-chain/x/bep3/types"
)
type GenesisTestSuite struct {
diff --git a/x/bep3/integration_test.go b/x/bep3/integration_test.go
index 332dad70..fe3a04e6 100644
--- a/x/bep3/integration_test.go
+++ b/x/bep3/integration_test.go
@@ -9,8 +9,8 @@ import (
tmtime "github.com/cometbft/cometbft/types/time"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/x/bep3/types"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/x/bep3/types"
)
const (
diff --git a/x/bep3/keeper/asset.go b/x/bep3/keeper/asset.go
index 983d1999..1e7726ff 100644
--- a/x/bep3/keeper/asset.go
+++ b/x/bep3/keeper/asset.go
@@ -6,7 +6,7 @@ import (
errorsmod "cosmossdk.io/errors"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/bep3/types"
+ "github.com/0glabs/0g-chain/x/bep3/types"
)
// IncrementCurrentAssetSupply increments an asset's supply by the coin
diff --git a/x/bep3/keeper/asset_test.go b/x/bep3/keeper/asset_test.go
index 4e8a7835..74910709 100644
--- a/x/bep3/keeper/asset_test.go
+++ b/x/bep3/keeper/asset_test.go
@@ -13,9 +13,9 @@ import (
tmproto "github.com/cometbft/cometbft/proto/tendermint/types"
tmtime "github.com/cometbft/cometbft/types/time"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/x/bep3/keeper"
- "github.com/kava-labs/kava/x/bep3/types"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/x/bep3/keeper"
+ "github.com/0glabs/0g-chain/x/bep3/types"
)
type AssetTestSuite struct {
diff --git a/x/bep3/keeper/grpc_query.go b/x/bep3/keeper/grpc_query.go
index 1012c82e..ea4c03a9 100644
--- a/x/bep3/keeper/grpc_query.go
+++ b/x/bep3/keeper/grpc_query.go
@@ -11,7 +11,7 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/cosmos-sdk/types/query"
- "github.com/kava-labs/kava/x/bep3/types"
+ "github.com/0glabs/0g-chain/x/bep3/types"
)
type queryServer struct {
diff --git a/x/bep3/keeper/integration_test.go b/x/bep3/keeper/integration_test.go
index ffe94eb6..a907e8e5 100644
--- a/x/bep3/keeper/integration_test.go
+++ b/x/bep3/keeper/integration_test.go
@@ -11,8 +11,8 @@ import (
"github.com/cometbft/cometbft/crypto"
tmtime "github.com/cometbft/cometbft/types/time"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/x/bep3/types"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/x/bep3/types"
)
const (
diff --git a/x/bep3/keeper/keeper.go b/x/bep3/keeper/keeper.go
index 6a32a81b..d798a180 100644
--- a/x/bep3/keeper/keeper.go
+++ b/x/bep3/keeper/keeper.go
@@ -11,7 +11,7 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
paramtypes "github.com/cosmos/cosmos-sdk/x/params/types"
- "github.com/kava-labs/kava/x/bep3/types"
+ "github.com/0glabs/0g-chain/x/bep3/types"
)
// Keeper of the bep3 store
diff --git a/x/bep3/keeper/keeper_test.go b/x/bep3/keeper/keeper_test.go
index 52924720..909c283c 100644
--- a/x/bep3/keeper/keeper_test.go
+++ b/x/bep3/keeper/keeper_test.go
@@ -11,9 +11,9 @@ import (
tmproto "github.com/cometbft/cometbft/proto/tendermint/types"
tmtime "github.com/cometbft/cometbft/types/time"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/x/bep3/keeper"
- "github.com/kava-labs/kava/x/bep3/types"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/x/bep3/keeper"
+ "github.com/0glabs/0g-chain/x/bep3/types"
)
const LongtermStorageDuration = 86400
diff --git a/x/bep3/keeper/msg_server.go b/x/bep3/keeper/msg_server.go
index 3508ad79..03ee786a 100644
--- a/x/bep3/keeper/msg_server.go
+++ b/x/bep3/keeper/msg_server.go
@@ -6,7 +6,7 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/bep3/types"
+ "github.com/0glabs/0g-chain/x/bep3/types"
)
type msgServer struct {
diff --git a/x/bep3/keeper/msg_server_test.go b/x/bep3/keeper/msg_server_test.go
index badad26c..6a3d062b 100644
--- a/x/bep3/keeper/msg_server_test.go
+++ b/x/bep3/keeper/msg_server_test.go
@@ -11,10 +11,10 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/x/bep3"
- "github.com/kava-labs/kava/x/bep3/keeper"
- "github.com/kava-labs/kava/x/bep3/types"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/x/bep3"
+ "github.com/0glabs/0g-chain/x/bep3/keeper"
+ "github.com/0glabs/0g-chain/x/bep3/types"
)
type MsgServerTestSuite struct {
diff --git a/x/bep3/keeper/params.go b/x/bep3/keeper/params.go
index 1635ad0d..7703699e 100644
--- a/x/bep3/keeper/params.go
+++ b/x/bep3/keeper/params.go
@@ -5,7 +5,7 @@ import (
sdkmath "cosmossdk.io/math"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/bep3/types"
+ "github.com/0glabs/0g-chain/x/bep3/types"
)
// GetParams returns the total set of bep3 parameters.
diff --git a/x/bep3/keeper/params_test.go b/x/bep3/keeper/params_test.go
index 0f339d44..42ec2c18 100644
--- a/x/bep3/keeper/params_test.go
+++ b/x/bep3/keeper/params_test.go
@@ -11,9 +11,9 @@ import (
tmproto "github.com/cometbft/cometbft/proto/tendermint/types"
tmtime "github.com/cometbft/cometbft/types/time"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/x/bep3/keeper"
- "github.com/kava-labs/kava/x/bep3/types"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/x/bep3/keeper"
+ "github.com/0glabs/0g-chain/x/bep3/types"
)
type ParamsTestSuite struct {
diff --git a/x/bep3/keeper/swap.go b/x/bep3/keeper/swap.go
index bf3df193..fa8b29f3 100644
--- a/x/bep3/keeper/swap.go
+++ b/x/bep3/keeper/swap.go
@@ -10,7 +10,7 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"
- "github.com/kava-labs/kava/x/bep3/types"
+ "github.com/0glabs/0g-chain/x/bep3/types"
)
// CreateAtomicSwap creates a new atomic swap.
diff --git a/x/bep3/keeper/swap_test.go b/x/bep3/keeper/swap_test.go
index 056a5147..59d388d3 100644
--- a/x/bep3/keeper/swap_test.go
+++ b/x/bep3/keeper/swap_test.go
@@ -12,10 +12,10 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/x/bep3"
- "github.com/kava-labs/kava/x/bep3/keeper"
- "github.com/kava-labs/kava/x/bep3/types"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/x/bep3"
+ "github.com/0glabs/0g-chain/x/bep3/keeper"
+ "github.com/0glabs/0g-chain/x/bep3/types"
)
type AtomicSwapTestSuite struct {
diff --git a/x/bep3/legacy/v0_17/migrate.go b/x/bep3/legacy/v0_17/migrate.go
index e830b7dd..3627690d 100644
--- a/x/bep3/legacy/v0_17/migrate.go
+++ b/x/bep3/legacy/v0_17/migrate.go
@@ -3,7 +3,7 @@ package v0_16
import (
"fmt"
- "github.com/kava-labs/kava/x/bep3/types"
+ "github.com/0glabs/0g-chain/x/bep3/types"
)
// resetSwapForZeroHeight updates swap expiry/close heights to work when the chain height is reset to zero.
diff --git a/x/bep3/legacy/v0_17/migrate_test.go b/x/bep3/legacy/v0_17/migrate_test.go
index e648f297..7a61d47f 100644
--- a/x/bep3/legacy/v0_17/migrate_test.go
+++ b/x/bep3/legacy/v0_17/migrate_test.go
@@ -12,8 +12,8 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/stretchr/testify/suite"
- app "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/x/bep3/types"
+ app "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/x/bep3/types"
)
type migrateTestSuite struct {
diff --git a/x/bep3/module.go b/x/bep3/module.go
index a2ef32c3..2d005e8e 100644
--- a/x/bep3/module.go
+++ b/x/bep3/module.go
@@ -15,9 +15,9 @@ import (
abci "github.com/cometbft/cometbft/abci/types"
- "github.com/kava-labs/kava/x/bep3/client/cli"
- "github.com/kava-labs/kava/x/bep3/keeper"
- "github.com/kava-labs/kava/x/bep3/types"
+ "github.com/0glabs/0g-chain/x/bep3/client/cli"
+ "github.com/0glabs/0g-chain/x/bep3/keeper"
+ "github.com/0glabs/0g-chain/x/bep3/types"
)
var (
diff --git a/x/bep3/types/common_test.go b/x/bep3/types/common_test.go
index d566a3b0..852284fc 100644
--- a/x/bep3/types/common_test.go
+++ b/x/bep3/types/common_test.go
@@ -8,7 +8,7 @@ import (
tmtime "github.com/cometbft/cometbft/types/time"
- "github.com/kava-labs/kava/x/bep3/types"
+ "github.com/0glabs/0g-chain/x/bep3/types"
)
func i(in int64) sdkmath.Int { return sdkmath.NewInt(in) }
diff --git a/x/bep3/types/genesis_test.go b/x/bep3/types/genesis_test.go
index 31ecc22e..15dfa251 100644
--- a/x/bep3/types/genesis_test.go
+++ b/x/bep3/types/genesis_test.go
@@ -9,8 +9,8 @@ import (
sdkmath "cosmossdk.io/math"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/x/bep3/types"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/x/bep3/types"
)
type GenesisTestSuite struct {
diff --git a/x/bep3/types/hash_test.go b/x/bep3/types/hash_test.go
index 66f844e4..91c31c72 100644
--- a/x/bep3/types/hash_test.go
+++ b/x/bep3/types/hash_test.go
@@ -6,8 +6,8 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/stretchr/testify/suite"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/x/bep3/types"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/x/bep3/types"
)
type HashTestSuite struct {
diff --git a/x/bep3/types/msg_test.go b/x/bep3/types/msg_test.go
index 9bcf43b6..7210da14 100644
--- a/x/bep3/types/msg_test.go
+++ b/x/bep3/types/msg_test.go
@@ -8,8 +8,8 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/stretchr/testify/suite"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/x/bep3/types"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/x/bep3/types"
)
var (
diff --git a/x/bep3/types/params_test.go b/x/bep3/types/params_test.go
index a9de43a6..4a42663a 100644
--- a/x/bep3/types/params_test.go
+++ b/x/bep3/types/params_test.go
@@ -9,8 +9,8 @@ import (
sdkmath "cosmossdk.io/math"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/x/bep3/types"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/x/bep3/types"
)
type ParamsTestSuite struct {
diff --git a/x/bep3/types/swap_test.go b/x/bep3/types/swap_test.go
index ca0d6071..5ad432b7 100644
--- a/x/bep3/types/swap_test.go
+++ b/x/bep3/types/swap_test.go
@@ -10,8 +10,8 @@ import (
sdkmath "cosmossdk.io/math"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/x/bep3/types"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/x/bep3/types"
)
type AtomicSwapTestSuite struct {
diff --git a/x/cdp/abci.go b/x/cdp/abci.go
index 9967bd51..e1311647 100644
--- a/x/cdp/abci.go
+++ b/x/cdp/abci.go
@@ -10,9 +10,9 @@ import (
abci "github.com/cometbft/cometbft/abci/types"
- "github.com/kava-labs/kava/x/cdp/keeper"
- "github.com/kava-labs/kava/x/cdp/types"
- pricefeedtypes "github.com/kava-labs/kava/x/pricefeed/types"
+ "github.com/0glabs/0g-chain/x/cdp/keeper"
+ "github.com/0glabs/0g-chain/x/cdp/types"
+ pricefeedtypes "github.com/0glabs/0g-chain/x/pricefeed/types"
)
// BeginBlocker compounds the debt in outstanding cdps and liquidates cdps that are below the required collateralization ratio
diff --git a/x/cdp/abci_test.go b/x/cdp/abci_test.go
index eaffaa96..9f41a090 100644
--- a/x/cdp/abci_test.go
+++ b/x/cdp/abci_test.go
@@ -15,12 +15,12 @@ import (
tmproto "github.com/cometbft/cometbft/proto/tendermint/types"
tmtime "github.com/cometbft/cometbft/types/time"
- "github.com/kava-labs/kava/app"
- auctiontypes "github.com/kava-labs/kava/x/auction/types"
- "github.com/kava-labs/kava/x/cdp"
- "github.com/kava-labs/kava/x/cdp/keeper"
- "github.com/kava-labs/kava/x/cdp/types"
- pricefeedtypes "github.com/kava-labs/kava/x/pricefeed/types"
+ "github.com/0glabs/0g-chain/app"
+ auctiontypes "github.com/0glabs/0g-chain/x/auction/types"
+ "github.com/0glabs/0g-chain/x/cdp"
+ "github.com/0glabs/0g-chain/x/cdp/keeper"
+ "github.com/0glabs/0g-chain/x/cdp/types"
+ pricefeedtypes "github.com/0glabs/0g-chain/x/pricefeed/types"
)
type ModuleTestSuite struct {
diff --git a/x/cdp/client/cli/query.go b/x/cdp/client/cli/query.go
index dcfe3623..3b2089c9 100644
--- a/x/cdp/client/cli/query.go
+++ b/x/cdp/client/cli/query.go
@@ -13,7 +13,7 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/cosmos-sdk/version"
- "github.com/kava-labs/kava/x/cdp/types"
+ "github.com/0glabs/0g-chain/x/cdp/types"
)
// Query CDP flags
diff --git a/x/cdp/client/cli/tx.go b/x/cdp/client/cli/tx.go
index 69262375..87c9e1eb 100644
--- a/x/cdp/client/cli/tx.go
+++ b/x/cdp/client/cli/tx.go
@@ -12,7 +12,7 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/cosmos-sdk/version"
- "github.com/kava-labs/kava/x/cdp/types"
+ "github.com/0glabs/0g-chain/x/cdp/types"
)
// GetTxCmd returns the transaction commands for this module
diff --git a/x/cdp/genesis.go b/x/cdp/genesis.go
index c3123b65..0f5b3148 100644
--- a/x/cdp/genesis.go
+++ b/x/cdp/genesis.go
@@ -5,8 +5,8 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/cdp/keeper"
- "github.com/kava-labs/kava/x/cdp/types"
+ "github.com/0glabs/0g-chain/x/cdp/keeper"
+ "github.com/0glabs/0g-chain/x/cdp/types"
)
// InitGenesis sets initial genesis state for cdp module
diff --git a/x/cdp/genesis_test.go b/x/cdp/genesis_test.go
index ef9254f0..fea06051 100644
--- a/x/cdp/genesis_test.go
+++ b/x/cdp/genesis_test.go
@@ -15,10 +15,10 @@ import (
sdkmath "cosmossdk.io/math"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/x/cdp"
- "github.com/kava-labs/kava/x/cdp/keeper"
- "github.com/kava-labs/kava/x/cdp/types"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/x/cdp"
+ "github.com/0glabs/0g-chain/x/cdp/keeper"
+ "github.com/0glabs/0g-chain/x/cdp/types"
)
type GenesisTestSuite struct {
diff --git a/x/cdp/integration_test.go b/x/cdp/integration_test.go
index 84255c29..80b99507 100644
--- a/x/cdp/integration_test.go
+++ b/x/cdp/integration_test.go
@@ -9,9 +9,9 @@ import (
tmtime "github.com/cometbft/cometbft/types/time"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/x/cdp/types"
- pricefeedtypes "github.com/kava-labs/kava/x/pricefeed/types"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/x/cdp/types"
+ pricefeedtypes "github.com/0glabs/0g-chain/x/pricefeed/types"
)
// Avoid cluttering test cases with long function names
diff --git a/x/cdp/keeper/auctions.go b/x/cdp/keeper/auctions.go
index 7ab0b600..14df5b1f 100644
--- a/x/cdp/keeper/auctions.go
+++ b/x/cdp/keeper/auctions.go
@@ -4,7 +4,7 @@ import (
sdkmath "cosmossdk.io/math"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/cdp/types"
+ "github.com/0glabs/0g-chain/x/cdp/types"
)
const (
diff --git a/x/cdp/keeper/auctions_test.go b/x/cdp/keeper/auctions_test.go
index ba230542..b28fcdf2 100644
--- a/x/cdp/keeper/auctions_test.go
+++ b/x/cdp/keeper/auctions_test.go
@@ -6,10 +6,10 @@ import (
sdkmath "cosmossdk.io/math"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/app"
- auctiontypes "github.com/kava-labs/kava/x/auction/types"
- "github.com/kava-labs/kava/x/cdp/keeper"
- "github.com/kava-labs/kava/x/cdp/types"
+ "github.com/0glabs/0g-chain/app"
+ auctiontypes "github.com/0glabs/0g-chain/x/auction/types"
+ "github.com/0glabs/0g-chain/x/cdp/keeper"
+ "github.com/0glabs/0g-chain/x/cdp/types"
"github.com/stretchr/testify/suite"
diff --git a/x/cdp/keeper/cdp.go b/x/cdp/keeper/cdp.go
index ddd78bf2..3d131d23 100644
--- a/x/cdp/keeper/cdp.go
+++ b/x/cdp/keeper/cdp.go
@@ -8,7 +8,7 @@ import (
"github.com/cosmos/cosmos-sdk/store/prefix"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/cdp/types"
+ "github.com/0glabs/0g-chain/x/cdp/types"
)
// AddCdp adds a cdp for a specific owner and collateral type
diff --git a/x/cdp/keeper/cdp_test.go b/x/cdp/keeper/cdp_test.go
index 9c4b5203..51d90409 100644
--- a/x/cdp/keeper/cdp_test.go
+++ b/x/cdp/keeper/cdp_test.go
@@ -13,9 +13,9 @@ import (
tmproto "github.com/cometbft/cometbft/proto/tendermint/types"
tmtime "github.com/cometbft/cometbft/types/time"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/x/cdp/keeper"
- "github.com/kava-labs/kava/x/cdp/types"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/x/cdp/keeper"
+ "github.com/0glabs/0g-chain/x/cdp/types"
)
type CdpTestSuite struct {
diff --git a/x/cdp/keeper/deposit.go b/x/cdp/keeper/deposit.go
index a2edf65d..6c4978cf 100644
--- a/x/cdp/keeper/deposit.go
+++ b/x/cdp/keeper/deposit.go
@@ -7,7 +7,7 @@ import (
"github.com/cosmos/cosmos-sdk/store/prefix"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/cdp/types"
+ "github.com/0glabs/0g-chain/x/cdp/types"
)
// DepositCollateral adds collateral to a cdp
diff --git a/x/cdp/keeper/deposit_test.go b/x/cdp/keeper/deposit_test.go
index 070c50b1..c4cbb696 100644
--- a/x/cdp/keeper/deposit_test.go
+++ b/x/cdp/keeper/deposit_test.go
@@ -11,9 +11,9 @@ import (
tmproto "github.com/cometbft/cometbft/proto/tendermint/types"
tmtime "github.com/cometbft/cometbft/types/time"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/x/cdp/keeper"
- "github.com/kava-labs/kava/x/cdp/types"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/x/cdp/keeper"
+ "github.com/0glabs/0g-chain/x/cdp/types"
)
type DepositTestSuite struct {
diff --git a/x/cdp/keeper/draw.go b/x/cdp/keeper/draw.go
index 3b09f470..626b8a45 100644
--- a/x/cdp/keeper/draw.go
+++ b/x/cdp/keeper/draw.go
@@ -6,7 +6,7 @@ import (
errorsmod "cosmossdk.io/errors"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/cdp/types"
+ "github.com/0glabs/0g-chain/x/cdp/types"
)
// AddPrincipal adds debt to a cdp if the additional debt does not put the cdp below the liquidation ratio
diff --git a/x/cdp/keeper/draw_test.go b/x/cdp/keeper/draw_test.go
index e3d6f979..e580e8ba 100644
--- a/x/cdp/keeper/draw_test.go
+++ b/x/cdp/keeper/draw_test.go
@@ -12,9 +12,9 @@ import (
tmproto "github.com/cometbft/cometbft/proto/tendermint/types"
tmtime "github.com/cometbft/cometbft/types/time"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/x/cdp/keeper"
- "github.com/kava-labs/kava/x/cdp/types"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/x/cdp/keeper"
+ "github.com/0glabs/0g-chain/x/cdp/types"
)
type DrawTestSuite struct {
diff --git a/x/cdp/keeper/grpc_query.go b/x/cdp/keeper/grpc_query.go
index c81ac912..32ca9562 100644
--- a/x/cdp/keeper/grpc_query.go
+++ b/x/cdp/keeper/grpc_query.go
@@ -11,7 +11,7 @@ import (
"google.golang.org/grpc/codes"
"google.golang.org/grpc/status"
- "github.com/kava-labs/kava/x/cdp/types"
+ "github.com/0glabs/0g-chain/x/cdp/types"
)
type QueryServer struct {
diff --git a/x/cdp/keeper/grpc_query_test.go b/x/cdp/keeper/grpc_query_test.go
index 3c1e06d0..d298d420 100644
--- a/x/cdp/keeper/grpc_query_test.go
+++ b/x/cdp/keeper/grpc_query_test.go
@@ -5,12 +5,12 @@ import (
"time"
sdkmath "cosmossdk.io/math"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/x/cdp/keeper"
+ "github.com/0glabs/0g-chain/x/cdp/types"
tmprototypes "github.com/cometbft/cometbft/proto/tendermint/types"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/cosmos-sdk/types/query"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/x/cdp/keeper"
- "github.com/kava-labs/kava/x/cdp/types"
"github.com/stretchr/testify/suite"
)
diff --git a/x/cdp/keeper/hooks.go b/x/cdp/keeper/hooks.go
index 7768bc08..2da62ee8 100644
--- a/x/cdp/keeper/hooks.go
+++ b/x/cdp/keeper/hooks.go
@@ -1,8 +1,8 @@
package keeper
import (
+ "github.com/0glabs/0g-chain/x/cdp/types"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/cdp/types"
)
// Implements StakingHooks interface
diff --git a/x/cdp/keeper/integration_test.go b/x/cdp/keeper/integration_test.go
index 8f64e3f1..d3c9c98e 100644
--- a/x/cdp/keeper/integration_test.go
+++ b/x/cdp/keeper/integration_test.go
@@ -9,9 +9,9 @@ import (
tmtime "github.com/cometbft/cometbft/types/time"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/x/cdp/types"
- pricefeedtypes "github.com/kava-labs/kava/x/pricefeed/types"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/x/cdp/types"
+ pricefeedtypes "github.com/0glabs/0g-chain/x/pricefeed/types"
)
// Avoid cluttering test cases with long function names
diff --git a/x/cdp/keeper/interest.go b/x/cdp/keeper/interest.go
index 36a566ef..f5bc10ef 100644
--- a/x/cdp/keeper/interest.go
+++ b/x/cdp/keeper/interest.go
@@ -8,7 +8,7 @@ import (
"github.com/cosmos/cosmos-sdk/store/prefix"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/cdp/types"
+ "github.com/0glabs/0g-chain/x/cdp/types"
)
var scalingFactor = 1e18
diff --git a/x/cdp/keeper/interest_test.go b/x/cdp/keeper/interest_test.go
index 622283f4..27280b2a 100644
--- a/x/cdp/keeper/interest_test.go
+++ b/x/cdp/keeper/interest_test.go
@@ -12,9 +12,9 @@ import (
tmproto "github.com/cometbft/cometbft/proto/tendermint/types"
tmtime "github.com/cometbft/cometbft/types/time"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/x/cdp/keeper"
- "github.com/kava-labs/kava/x/cdp/types"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/x/cdp/keeper"
+ "github.com/0glabs/0g-chain/x/cdp/types"
)
type InterestTestSuite struct {
diff --git a/x/cdp/keeper/keeper.go b/x/cdp/keeper/keeper.go
index 2ab77c3c..22f56d7e 100644
--- a/x/cdp/keeper/keeper.go
+++ b/x/cdp/keeper/keeper.go
@@ -11,7 +11,7 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
paramtypes "github.com/cosmos/cosmos-sdk/x/params/types"
- "github.com/kava-labs/kava/x/cdp/types"
+ "github.com/0glabs/0g-chain/x/cdp/types"
)
// Keeper keeper for the cdp module
diff --git a/x/cdp/keeper/keeper_bench_test.go b/x/cdp/keeper/keeper_bench_test.go
index 974451fd..896e55fc 100644
--- a/x/cdp/keeper/keeper_bench_test.go
+++ b/x/cdp/keeper/keeper_bench_test.go
@@ -10,9 +10,9 @@ import (
tmproto "github.com/cometbft/cometbft/proto/tendermint/types"
tmtime "github.com/cometbft/cometbft/types/time"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/x/cdp/keeper"
- "github.com/kava-labs/kava/x/cdp/types"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/x/cdp/keeper"
+ "github.com/0glabs/0g-chain/x/cdp/types"
)
// saving the result to a module level variable ensures the compiler doesn't optimize the test away
diff --git a/x/cdp/keeper/keeper_test.go b/x/cdp/keeper/keeper_test.go
index dff4095d..1b71c54f 100644
--- a/x/cdp/keeper/keeper_test.go
+++ b/x/cdp/keeper/keeper_test.go
@@ -6,8 +6,8 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/stretchr/testify/suite"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/x/cdp/keeper"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/x/cdp/keeper"
)
type KeeperTestSuite struct {
diff --git a/x/cdp/keeper/migrations.go b/x/cdp/keeper/migrations.go
index 7b8a0c18..9dc818cf 100644
--- a/x/cdp/keeper/migrations.go
+++ b/x/cdp/keeper/migrations.go
@@ -1,8 +1,8 @@
package keeper
import (
+ v2 "github.com/0glabs/0g-chain/x/cdp/migrations/v2"
sdk "github.com/cosmos/cosmos-sdk/types"
- v2 "github.com/kava-labs/kava/x/cdp/migrations/v2"
)
// Migrator is a struct for handling in-place store migrations.
diff --git a/x/cdp/keeper/msg_server.go b/x/cdp/keeper/msg_server.go
index 8f078b43..20d68fc2 100644
--- a/x/cdp/keeper/msg_server.go
+++ b/x/cdp/keeper/msg_server.go
@@ -3,8 +3,8 @@ package keeper
import (
"context"
+ "github.com/0glabs/0g-chain/x/cdp/types"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/cdp/types"
)
type msgServer struct {
diff --git a/x/cdp/keeper/params.go b/x/cdp/keeper/params.go
index 62b3a4a6..fab467fc 100644
--- a/x/cdp/keeper/params.go
+++ b/x/cdp/keeper/params.go
@@ -6,7 +6,7 @@ import (
sdkmath "cosmossdk.io/math"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/cdp/types"
+ "github.com/0glabs/0g-chain/x/cdp/types"
)
// GetParams returns the params from the store
diff --git a/x/cdp/keeper/querier.go b/x/cdp/keeper/querier.go
index 143dbff0..8f5b83d9 100644
--- a/x/cdp/keeper/querier.go
+++ b/x/cdp/keeper/querier.go
@@ -6,7 +6,7 @@ import (
"github.com/cosmos/cosmos-sdk/client"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/cdp/types"
+ "github.com/0glabs/0g-chain/x/cdp/types"
)
// FilterCDPs queries the store for all CDPs that match query params
diff --git a/x/cdp/keeper/seize.go b/x/cdp/keeper/seize.go
index 77529a60..856ad2f2 100644
--- a/x/cdp/keeper/seize.go
+++ b/x/cdp/keeper/seize.go
@@ -7,7 +7,7 @@ import (
sdkmath "cosmossdk.io/math"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/cdp/types"
+ "github.com/0glabs/0g-chain/x/cdp/types"
)
// AttemptKeeperLiquidation liquidates the cdp with the input collateral type and owner if it is below the required collateralization ratio
diff --git a/x/cdp/keeper/seize_test.go b/x/cdp/keeper/seize_test.go
index 37c8428a..566dac42 100644
--- a/x/cdp/keeper/seize_test.go
+++ b/x/cdp/keeper/seize_test.go
@@ -18,10 +18,10 @@ import (
tmproto "github.com/cometbft/cometbft/proto/tendermint/types"
tmtime "github.com/cometbft/cometbft/types/time"
- "github.com/kava-labs/kava/app"
- auctiontypes "github.com/kava-labs/kava/x/auction/types"
- "github.com/kava-labs/kava/x/cdp/keeper"
- "github.com/kava-labs/kava/x/cdp/types"
+ "github.com/0glabs/0g-chain/app"
+ auctiontypes "github.com/0glabs/0g-chain/x/auction/types"
+ "github.com/0glabs/0g-chain/x/cdp/keeper"
+ "github.com/0glabs/0g-chain/x/cdp/types"
)
type SeizeTestSuite struct {
diff --git a/x/cdp/migrations/v2/store.go b/x/cdp/migrations/v2/store.go
index f457c174..1a84e0cc 100644
--- a/x/cdp/migrations/v2/store.go
+++ b/x/cdp/migrations/v2/store.go
@@ -1,9 +1,9 @@
package v2
import (
+ "github.com/0glabs/0g-chain/x/cdp/types"
sdk "github.com/cosmos/cosmos-sdk/types"
paramtypes "github.com/cosmos/cosmos-sdk/x/params/types"
- "github.com/kava-labs/kava/x/cdp/types"
)
// MigrateStore performs in-place store migrations for consensus version 2
diff --git a/x/cdp/migrations/v2/store_test.go b/x/cdp/migrations/v2/store_test.go
index 13da0382..206ef5a5 100644
--- a/x/cdp/migrations/v2/store_test.go
+++ b/x/cdp/migrations/v2/store_test.go
@@ -10,8 +10,8 @@ import (
moduletestutil "github.com/cosmos/cosmos-sdk/types/module/testutil"
paramtypes "github.com/cosmos/cosmos-sdk/x/params/types"
- v2cdp "github.com/kava-labs/kava/x/cdp/migrations/v2"
- "github.com/kava-labs/kava/x/cdp/types"
+ v2cdp "github.com/0glabs/0g-chain/x/cdp/migrations/v2"
+ "github.com/0glabs/0g-chain/x/cdp/types"
)
func TestStoreMigrationAddsKeyTableIncludingNewParam(t *testing.T) {
diff --git a/x/cdp/module.go b/x/cdp/module.go
index 32d07d1c..401c4b48 100644
--- a/x/cdp/module.go
+++ b/x/cdp/module.go
@@ -16,9 +16,9 @@ import (
abci "github.com/cometbft/cometbft/abci/types"
- "github.com/kava-labs/kava/x/cdp/client/cli"
- "github.com/kava-labs/kava/x/cdp/keeper"
- "github.com/kava-labs/kava/x/cdp/types"
+ "github.com/0glabs/0g-chain/x/cdp/client/cli"
+ "github.com/0glabs/0g-chain/x/cdp/keeper"
+ "github.com/0glabs/0g-chain/x/cdp/types"
)
var (
diff --git a/x/cdp/types/cdp_test.go b/x/cdp/types/cdp_test.go
index 424899b6..24f454c7 100644
--- a/x/cdp/types/cdp_test.go
+++ b/x/cdp/types/cdp_test.go
@@ -13,7 +13,7 @@ import (
"github.com/cometbft/cometbft/crypto/secp256k1"
tmtime "github.com/cometbft/cometbft/types/time"
- "github.com/kava-labs/kava/x/cdp/types"
+ "github.com/0glabs/0g-chain/x/cdp/types"
)
type CdpValidationSuite struct {
diff --git a/x/cdp/types/expected_keepers.go b/x/cdp/types/expected_keepers.go
index d956ee3e..c3db9ac4 100644
--- a/x/cdp/types/expected_keepers.go
+++ b/x/cdp/types/expected_keepers.go
@@ -7,8 +7,8 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
+ pftypes "github.com/0glabs/0g-chain/x/pricefeed/types"
bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper"
- pftypes "github.com/kava-labs/kava/x/pricefeed/types"
)
// BankKeeper defines the expected bank keeper for module accounts
diff --git a/x/cdp/types/genesis_test.go b/x/cdp/types/genesis_test.go
index ca9c8197..a363b995 100644
--- a/x/cdp/types/genesis_test.go
+++ b/x/cdp/types/genesis_test.go
@@ -4,7 +4,7 @@ import (
"testing"
sdkmath "cosmossdk.io/math"
- "github.com/kava-labs/kava/x/cdp/types"
+ "github.com/0glabs/0g-chain/x/cdp/types"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)
diff --git a/x/cdp/types/params_test.go b/x/cdp/types/params_test.go
index 0dd72767..d82cfc32 100644
--- a/x/cdp/types/params_test.go
+++ b/x/cdp/types/params_test.go
@@ -8,7 +8,7 @@ import (
sdkmath "cosmossdk.io/math"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/cdp/types"
+ "github.com/0glabs/0g-chain/x/cdp/types"
)
type ParamsTestSuite struct {
diff --git a/x/committee/abci.go b/x/committee/abci.go
index 107c2289..482f7057 100644
--- a/x/committee/abci.go
+++ b/x/committee/abci.go
@@ -8,8 +8,8 @@ import (
abci "github.com/cometbft/cometbft/abci/types"
- "github.com/kava-labs/kava/x/committee/keeper"
- "github.com/kava-labs/kava/x/committee/types"
+ "github.com/0glabs/0g-chain/x/committee/keeper"
+ "github.com/0glabs/0g-chain/x/committee/types"
)
// BeginBlocker runs at the start of every block.
diff --git a/x/committee/abci_test.go b/x/committee/abci_test.go
index 80bba989..f2e937fd 100644
--- a/x/committee/abci_test.go
+++ b/x/committee/abci_test.go
@@ -11,13 +11,13 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
govv1beta1 "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1"
- "github.com/kava-labs/kava/app"
- // "github.com/kava-labs/kava/x/cdp"
- // cdptypes "github.com/kava-labs/kava/x/cdp/types"
- "github.com/kava-labs/kava/x/committee"
- "github.com/kava-labs/kava/x/committee/keeper"
- "github.com/kava-labs/kava/x/committee/testutil"
- "github.com/kava-labs/kava/x/committee/types"
+ "github.com/0glabs/0g-chain/app"
+ // "github.com/0glabs/0g-chain/x/cdp"
+ // cdptypes "github.com/0glabs/0g-chain/x/cdp/types"
+ "github.com/0glabs/0g-chain/x/committee"
+ "github.com/0glabs/0g-chain/x/committee/keeper"
+ "github.com/0glabs/0g-chain/x/committee/testutil"
+ "github.com/0glabs/0g-chain/x/committee/types"
)
type ModuleTestSuite struct {
diff --git a/x/committee/client/cli/cli_test.go b/x/committee/client/cli/cli_test.go
index 7ec6de7b..5ab33c65 100644
--- a/x/committee/client/cli/cli_test.go
+++ b/x/committee/client/cli/cli_test.go
@@ -7,8 +7,8 @@ import (
"github.com/cosmos/cosmos-sdk/codec"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/x/committee/client/cli"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/x/committee/client/cli"
)
type CLITestSuite struct {
diff --git a/x/committee/client/cli/query.go b/x/committee/client/cli/query.go
index 3d09124a..d559544e 100644
--- a/x/committee/client/cli/query.go
+++ b/x/committee/client/cli/query.go
@@ -7,11 +7,11 @@ import (
"github.com/spf13/cobra"
+ "github.com/0glabs/0g-chain/x/committee/client/common"
+ "github.com/0glabs/0g-chain/x/committee/types"
"github.com/cosmos/cosmos-sdk/client"
"github.com/cosmos/cosmos-sdk/client/flags"
"github.com/cosmos/cosmos-sdk/version"
- "github.com/kava-labs/kava/x/committee/client/common"
- "github.com/kava-labs/kava/x/committee/types"
)
// GetQueryCmd returns the cli query commands for this module
diff --git a/x/committee/client/cli/tx.go b/x/committee/client/cli/tx.go
index 8aaaa882..380c34bf 100644
--- a/x/committee/client/cli/tx.go
+++ b/x/committee/client/cli/tx.go
@@ -21,7 +21,7 @@ import (
govv1beta1 "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1"
paramsproposal "github.com/cosmos/cosmos-sdk/x/params/types/proposal"
- "github.com/kava-labs/kava/x/committee/types"
+ "github.com/0glabs/0g-chain/x/committee/types"
)
const PARAMS_CHANGE_PROPOSAL_EXAMPLE = `
diff --git a/x/committee/client/common/query.go b/x/committee/client/common/query.go
index 5efe31da..145f67ed 100644
--- a/x/committee/client/common/query.go
+++ b/x/committee/client/common/query.go
@@ -7,7 +7,7 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
authtx "github.com/cosmos/cosmos-sdk/x/auth/tx"
- "github.com/kava-labs/kava/x/committee/types"
+ "github.com/0glabs/0g-chain/x/committee/types"
)
// Note: QueryProposer is copied in from the gov module
diff --git a/x/committee/client/proposal_handler.go b/x/committee/client/proposal_handler.go
index f2494526..4d0dfce8 100644
--- a/x/committee/client/proposal_handler.go
+++ b/x/committee/client/proposal_handler.go
@@ -3,7 +3,7 @@ package client
import (
govclient "github.com/cosmos/cosmos-sdk/x/gov/client"
- "github.com/kava-labs/kava/x/committee/client/cli"
+ "github.com/0glabs/0g-chain/x/committee/client/cli"
)
// ProposalHandler is a struct containing handler funcs for submiting CommitteeChange/Delete proposal txs to the gov module through the cli or rest.
diff --git a/x/committee/genesis.go b/x/committee/genesis.go
index 7f9f9672..5fec0bc8 100644
--- a/x/committee/genesis.go
+++ b/x/committee/genesis.go
@@ -5,8 +5,8 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/committee/keeper"
- "github.com/kava-labs/kava/x/committee/types"
+ "github.com/0glabs/0g-chain/x/committee/keeper"
+ "github.com/0glabs/0g-chain/x/committee/types"
)
// InitGenesis initializes the store state from a genesis state.
diff --git a/x/committee/genesis_test.go b/x/committee/genesis_test.go
index 64f321f0..7b79a41d 100644
--- a/x/committee/genesis_test.go
+++ b/x/committee/genesis_test.go
@@ -9,11 +9,11 @@ import (
tmproto "github.com/cometbft/cometbft/proto/tendermint/types"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/x/committee"
- "github.com/kava-labs/kava/x/committee/keeper"
- "github.com/kava-labs/kava/x/committee/testutil"
- "github.com/kava-labs/kava/x/committee/types"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/x/committee"
+ "github.com/0glabs/0g-chain/x/committee/keeper"
+ "github.com/0glabs/0g-chain/x/committee/testutil"
+ "github.com/0glabs/0g-chain/x/committee/types"
)
type GenesisTestSuite struct {
diff --git a/x/committee/keeper/_param_permission_test.go b/x/committee/keeper/_param_permission_test.go
index 8ebe9c26..cd505043 100644
--- a/x/committee/keeper/_param_permission_test.go
+++ b/x/committee/keeper/_param_permission_test.go
@@ -12,11 +12,11 @@ import (
paramstypes "github.com/cosmos/cosmos-sdk/x/params/types"
"github.com/stretchr/testify/suite"
- "github.com/kava-labs/kava/app"
- bep3types "github.com/kava-labs/kava/x/bep3/types"
- cdptypes "github.com/kava-labs/kava/x/cdp/types"
- "github.com/kava-labs/kava/x/committee/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"
+ cdptypes "github.com/0glabs/0g-chain/x/cdp/types"
+ "github.com/0glabs/0g-chain/x/committee/types"
+ pricefeedtypes "github.com/0glabs/0g-chain/x/pricefeed/types"
)
type PermissionTestSuite struct {
diff --git a/x/committee/keeper/committee_test.go b/x/committee/keeper/committee_test.go
index dca7454c..b97e8a33 100644
--- a/x/committee/keeper/committee_test.go
+++ b/x/committee/keeper/committee_test.go
@@ -10,8 +10,8 @@ package keeper_test
// govtypes "github.com/cosmos/cosmos-sdk/x/gov/types"
// paramstypes "github.com/cosmos/cosmos-sdk/x/params/types"
-// "github.com/kava-labs/kava/app"
-// "github.com/kava-labs/kava/x/committee/types"
+// "github.com/0glabs/0g-chain/app"
+// "github.com/0glabs/0g-chain/x/committee/types"
// )
// type TypesTestSuite struct {
diff --git a/x/committee/keeper/gprc_query_test.go b/x/committee/keeper/gprc_query_test.go
index aba08664..9d115876 100644
--- a/x/committee/keeper/gprc_query_test.go
+++ b/x/committee/keeper/gprc_query_test.go
@@ -6,8 +6,8 @@ import (
"github.com/stretchr/testify/suite"
- "github.com/kava-labs/kava/x/committee/testutil"
- "github.com/kava-labs/kava/x/committee/types"
+ "github.com/0glabs/0g-chain/x/committee/testutil"
+ "github.com/0glabs/0g-chain/x/committee/types"
)
type grpcQueryTestSuite struct {
diff --git a/x/committee/keeper/grpc_query.go b/x/committee/keeper/grpc_query.go
index 0ef0bb45..a0c94679 100644
--- a/x/committee/keeper/grpc_query.go
+++ b/x/committee/keeper/grpc_query.go
@@ -10,7 +10,7 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/cosmos-sdk/types/query"
- "github.com/kava-labs/kava/x/committee/types"
+ "github.com/0glabs/0g-chain/x/committee/types"
)
type queryServer struct {
diff --git a/x/committee/keeper/integration_test.go b/x/committee/keeper/integration_test.go
index 75c04a0c..d76e2965 100644
--- a/x/committee/keeper/integration_test.go
+++ b/x/committee/keeper/integration_test.go
@@ -8,10 +8,10 @@ import (
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
govv1beta1 "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/x/committee/keeper"
- "github.com/kava-labs/kava/x/committee/testutil"
- "github.com/kava-labs/kava/x/committee/types"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/x/committee/keeper"
+ "github.com/0glabs/0g-chain/x/committee/testutil"
+ "github.com/0glabs/0g-chain/x/committee/types"
)
// getProposalVoteMap collects up votes into a map indexed by proposalID
diff --git a/x/committee/keeper/keeper.go b/x/committee/keeper/keeper.go
index 703a90be..6dd05170 100644
--- a/x/committee/keeper/keeper.go
+++ b/x/committee/keeper/keeper.go
@@ -10,7 +10,7 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
govv1beta1 "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1"
- "github.com/kava-labs/kava/x/committee/types"
+ "github.com/0glabs/0g-chain/x/committee/types"
)
type Keeper struct {
diff --git a/x/committee/keeper/keeper_test.go b/x/committee/keeper/keeper_test.go
index 4ba614a7..54cc1500 100644
--- a/x/committee/keeper/keeper_test.go
+++ b/x/committee/keeper/keeper_test.go
@@ -7,8 +7,8 @@ import (
govv1beta1 "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1"
"github.com/stretchr/testify/suite"
- "github.com/kava-labs/kava/x/committee/testutil"
- "github.com/kava-labs/kava/x/committee/types"
+ "github.com/0glabs/0g-chain/x/committee/testutil"
+ "github.com/0glabs/0g-chain/x/committee/types"
)
type keeperTestSuite struct {
diff --git a/x/committee/keeper/msg_server.go b/x/committee/keeper/msg_server.go
index 2458cad0..10ad8bfe 100644
--- a/x/committee/keeper/msg_server.go
+++ b/x/committee/keeper/msg_server.go
@@ -5,7 +5,7 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/committee/types"
+ "github.com/0glabs/0g-chain/x/committee/types"
)
type msgServer struct {
diff --git a/x/committee/keeper/msg_server_test.go b/x/committee/keeper/msg_server_test.go
index f0141ca6..f2128131 100644
--- a/x/committee/keeper/msg_server_test.go
+++ b/x/committee/keeper/msg_server_test.go
@@ -12,10 +12,10 @@ import (
proposal "github.com/cosmos/cosmos-sdk/x/params/types/proposal"
upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/x/committee/keeper"
- "github.com/kava-labs/kava/x/committee/types"
- swaptypes "github.com/kava-labs/kava/x/swap/types"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/x/committee/keeper"
+ "github.com/0glabs/0g-chain/x/committee/types"
+ swaptypes "github.com/0glabs/0g-chain/x/swap/types"
)
//NewDistributionGenesisWithPool creates a default distribution genesis state with some coins in the community pool.
diff --git a/x/committee/keeper/proposal.go b/x/committee/keeper/proposal.go
index 744a2b82..f1d922f9 100644
--- a/x/committee/keeper/proposal.go
+++ b/x/committee/keeper/proposal.go
@@ -7,7 +7,7 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"
- "github.com/kava-labs/kava/x/committee/types"
+ "github.com/0glabs/0g-chain/x/committee/types"
)
// SubmitProposal adds a proposal to a committee so that it can be voted on.
diff --git a/x/committee/keeper/proposal_test.go b/x/committee/keeper/proposal_test.go
index 7fa10db5..24278e19 100644
--- a/x/committee/keeper/proposal_test.go
+++ b/x/committee/keeper/proposal_test.go
@@ -10,13 +10,13 @@ import (
tmproto "github.com/cometbft/cometbft/proto/tendermint/types"
- "github.com/kava-labs/kava/app"
- // bep3types "github.com/kava-labs/kava/x/bep3/types"
- // cdptypes "github.com/kava-labs/kava/x/cdp/types"
+ "github.com/0glabs/0g-chain/app"
+ // bep3types "github.com/0glabs/0g-chain/x/bep3/types"
+ // cdptypes "github.com/0glabs/0g-chain/x/cdp/types"
- "github.com/kava-labs/kava/x/committee/testutil"
- "github.com/kava-labs/kava/x/committee/types"
- // "github.com/kava-labs/kava/x/pricefeed"
+ "github.com/0glabs/0g-chain/x/committee/testutil"
+ "github.com/0glabs/0g-chain/x/committee/types"
+ // "github.com/0glabs/0g-chain/x/pricefeed"
)
// func newCDPGenesisState(params cdptypes.Params) app.GenesisState {
diff --git a/x/committee/module.go b/x/committee/module.go
index f444e184..b9f17195 100644
--- a/x/committee/module.go
+++ b/x/committee/module.go
@@ -16,9 +16,9 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/cosmos-sdk/types/module"
- "github.com/kava-labs/kava/x/committee/client/cli"
- "github.com/kava-labs/kava/x/committee/keeper"
- "github.com/kava-labs/kava/x/committee/types"
+ "github.com/0glabs/0g-chain/x/committee/client/cli"
+ "github.com/0glabs/0g-chain/x/committee/keeper"
+ "github.com/0glabs/0g-chain/x/committee/types"
)
// ConsensusVersion defines the current module consensus version.
diff --git a/x/committee/proposal_handler.go b/x/committee/proposal_handler.go
index 0ffbda5d..db39543b 100644
--- a/x/committee/proposal_handler.go
+++ b/x/committee/proposal_handler.go
@@ -2,11 +2,11 @@ package committee
import (
errorsmod "cosmossdk.io/errors"
+ "github.com/0glabs/0g-chain/x/committee/keeper"
+ "github.com/0glabs/0g-chain/x/committee/types"
sdk "github.com/cosmos/cosmos-sdk/types"
sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"
govv1beta1 "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1"
- "github.com/kava-labs/kava/x/committee/keeper"
- "github.com/kava-labs/kava/x/committee/types"
)
func NewProposalHandler(k keeper.Keeper) govv1beta1.Handler {
diff --git a/x/committee/proposal_handler_test.go b/x/committee/proposal_handler_test.go
index 117554c8..588e0d50 100644
--- a/x/committee/proposal_handler_test.go
+++ b/x/committee/proposal_handler_test.go
@@ -12,11 +12,11 @@ import (
tmproto "github.com/cometbft/cometbft/proto/tendermint/types"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/x/committee"
- "github.com/kava-labs/kava/x/committee/keeper"
- "github.com/kava-labs/kava/x/committee/testutil"
- "github.com/kava-labs/kava/x/committee/types"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/x/committee"
+ "github.com/0glabs/0g-chain/x/committee/keeper"
+ "github.com/0glabs/0g-chain/x/committee/testutil"
+ "github.com/0glabs/0g-chain/x/committee/types"
)
var testTime time.Time = time.Date(1998, time.January, 1, 0, 0, 0, 0, time.UTC)
diff --git a/x/committee/testutil/suite.go b/x/committee/testutil/suite.go
index abc31441..5504a2bf 100644
--- a/x/committee/testutil/suite.go
+++ b/x/committee/testutil/suite.go
@@ -6,9 +6,9 @@ import (
bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper"
"github.com/stretchr/testify/suite"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/x/committee/keeper"
- "github.com/kava-labs/kava/x/committee/types"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/x/committee/keeper"
+ "github.com/0glabs/0g-chain/x/committee/types"
)
// Suite implements a test suite for the module integration tests
diff --git a/x/committee/types/codec.go b/x/committee/types/codec.go
index 753bd011..aa5c76b4 100644
--- a/x/committee/types/codec.go
+++ b/x/committee/types/codec.go
@@ -1,6 +1,8 @@
package types
import (
+ communitytypes "github.com/0glabs/0g-chain/x/community/types"
+ kavadisttypes "github.com/0glabs/0g-chain/x/kavadist/types"
"github.com/cosmos/cosmos-sdk/codec"
"github.com/cosmos/cosmos-sdk/codec/legacy"
"github.com/cosmos/cosmos-sdk/codec/types"
@@ -13,8 +15,6 @@ import (
govv1beta1 "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1"
proposaltypes "github.com/cosmos/cosmos-sdk/x/params/types/proposal"
upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types"
- communitytypes "github.com/kava-labs/kava/x/community/types"
- kavadisttypes "github.com/kava-labs/kava/x/kavadist/types"
)
var (
diff --git a/x/committee/types/committee_test.go b/x/committee/types/committee_test.go
index f467cac5..5a959aaf 100644
--- a/x/committee/types/committee_test.go
+++ b/x/committee/types/committee_test.go
@@ -11,8 +11,8 @@ import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
- "github.com/kava-labs/kava/x/committee/testutil"
- "github.com/kava-labs/kava/x/committee/types"
+ "github.com/0glabs/0g-chain/x/committee/testutil"
+ "github.com/0glabs/0g-chain/x/committee/types"
)
func TestBaseCommittee(t *testing.T) {
diff --git a/x/committee/types/genesis_test.go b/x/committee/types/genesis_test.go
index 98f6e8e5..a292d77e 100644
--- a/x/committee/types/genesis_test.go
+++ b/x/committee/types/genesis_test.go
@@ -10,8 +10,8 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
govv1beta1 "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1"
- "github.com/kava-labs/kava/x/committee/testutil"
- "github.com/kava-labs/kava/x/committee/types"
+ "github.com/0glabs/0g-chain/x/committee/testutil"
+ "github.com/0glabs/0g-chain/x/committee/types"
)
func TestGenesisState_Validate(t *testing.T) {
diff --git a/x/committee/types/param_permissions_test.go b/x/committee/types/param_permissions_test.go
index d4251714..7913f5b0 100644
--- a/x/committee/types/param_permissions_test.go
+++ b/x/committee/types/param_permissions_test.go
@@ -12,10 +12,10 @@ import (
"github.com/stretchr/testify/require"
"github.com/stretchr/testify/suite"
- "github.com/kava-labs/kava/app"
- cdptypes "github.com/kava-labs/kava/x/cdp/types"
- types "github.com/kava-labs/kava/x/committee/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"
+ types "github.com/0glabs/0g-chain/x/committee/types"
+ pricefeedtypes "github.com/0glabs/0g-chain/x/pricefeed/types"
)
type ParamsChangeTestSuite struct {
diff --git a/x/committee/types/permissions.go b/x/committee/types/permissions.go
index 3e4d6e77..c46fbcae 100644
--- a/x/committee/types/permissions.go
+++ b/x/committee/types/permissions.go
@@ -6,13 +6,13 @@ import (
"reflect"
"strings"
+ communitytypes "github.com/0glabs/0g-chain/x/community/types"
"github.com/cosmos/cosmos-sdk/codec/types"
sdk "github.com/cosmos/cosmos-sdk/types"
govv1beta1 "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1"
paramsproposal "github.com/cosmos/cosmos-sdk/x/params/types/proposal"
upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types"
proto "github.com/cosmos/gogoproto/proto"
- communitytypes "github.com/kava-labs/kava/x/community/types"
)
// Permission is anything with a method that validates whether a proposal is allowed by it or not.
diff --git a/x/committee/types/permissions_test.go b/x/committee/types/permissions_test.go
index 2fe4c8a8..084e6f90 100644
--- a/x/committee/types/permissions_test.go
+++ b/x/committee/types/permissions_test.go
@@ -10,8 +10,8 @@ import (
govv1beta1 "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1"
paramsproposal "github.com/cosmos/cosmos-sdk/x/params/types/proposal"
- "github.com/kava-labs/kava/x/committee/types"
- communitytypes "github.com/kava-labs/kava/x/community/types"
+ "github.com/0glabs/0g-chain/x/committee/types"
+ communitytypes "github.com/0glabs/0g-chain/x/community/types"
)
func TestPackPermissions_Success(t *testing.T) {
diff --git a/x/community/abci.go b/x/community/abci.go
index b20aeafd..9ae0dad4 100644
--- a/x/community/abci.go
+++ b/x/community/abci.go
@@ -6,8 +6,8 @@ import (
"github.com/cosmos/cosmos-sdk/telemetry"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/community/keeper"
- "github.com/kava-labs/kava/x/community/types"
+ "github.com/0glabs/0g-chain/x/community/keeper"
+ "github.com/0glabs/0g-chain/x/community/types"
)
// BeginBlocker runs the community module begin blocker logic.
diff --git a/x/community/abci_test.go b/x/community/abci_test.go
index c74938bd..5404c868 100644
--- a/x/community/abci_test.go
+++ b/x/community/abci_test.go
@@ -5,12 +5,12 @@ import (
"time"
sdkmath "cosmossdk.io/math"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/x/community"
+ "github.com/0glabs/0g-chain/x/community/types"
tmproto "github.com/cometbft/cometbft/proto/tendermint/types"
sdk "github.com/cosmos/cosmos-sdk/types"
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/x/community"
- "github.com/kava-labs/kava/x/community/types"
"github.com/stretchr/testify/require"
)
diff --git a/x/community/client/cli/query.go b/x/community/client/cli/query.go
index 527aceb6..6e5424a3 100644
--- a/x/community/client/cli/query.go
+++ b/x/community/client/cli/query.go
@@ -8,7 +8,7 @@ import (
"github.com/cosmos/cosmos-sdk/client"
"github.com/cosmos/cosmos-sdk/client/flags"
- "github.com/kava-labs/kava/x/community/types"
+ "github.com/0glabs/0g-chain/x/community/types"
)
// GetQueryCmd returns the cli query commands for the community module.
diff --git a/x/community/client/cli/tx.go b/x/community/client/cli/tx.go
index a140c12c..2567074e 100644
--- a/x/community/client/cli/tx.go
+++ b/x/community/client/cli/tx.go
@@ -13,8 +13,8 @@ import (
"github.com/cosmos/cosmos-sdk/version"
govv1beta1 "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1"
- "github.com/kava-labs/kava/x/community/client/utils"
- "github.com/kava-labs/kava/x/community/types"
+ "github.com/0glabs/0g-chain/x/community/client/utils"
+ "github.com/0glabs/0g-chain/x/community/types"
)
const (
diff --git a/x/community/client/proposal_handler.go b/x/community/client/proposal_handler.go
index f1a0dfa1..10c415eb 100644
--- a/x/community/client/proposal_handler.go
+++ b/x/community/client/proposal_handler.go
@@ -3,7 +3,7 @@ package client
import (
govclient "github.com/cosmos/cosmos-sdk/x/gov/client"
- "github.com/kava-labs/kava/x/community/client/cli"
+ "github.com/0glabs/0g-chain/x/community/client/cli"
)
// community-pool deposit/withdraw lend proposal handlers
diff --git a/x/community/client/utils/utils.go b/x/community/client/utils/utils.go
index 5b409a88..c62a32af 100644
--- a/x/community/client/utils/utils.go
+++ b/x/community/client/utils/utils.go
@@ -5,7 +5,7 @@ import (
"github.com/cosmos/cosmos-sdk/codec"
- "github.com/kava-labs/kava/x/community/types"
+ "github.com/0glabs/0g-chain/x/community/types"
)
// ParseCommunityPoolLendDepositProposal reads a JSON file and parses it to a CommunityPoolLendDepositProposal
diff --git a/x/community/client/utils/utils_test.go b/x/community/client/utils/utils_test.go
index 1088c832..87baea69 100644
--- a/x/community/client/utils/utils_test.go
+++ b/x/community/client/utils/utils_test.go
@@ -9,7 +9,7 @@ import (
"github.com/cosmos/cosmos-sdk/testutil"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/community/client/utils"
+ "github.com/0glabs/0g-chain/x/community/client/utils"
)
func TestParseDepositProposal(t *testing.T) {
diff --git a/x/community/disable_inflation_abci_test.go b/x/community/disable_inflation_abci_test.go
index 67c387c7..4a4fba87 100644
--- a/x/community/disable_inflation_abci_test.go
+++ b/x/community/disable_inflation_abci_test.go
@@ -6,9 +6,9 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/stretchr/testify/suite"
- "github.com/kava-labs/kava/x/community"
- "github.com/kava-labs/kava/x/community/keeper"
- "github.com/kava-labs/kava/x/community/testutil"
+ "github.com/0glabs/0g-chain/x/community"
+ "github.com/0glabs/0g-chain/x/community/keeper"
+ "github.com/0glabs/0g-chain/x/community/testutil"
)
func TestABCIDisableInflation(t *testing.T) {
diff --git a/x/community/genesis.go b/x/community/genesis.go
index e359fc49..40b532ec 100644
--- a/x/community/genesis.go
+++ b/x/community/genesis.go
@@ -6,8 +6,8 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/community/keeper"
- "github.com/kava-labs/kava/x/community/types"
+ "github.com/0glabs/0g-chain/x/community/keeper"
+ "github.com/0glabs/0g-chain/x/community/types"
)
// InitGenesis initializes the community module account and stores the genesis state
diff --git a/x/community/genesis_test.go b/x/community/genesis_test.go
index 1a8a2589..11cab4db 100644
--- a/x/community/genesis_test.go
+++ b/x/community/genesis_test.go
@@ -9,9 +9,9 @@ import (
sdkmath "cosmossdk.io/math"
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
- "github.com/kava-labs/kava/x/community"
- "github.com/kava-labs/kava/x/community/testutil"
- "github.com/kava-labs/kava/x/community/types"
+ "github.com/0glabs/0g-chain/x/community"
+ "github.com/0glabs/0g-chain/x/community/testutil"
+ "github.com/0glabs/0g-chain/x/community/types"
)
type genesisTestSuite struct {
diff --git a/x/community/handler.go b/x/community/handler.go
index 45cf024b..6f661ae1 100644
--- a/x/community/handler.go
+++ b/x/community/handler.go
@@ -6,8 +6,8 @@ import (
sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"
govv1beta1 "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1"
- "github.com/kava-labs/kava/x/community/keeper"
- "github.com/kava-labs/kava/x/community/types"
+ "github.com/0glabs/0g-chain/x/community/keeper"
+ "github.com/0glabs/0g-chain/x/community/types"
)
// NewCommunityPoolProposalHandler handles x/community proposals.
diff --git a/x/community/keeper/consolidate.go b/x/community/keeper/consolidate.go
index 41115785..748002da 100644
--- a/x/community/keeper/consolidate.go
+++ b/x/community/keeper/consolidate.go
@@ -3,10 +3,10 @@ package keeper
import (
"fmt"
+ "github.com/0glabs/0g-chain/x/community/types"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/community/types"
- kavadisttypes "github.com/kava-labs/kava/x/kavadist/types"
+ kavadisttypes "github.com/0glabs/0g-chain/x/kavadist/types"
distrtypes "github.com/cosmos/cosmos-sdk/x/distribution/types"
)
diff --git a/x/community/keeper/disable_inflation.go b/x/community/keeper/disable_inflation.go
index 1a88f53b..2ec1e0d9 100644
--- a/x/community/keeper/disable_inflation.go
+++ b/x/community/keeper/disable_inflation.go
@@ -3,8 +3,8 @@ package keeper
import (
"time"
+ "github.com/0glabs/0g-chain/x/community/types"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/community/types"
)
// CheckAndDisableMintAndKavaDistInflation compares the disable inflation time and block time,
diff --git a/x/community/keeper/disable_inflation_test.go b/x/community/keeper/disable_inflation_test.go
index 94e19097..69f07569 100644
--- a/x/community/keeper/disable_inflation_test.go
+++ b/x/community/keeper/disable_inflation_test.go
@@ -6,8 +6,8 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/stretchr/testify/suite"
- "github.com/kava-labs/kava/x/community/keeper"
- "github.com/kava-labs/kava/x/community/testutil"
+ "github.com/0glabs/0g-chain/x/community/keeper"
+ "github.com/0glabs/0g-chain/x/community/testutil"
)
func TestKeeperDisableInflation(t *testing.T) {
diff --git a/x/community/keeper/grpc_query.go b/x/community/keeper/grpc_query.go
index 44d58e6c..ac70351e 100644
--- a/x/community/keeper/grpc_query.go
+++ b/x/community/keeper/grpc_query.go
@@ -8,7 +8,7 @@ import (
"google.golang.org/grpc/codes"
"google.golang.org/grpc/status"
- "github.com/kava-labs/kava/x/community/types"
+ "github.com/0glabs/0g-chain/x/community/types"
)
type queryServer struct {
diff --git a/x/community/keeper/grpc_query_test.go b/x/community/keeper/grpc_query_test.go
index 6a4b9b28..8ed58b2d 100644
--- a/x/community/keeper/grpc_query_test.go
+++ b/x/community/keeper/grpc_query_test.go
@@ -10,10 +10,10 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/stretchr/testify/suite"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/x/community/keeper"
- "github.com/kava-labs/kava/x/community/testutil"
- "github.com/kava-labs/kava/x/community/types"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/x/community/keeper"
+ "github.com/0glabs/0g-chain/x/community/testutil"
+ "github.com/0glabs/0g-chain/x/community/types"
)
type grpcQueryTestSuite struct {
diff --git a/x/community/keeper/keeper.go b/x/community/keeper/keeper.go
index 585afaca..0bf0bb8c 100644
--- a/x/community/keeper/keeper.go
+++ b/x/community/keeper/keeper.go
@@ -8,7 +8,7 @@ import (
storetypes "github.com/cosmos/cosmos-sdk/store/types"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/community/types"
+ "github.com/0glabs/0g-chain/x/community/types"
)
// Keeper of the community store
diff --git a/x/community/keeper/keeper_test.go b/x/community/keeper/keeper_test.go
index f3d8d7d6..413603bb 100644
--- a/x/community/keeper/keeper_test.go
+++ b/x/community/keeper/keeper_test.go
@@ -12,9 +12,9 @@ import (
govtypes "github.com/cosmos/cosmos-sdk/x/gov/types"
"github.com/stretchr/testify/suite"
- "github.com/kava-labs/kava/x/community/keeper"
- "github.com/kava-labs/kava/x/community/testutil"
- "github.com/kava-labs/kava/x/community/types"
+ "github.com/0glabs/0g-chain/x/community/keeper"
+ "github.com/0glabs/0g-chain/x/community/testutil"
+ "github.com/0glabs/0g-chain/x/community/types"
)
// Test suite used for all keeper tests
diff --git a/x/community/keeper/migrations.go b/x/community/keeper/migrations.go
index 036c56fe..a89cd7d9 100644
--- a/x/community/keeper/migrations.go
+++ b/x/community/keeper/migrations.go
@@ -1,8 +1,8 @@
package keeper
import (
+ v2 "github.com/0glabs/0g-chain/x/community/migrations/v2"
sdk "github.com/cosmos/cosmos-sdk/types"
- v2 "github.com/kava-labs/kava/x/community/migrations/v2"
)
// Migrator is a struct for handling in-place store migrations.
diff --git a/x/community/keeper/msg_server.go b/x/community/keeper/msg_server.go
index e3945c96..02a27744 100644
--- a/x/community/keeper/msg_server.go
+++ b/x/community/keeper/msg_server.go
@@ -7,7 +7,7 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
govtypes "github.com/cosmos/cosmos-sdk/x/gov/types"
- "github.com/kava-labs/kava/x/community/types"
+ "github.com/0glabs/0g-chain/x/community/types"
)
type msgServer struct {
diff --git a/x/community/keeper/msg_server_test.go b/x/community/keeper/msg_server_test.go
index 63095161..a3bdc8fe 100644
--- a/x/community/keeper/msg_server_test.go
+++ b/x/community/keeper/msg_server_test.go
@@ -9,10 +9,10 @@ import (
govtypes "github.com/cosmos/cosmos-sdk/x/gov/types"
"github.com/stretchr/testify/suite"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/x/community/keeper"
- "github.com/kava-labs/kava/x/community/testutil"
- "github.com/kava-labs/kava/x/community/types"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/x/community/keeper"
+ "github.com/0glabs/0g-chain/x/community/testutil"
+ "github.com/0glabs/0g-chain/x/community/types"
)
type msgServerTestSuite struct {
diff --git a/x/community/keeper/params.go b/x/community/keeper/params.go
index 9819af33..4c3c6e90 100644
--- a/x/community/keeper/params.go
+++ b/x/community/keeper/params.go
@@ -5,7 +5,7 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/community/types"
+ "github.com/0glabs/0g-chain/x/community/types"
)
// GetParams returns the params from the store
diff --git a/x/community/keeper/params_test.go b/x/community/keeper/params_test.go
index 7dff215e..e16e19e4 100644
--- a/x/community/keeper/params_test.go
+++ b/x/community/keeper/params_test.go
@@ -10,9 +10,9 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/stretchr/testify/suite"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/x/community/keeper"
- "github.com/kava-labs/kava/x/community/types"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/x/community/keeper"
+ "github.com/0glabs/0g-chain/x/community/types"
)
// Test suite used for all store tests
diff --git a/x/community/keeper/proposal_handler.go b/x/community/keeper/proposal_handler.go
index f6366b5a..74f5e74f 100644
--- a/x/community/keeper/proposal_handler.go
+++ b/x/community/keeper/proposal_handler.go
@@ -3,7 +3,7 @@ package keeper
import (
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/community/types"
+ "github.com/0glabs/0g-chain/x/community/types"
)
// HandleCommunityPoolLendDepositProposal is a handler for executing a passed community pool lend deposit proposal.
diff --git a/x/community/keeper/proposal_handler_test.go b/x/community/keeper/proposal_handler_test.go
index 7f6a6f54..2da2fbda 100644
--- a/x/community/keeper/proposal_handler_test.go
+++ b/x/community/keeper/proposal_handler_test.go
@@ -12,14 +12,14 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/stretchr/testify/suite"
- "github.com/kava-labs/kava/app"
- cdpkeeper "github.com/kava-labs/kava/x/cdp/keeper"
- "github.com/kava-labs/kava/x/community/keeper"
- "github.com/kava-labs/kava/x/community/testutil"
- "github.com/kava-labs/kava/x/community/types"
- hardkeeper "github.com/kava-labs/kava/x/hard/keeper"
- hardtypes "github.com/kava-labs/kava/x/hard/types"
- pricefeedtypes "github.com/kava-labs/kava/x/pricefeed/types"
+ "github.com/0glabs/0g-chain/app"
+ cdpkeeper "github.com/0glabs/0g-chain/x/cdp/keeper"
+ "github.com/0glabs/0g-chain/x/community/keeper"
+ "github.com/0glabs/0g-chain/x/community/testutil"
+ "github.com/0glabs/0g-chain/x/community/types"
+ hardkeeper "github.com/0glabs/0g-chain/x/hard/keeper"
+ hardtypes "github.com/0glabs/0g-chain/x/hard/types"
+ pricefeedtypes "github.com/0glabs/0g-chain/x/pricefeed/types"
)
const chainID = app.TestChainId
diff --git a/x/community/keeper/rewards_test.go b/x/community/keeper/rewards_test.go
index 8aed1f76..45ea6bbe 100644
--- a/x/community/keeper/rewards_test.go
+++ b/x/community/keeper/rewards_test.go
@@ -9,7 +9,7 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/community/keeper"
+ "github.com/0glabs/0g-chain/x/community/keeper"
)
func TestStakingRewardsCalculator(t *testing.T) {
diff --git a/x/community/keeper/staking.go b/x/community/keeper/staking.go
index 52101a11..2d13dbc4 100644
--- a/x/community/keeper/staking.go
+++ b/x/community/keeper/staking.go
@@ -4,9 +4,9 @@ import (
"time"
sdkmath "cosmossdk.io/math"
+ "github.com/0glabs/0g-chain/x/community/types"
sdk "github.com/cosmos/cosmos-sdk/types"
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
- "github.com/kava-labs/kava/x/community/types"
)
const nanosecondsInOneSecond = int64(1000000000)
diff --git a/x/community/keeper/staking_test.go b/x/community/keeper/staking_test.go
index 5b02f044..c995c44d 100644
--- a/x/community/keeper/staking_test.go
+++ b/x/community/keeper/staking_test.go
@@ -6,8 +6,8 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/stretchr/testify/suite"
- "github.com/kava-labs/kava/x/community/keeper"
- "github.com/kava-labs/kava/x/community/testutil"
+ "github.com/0glabs/0g-chain/x/community/keeper"
+ "github.com/0glabs/0g-chain/x/community/testutil"
)
func TestKeeperPayoutAccumulatedStakingRewards(t *testing.T) {
diff --git a/x/community/migrations/v2/store.go b/x/community/migrations/v2/store.go
index 34907dfd..a801eeb6 100644
--- a/x/community/migrations/v2/store.go
+++ b/x/community/migrations/v2/store.go
@@ -6,9 +6,9 @@ import (
storetypes "github.com/cosmos/cosmos-sdk/store/types"
sdkmath "cosmossdk.io/math"
+ "github.com/0glabs/0g-chain/x/community/types"
"github.com/cosmos/cosmos-sdk/codec"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/community/types"
)
// Migrate migrates the x/community module state from the consensus version 1 to
diff --git a/x/community/migrations/v2/store_test.go b/x/community/migrations/v2/store_test.go
index 6c8deb2c..d55535b8 100644
--- a/x/community/migrations/v2/store_test.go
+++ b/x/community/migrations/v2/store_test.go
@@ -7,11 +7,11 @@ import (
sdkmath "cosmossdk.io/math"
"github.com/stretchr/testify/require"
+ "github.com/0glabs/0g-chain/app"
+ v2 "github.com/0glabs/0g-chain/x/community/migrations/v2"
+ "github.com/0glabs/0g-chain/x/community/types"
"github.com/cosmos/cosmos-sdk/testutil"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/app"
- v2 "github.com/kava-labs/kava/x/community/migrations/v2"
- "github.com/kava-labs/kava/x/community/types"
)
func TestMigrateStore(t *testing.T) {
diff --git a/x/community/module.go b/x/community/module.go
index 83eaef6e..5d9e9c1c 100644
--- a/x/community/module.go
+++ b/x/community/module.go
@@ -16,9 +16,9 @@ import (
abci "github.com/cometbft/cometbft/abci/types"
- "github.com/kava-labs/kava/x/community/client/cli"
- "github.com/kava-labs/kava/x/community/keeper"
- "github.com/kava-labs/kava/x/community/types"
+ "github.com/0glabs/0g-chain/x/community/client/cli"
+ "github.com/0glabs/0g-chain/x/community/keeper"
+ "github.com/0glabs/0g-chain/x/community/types"
)
// ConsensusVersion defines the current module consensus version.
diff --git a/x/community/module_test.go b/x/community/module_test.go
index 4e74874a..6a972bf0 100644
--- a/x/community/module_test.go
+++ b/x/community/module_test.go
@@ -6,9 +6,9 @@ import (
tmproto "github.com/cometbft/cometbft/proto/tendermint/types"
"github.com/stretchr/testify/require"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/x/community/types"
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/x/community/types"
)
func TestItCreatesModuleAccountOnInitBlock(t *testing.T) {
diff --git a/x/community/spec/03_messages.md b/x/community/spec/03_messages.md
index 90ecc05b..5e52b2ba 100644
--- a/x/community/spec/03_messages.md
+++ b/x/community/spec/03_messages.md
@@ -10,7 +10,7 @@ Send coins directly from the sender to the community module account.
The transaction fails if the amount cannot be transferred from the sender to the community module account.
-https://github.com/Kava-Labs/kava/blob/1d36429fe34cc5829d636d73b7c34751a925791b/proto/kava/community/v1beta1/tx.proto#L21-L30
+https://github.com/0glabs/0g-chain/blob/1d36429fe34cc5829d636d73b7c34751a925791b/proto/kava/community/v1beta1/tx.proto#L21-L30
## UpdateParams
@@ -19,4 +19,4 @@ Update module parameters via gov proposal.
The transaction fails if the message is not submitted through a gov proposal.
The message `authority` must be the x/gov module account address.
-https://github.com/Kava-Labs/kava/blob/1d36429fe34cc5829d636d73b7c34751a925791b/proto/kava/community/v1beta1/tx.proto#L35-L44
+https://github.com/0glabs/0g-chain/blob/1d36429fe34cc5829d636d73b7c34751a925791b/proto/kava/community/v1beta1/tx.proto#L35-L44
diff --git a/x/community/staking_rewards_abci_test.go b/x/community/staking_rewards_abci_test.go
index d943170e..a13ab079 100644
--- a/x/community/staking_rewards_abci_test.go
+++ b/x/community/staking_rewards_abci_test.go
@@ -3,10 +3,10 @@ package community_test
import (
"testing"
+ "github.com/0glabs/0g-chain/x/community"
+ "github.com/0glabs/0g-chain/x/community/keeper"
+ "github.com/0glabs/0g-chain/x/community/testutil"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/community"
- "github.com/kava-labs/kava/x/community/keeper"
- "github.com/kava-labs/kava/x/community/testutil"
"github.com/stretchr/testify/suite"
)
diff --git a/x/community/testutil/cdp_genesis.go b/x/community/testutil/cdp_genesis.go
index 3b4ef80d..eb7309b7 100644
--- a/x/community/testutil/cdp_genesis.go
+++ b/x/community/testutil/cdp_genesis.go
@@ -6,8 +6,8 @@ import (
"github.com/cosmos/cosmos-sdk/codec"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/app"
- cdptypes "github.com/kava-labs/kava/x/cdp/types"
+ "github.com/0glabs/0g-chain/app"
+ cdptypes "github.com/0glabs/0g-chain/x/cdp/types"
)
func NewCDPGenState(cdc codec.JSONCodec, denom, asset string, liquidationRatio sdk.Dec) app.GenesisState {
diff --git a/x/community/testutil/consolidate.go b/x/community/testutil/consolidate.go
index 51ec6a5f..49b2ab9d 100644
--- a/x/community/testutil/consolidate.go
+++ b/x/community/testutil/consolidate.go
@@ -6,10 +6,10 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
banktypes "github.com/cosmos/cosmos-sdk/x/bank/types"
+ "github.com/0glabs/0g-chain/app"
+ types "github.com/0glabs/0g-chain/x/community/types"
+ kavadisttypes "github.com/0glabs/0g-chain/x/kavadist/types"
distrtypes "github.com/cosmos/cosmos-sdk/x/distribution/types"
- "github.com/kava-labs/kava/app"
- types "github.com/kava-labs/kava/x/community/types"
- kavadisttypes "github.com/kava-labs/kava/x/kavadist/types"
)
func (suite *disableInflationTestSuite) TestStartCommunityFundConsolidation() {
diff --git a/x/community/testutil/disable_inflation.go b/x/community/testutil/disable_inflation.go
index 4d37cc73..39902b08 100644
--- a/x/community/testutil/disable_inflation.go
+++ b/x/community/testutil/disable_inflation.go
@@ -11,11 +11,11 @@ import (
"github.com/stretchr/testify/suite"
sdkmath "cosmossdk.io/math"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/x/community"
- "github.com/kava-labs/kava/x/community/keeper"
- "github.com/kava-labs/kava/x/community/types"
- kavadisttypes "github.com/kava-labs/kava/x/kavadist/types"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/x/community"
+ "github.com/0glabs/0g-chain/x/community/keeper"
+ "github.com/0glabs/0g-chain/x/community/types"
+ kavadisttypes "github.com/0glabs/0g-chain/x/kavadist/types"
)
type testFunc func(sdk.Context, keeper.Keeper)
diff --git a/x/community/testutil/main.go b/x/community/testutil/main.go
index 1016b68e..4142ce38 100644
--- a/x/community/testutil/main.go
+++ b/x/community/testutil/main.go
@@ -7,9 +7,9 @@ import (
tmtime "github.com/cometbft/cometbft/types/time"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/x/community/keeper"
- "github.com/kava-labs/kava/x/community/types"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/x/community/keeper"
+ "github.com/0glabs/0g-chain/x/community/types"
)
// Test suite used for all community tests
diff --git a/x/community/testutil/pricefeed_genesis_builder.go b/x/community/testutil/pricefeed_genesis_builder.go
index e0a2e37c..087e7f18 100644
--- a/x/community/testutil/pricefeed_genesis_builder.go
+++ b/x/community/testutil/pricefeed_genesis_builder.go
@@ -4,9 +4,9 @@ import (
"time"
sdkmath "cosmossdk.io/math"
+ hardtypes "github.com/0glabs/0g-chain/x/hard/types"
+ pricefeedtypes "github.com/0glabs/0g-chain/x/pricefeed/types"
sdk "github.com/cosmos/cosmos-sdk/types"
- hardtypes "github.com/kava-labs/kava/x/hard/types"
- pricefeedtypes "github.com/kava-labs/kava/x/pricefeed/types"
)
// lendGenesisBuilder builds the Hard and Pricefeed genesis states for setting up Kava Lend
diff --git a/x/community/testutil/staking_rewards.go b/x/community/testutil/staking_rewards.go
index dbecab2c..150951b5 100644
--- a/x/community/testutil/staking_rewards.go
+++ b/x/community/testutil/staking_rewards.go
@@ -10,12 +10,12 @@ import (
"github.com/stretchr/testify/suite"
sdkmath "cosmossdk.io/math"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/x/community"
+ "github.com/0glabs/0g-chain/x/community/keeper"
+ "github.com/0glabs/0g-chain/x/community/types"
sdk "github.com/cosmos/cosmos-sdk/types"
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/x/community"
- "github.com/kava-labs/kava/x/community/keeper"
- "github.com/kava-labs/kava/x/community/types"
)
// StakingRewardsTestSuite tests staking rewards per second logic
diff --git a/x/community/types/expected_keepers.go b/x/community/types/expected_keepers.go
index 468b4efc..c372473f 100644
--- a/x/community/types/expected_keepers.go
+++ b/x/community/types/expected_keepers.go
@@ -2,11 +2,11 @@ package types
import (
sdkmath "cosmossdk.io/math"
+ kavadisttypes "github.com/0glabs/0g-chain/x/kavadist/types"
sdk "github.com/cosmos/cosmos-sdk/types"
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
distrtypes "github.com/cosmos/cosmos-sdk/x/distribution/types"
minttypes "github.com/cosmos/cosmos-sdk/x/mint/types"
- kavadisttypes "github.com/kava-labs/kava/x/kavadist/types"
)
// AccountKeeper defines the contract required for account APIs.
diff --git a/x/community/types/genesis_test.go b/x/community/types/genesis_test.go
index 124364a2..9fecea13 100644
--- a/x/community/types/genesis_test.go
+++ b/x/community/types/genesis_test.go
@@ -5,7 +5,7 @@ import (
"github.com/stretchr/testify/require"
- "github.com/kava-labs/kava/x/community/types"
+ "github.com/0glabs/0g-chain/x/community/types"
)
func TestDefaultGenesisState(t *testing.T) {
diff --git a/x/community/types/msg_test.go b/x/community/types/msg_test.go
index 5629e40f..efdcd10d 100644
--- a/x/community/types/msg_test.go
+++ b/x/community/types/msg_test.go
@@ -6,10 +6,10 @@ import (
"github.com/stretchr/testify/require"
sdkmath "cosmossdk.io/math"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/x/community/types"
sdk "github.com/cosmos/cosmos-sdk/types"
sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/x/community/types"
)
func TestFundCommunityPool_ValidateBasic(t *testing.T) {
diff --git a/x/community/types/params_test.go b/x/community/types/params_test.go
index c9017c13..8983666e 100644
--- a/x/community/types/params_test.go
+++ b/x/community/types/params_test.go
@@ -7,7 +7,7 @@ import (
"github.com/stretchr/testify/require"
sdkmath "cosmossdk.io/math"
- "github.com/kava-labs/kava/x/community/types"
+ "github.com/0glabs/0g-chain/x/community/types"
)
type paramTestCase struct {
diff --git a/x/community/types/proposal_test.go b/x/community/types/proposal_test.go
index 384fcf53..ed9dc9ce 100644
--- a/x/community/types/proposal_test.go
+++ b/x/community/types/proposal_test.go
@@ -6,7 +6,7 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/stretchr/testify/require"
- "github.com/kava-labs/kava/x/community/types"
+ "github.com/0glabs/0g-chain/x/community/types"
)
func TestLendProposals_ValidateBasic(t *testing.T) {
diff --git a/x/community/types/staking_test.go b/x/community/types/staking_test.go
index 20e83128..1758b9e8 100644
--- a/x/community/types/staking_test.go
+++ b/x/community/types/staking_test.go
@@ -7,7 +7,7 @@ import (
"github.com/stretchr/testify/require"
sdkmath "cosmossdk.io/math"
- "github.com/kava-labs/kava/x/community/types"
+ "github.com/0glabs/0g-chain/x/community/types"
)
type stakingRewardsStateTestCase struct {
diff --git a/x/earn/client/cli/query.go b/x/earn/client/cli/query.go
index 129eb279..fb514e62 100644
--- a/x/earn/client/cli/query.go
+++ b/x/earn/client/cli/query.go
@@ -10,7 +10,7 @@ import (
"github.com/cosmos/cosmos-sdk/client/flags"
"github.com/cosmos/cosmos-sdk/version"
- "github.com/kava-labs/kava/x/earn/types"
+ "github.com/0glabs/0g-chain/x/earn/types"
)
// flags for cli queries
diff --git a/x/earn/client/cli/tx.go b/x/earn/client/cli/tx.go
index 2ab9e45d..038b9512 100644
--- a/x/earn/client/cli/tx.go
+++ b/x/earn/client/cli/tx.go
@@ -13,7 +13,7 @@ import (
"github.com/cosmos/cosmos-sdk/version"
govv1beta1 "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1"
- "github.com/kava-labs/kava/x/earn/types"
+ "github.com/0glabs/0g-chain/x/earn/types"
)
// GetTxCmd returns the transaction commands for this module
diff --git a/x/earn/client/cli/utils.go b/x/earn/client/cli/utils.go
index c8693ec4..6e2ab52c 100644
--- a/x/earn/client/cli/utils.go
+++ b/x/earn/client/cli/utils.go
@@ -5,7 +5,7 @@ import (
"github.com/cosmos/cosmos-sdk/codec"
- "github.com/kava-labs/kava/x/earn/types"
+ "github.com/0glabs/0g-chain/x/earn/types"
)
// ParseCommunityPoolDepositProposalJSON reads and parses a CommunityPoolDepositProposalJSON from a file.
diff --git a/x/earn/client/proposal_handler.go b/x/earn/client/proposal_handler.go
index 22d75829..adb0ab23 100644
--- a/x/earn/client/proposal_handler.go
+++ b/x/earn/client/proposal_handler.go
@@ -3,7 +3,7 @@ package client
import (
govclient "github.com/cosmos/cosmos-sdk/x/gov/client"
- "github.com/kava-labs/kava/x/earn/client/cli"
+ "github.com/0glabs/0g-chain/x/earn/client/cli"
)
// community-pool deposit/withdraw proposal handlers
diff --git a/x/earn/genesis.go b/x/earn/genesis.go
index 0fd7212a..e234586c 100644
--- a/x/earn/genesis.go
+++ b/x/earn/genesis.go
@@ -5,8 +5,8 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/earn/keeper"
- "github.com/kava-labs/kava/x/earn/types"
+ "github.com/0glabs/0g-chain/x/earn/keeper"
+ "github.com/0glabs/0g-chain/x/earn/types"
)
// InitGenesis initializes genesis state
diff --git a/x/earn/genesis_test.go b/x/earn/genesis_test.go
index 2d982a6d..6a54bcc2 100644
--- a/x/earn/genesis_test.go
+++ b/x/earn/genesis_test.go
@@ -3,10 +3,10 @@ package earn_test
import (
"testing"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/x/earn"
- "github.com/kava-labs/kava/x/earn/testutil"
- "github.com/kava-labs/kava/x/earn/types"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/x/earn"
+ "github.com/0glabs/0g-chain/x/earn/testutil"
+ "github.com/0glabs/0g-chain/x/earn/types"
"github.com/stretchr/testify/suite"
sdk "github.com/cosmos/cosmos-sdk/types"
diff --git a/x/earn/handler.go b/x/earn/handler.go
index 08ed4ef4..3596a2ed 100644
--- a/x/earn/handler.go
+++ b/x/earn/handler.go
@@ -6,8 +6,8 @@ import (
sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"
govv1beta1 "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1"
- "github.com/kava-labs/kava/x/earn/keeper"
- "github.com/kava-labs/kava/x/earn/types"
+ "github.com/0glabs/0g-chain/x/earn/keeper"
+ "github.com/0glabs/0g-chain/x/earn/types"
)
// NewCommunityPoolProposalHandler
diff --git a/x/earn/keeper/deposit.go b/x/earn/keeper/deposit.go
index 5598e5c1..8127e06f 100644
--- a/x/earn/keeper/deposit.go
+++ b/x/earn/keeper/deposit.go
@@ -5,7 +5,7 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/earn/types"
+ "github.com/0glabs/0g-chain/x/earn/types"
)
// Deposit adds the provided amount from a depositor to a vault. The vault is
diff --git a/x/earn/keeper/deposit_test.go b/x/earn/keeper/deposit_test.go
index 806d1b17..765c30f0 100644
--- a/x/earn/keeper/deposit_test.go
+++ b/x/earn/keeper/deposit_test.go
@@ -7,9 +7,9 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/x/earn/testutil"
- "github.com/kava-labs/kava/x/earn/types"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/x/earn/testutil"
+ "github.com/0glabs/0g-chain/x/earn/types"
"github.com/stretchr/testify/suite"
)
diff --git a/x/earn/keeper/grpc_query.go b/x/earn/keeper/grpc_query.go
index b3175c9b..8b96fd15 100644
--- a/x/earn/keeper/grpc_query.go
+++ b/x/earn/keeper/grpc_query.go
@@ -10,7 +10,7 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/earn/types"
+ "github.com/0glabs/0g-chain/x/earn/types"
)
type queryServer struct {
diff --git a/x/earn/keeper/grpc_query_test.go b/x/earn/keeper/grpc_query_test.go
index 2ba413c3..466af2f4 100644
--- a/x/earn/keeper/grpc_query_test.go
+++ b/x/earn/keeper/grpc_query_test.go
@@ -16,11 +16,11 @@ import (
"google.golang.org/grpc/codes"
"google.golang.org/grpc/status"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/x/earn/keeper"
- "github.com/kava-labs/kava/x/earn/testutil"
- "github.com/kava-labs/kava/x/earn/types"
- liquidtypes "github.com/kava-labs/kava/x/liquid/types"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/x/earn/keeper"
+ "github.com/0glabs/0g-chain/x/earn/testutil"
+ "github.com/0glabs/0g-chain/x/earn/types"
+ liquidtypes "github.com/0glabs/0g-chain/x/liquid/types"
)
type grpcQueryTestSuite struct {
diff --git a/x/earn/keeper/hooks.go b/x/earn/keeper/hooks.go
index 36a33ce3..d693b91c 100644
--- a/x/earn/keeper/hooks.go
+++ b/x/earn/keeper/hooks.go
@@ -3,7 +3,7 @@ package keeper
import (
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/earn/types"
+ "github.com/0glabs/0g-chain/x/earn/types"
)
// Implements EarnHooks interface
diff --git a/x/earn/keeper/hooks_test.go b/x/earn/keeper/hooks_test.go
index 55d8b673..63ff718a 100644
--- a/x/earn/keeper/hooks_test.go
+++ b/x/earn/keeper/hooks_test.go
@@ -3,9 +3,9 @@ package keeper_test
import (
"testing"
- "github.com/kava-labs/kava/x/earn/testutil"
- "github.com/kava-labs/kava/x/earn/types"
- "github.com/kava-labs/kava/x/earn/types/mocks"
+ "github.com/0glabs/0g-chain/x/earn/testutil"
+ "github.com/0glabs/0g-chain/x/earn/types"
+ "github.com/0glabs/0g-chain/x/earn/types/mocks"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/stretchr/testify/mock"
diff --git a/x/earn/keeper/invariants.go b/x/earn/keeper/invariants.go
index 880921e8..5f94d7f8 100644
--- a/x/earn/keeper/invariants.go
+++ b/x/earn/keeper/invariants.go
@@ -1,7 +1,7 @@
package keeper
import (
- "github.com/kava-labs/kava/x/earn/types"
+ "github.com/0glabs/0g-chain/x/earn/types"
sdk "github.com/cosmos/cosmos-sdk/types"
)
diff --git a/x/earn/keeper/invariants_test.go b/x/earn/keeper/invariants_test.go
index cd0ebd4a..12f9687d 100644
--- a/x/earn/keeper/invariants_test.go
+++ b/x/earn/keeper/invariants_test.go
@@ -3,10 +3,10 @@ package keeper_test
import (
"testing"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/x/earn/keeper"
- "github.com/kava-labs/kava/x/earn/testutil"
- "github.com/kava-labs/kava/x/earn/types"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/x/earn/keeper"
+ "github.com/0glabs/0g-chain/x/earn/testutil"
+ "github.com/0glabs/0g-chain/x/earn/types"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/stretchr/testify/suite"
diff --git a/x/earn/keeper/keeper.go b/x/earn/keeper/keeper.go
index c7a691d7..b61619c5 100644
--- a/x/earn/keeper/keeper.go
+++ b/x/earn/keeper/keeper.go
@@ -1,9 +1,9 @@
package keeper
import (
+ "github.com/0glabs/0g-chain/x/earn/types"
"github.com/cosmos/cosmos-sdk/codec"
storetypes "github.com/cosmos/cosmos-sdk/store/types"
- "github.com/kava-labs/kava/x/earn/types"
paramtypes "github.com/cosmos/cosmos-sdk/x/params/types"
)
diff --git a/x/earn/keeper/msg_server.go b/x/earn/keeper/msg_server.go
index 1e719b99..a9e4d1da 100644
--- a/x/earn/keeper/msg_server.go
+++ b/x/earn/keeper/msg_server.go
@@ -5,7 +5,7 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/earn/types"
+ "github.com/0glabs/0g-chain/x/earn/types"
)
type msgServer struct {
diff --git a/x/earn/keeper/msg_server_test.go b/x/earn/keeper/msg_server_test.go
index 04efa27d..2a7f4a1f 100644
--- a/x/earn/keeper/msg_server_test.go
+++ b/x/earn/keeper/msg_server_test.go
@@ -6,10 +6,10 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
banktypes "github.com/cosmos/cosmos-sdk/x/bank/types"
+ "github.com/0glabs/0g-chain/x/earn/keeper"
+ "github.com/0glabs/0g-chain/x/earn/testutil"
+ "github.com/0glabs/0g-chain/x/earn/types"
"github.com/cometbft/cometbft/crypto"
- "github.com/kava-labs/kava/x/earn/keeper"
- "github.com/kava-labs/kava/x/earn/testutil"
- "github.com/kava-labs/kava/x/earn/types"
"github.com/stretchr/testify/suite"
)
diff --git a/x/earn/keeper/params.go b/x/earn/keeper/params.go
index 217b514e..6223b9d4 100644
--- a/x/earn/keeper/params.go
+++ b/x/earn/keeper/params.go
@@ -5,7 +5,7 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/earn/types"
+ "github.com/0glabs/0g-chain/x/earn/types"
)
const (
diff --git a/x/earn/keeper/proposal_handler.go b/x/earn/keeper/proposal_handler.go
index 03b08c7c..82986ae5 100644
--- a/x/earn/keeper/proposal_handler.go
+++ b/x/earn/keeper/proposal_handler.go
@@ -3,8 +3,8 @@ package keeper
import (
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/earn/types"
- kavadisttypes "github.com/kava-labs/kava/x/kavadist/types"
+ "github.com/0glabs/0g-chain/x/earn/types"
+ kavadisttypes "github.com/0glabs/0g-chain/x/kavadist/types"
)
// HandleCommunityPoolDepositProposal is a handler for executing a passed community pool deposit proposal
diff --git a/x/earn/keeper/proposal_handler_test.go b/x/earn/keeper/proposal_handler_test.go
index 1d030abc..f213e0dc 100644
--- a/x/earn/keeper/proposal_handler_test.go
+++ b/x/earn/keeper/proposal_handler_test.go
@@ -4,10 +4,10 @@ import (
"testing"
sdkmath "cosmossdk.io/math"
+ "github.com/0glabs/0g-chain/x/earn/keeper"
+ "github.com/0glabs/0g-chain/x/earn/testutil"
+ "github.com/0glabs/0g-chain/x/earn/types"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/earn/keeper"
- "github.com/kava-labs/kava/x/earn/testutil"
- "github.com/kava-labs/kava/x/earn/types"
"github.com/stretchr/testify/suite"
)
diff --git a/x/earn/keeper/strategy.go b/x/earn/keeper/strategy.go
index 7aa9a001..96d26a71 100644
--- a/x/earn/keeper/strategy.go
+++ b/x/earn/keeper/strategy.go
@@ -3,8 +3,8 @@ package keeper
import (
"fmt"
+ "github.com/0glabs/0g-chain/x/earn/types"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/earn/types"
)
// Strategy is the interface that must be implemented by a strategy.
diff --git a/x/earn/keeper/strategy_hard.go b/x/earn/keeper/strategy_hard.go
index b703435e..12759ba4 100644
--- a/x/earn/keeper/strategy_hard.go
+++ b/x/earn/keeper/strategy_hard.go
@@ -1,8 +1,8 @@
package keeper
import (
+ "github.com/0glabs/0g-chain/x/earn/types"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/earn/types"
)
// HardStrategy defines the strategy that deposits assets to Hard
diff --git a/x/earn/keeper/strategy_hard_test.go b/x/earn/keeper/strategy_hard_test.go
index a283763e..31eca7cb 100644
--- a/x/earn/keeper/strategy_hard_test.go
+++ b/x/earn/keeper/strategy_hard_test.go
@@ -6,8 +6,8 @@ import (
sdkmath "cosmossdk.io/math"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/earn/testutil"
- "github.com/kava-labs/kava/x/earn/types"
+ "github.com/0glabs/0g-chain/x/earn/testutil"
+ "github.com/0glabs/0g-chain/x/earn/types"
"github.com/stretchr/testify/suite"
)
diff --git a/x/earn/keeper/strategy_savings.go b/x/earn/keeper/strategy_savings.go
index c5955e67..aa15c0d3 100644
--- a/x/earn/keeper/strategy_savings.go
+++ b/x/earn/keeper/strategy_savings.go
@@ -1,8 +1,8 @@
package keeper
import (
+ "github.com/0glabs/0g-chain/x/earn/types"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/earn/types"
)
// SavingsStrategy defines the strategy that deposits assets to x/savings
diff --git a/x/earn/keeper/strategy_savings_test.go b/x/earn/keeper/strategy_savings_test.go
index 72ad8d24..827b90f2 100644
--- a/x/earn/keeper/strategy_savings_test.go
+++ b/x/earn/keeper/strategy_savings_test.go
@@ -6,8 +6,8 @@ import (
sdkmath "cosmossdk.io/math"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/earn/testutil"
- "github.com/kava-labs/kava/x/earn/types"
+ "github.com/0glabs/0g-chain/x/earn/testutil"
+ "github.com/0glabs/0g-chain/x/earn/types"
"github.com/stretchr/testify/suite"
)
diff --git a/x/earn/keeper/vault.go b/x/earn/keeper/vault.go
index edb689e1..e524acb4 100644
--- a/x/earn/keeper/vault.go
+++ b/x/earn/keeper/vault.go
@@ -3,8 +3,8 @@ package keeper
import (
"fmt"
+ "github.com/0glabs/0g-chain/x/earn/types"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/earn/types"
)
// GetVaultTotalShares returns the total shares of a vault.
diff --git a/x/earn/keeper/vault_record.go b/x/earn/keeper/vault_record.go
index 9a7eb29d..13f96d96 100644
--- a/x/earn/keeper/vault_record.go
+++ b/x/earn/keeper/vault_record.go
@@ -1,9 +1,9 @@
package keeper
import (
+ "github.com/0glabs/0g-chain/x/earn/types"
"github.com/cosmos/cosmos-sdk/store/prefix"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/earn/types"
)
// ----------------------------------------------------------------------------
diff --git a/x/earn/keeper/vault_share.go b/x/earn/keeper/vault_share.go
index 36f3c608..2fe10ff8 100644
--- a/x/earn/keeper/vault_share.go
+++ b/x/earn/keeper/vault_share.go
@@ -3,8 +3,8 @@ package keeper
import (
"fmt"
+ "github.com/0glabs/0g-chain/x/earn/types"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/earn/types"
)
// ConvertToShares converts a given amount of tokens to shares.
diff --git a/x/earn/keeper/vault_share_record.go b/x/earn/keeper/vault_share_record.go
index 03585397..daa2293f 100644
--- a/x/earn/keeper/vault_share_record.go
+++ b/x/earn/keeper/vault_share_record.go
@@ -1,9 +1,9 @@
package keeper
import (
+ "github.com/0glabs/0g-chain/x/earn/types"
"github.com/cosmos/cosmos-sdk/store/prefix"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/earn/types"
)
// ----------------------------------------------------------------------------
diff --git a/x/earn/keeper/vault_share_record_test.go b/x/earn/keeper/vault_share_record_test.go
index 89eb4806..c57d530e 100644
--- a/x/earn/keeper/vault_share_record_test.go
+++ b/x/earn/keeper/vault_share_record_test.go
@@ -1,8 +1,8 @@
package keeper_test
import (
+ "github.com/0glabs/0g-chain/x/earn/types"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/earn/types"
)
// ----------------------------------------------------------------------------
diff --git a/x/earn/keeper/vault_share_test.go b/x/earn/keeper/vault_share_test.go
index 8cefd82a..9f8d8faa 100644
--- a/x/earn/keeper/vault_share_test.go
+++ b/x/earn/keeper/vault_share_test.go
@@ -8,8 +8,8 @@ import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/suite"
- "github.com/kava-labs/kava/x/earn/testutil"
- "github.com/kava-labs/kava/x/earn/types"
+ "github.com/0glabs/0g-chain/x/earn/testutil"
+ "github.com/0glabs/0g-chain/x/earn/types"
)
type vaultShareTestSuite struct {
diff --git a/x/earn/keeper/vault_test.go b/x/earn/keeper/vault_test.go
index d1568880..32d9c120 100644
--- a/x/earn/keeper/vault_test.go
+++ b/x/earn/keeper/vault_test.go
@@ -6,8 +6,8 @@ import (
sdkmath "cosmossdk.io/math"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/earn/testutil"
- "github.com/kava-labs/kava/x/earn/types"
+ "github.com/0glabs/0g-chain/x/earn/testutil"
+ "github.com/0glabs/0g-chain/x/earn/types"
"github.com/stretchr/testify/suite"
)
diff --git a/x/earn/keeper/withdraw.go b/x/earn/keeper/withdraw.go
index f11a21bf..834a5f0f 100644
--- a/x/earn/keeper/withdraw.go
+++ b/x/earn/keeper/withdraw.go
@@ -6,7 +6,7 @@ import (
errorsmod "cosmossdk.io/errors"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/earn/types"
+ "github.com/0glabs/0g-chain/x/earn/types"
)
// Withdraw removes the amount of supplied tokens from a vault and transfers it
diff --git a/x/earn/keeper/withdraw_test.go b/x/earn/keeper/withdraw_test.go
index 4b8d0b4d..7bc10458 100644
--- a/x/earn/keeper/withdraw_test.go
+++ b/x/earn/keeper/withdraw_test.go
@@ -6,8 +6,8 @@ import (
sdkmath "cosmossdk.io/math"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/earn/testutil"
- "github.com/kava-labs/kava/x/earn/types"
+ "github.com/0glabs/0g-chain/x/earn/testutil"
+ "github.com/0glabs/0g-chain/x/earn/types"
"github.com/stretchr/testify/suite"
)
diff --git a/x/earn/module.go b/x/earn/module.go
index 03374364..127884f0 100644
--- a/x/earn/module.go
+++ b/x/earn/module.go
@@ -16,9 +16,9 @@ import (
abci "github.com/cometbft/cometbft/abci/types"
- "github.com/kava-labs/kava/x/earn/client/cli"
- "github.com/kava-labs/kava/x/earn/keeper"
- "github.com/kava-labs/kava/x/earn/types"
+ "github.com/0glabs/0g-chain/x/earn/client/cli"
+ "github.com/0glabs/0g-chain/x/earn/keeper"
+ "github.com/0glabs/0g-chain/x/earn/types"
)
var (
diff --git a/x/earn/testutil/suite.go b/x/earn/testutil/suite.go
index 063dca41..4d938df2 100644
--- a/x/earn/testutil/suite.go
+++ b/x/earn/testutil/suite.go
@@ -6,17 +6,17 @@ import (
"time"
sdkmath "cosmossdk.io/math"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/x/earn/keeper"
+ "github.com/0glabs/0g-chain/x/earn/types"
+ "github.com/0glabs/0g-chain/x/hard"
"github.com/cosmos/cosmos-sdk/crypto/keys/ed25519"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/x/earn/keeper"
- "github.com/kava-labs/kava/x/earn/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"
- pricefeedtypes "github.com/kava-labs/kava/x/pricefeed/types"
- savingskeeper "github.com/kava-labs/kava/x/savings/keeper"
- savingstypes "github.com/kava-labs/kava/x/savings/types"
+ hardkeeper "github.com/0glabs/0g-chain/x/hard/keeper"
+ hardtypes "github.com/0glabs/0g-chain/x/hard/types"
+ pricefeedtypes "github.com/0glabs/0g-chain/x/pricefeed/types"
+ savingskeeper "github.com/0glabs/0g-chain/x/savings/keeper"
+ savingstypes "github.com/0glabs/0g-chain/x/savings/types"
abci "github.com/cometbft/cometbft/abci/types"
tmproto "github.com/cometbft/cometbft/proto/tendermint/types"
diff --git a/x/earn/types/expected_keepers.go b/x/earn/types/expected_keepers.go
index e2533c88..65bbf027 100644
--- a/x/earn/types/expected_keepers.go
+++ b/x/earn/types/expected_keepers.go
@@ -5,8 +5,8 @@ import (
"github.com/cosmos/cosmos-sdk/x/auth/types"
disttypes "github.com/cosmos/cosmos-sdk/x/distribution/types"
- hardtypes "github.com/kava-labs/kava/x/hard/types"
- savingstypes "github.com/kava-labs/kava/x/savings/types"
+ hardtypes "github.com/0glabs/0g-chain/x/hard/types"
+ savingstypes "github.com/0glabs/0g-chain/x/savings/types"
)
// AccountKeeper defines the expected account keeper
diff --git a/x/earn/types/share_test.go b/x/earn/types/share_test.go
index 08341736..05287aee 100644
--- a/x/earn/types/share_test.go
+++ b/x/earn/types/share_test.go
@@ -4,7 +4,7 @@ import (
"strings"
"testing"
- "github.com/kava-labs/kava/x/earn/types"
+ "github.com/0glabs/0g-chain/x/earn/types"
"github.com/stretchr/testify/suite"
sdk "github.com/cosmos/cosmos-sdk/types"
diff --git a/x/earn/types/strategy_test.go b/x/earn/types/strategy_test.go
index ed8fd1c5..5311677e 100644
--- a/x/earn/types/strategy_test.go
+++ b/x/earn/types/strategy_test.go
@@ -3,7 +3,7 @@ package types_test
import (
"testing"
- "github.com/kava-labs/kava/x/earn/types"
+ "github.com/0glabs/0g-chain/x/earn/types"
"github.com/stretchr/testify/require"
)
diff --git a/x/earn/types/vault_test.go b/x/earn/types/vault_test.go
index f56b78d9..84ab26f1 100644
--- a/x/earn/types/vault_test.go
+++ b/x/earn/types/vault_test.go
@@ -7,8 +7,8 @@ import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/x/earn/types"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/x/earn/types"
)
func TestVaultRecordValidate(t *testing.T) {
diff --git a/x/evmutil/client/cli/address.go b/x/evmutil/client/cli/address.go
index f748c63f..31017c4b 100644
--- a/x/evmutil/client/cli/address.go
+++ b/x/evmutil/client/cli/address.go
@@ -5,9 +5,9 @@ import (
"fmt"
"strings"
+ "github.com/0glabs/0g-chain/x/evmutil/types"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/ethereum/go-ethereum/common"
- "github.com/kava-labs/kava/x/evmutil/types"
)
// ParseAddrFromHexOrBech32 parses a string address that can be either a hex or
diff --git a/x/evmutil/client/cli/query.go b/x/evmutil/client/cli/query.go
index e0539800..0b693364 100644
--- a/x/evmutil/client/cli/query.go
+++ b/x/evmutil/client/cli/query.go
@@ -10,7 +10,7 @@ import (
"github.com/cosmos/cosmos-sdk/version"
"github.com/spf13/cobra"
- "github.com/kava-labs/kava/x/evmutil/types"
+ "github.com/0glabs/0g-chain/x/evmutil/types"
)
// GetQueryCmd returns the cli query commands for this module
diff --git a/x/evmutil/client/cli/tx.go b/x/evmutil/client/cli/tx.go
index 22201af6..56238d3b 100644
--- a/x/evmutil/client/cli/tx.go
+++ b/x/evmutil/client/cli/tx.go
@@ -14,7 +14,7 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/cosmos-sdk/version"
- "github.com/kava-labs/kava/x/evmutil/types"
+ "github.com/0glabs/0g-chain/x/evmutil/types"
)
// GetTxCmd returns the transaction commands for this module
diff --git a/x/evmutil/genesis.go b/x/evmutil/genesis.go
index 209dda25..8099da14 100644
--- a/x/evmutil/genesis.go
+++ b/x/evmutil/genesis.go
@@ -5,8 +5,8 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/evmutil/keeper"
- "github.com/kava-labs/kava/x/evmutil/types"
+ "github.com/0glabs/0g-chain/x/evmutil/keeper"
+ "github.com/0glabs/0g-chain/x/evmutil/types"
)
// InitGenesis initializes the store state from a genesis state.
diff --git a/x/evmutil/genesis_test.go b/x/evmutil/genesis_test.go
index 0c71f9ff..0c9b190a 100644
--- a/x/evmutil/genesis_test.go
+++ b/x/evmutil/genesis_test.go
@@ -6,10 +6,10 @@ import (
"github.com/stretchr/testify/suite"
sdkmath "cosmossdk.io/math"
+ "github.com/0glabs/0g-chain/x/evmutil"
+ "github.com/0glabs/0g-chain/x/evmutil/testutil"
+ "github.com/0glabs/0g-chain/x/evmutil/types"
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
- "github.com/kava-labs/kava/x/evmutil"
- "github.com/kava-labs/kava/x/evmutil/testutil"
- "github.com/kava-labs/kava/x/evmutil/types"
)
type genesisTestSuite struct {
diff --git a/x/evmutil/keeper/bank_keeper.go b/x/evmutil/keeper/bank_keeper.go
index 8061561b..b25220ef 100644
--- a/x/evmutil/keeper/bank_keeper.go
+++ b/x/evmutil/keeper/bank_keeper.go
@@ -9,7 +9,7 @@ import (
sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"
evmtypes "github.com/evmos/ethermint/x/evm/types"
- "github.com/kava-labs/kava/x/evmutil/types"
+ "github.com/0glabs/0g-chain/x/evmutil/types"
)
const (
diff --git a/x/evmutil/keeper/bank_keeper_test.go b/x/evmutil/keeper/bank_keeper_test.go
index 96b3b747..444cba3d 100644
--- a/x/evmutil/keeper/bank_keeper_test.go
+++ b/x/evmutil/keeper/bank_keeper_test.go
@@ -13,9 +13,9 @@ import (
vesting "github.com/cosmos/cosmos-sdk/x/auth/vesting/types"
evmtypes "github.com/evmos/ethermint/x/evm/types"
- "github.com/kava-labs/kava/x/evmutil/keeper"
- "github.com/kava-labs/kava/x/evmutil/testutil"
- "github.com/kava-labs/kava/x/evmutil/types"
+ "github.com/0glabs/0g-chain/x/evmutil/keeper"
+ "github.com/0glabs/0g-chain/x/evmutil/testutil"
+ "github.com/0glabs/0g-chain/x/evmutil/types"
)
type evmBankKeeperTestSuite struct {
diff --git a/x/evmutil/keeper/conversion_cosmos_native.go b/x/evmutil/keeper/conversion_cosmos_native.go
index 6c8c813a..5e1d7289 100644
--- a/x/evmutil/keeper/conversion_cosmos_native.go
+++ b/x/evmutil/keeper/conversion_cosmos_native.go
@@ -7,7 +7,7 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"
- "github.com/kava-labs/kava/x/evmutil/types"
+ "github.com/0glabs/0g-chain/x/evmutil/types"
)
// ConvertCosmosCoinToERC20 locks the initiator's sdk.Coin in the module account
diff --git a/x/evmutil/keeper/conversion_cosmos_native_test.go b/x/evmutil/keeper/conversion_cosmos_native_test.go
index 15857957..cc025b29 100644
--- a/x/evmutil/keeper/conversion_cosmos_native_test.go
+++ b/x/evmutil/keeper/conversion_cosmos_native_test.go
@@ -10,9 +10,9 @@ import (
sdkmath "cosmossdk.io/math"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/x/evmutil/testutil"
- "github.com/kava-labs/kava/x/evmutil/types"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/x/evmutil/testutil"
+ "github.com/0glabs/0g-chain/x/evmutil/types"
)
type convertCosmosCoinToERC20Suite struct {
diff --git a/x/evmutil/keeper/conversion_evm_native.go b/x/evmutil/keeper/conversion_evm_native.go
index 69a97de2..edb0ff49 100644
--- a/x/evmutil/keeper/conversion_evm_native.go
+++ b/x/evmutil/keeper/conversion_evm_native.go
@@ -7,7 +7,7 @@ import (
sdkmath "cosmossdk.io/math"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/evmutil/types"
+ "github.com/0glabs/0g-chain/x/evmutil/types"
)
// MintConversionPairCoin mints the given amount of a ConversionPair denom and
diff --git a/x/evmutil/keeper/conversion_evm_native_bep3.go b/x/evmutil/keeper/conversion_evm_native_bep3.go
index b727996d..c63465ab 100644
--- a/x/evmutil/keeper/conversion_evm_native_bep3.go
+++ b/x/evmutil/keeper/conversion_evm_native_bep3.go
@@ -4,7 +4,7 @@ import (
"math/big"
errorsmod "cosmossdk.io/errors"
- "github.com/kava-labs/kava/x/evmutil/types"
+ "github.com/0glabs/0g-chain/x/evmutil/types"
)
var (
diff --git a/x/evmutil/keeper/conversion_evm_native_bep3_test.go b/x/evmutil/keeper/conversion_evm_native_bep3_test.go
index c2d06128..12d9f9b8 100644
--- a/x/evmutil/keeper/conversion_evm_native_bep3_test.go
+++ b/x/evmutil/keeper/conversion_evm_native_bep3_test.go
@@ -8,8 +8,8 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/stretchr/testify/suite"
- "github.com/kava-labs/kava/x/evmutil/testutil"
- "github.com/kava-labs/kava/x/evmutil/types"
+ "github.com/0glabs/0g-chain/x/evmutil/testutil"
+ "github.com/0glabs/0g-chain/x/evmutil/types"
)
type Bep3ConversionTestSuite struct {
diff --git a/x/evmutil/keeper/conversion_evm_native_test.go b/x/evmutil/keeper/conversion_evm_native_test.go
index 3cd9d1c7..8e7555d9 100644
--- a/x/evmutil/keeper/conversion_evm_native_test.go
+++ b/x/evmutil/keeper/conversion_evm_native_test.go
@@ -9,8 +9,8 @@ import (
"github.com/ethereum/go-ethereum/common"
"github.com/stretchr/testify/suite"
- "github.com/kava-labs/kava/x/evmutil/testutil"
- "github.com/kava-labs/kava/x/evmutil/types"
+ "github.com/0glabs/0g-chain/x/evmutil/testutil"
+ "github.com/0glabs/0g-chain/x/evmutil/types"
)
type ConversionTestSuite struct {
diff --git a/x/evmutil/keeper/erc20.go b/x/evmutil/keeper/erc20.go
index a4b7fe5d..6768aadc 100644
--- a/x/evmutil/keeper/erc20.go
+++ b/x/evmutil/keeper/erc20.go
@@ -13,7 +13,7 @@ import (
"google.golang.org/grpc/codes"
"google.golang.org/grpc/status"
- "github.com/kava-labs/kava/x/evmutil/types"
+ "github.com/0glabs/0g-chain/x/evmutil/types"
)
const (
diff --git a/x/evmutil/keeper/erc20_test.go b/x/evmutil/keeper/erc20_test.go
index 5cfcd52a..2c9fb9cd 100644
--- a/x/evmutil/keeper/erc20_test.go
+++ b/x/evmutil/keeper/erc20_test.go
@@ -7,9 +7,9 @@ import (
"github.com/ethereum/go-ethereum/common"
"github.com/stretchr/testify/suite"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/x/evmutil/testutil"
- "github.com/kava-labs/kava/x/evmutil/types"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/x/evmutil/testutil"
+ "github.com/0glabs/0g-chain/x/evmutil/types"
)
type ERC20TestSuite struct {
diff --git a/x/evmutil/keeper/evm.go b/x/evmutil/keeper/evm.go
index 43829dd4..32d948ff 100644
--- a/x/evmutil/keeper/evm.go
+++ b/x/evmutil/keeper/evm.go
@@ -28,7 +28,7 @@ import (
"github.com/evmos/ethermint/server/config"
evmtypes "github.com/evmos/ethermint/x/evm/types"
- "github.com/kava-labs/kava/x/evmutil/types"
+ "github.com/0glabs/0g-chain/x/evmutil/types"
)
// CallEVM performs a smart contract method call using given args
diff --git a/x/evmutil/keeper/evm_test.go b/x/evmutil/keeper/evm_test.go
index c4fba03d..343d8a6c 100644
--- a/x/evmutil/keeper/evm_test.go
+++ b/x/evmutil/keeper/evm_test.go
@@ -17,7 +17,7 @@ import (
"github.com/evmos/ethermint/x/evm/statedb"
"github.com/evmos/ethermint/x/evm/types"
- "github.com/kava-labs/kava/x/evmutil/testutil"
+ "github.com/0glabs/0g-chain/x/evmutil/testutil"
)
type evmKeeperTestSuite struct {
diff --git a/x/evmutil/keeper/grpc_query.go b/x/evmutil/keeper/grpc_query.go
index 0ff2d0e9..8485ce1f 100644
--- a/x/evmutil/keeper/grpc_query.go
+++ b/x/evmutil/keeper/grpc_query.go
@@ -10,7 +10,7 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/cosmos-sdk/types/query"
- "github.com/kava-labs/kava/x/evmutil/types"
+ "github.com/0glabs/0g-chain/x/evmutil/types"
)
type queryServer struct {
diff --git a/x/evmutil/keeper/grpc_query_test.go b/x/evmutil/keeper/grpc_query_test.go
index 4f6c6c05..95341089 100644
--- a/x/evmutil/keeper/grpc_query_test.go
+++ b/x/evmutil/keeper/grpc_query_test.go
@@ -11,10 +11,10 @@ import (
"github.com/cosmos/cosmos-sdk/types/query"
"github.com/stretchr/testify/suite"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/x/evmutil/keeper"
- "github.com/kava-labs/kava/x/evmutil/testutil"
- "github.com/kava-labs/kava/x/evmutil/types"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/x/evmutil/keeper"
+ "github.com/0glabs/0g-chain/x/evmutil/testutil"
+ "github.com/0glabs/0g-chain/x/evmutil/types"
)
type grpcQueryTestSuite struct {
diff --git a/x/evmutil/keeper/invariants.go b/x/evmutil/keeper/invariants.go
index b8c880b1..6b3a1db0 100644
--- a/x/evmutil/keeper/invariants.go
+++ b/x/evmutil/keeper/invariants.go
@@ -6,7 +6,7 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
- "github.com/kava-labs/kava/x/evmutil/types"
+ "github.com/0glabs/0g-chain/x/evmutil/types"
)
// RegisterInvariants registers the swap module invariants
diff --git a/x/evmutil/keeper/invariants_test.go b/x/evmutil/keeper/invariants_test.go
index 3b3867c0..55355b4b 100644
--- a/x/evmutil/keeper/invariants_test.go
+++ b/x/evmutil/keeper/invariants_test.go
@@ -11,10 +11,10 @@ import (
banktypes "github.com/cosmos/cosmos-sdk/x/bank/types"
"github.com/stretchr/testify/suite"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/x/evmutil/keeper"
- "github.com/kava-labs/kava/x/evmutil/testutil"
- "github.com/kava-labs/kava/x/evmutil/types"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/x/evmutil/keeper"
+ "github.com/0glabs/0g-chain/x/evmutil/testutil"
+ "github.com/0glabs/0g-chain/x/evmutil/types"
)
type invariantTestSuite struct {
diff --git a/x/evmutil/keeper/keeper.go b/x/evmutil/keeper/keeper.go
index 02098c8d..78e84bad 100644
--- a/x/evmutil/keeper/keeper.go
+++ b/x/evmutil/keeper/keeper.go
@@ -11,7 +11,7 @@ import (
sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"
paramtypes "github.com/cosmos/cosmos-sdk/x/params/types"
- "github.com/kava-labs/kava/x/evmutil/types"
+ "github.com/0glabs/0g-chain/x/evmutil/types"
)
// Keeper of the evmutil store.
diff --git a/x/evmutil/keeper/keeper_test.go b/x/evmutil/keeper/keeper_test.go
index a5ea5c6e..bdbd6ad5 100644
--- a/x/evmutil/keeper/keeper_test.go
+++ b/x/evmutil/keeper/keeper_test.go
@@ -7,8 +7,8 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/stretchr/testify/suite"
- "github.com/kava-labs/kava/x/evmutil/testutil"
- "github.com/kava-labs/kava/x/evmutil/types"
+ "github.com/0glabs/0g-chain/x/evmutil/testutil"
+ "github.com/0glabs/0g-chain/x/evmutil/types"
)
type keeperTestSuite struct {
diff --git a/x/evmutil/keeper/migrations.go b/x/evmutil/keeper/migrations.go
index f74aa0ca..518b5f3e 100644
--- a/x/evmutil/keeper/migrations.go
+++ b/x/evmutil/keeper/migrations.go
@@ -1,8 +1,8 @@
package keeper
import (
+ v2 "github.com/0glabs/0g-chain/x/evmutil/migrations/v2"
sdk "github.com/cosmos/cosmos-sdk/types"
- v2 "github.com/kava-labs/kava/x/evmutil/migrations/v2"
)
// Migrator is a struct for handling in-place store migrations.
diff --git a/x/evmutil/keeper/msg_server.go b/x/evmutil/keeper/msg_server.go
index 6d843500..390eba13 100644
--- a/x/evmutil/keeper/msg_server.go
+++ b/x/evmutil/keeper/msg_server.go
@@ -6,7 +6,7 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/evmutil/types"
+ "github.com/0glabs/0g-chain/x/evmutil/types"
)
type msgServer struct {
diff --git a/x/evmutil/keeper/msg_server_bep3_test.go b/x/evmutil/keeper/msg_server_bep3_test.go
index d36c68fd..ee12ece1 100644
--- a/x/evmutil/keeper/msg_server_bep3_test.go
+++ b/x/evmutil/keeper/msg_server_bep3_test.go
@@ -4,8 +4,8 @@ import (
sdkmath "cosmossdk.io/math"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/evmutil/testutil"
- "github.com/kava-labs/kava/x/evmutil/types"
+ "github.com/0glabs/0g-chain/x/evmutil/testutil"
+ "github.com/0glabs/0g-chain/x/evmutil/types"
)
func (suite *MsgServerSuite) TestConvertCoinToERC20_Bep3() {
diff --git a/x/evmutil/keeper/msg_server_test.go b/x/evmutil/keeper/msg_server_test.go
index 89c7c04a..a9702096 100644
--- a/x/evmutil/keeper/msg_server_test.go
+++ b/x/evmutil/keeper/msg_server_test.go
@@ -12,10 +12,10 @@ import (
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/common/math"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/x/evmutil/keeper"
- "github.com/kava-labs/kava/x/evmutil/testutil"
- "github.com/kava-labs/kava/x/evmutil/types"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/x/evmutil/keeper"
+ "github.com/0glabs/0g-chain/x/evmutil/testutil"
+ "github.com/0glabs/0g-chain/x/evmutil/types"
)
type MsgServerSuite struct {
diff --git a/x/evmutil/keeper/params.go b/x/evmutil/keeper/params.go
index 2b13cb1a..6f4977db 100644
--- a/x/evmutil/keeper/params.go
+++ b/x/evmutil/keeper/params.go
@@ -6,7 +6,7 @@ import (
errorsmod "cosmossdk.io/errors"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/evmutil/types"
+ "github.com/0glabs/0g-chain/x/evmutil/types"
)
// GetParams returns the total set of evm parameters.
diff --git a/x/evmutil/keeper/params_test.go b/x/evmutil/keeper/params_test.go
index 4a1a016a..f7cabe33 100644
--- a/x/evmutil/keeper/params_test.go
+++ b/x/evmutil/keeper/params_test.go
@@ -7,9 +7,9 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/evmutil/keeper"
- "github.com/kava-labs/kava/x/evmutil/testutil"
- "github.com/kava-labs/kava/x/evmutil/types"
+ "github.com/0glabs/0g-chain/x/evmutil/keeper"
+ "github.com/0glabs/0g-chain/x/evmutil/testutil"
+ "github.com/0glabs/0g-chain/x/evmutil/types"
)
type ParamsTestSuite struct {
diff --git a/x/evmutil/migrations/v2/store.go b/x/evmutil/migrations/v2/store.go
index aa506e16..493e0ea2 100644
--- a/x/evmutil/migrations/v2/store.go
+++ b/x/evmutil/migrations/v2/store.go
@@ -4,7 +4,7 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
paramtypes "github.com/cosmos/cosmos-sdk/x/params/types"
- "github.com/kava-labs/kava/x/evmutil/types"
+ "github.com/0glabs/0g-chain/x/evmutil/types"
)
// MigrateStore performs in-place store migrations for consensus version 2
diff --git a/x/evmutil/migrations/v2/store_test.go b/x/evmutil/migrations/v2/store_test.go
index 69a6cd99..3d3160d7 100644
--- a/x/evmutil/migrations/v2/store_test.go
+++ b/x/evmutil/migrations/v2/store_test.go
@@ -10,8 +10,8 @@ import (
moduletestutil "github.com/cosmos/cosmos-sdk/types/module/testutil"
paramtypes "github.com/cosmos/cosmos-sdk/x/params/types"
- v2evmutil "github.com/kava-labs/kava/x/evmutil/migrations/v2"
- "github.com/kava-labs/kava/x/evmutil/types"
+ v2evmutil "github.com/0glabs/0g-chain/x/evmutil/migrations/v2"
+ "github.com/0glabs/0g-chain/x/evmutil/types"
)
func TestStoreMigrationAddsKeyTableIncludingNewParam(t *testing.T) {
diff --git a/x/evmutil/module.go b/x/evmutil/module.go
index 09ed8b11..c7e0ce64 100644
--- a/x/evmutil/module.go
+++ b/x/evmutil/module.go
@@ -15,9 +15,9 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/cosmos-sdk/types/module"
- "github.com/kava-labs/kava/x/evmutil/client/cli"
- "github.com/kava-labs/kava/x/evmutil/keeper"
- "github.com/kava-labs/kava/x/evmutil/types"
+ "github.com/0glabs/0g-chain/x/evmutil/client/cli"
+ "github.com/0glabs/0g-chain/x/evmutil/keeper"
+ "github.com/0glabs/0g-chain/x/evmutil/types"
)
// ConsensusVersion defines the current module consensus version.
diff --git a/x/evmutil/testutil/suite.go b/x/evmutil/testutil/suite.go
index c09ec153..601ec909 100644
--- a/x/evmutil/testutil/suite.go
+++ b/x/evmutil/testutil/suite.go
@@ -36,9 +36,9 @@ import (
feemarkettypes "github.com/evmos/ethermint/x/feemarket/types"
"github.com/stretchr/testify/suite"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/x/evmutil/keeper"
- "github.com/kava-labs/kava/x/evmutil/types"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/x/evmutil/keeper"
+ "github.com/0glabs/0g-chain/x/evmutil/types"
)
type Suite struct {
diff --git a/x/evmutil/types/address_test.go b/x/evmutil/types/address_test.go
index bc8e80bb..aa4b842c 100644
--- a/x/evmutil/types/address_test.go
+++ b/x/evmutil/types/address_test.go
@@ -4,8 +4,8 @@ import (
"fmt"
"testing"
- "github.com/kava-labs/kava/x/evmutil/testutil"
- "github.com/kava-labs/kava/x/evmutil/types"
+ "github.com/0glabs/0g-chain/x/evmutil/testutil"
+ "github.com/0glabs/0g-chain/x/evmutil/types"
"github.com/stretchr/testify/require"
)
diff --git a/x/evmutil/types/bytes_test.go b/x/evmutil/types/bytes_test.go
index 1109180c..317eb9f8 100644
--- a/x/evmutil/types/bytes_test.go
+++ b/x/evmutil/types/bytes_test.go
@@ -5,7 +5,7 @@ import (
"fmt"
"testing"
- "github.com/kava-labs/kava/x/evmutil/types"
+ "github.com/0glabs/0g-chain/x/evmutil/types"
"github.com/stretchr/testify/require"
)
diff --git a/x/evmutil/types/conversion_pairs_test.go b/x/evmutil/types/conversion_pairs_test.go
index 70f0ba5c..0e0ea82e 100644
--- a/x/evmutil/types/conversion_pairs_test.go
+++ b/x/evmutil/types/conversion_pairs_test.go
@@ -3,8 +3,8 @@ package types_test
import (
"testing"
- "github.com/kava-labs/kava/x/evmutil/testutil"
- "github.com/kava-labs/kava/x/evmutil/types"
+ "github.com/0glabs/0g-chain/x/evmutil/testutil"
+ "github.com/0glabs/0g-chain/x/evmutil/types"
"github.com/stretchr/testify/require"
)
diff --git a/x/evmutil/types/genesis_test.go b/x/evmutil/types/genesis_test.go
index 5ec5cded..55037691 100644
--- a/x/evmutil/types/genesis_test.go
+++ b/x/evmutil/types/genesis_test.go
@@ -7,8 +7,8 @@ import (
"github.com/ethereum/go-ethereum/common"
"github.com/stretchr/testify/require"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/x/evmutil/types"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/x/evmutil/types"
)
func TestGenesisState_Validate(t *testing.T) {
diff --git a/x/evmutil/types/keys_test.go b/x/evmutil/types/keys_test.go
index e102da19..9dcefbff 100644
--- a/x/evmutil/types/keys_test.go
+++ b/x/evmutil/types/keys_test.go
@@ -5,7 +5,7 @@ import (
"github.com/stretchr/testify/require"
- "github.com/kava-labs/kava/x/evmutil/types"
+ "github.com/0glabs/0g-chain/x/evmutil/types"
)
func TestDeployedCosmosCoinContractKey(t *testing.T) {
diff --git a/x/evmutil/types/msg_test.go b/x/evmutil/types/msg_test.go
index 1a73fdaa..36a709d7 100644
--- a/x/evmutil/types/msg_test.go
+++ b/x/evmutil/types/msg_test.go
@@ -3,9 +3,9 @@ package types_test
import (
"testing"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/x/evmutil/testutil"
- "github.com/kava-labs/kava/x/evmutil/types"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/x/evmutil/testutil"
+ "github.com/0glabs/0g-chain/x/evmutil/types"
"github.com/stretchr/testify/require"
sdkmath "cosmossdk.io/math"
diff --git a/x/evmutil/types/params_test.go b/x/evmutil/types/params_test.go
index 75850686..0295789d 100644
--- a/x/evmutil/types/params_test.go
+++ b/x/evmutil/types/params_test.go
@@ -9,9 +9,9 @@ import (
paramstypes "github.com/cosmos/cosmos-sdk/x/params/types"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/x/evmutil/testutil"
- "github.com/kava-labs/kava/x/evmutil/types"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/x/evmutil/testutil"
+ "github.com/0glabs/0g-chain/x/evmutil/types"
)
type ParamsTestSuite struct {
diff --git a/x/hard/abci.go b/x/hard/abci.go
index 8041011e..e4656cf1 100644
--- a/x/hard/abci.go
+++ b/x/hard/abci.go
@@ -3,10 +3,10 @@ package hard
import (
"time"
+ "github.com/0glabs/0g-chain/x/hard/keeper"
+ "github.com/0glabs/0g-chain/x/hard/types"
"github.com/cosmos/cosmos-sdk/telemetry"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/hard/keeper"
- "github.com/kava-labs/kava/x/hard/types"
)
// BeginBlocker updates interest rates
diff --git a/x/hard/client/cli/query.go b/x/hard/client/cli/query.go
index f0703bd5..fd87a97e 100644
--- a/x/hard/client/cli/query.go
+++ b/x/hard/client/cli/query.go
@@ -11,7 +11,7 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/cosmos-sdk/version"
- "github.com/kava-labs/kava/x/hard/types"
+ "github.com/0glabs/0g-chain/x/hard/types"
)
// flags for cli queries
diff --git a/x/hard/client/cli/tx.go b/x/hard/client/cli/tx.go
index 8c71f7dd..97725ffe 100644
--- a/x/hard/client/cli/tx.go
+++ b/x/hard/client/cli/tx.go
@@ -12,7 +12,7 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/cosmos-sdk/version"
- "github.com/kava-labs/kava/x/hard/types"
+ "github.com/0glabs/0g-chain/x/hard/types"
)
// GetTxCmd returns the transaction commands for this module
diff --git a/x/hard/genesis.go b/x/hard/genesis.go
index fa491e8f..bea0bd72 100644
--- a/x/hard/genesis.go
+++ b/x/hard/genesis.go
@@ -5,8 +5,8 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/hard/keeper"
- "github.com/kava-labs/kava/x/hard/types"
+ "github.com/0glabs/0g-chain/x/hard/keeper"
+ "github.com/0glabs/0g-chain/x/hard/types"
)
// InitGenesis initializes the store state from a genesis state.
diff --git a/x/hard/genesis_test.go b/x/hard/genesis_test.go
index 8d8b923a..fc16e2ac 100644
--- a/x/hard/genesis_test.go
+++ b/x/hard/genesis_test.go
@@ -12,10 +12,10 @@ import (
tmtime "github.com/cometbft/cometbft/types/time"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/x/hard"
- "github.com/kava-labs/kava/x/hard/keeper"
- "github.com/kava-labs/kava/x/hard/types"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/x/hard"
+ "github.com/0glabs/0g-chain/x/hard/keeper"
+ "github.com/0glabs/0g-chain/x/hard/types"
)
type GenesisTestSuite struct {
diff --git a/x/hard/keeper/borrow.go b/x/hard/keeper/borrow.go
index 6c198d45..98588a40 100644
--- a/x/hard/keeper/borrow.go
+++ b/x/hard/keeper/borrow.go
@@ -8,7 +8,7 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"
- "github.com/kava-labs/kava/x/hard/types"
+ "github.com/0glabs/0g-chain/x/hard/types"
)
// Borrow funds
diff --git a/x/hard/keeper/borrow_test.go b/x/hard/keeper/borrow_test.go
index 3d254cc2..578aa51c 100644
--- a/x/hard/keeper/borrow_test.go
+++ b/x/hard/keeper/borrow_test.go
@@ -10,10 +10,10 @@ import (
tmtime "github.com/cometbft/cometbft/types/time"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/x/hard"
- "github.com/kava-labs/kava/x/hard/types"
- pricefeedtypes "github.com/kava-labs/kava/x/pricefeed/types"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/x/hard"
+ "github.com/0glabs/0g-chain/x/hard/types"
+ pricefeedtypes "github.com/0glabs/0g-chain/x/pricefeed/types"
)
const (
diff --git a/x/hard/keeper/deposit.go b/x/hard/keeper/deposit.go
index e4cd5315..813ed7af 100644
--- a/x/hard/keeper/deposit.go
+++ b/x/hard/keeper/deposit.go
@@ -8,7 +8,7 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"
- "github.com/kava-labs/kava/x/hard/types"
+ "github.com/0glabs/0g-chain/x/hard/types"
)
// Deposit deposit
diff --git a/x/hard/keeper/deposit_test.go b/x/hard/keeper/deposit_test.go
index 8eb7cdf1..c3b15c00 100644
--- a/x/hard/keeper/deposit_test.go
+++ b/x/hard/keeper/deposit_test.go
@@ -10,10 +10,10 @@ import (
tmtime "github.com/cometbft/cometbft/types/time"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/x/hard"
- "github.com/kava-labs/kava/x/hard/types"
- pricefeedtypes "github.com/kava-labs/kava/x/pricefeed/types"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/x/hard"
+ "github.com/0glabs/0g-chain/x/hard/types"
+ pricefeedtypes "github.com/0glabs/0g-chain/x/pricefeed/types"
)
func (suite *KeeperTestSuite) TestDeposit() {
diff --git a/x/hard/keeper/grpc_query.go b/x/hard/keeper/grpc_query.go
index 85b6b6d0..dab17cc4 100644
--- a/x/hard/keeper/grpc_query.go
+++ b/x/hard/keeper/grpc_query.go
@@ -12,7 +12,7 @@ import (
"google.golang.org/grpc/codes"
"google.golang.org/grpc/status"
- "github.com/kava-labs/kava/x/hard/types"
+ "github.com/0glabs/0g-chain/x/hard/types"
)
type queryServer struct {
diff --git a/x/hard/keeper/grpc_query_test.go b/x/hard/keeper/grpc_query_test.go
index 0f3e48ba..aed93627 100644
--- a/x/hard/keeper/grpc_query_test.go
+++ b/x/hard/keeper/grpc_query_test.go
@@ -4,11 +4,11 @@ import (
"testing"
"time"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/x/hard/keeper"
+ "github.com/0glabs/0g-chain/x/hard/types"
tmprototypes "github.com/cometbft/cometbft/proto/tendermint/types"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/x/hard/keeper"
- "github.com/kava-labs/kava/x/hard/types"
"github.com/stretchr/testify/suite"
)
diff --git a/x/hard/keeper/hooks.go b/x/hard/keeper/hooks.go
index 829ee2e6..19975667 100644
--- a/x/hard/keeper/hooks.go
+++ b/x/hard/keeper/hooks.go
@@ -3,7 +3,7 @@ package keeper
import (
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/hard/types"
+ "github.com/0glabs/0g-chain/x/hard/types"
)
// Implements StakingHooks interface
diff --git a/x/hard/keeper/integration_test.go b/x/hard/keeper/integration_test.go
index b4fcaef8..99b8d681 100644
--- a/x/hard/keeper/integration_test.go
+++ b/x/hard/keeper/integration_test.go
@@ -7,9 +7,9 @@ import (
"github.com/cosmos/cosmos-sdk/codec"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/x/hard/types"
- pricefeedtypes "github.com/kava-labs/kava/x/pricefeed/types"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/x/hard/types"
+ pricefeedtypes "github.com/0glabs/0g-chain/x/pricefeed/types"
)
func NewHARDGenState(cdc codec.JSONCodec) app.GenesisState {
diff --git a/x/hard/keeper/interest.go b/x/hard/keeper/interest.go
index e07d2862..e1b4dd71 100644
--- a/x/hard/keeper/interest.go
+++ b/x/hard/keeper/interest.go
@@ -7,7 +7,7 @@ import (
sdkmath "cosmossdk.io/math"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/hard/types"
+ "github.com/0glabs/0g-chain/x/hard/types"
)
var (
diff --git a/x/hard/keeper/interest_test.go b/x/hard/keeper/interest_test.go
index 753e75db..5078cf6c 100644
--- a/x/hard/keeper/interest_test.go
+++ b/x/hard/keeper/interest_test.go
@@ -12,11 +12,11 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/stretchr/testify/suite"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/x/hard"
- "github.com/kava-labs/kava/x/hard/keeper"
- "github.com/kava-labs/kava/x/hard/types"
- pricefeedtypes "github.com/kava-labs/kava/x/pricefeed/types"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/x/hard"
+ "github.com/0glabs/0g-chain/x/hard/keeper"
+ "github.com/0glabs/0g-chain/x/hard/types"
+ pricefeedtypes "github.com/0glabs/0g-chain/x/pricefeed/types"
)
type InterestTestSuite struct {
diff --git a/x/hard/keeper/keeper.go b/x/hard/keeper/keeper.go
index 5d4fc3e2..1a974c56 100644
--- a/x/hard/keeper/keeper.go
+++ b/x/hard/keeper/keeper.go
@@ -9,7 +9,7 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
paramtypes "github.com/cosmos/cosmos-sdk/x/params/types"
- "github.com/kava-labs/kava/x/hard/types"
+ "github.com/0glabs/0g-chain/x/hard/types"
)
// Keeper keeper for the hard module
diff --git a/x/hard/keeper/keeper_test.go b/x/hard/keeper/keeper_test.go
index 8d2054be..dc4621b1 100644
--- a/x/hard/keeper/keeper_test.go
+++ b/x/hard/keeper/keeper_test.go
@@ -14,10 +14,10 @@ import (
tmproto "github.com/cometbft/cometbft/proto/tendermint/types"
tmtime "github.com/cometbft/cometbft/types/time"
- "github.com/kava-labs/kava/app"
- auctionkeeper "github.com/kava-labs/kava/x/auction/keeper"
- "github.com/kava-labs/kava/x/hard/keeper"
- "github.com/kava-labs/kava/x/hard/types"
+ "github.com/0glabs/0g-chain/app"
+ auctionkeeper "github.com/0glabs/0g-chain/x/auction/keeper"
+ "github.com/0glabs/0g-chain/x/hard/keeper"
+ "github.com/0glabs/0g-chain/x/hard/types"
)
// Test suite used for all keeper tests
diff --git a/x/hard/keeper/liquidation.go b/x/hard/keeper/liquidation.go
index 94fce1a8..decf5c7d 100644
--- a/x/hard/keeper/liquidation.go
+++ b/x/hard/keeper/liquidation.go
@@ -7,7 +7,7 @@ import (
sdkmath "cosmossdk.io/math"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/hard/types"
+ "github.com/0glabs/0g-chain/x/hard/types"
)
// LiqData holds liquidation-related data
diff --git a/x/hard/keeper/liquidation_test.go b/x/hard/keeper/liquidation_test.go
index d9c3fe33..36a2c012 100644
--- a/x/hard/keeper/liquidation_test.go
+++ b/x/hard/keeper/liquidation_test.go
@@ -9,11 +9,11 @@ import (
tmproto "github.com/cometbft/cometbft/proto/tendermint/types"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/app"
- auctiontypes "github.com/kava-labs/kava/x/auction/types"
- "github.com/kava-labs/kava/x/hard"
- "github.com/kava-labs/kava/x/hard/types"
- pricefeedtypes "github.com/kava-labs/kava/x/pricefeed/types"
+ "github.com/0glabs/0g-chain/app"
+ auctiontypes "github.com/0glabs/0g-chain/x/auction/types"
+ "github.com/0glabs/0g-chain/x/hard"
+ "github.com/0glabs/0g-chain/x/hard/types"
+ pricefeedtypes "github.com/0glabs/0g-chain/x/pricefeed/types"
)
func (suite *KeeperTestSuite) TestKeeperLiquidation() {
diff --git a/x/hard/keeper/msg_server.go b/x/hard/keeper/msg_server.go
index 80c0dd5b..65c07970 100644
--- a/x/hard/keeper/msg_server.go
+++ b/x/hard/keeper/msg_server.go
@@ -5,7 +5,7 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/hard/types"
+ "github.com/0glabs/0g-chain/x/hard/types"
)
type msgServer struct {
diff --git a/x/hard/keeper/params.go b/x/hard/keeper/params.go
index 8bcd339c..bcf0eddb 100644
--- a/x/hard/keeper/params.go
+++ b/x/hard/keeper/params.go
@@ -3,7 +3,7 @@ package keeper
import (
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/hard/types"
+ "github.com/0glabs/0g-chain/x/hard/types"
)
// GetParams returns the params from the store
diff --git a/x/hard/keeper/repay.go b/x/hard/keeper/repay.go
index 454812fd..50ab5ae9 100644
--- a/x/hard/keeper/repay.go
+++ b/x/hard/keeper/repay.go
@@ -4,7 +4,7 @@ import (
errorsmod "cosmossdk.io/errors"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/hard/types"
+ "github.com/0glabs/0g-chain/x/hard/types"
)
// Repay borrowed funds
diff --git a/x/hard/keeper/repay_test.go b/x/hard/keeper/repay_test.go
index 9d9e9e39..aeae916a 100644
--- a/x/hard/keeper/repay_test.go
+++ b/x/hard/keeper/repay_test.go
@@ -9,10 +9,10 @@ import (
tmtime "github.com/cometbft/cometbft/types/time"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/x/hard"
- "github.com/kava-labs/kava/x/hard/types"
- pricefeedtypes "github.com/kava-labs/kava/x/pricefeed/types"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/x/hard"
+ "github.com/0glabs/0g-chain/x/hard/types"
+ pricefeedtypes "github.com/0glabs/0g-chain/x/pricefeed/types"
)
func (suite *KeeperTestSuite) TestRepay() {
diff --git a/x/hard/keeper/withdraw.go b/x/hard/keeper/withdraw.go
index c98c5052..46b9b411 100644
--- a/x/hard/keeper/withdraw.go
+++ b/x/hard/keeper/withdraw.go
@@ -4,7 +4,7 @@ import (
errorsmod "cosmossdk.io/errors"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/hard/types"
+ "github.com/0glabs/0g-chain/x/hard/types"
)
// Withdraw returns some or all of a deposit back to original depositor
diff --git a/x/hard/keeper/withdraw_test.go b/x/hard/keeper/withdraw_test.go
index 02682831..9c860357 100644
--- a/x/hard/keeper/withdraw_test.go
+++ b/x/hard/keeper/withdraw_test.go
@@ -10,10 +10,10 @@ import (
tmtime "github.com/cometbft/cometbft/types/time"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/x/hard"
- "github.com/kava-labs/kava/x/hard/types"
- pricefeedtypes "github.com/kava-labs/kava/x/pricefeed/types"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/x/hard"
+ "github.com/0glabs/0g-chain/x/hard/types"
+ pricefeedtypes "github.com/0glabs/0g-chain/x/pricefeed/types"
)
func (suite *KeeperTestSuite) TestWithdraw() {
diff --git a/x/hard/legacy/v0_16/migrate.go b/x/hard/legacy/v0_16/migrate.go
index cc4fbdd7..ee306115 100644
--- a/x/hard/legacy/v0_16/migrate.go
+++ b/x/hard/legacy/v0_16/migrate.go
@@ -4,8 +4,8 @@ import (
sdkmath "cosmossdk.io/math"
sdk "github.com/cosmos/cosmos-sdk/types"
- v015hard "github.com/kava-labs/kava/x/hard/legacy/v0_15"
- v016hard "github.com/kava-labs/kava/x/hard/types"
+ v015hard "github.com/0glabs/0g-chain/x/hard/legacy/v0_15"
+ v016hard "github.com/0glabs/0g-chain/x/hard/types"
)
// Denom generated via: echo -n transfer/channel-0/uatom | shasum -a 256 | awk '{printf "ibc/%s",toupper($1)}'
diff --git a/x/hard/legacy/v0_16/migrate_test.go b/x/hard/legacy/v0_16/migrate_test.go
index b15c1b6e..3b662e0f 100644
--- a/x/hard/legacy/v0_16/migrate_test.go
+++ b/x/hard/legacy/v0_16/migrate_test.go
@@ -11,9 +11,9 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/stretchr/testify/suite"
- app "github.com/kava-labs/kava/app"
- v015hard "github.com/kava-labs/kava/x/hard/legacy/v0_15"
- v016hard "github.com/kava-labs/kava/x/hard/types"
+ app "github.com/0glabs/0g-chain/app"
+ v015hard "github.com/0glabs/0g-chain/x/hard/legacy/v0_15"
+ v016hard "github.com/0glabs/0g-chain/x/hard/types"
)
type migrateTestSuite struct {
diff --git a/x/hard/module.go b/x/hard/module.go
index 952ff860..b94f38f1 100644
--- a/x/hard/module.go
+++ b/x/hard/module.go
@@ -15,9 +15,9 @@ import (
abci "github.com/cometbft/cometbft/abci/types"
- "github.com/kava-labs/kava/x/hard/client/cli"
- "github.com/kava-labs/kava/x/hard/keeper"
- "github.com/kava-labs/kava/x/hard/types"
+ "github.com/0glabs/0g-chain/x/hard/client/cli"
+ "github.com/0glabs/0g-chain/x/hard/keeper"
+ "github.com/0glabs/0g-chain/x/hard/types"
)
var (
diff --git a/x/hard/types/borrow_test.go b/x/hard/types/borrow_test.go
index 107bf1f2..d24a3eaf 100644
--- a/x/hard/types/borrow_test.go
+++ b/x/hard/types/borrow_test.go
@@ -6,7 +6,7 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/stretchr/testify/require"
- "github.com/kava-labs/kava/x/hard/types"
+ "github.com/0glabs/0g-chain/x/hard/types"
)
func TestBorrow_NormalizedBorrow(t *testing.T) {
diff --git a/x/hard/types/deposit_test.go b/x/hard/types/deposit_test.go
index 7776fb40..069223f7 100644
--- a/x/hard/types/deposit_test.go
+++ b/x/hard/types/deposit_test.go
@@ -6,7 +6,7 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/stretchr/testify/require"
- "github.com/kava-labs/kava/x/hard/types"
+ "github.com/0glabs/0g-chain/x/hard/types"
)
func TestDeposit_NormalizedDeposit(t *testing.T) {
diff --git a/x/hard/types/expected_keepers.go b/x/hard/types/expected_keepers.go
index 61d7740c..c21e4cf1 100644
--- a/x/hard/types/expected_keepers.go
+++ b/x/hard/types/expected_keepers.go
@@ -6,7 +6,7 @@ import (
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"
- pftypes "github.com/kava-labs/kava/x/pricefeed/types"
+ pftypes "github.com/0glabs/0g-chain/x/pricefeed/types"
)
// BankKeeper defines the expected bank keeper
diff --git a/x/hard/types/genesis_test.go b/x/hard/types/genesis_test.go
index 2769040c..45295f89 100644
--- a/x/hard/types/genesis_test.go
+++ b/x/hard/types/genesis_test.go
@@ -10,7 +10,7 @@ import (
sdkmath "cosmossdk.io/math"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/hard/types"
+ "github.com/0glabs/0g-chain/x/hard/types"
)
const (
diff --git a/x/hard/types/msg_test.go b/x/hard/types/msg_test.go
index 9b75ab44..f4235423 100644
--- a/x/hard/types/msg_test.go
+++ b/x/hard/types/msg_test.go
@@ -9,7 +9,7 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/hard/types"
+ "github.com/0glabs/0g-chain/x/hard/types"
)
type MsgTestSuite struct {
diff --git a/x/hard/types/params_test.go b/x/hard/types/params_test.go
index 7134e4e4..225d0487 100644
--- a/x/hard/types/params_test.go
+++ b/x/hard/types/params_test.go
@@ -7,7 +7,7 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/stretchr/testify/suite"
- "github.com/kava-labs/kava/x/hard/types"
+ "github.com/0glabs/0g-chain/x/hard/types"
)
type ParamTestSuite struct {
diff --git a/x/incentive/abci.go b/x/incentive/abci.go
index 02d8b67c..bbf0a4c6 100644
--- a/x/incentive/abci.go
+++ b/x/incentive/abci.go
@@ -7,8 +7,8 @@ import (
"github.com/cosmos/cosmos-sdk/telemetry"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/incentive/keeper"
- "github.com/kava-labs/kava/x/incentive/types"
+ "github.com/0glabs/0g-chain/x/incentive/keeper"
+ "github.com/0glabs/0g-chain/x/incentive/types"
)
// BeginBlocker runs at the start of every block
diff --git a/x/incentive/client/cli/query.go b/x/incentive/client/cli/query.go
index 7da9c075..a52336a2 100644
--- a/x/incentive/client/cli/query.go
+++ b/x/incentive/client/cli/query.go
@@ -12,8 +12,8 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/cosmos-sdk/version"
- "github.com/kava-labs/kava/x/incentive/keeper"
- "github.com/kava-labs/kava/x/incentive/types"
+ "github.com/0glabs/0g-chain/x/incentive/keeper"
+ "github.com/0glabs/0g-chain/x/incentive/types"
)
const (
diff --git a/x/incentive/client/cli/tx.go b/x/incentive/client/cli/tx.go
index 73067fcf..5707bd5b 100644
--- a/x/incentive/client/cli/tx.go
+++ b/x/incentive/client/cli/tx.go
@@ -11,7 +11,7 @@ import (
"github.com/cosmos/cosmos-sdk/client/tx"
"github.com/cosmos/cosmos-sdk/version"
- "github.com/kava-labs/kava/x/incentive/types"
+ "github.com/0glabs/0g-chain/x/incentive/types"
)
const (
diff --git a/x/incentive/genesis.go b/x/incentive/genesis.go
index 246ffa67..78387b29 100644
--- a/x/incentive/genesis.go
+++ b/x/incentive/genesis.go
@@ -6,8 +6,8 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/incentive/keeper"
- "github.com/kava-labs/kava/x/incentive/types"
+ "github.com/0glabs/0g-chain/x/incentive/keeper"
+ "github.com/0glabs/0g-chain/x/incentive/types"
)
// InitGenesis initializes the store state from a genesis state.
diff --git a/x/incentive/genesis_test.go b/x/incentive/genesis_test.go
index 78b75cc7..bf4aa411 100644
--- a/x/incentive/genesis_test.go
+++ b/x/incentive/genesis_test.go
@@ -11,12 +11,12 @@ import (
tmproto "github.com/cometbft/cometbft/proto/tendermint/types"
- "github.com/kava-labs/kava/app"
- hardtypes "github.com/kava-labs/kava/x/hard/types"
- "github.com/kava-labs/kava/x/incentive"
- "github.com/kava-labs/kava/x/incentive/keeper"
- "github.com/kava-labs/kava/x/incentive/types"
- kavadisttypes "github.com/kava-labs/kava/x/kavadist/types"
+ "github.com/0glabs/0g-chain/app"
+ hardtypes "github.com/0glabs/0g-chain/x/hard/types"
+ "github.com/0glabs/0g-chain/x/incentive"
+ "github.com/0glabs/0g-chain/x/incentive/keeper"
+ "github.com/0glabs/0g-chain/x/incentive/types"
+ kavadisttypes "github.com/0glabs/0g-chain/x/kavadist/types"
)
const (
diff --git a/x/incentive/integration_test.go b/x/incentive/integration_test.go
index f1d5039d..e1708528 100644
--- a/x/incentive/integration_test.go
+++ b/x/incentive/integration_test.go
@@ -8,10 +8,10 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"
- "github.com/kava-labs/kava/app"
- cdptypes "github.com/kava-labs/kava/x/cdp/types"
- "github.com/kava-labs/kava/x/incentive/testutil"
- pricefeedtypes "github.com/kava-labs/kava/x/pricefeed/types"
+ "github.com/0glabs/0g-chain/app"
+ cdptypes "github.com/0glabs/0g-chain/x/cdp/types"
+ "github.com/0glabs/0g-chain/x/incentive/testutil"
+ pricefeedtypes "github.com/0glabs/0g-chain/x/pricefeed/types"
)
// Avoid cluttering test cases with long function names
diff --git a/x/incentive/keeper/claim.go b/x/incentive/keeper/claim.go
index c58ae6e8..e84941c7 100644
--- a/x/incentive/keeper/claim.go
+++ b/x/incentive/keeper/claim.go
@@ -4,7 +4,7 @@ import (
errorsmod "cosmossdk.io/errors"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/incentive/types"
+ "github.com/0glabs/0g-chain/x/incentive/types"
)
// ClaimUSDXMintingReward pays out funds from a claim to a receiver account.
diff --git a/x/incentive/keeper/claim_test.go b/x/incentive/keeper/claim_test.go
index 4ca39a96..ba60c50c 100644
--- a/x/incentive/keeper/claim_test.go
+++ b/x/incentive/keeper/claim_test.go
@@ -7,7 +7,7 @@ import (
"github.com/stretchr/testify/suite"
- "github.com/kava-labs/kava/x/incentive/types"
+ "github.com/0glabs/0g-chain/x/incentive/types"
)
// ClaimTests runs unit tests for the keeper Claim methods
diff --git a/x/incentive/keeper/grpc_query.go b/x/incentive/keeper/grpc_query.go
index 956eaa40..7cfe71bb 100644
--- a/x/incentive/keeper/grpc_query.go
+++ b/x/incentive/keeper/grpc_query.go
@@ -8,8 +8,8 @@ import (
"google.golang.org/grpc/codes"
"google.golang.org/grpc/status"
- "github.com/kava-labs/kava/x/incentive/types"
- liquidtypes "github.com/kava-labs/kava/x/liquid/types"
+ "github.com/0glabs/0g-chain/x/incentive/types"
+ liquidtypes "github.com/0glabs/0g-chain/x/liquid/types"
)
const (
diff --git a/x/incentive/keeper/grpc_query_test.go b/x/incentive/keeper/grpc_query_test.go
index a4ac6c5b..abc0b484 100644
--- a/x/incentive/keeper/grpc_query_test.go
+++ b/x/incentive/keeper/grpc_query_test.go
@@ -5,13 +5,13 @@ import (
"time"
sdkmath "cosmossdk.io/math"
+ "github.com/0glabs/0g-chain/app"
+ hardtypes "github.com/0glabs/0g-chain/x/hard/types"
+ "github.com/0glabs/0g-chain/x/incentive/keeper"
+ "github.com/0glabs/0g-chain/x/incentive/types"
tmprototypes "github.com/cometbft/cometbft/proto/tendermint/types"
"github.com/cosmos/cosmos-sdk/baseapp"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/app"
- hardtypes "github.com/kava-labs/kava/x/hard/types"
- "github.com/kava-labs/kava/x/incentive/keeper"
- "github.com/kava-labs/kava/x/incentive/types"
"github.com/stretchr/testify/suite"
)
diff --git a/x/incentive/keeper/hooks.go b/x/incentive/keeper/hooks.go
index 2fa7e6dc..483c7dcc 100644
--- a/x/incentive/keeper/hooks.go
+++ b/x/incentive/keeper/hooks.go
@@ -5,11 +5,11 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"
- cdptypes "github.com/kava-labs/kava/x/cdp/types"
- earntypes "github.com/kava-labs/kava/x/earn/types"
- hardtypes "github.com/kava-labs/kava/x/hard/types"
- savingstypes "github.com/kava-labs/kava/x/savings/types"
- swaptypes "github.com/kava-labs/kava/x/swap/types"
+ cdptypes "github.com/0glabs/0g-chain/x/cdp/types"
+ earntypes "github.com/0glabs/0g-chain/x/earn/types"
+ hardtypes "github.com/0glabs/0g-chain/x/hard/types"
+ savingstypes "github.com/0glabs/0g-chain/x/savings/types"
+ swaptypes "github.com/0glabs/0g-chain/x/swap/types"
)
// Hooks wrapper struct for hooks
diff --git a/x/incentive/keeper/integration_test.go b/x/incentive/keeper/integration_test.go
index efc37169..ecd440b1 100644
--- a/x/incentive/keeper/integration_test.go
+++ b/x/incentive/keeper/integration_test.go
@@ -4,15 +4,15 @@ import (
"time"
sdkmath "cosmossdk.io/math"
+ "github.com/0glabs/0g-chain/app"
+ cdptypes "github.com/0glabs/0g-chain/x/cdp/types"
+ committeetypes "github.com/0glabs/0g-chain/x/committee/types"
+ "github.com/0glabs/0g-chain/x/incentive/testutil"
+ pricefeedtypes "github.com/0glabs/0g-chain/x/pricefeed/types"
+ swaptypes "github.com/0glabs/0g-chain/x/swap/types"
"github.com/cosmos/cosmos-sdk/codec"
sdk "github.com/cosmos/cosmos-sdk/types"
stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"
- "github.com/kava-labs/kava/app"
- cdptypes "github.com/kava-labs/kava/x/cdp/types"
- committeetypes "github.com/kava-labs/kava/x/committee/types"
- "github.com/kava-labs/kava/x/incentive/testutil"
- pricefeedtypes "github.com/kava-labs/kava/x/pricefeed/types"
- swaptypes "github.com/kava-labs/kava/x/swap/types"
)
// Avoid cluttering test cases with long function names
diff --git a/x/incentive/keeper/keeper.go b/x/incentive/keeper/keeper.go
index 07707676..78a8981a 100644
--- a/x/incentive/keeper/keeper.go
+++ b/x/incentive/keeper/keeper.go
@@ -8,7 +8,7 @@ import (
storetypes "github.com/cosmos/cosmos-sdk/store/types"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/incentive/types"
+ "github.com/0glabs/0g-chain/x/incentive/types"
)
// Keeper keeper for the incentive module
diff --git a/x/incentive/keeper/keeper_test.go b/x/incentive/keeper/keeper_test.go
index 3ab619aa..ac12f808 100644
--- a/x/incentive/keeper/keeper_test.go
+++ b/x/incentive/keeper/keeper_test.go
@@ -9,9 +9,9 @@ import (
tmprototypes "github.com/cometbft/cometbft/proto/tendermint/types"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/x/incentive/keeper"
- "github.com/kava-labs/kava/x/incentive/types"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/x/incentive/keeper"
+ "github.com/0glabs/0g-chain/x/incentive/types"
)
// Test suite used for all keeper tests
diff --git a/x/incentive/keeper/keeper_utils_test.go b/x/incentive/keeper/keeper_utils_test.go
index 2dac8ae2..20fc9353 100644
--- a/x/incentive/keeper/keeper_utils_test.go
+++ b/x/incentive/keeper/keeper_utils_test.go
@@ -1,9 +1,9 @@
package keeper_test
import (
+ "github.com/0glabs/0g-chain/x/incentive/keeper"
+ "github.com/0glabs/0g-chain/x/incentive/types"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/incentive/keeper"
- "github.com/kava-labs/kava/x/incentive/types"
)
// TestKeeper is a test wrapper for the keeper which contains useful methods for testing
diff --git a/x/incentive/keeper/msg_server.go b/x/incentive/keeper/msg_server.go
index 2b4e2319..9a1f18d8 100644
--- a/x/incentive/keeper/msg_server.go
+++ b/x/incentive/keeper/msg_server.go
@@ -7,7 +7,7 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"
- "github.com/kava-labs/kava/x/incentive/types"
+ "github.com/0glabs/0g-chain/x/incentive/types"
)
type msgServer struct {
diff --git a/x/incentive/keeper/msg_server_delegator_test.go b/x/incentive/keeper/msg_server_delegator_test.go
index f3d0331f..8c3d51f4 100644
--- a/x/incentive/keeper/msg_server_delegator_test.go
+++ b/x/incentive/keeper/msg_server_delegator_test.go
@@ -6,7 +6,7 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
vestingtypes "github.com/cosmos/cosmos-sdk/x/auth/vesting/types"
- "github.com/kava-labs/kava/x/incentive/types"
+ "github.com/0glabs/0g-chain/x/incentive/types"
)
func (suite *HandlerTestSuite) TestPayoutDelegatorClaimMultiDenom() {
diff --git a/x/incentive/keeper/msg_server_earn_test.go b/x/incentive/keeper/msg_server_earn_test.go
index 98fd3a53..7becfa63 100644
--- a/x/incentive/keeper/msg_server_earn_test.go
+++ b/x/incentive/keeper/msg_server_earn_test.go
@@ -6,15 +6,15 @@ import (
abci "github.com/cometbft/cometbft/abci/types"
sdk "github.com/cosmos/cosmos-sdk/types"
+ earntypes "github.com/0glabs/0g-chain/x/earn/types"
+ "github.com/0glabs/0g-chain/x/incentive"
+ "github.com/0glabs/0g-chain/x/incentive/testutil"
+ "github.com/0glabs/0g-chain/x/incentive/types"
+ liquidtypes "github.com/0glabs/0g-chain/x/liquid/types"
"github.com/cosmos/cosmos-sdk/x/distribution"
distrtypes "github.com/cosmos/cosmos-sdk/x/distribution/types"
"github.com/cosmos/cosmos-sdk/x/mint"
minttypes "github.com/cosmos/cosmos-sdk/x/mint/types"
- earntypes "github.com/kava-labs/kava/x/earn/types"
- "github.com/kava-labs/kava/x/incentive"
- "github.com/kava-labs/kava/x/incentive/testutil"
- "github.com/kava-labs/kava/x/incentive/types"
- liquidtypes "github.com/kava-labs/kava/x/liquid/types"
)
func (suite *HandlerTestSuite) TestEarnLiquidClaim() {
diff --git a/x/incentive/keeper/msg_server_hard_test.go b/x/incentive/keeper/msg_server_hard_test.go
index 44e5ff71..f7720bb8 100644
--- a/x/incentive/keeper/msg_server_hard_test.go
+++ b/x/incentive/keeper/msg_server_hard_test.go
@@ -5,7 +5,7 @@ import (
vestingtypes "github.com/cosmos/cosmos-sdk/x/auth/vesting/types"
- "github.com/kava-labs/kava/x/incentive/types"
+ "github.com/0glabs/0g-chain/x/incentive/types"
)
func (suite *HandlerTestSuite) TestPayoutHardClaimMultiDenom() {
diff --git a/x/incentive/keeper/msg_server_swap_test.go b/x/incentive/keeper/msg_server_swap_test.go
index 366fccb8..1c73a6aa 100644
--- a/x/incentive/keeper/msg_server_swap_test.go
+++ b/x/incentive/keeper/msg_server_swap_test.go
@@ -9,10 +9,10 @@ import (
vestingtypes "github.com/cosmos/cosmos-sdk/x/auth/vesting/types"
"github.com/stretchr/testify/suite"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/x/incentive/testutil"
- "github.com/kava-labs/kava/x/incentive/types"
- kavadisttypes "github.com/kava-labs/kava/x/kavadist/types"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/x/incentive/testutil"
+ "github.com/0glabs/0g-chain/x/incentive/types"
+ kavadisttypes "github.com/0glabs/0g-chain/x/kavadist/types"
)
const secondsPerDay = 24 * 60 * 60
diff --git a/x/incentive/keeper/msg_server_usdx_test.go b/x/incentive/keeper/msg_server_usdx_test.go
index ae0e5603..8d299295 100644
--- a/x/incentive/keeper/msg_server_usdx_test.go
+++ b/x/incentive/keeper/msg_server_usdx_test.go
@@ -5,7 +5,7 @@ import (
vestingtypes "github.com/cosmos/cosmos-sdk/x/auth/vesting/types"
- "github.com/kava-labs/kava/x/incentive/types"
+ "github.com/0glabs/0g-chain/x/incentive/types"
)
func (suite *HandlerTestSuite) TestPayoutUSDXClaim() {
diff --git a/x/incentive/keeper/params.go b/x/incentive/keeper/params.go
index c98e4bd9..b8b89c93 100644
--- a/x/incentive/keeper/params.go
+++ b/x/incentive/keeper/params.go
@@ -5,7 +5,7 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/incentive/types"
+ "github.com/0glabs/0g-chain/x/incentive/types"
)
// GetParams returns the params from the store
diff --git a/x/incentive/keeper/payout.go b/x/incentive/keeper/payout.go
index a50ef5a7..e7c0d0b9 100644
--- a/x/incentive/keeper/payout.go
+++ b/x/incentive/keeper/payout.go
@@ -8,8 +8,8 @@ import (
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
vestingtypes "github.com/cosmos/cosmos-sdk/x/auth/vesting/types"
- "github.com/kava-labs/kava/x/incentive/types"
- // validatorvesting "github.com/kava-labs/kava/x/validator-vesting"
+ "github.com/0glabs/0g-chain/x/incentive/types"
+ // validatorvesting "github.com/0glabs/0g-chain/x/validator-vesting"
)
const (
diff --git a/x/incentive/keeper/payout_test.go b/x/incentive/keeper/payout_test.go
index 0c20bfce..a88c9ac4 100644
--- a/x/incentive/keeper/payout_test.go
+++ b/x/incentive/keeper/payout_test.go
@@ -12,14 +12,14 @@ import (
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
vestingtypes "github.com/cosmos/cosmos-sdk/x/auth/vesting/types"
- "github.com/kava-labs/kava/app"
- cdpkeeper "github.com/kava-labs/kava/x/cdp/keeper"
- cdptypes "github.com/kava-labs/kava/x/cdp/types"
- hardkeeper "github.com/kava-labs/kava/x/hard/keeper"
- "github.com/kava-labs/kava/x/incentive/keeper"
- "github.com/kava-labs/kava/x/incentive/testutil"
- "github.com/kava-labs/kava/x/incentive/types"
- kavadisttypes "github.com/kava-labs/kava/x/kavadist/types"
+ "github.com/0glabs/0g-chain/app"
+ cdpkeeper "github.com/0glabs/0g-chain/x/cdp/keeper"
+ cdptypes "github.com/0glabs/0g-chain/x/cdp/types"
+ hardkeeper "github.com/0glabs/0g-chain/x/hard/keeper"
+ "github.com/0glabs/0g-chain/x/incentive/keeper"
+ "github.com/0glabs/0g-chain/x/incentive/testutil"
+ "github.com/0glabs/0g-chain/x/incentive/types"
+ kavadisttypes "github.com/0glabs/0g-chain/x/kavadist/types"
)
// Test suite used for all keeper tests
diff --git a/x/incentive/keeper/querier.go b/x/incentive/keeper/querier.go
index fc5832b3..34b830d5 100644
--- a/x/incentive/keeper/querier.go
+++ b/x/incentive/keeper/querier.go
@@ -6,9 +6,9 @@ import (
sdkmath "cosmossdk.io/math"
sdk "github.com/cosmos/cosmos-sdk/types"
- earntypes "github.com/kava-labs/kava/x/earn/types"
- "github.com/kava-labs/kava/x/incentive/types"
- liquidtypes "github.com/kava-labs/kava/x/liquid/types"
+ earntypes "github.com/0glabs/0g-chain/x/earn/types"
+ "github.com/0glabs/0g-chain/x/incentive/types"
+ liquidtypes "github.com/0glabs/0g-chain/x/liquid/types"
)
const (
diff --git a/x/incentive/keeper/querier_test.go b/x/incentive/keeper/querier_test.go
index 30bf0cbe..865a1012 100644
--- a/x/incentive/keeper/querier_test.go
+++ b/x/incentive/keeper/querier_test.go
@@ -5,13 +5,13 @@ import (
"time"
sdkmath "cosmossdk.io/math"
+ pricefeedtypes "github.com/0glabs/0g-chain/x/pricefeed/types"
sdk "github.com/cosmos/cosmos-sdk/types"
minttypes "github.com/cosmos/cosmos-sdk/x/mint/types"
- pricefeedtypes "github.com/kava-labs/kava/x/pricefeed/types"
- earntypes "github.com/kava-labs/kava/x/earn/types"
- "github.com/kava-labs/kava/x/incentive/keeper"
- "github.com/kava-labs/kava/x/incentive/types"
+ earntypes "github.com/0glabs/0g-chain/x/earn/types"
+ "github.com/0glabs/0g-chain/x/incentive/keeper"
+ "github.com/0glabs/0g-chain/x/incentive/types"
"github.com/stretchr/testify/suite"
)
diff --git a/x/incentive/keeper/rewards_borrow.go b/x/incentive/keeper/rewards_borrow.go
index 44de0fb1..806b1b59 100644
--- a/x/incentive/keeper/rewards_borrow.go
+++ b/x/incentive/keeper/rewards_borrow.go
@@ -7,8 +7,8 @@ import (
sdkmath "cosmossdk.io/math"
sdk "github.com/cosmos/cosmos-sdk/types"
- hardtypes "github.com/kava-labs/kava/x/hard/types"
- "github.com/kava-labs/kava/x/incentive/types"
+ hardtypes "github.com/0glabs/0g-chain/x/hard/types"
+ "github.com/0glabs/0g-chain/x/incentive/types"
)
// AccumulateHardBorrowRewards calculates new rewards to distribute this block and updates the global indexes to reflect this.
diff --git a/x/incentive/keeper/rewards_borrow_accum_test.go b/x/incentive/keeper/rewards_borrow_accum_test.go
index e4c7fc35..a1a71bc6 100644
--- a/x/incentive/keeper/rewards_borrow_accum_test.go
+++ b/x/incentive/keeper/rewards_borrow_accum_test.go
@@ -6,7 +6,7 @@ import (
"github.com/stretchr/testify/suite"
- "github.com/kava-labs/kava/x/incentive/types"
+ "github.com/0glabs/0g-chain/x/incentive/types"
)
type AccumulateBorrowRewardsTests struct {
diff --git a/x/incentive/keeper/rewards_borrow_init_test.go b/x/incentive/keeper/rewards_borrow_init_test.go
index 4c8f0b58..1b80df86 100644
--- a/x/incentive/keeper/rewards_borrow_init_test.go
+++ b/x/incentive/keeper/rewards_borrow_init_test.go
@@ -5,7 +5,7 @@ import (
"github.com/stretchr/testify/suite"
- "github.com/kava-labs/kava/x/incentive/types"
+ "github.com/0glabs/0g-chain/x/incentive/types"
)
// InitializeHardBorrowRewardTests runs unit tests for the keeper.InitializeHardBorrowReward method
diff --git a/x/incentive/keeper/rewards_borrow_sync_test.go b/x/incentive/keeper/rewards_borrow_sync_test.go
index 8f9f9dc3..ac28fb87 100644
--- a/x/incentive/keeper/rewards_borrow_sync_test.go
+++ b/x/incentive/keeper/rewards_borrow_sync_test.go
@@ -9,9 +9,9 @@ import (
"github.com/stretchr/testify/require"
"github.com/stretchr/testify/suite"
- hardtypes "github.com/kava-labs/kava/x/hard/types"
- "github.com/kava-labs/kava/x/incentive/keeper"
- "github.com/kava-labs/kava/x/incentive/types"
+ hardtypes "github.com/0glabs/0g-chain/x/hard/types"
+ "github.com/0glabs/0g-chain/x/incentive/keeper"
+ "github.com/0glabs/0g-chain/x/incentive/types"
)
// SynchronizeHardBorrowRewardTests runs unit tests for the keeper.SynchronizeHardBorrowReward method
diff --git a/x/incentive/keeper/rewards_borrow_test.go b/x/incentive/keeper/rewards_borrow_test.go
index c76dd2ff..e0df053a 100644
--- a/x/incentive/keeper/rewards_borrow_test.go
+++ b/x/incentive/keeper/rewards_borrow_test.go
@@ -11,16 +11,16 @@ import (
proposaltypes "github.com/cosmos/cosmos-sdk/x/params/types/proposal"
"github.com/stretchr/testify/suite"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/x/committee"
- committeekeeper "github.com/kava-labs/kava/x/committee/keeper"
- committeetypes "github.com/kava-labs/kava/x/committee/types"
- "github.com/kava-labs/kava/x/hard"
- hardkeeper "github.com/kava-labs/kava/x/hard/keeper"
- "github.com/kava-labs/kava/x/incentive/keeper"
- "github.com/kava-labs/kava/x/incentive/testutil"
- "github.com/kava-labs/kava/x/incentive/types"
- kavadisttypes "github.com/kava-labs/kava/x/kavadist/types"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/x/committee"
+ committeekeeper "github.com/0glabs/0g-chain/x/committee/keeper"
+ committeetypes "github.com/0glabs/0g-chain/x/committee/types"
+ "github.com/0glabs/0g-chain/x/hard"
+ hardkeeper "github.com/0glabs/0g-chain/x/hard/keeper"
+ "github.com/0glabs/0g-chain/x/incentive/keeper"
+ "github.com/0glabs/0g-chain/x/incentive/testutil"
+ "github.com/0glabs/0g-chain/x/incentive/types"
+ kavadisttypes "github.com/0glabs/0g-chain/x/kavadist/types"
)
type BorrowIntegrationTests struct {
diff --git a/x/incentive/keeper/rewards_borrow_update_test.go b/x/incentive/keeper/rewards_borrow_update_test.go
index 06187dfa..571937c3 100644
--- a/x/incentive/keeper/rewards_borrow_update_test.go
+++ b/x/incentive/keeper/rewards_borrow_update_test.go
@@ -5,7 +5,7 @@ import (
"github.com/stretchr/testify/suite"
- "github.com/kava-labs/kava/x/incentive/types"
+ "github.com/0glabs/0g-chain/x/incentive/types"
)
// UpdateHardBorrowIndexDenomsTests runs unit tests for the keeper.UpdateHardBorrowIndexDenoms method
diff --git a/x/incentive/keeper/rewards_delegator.go b/x/incentive/keeper/rewards_delegator.go
index 77d58a17..47867f99 100644
--- a/x/incentive/keeper/rewards_delegator.go
+++ b/x/incentive/keeper/rewards_delegator.go
@@ -6,7 +6,7 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"
- "github.com/kava-labs/kava/x/incentive/types"
+ "github.com/0glabs/0g-chain/x/incentive/types"
)
// AccumulateDelegatorRewards calculates new rewards to distribute this block and updates the global indexes to reflect this.
diff --git a/x/incentive/keeper/rewards_delegator_accum_test.go b/x/incentive/keeper/rewards_delegator_accum_test.go
index 883c377b..2e586dbe 100644
--- a/x/incentive/keeper/rewards_delegator_accum_test.go
+++ b/x/incentive/keeper/rewards_delegator_accum_test.go
@@ -6,7 +6,7 @@ import (
"github.com/stretchr/testify/suite"
- "github.com/kava-labs/kava/x/incentive/types"
+ "github.com/0glabs/0g-chain/x/incentive/types"
)
type AccumulateDelegatorRewardsTests struct {
diff --git a/x/incentive/keeper/rewards_delegator_init_test.go b/x/incentive/keeper/rewards_delegator_init_test.go
index 42015e43..84ece1a8 100644
--- a/x/incentive/keeper/rewards_delegator_init_test.go
+++ b/x/incentive/keeper/rewards_delegator_init_test.go
@@ -6,7 +6,7 @@ import (
stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"
"github.com/stretchr/testify/suite"
- "github.com/kava-labs/kava/x/incentive/types"
+ "github.com/0glabs/0g-chain/x/incentive/types"
)
// InitializeDelegatorRewardTests runs unit tests for the keeper.InitializeDelegatorReward method
diff --git a/x/incentive/keeper/rewards_delegator_sync_test.go b/x/incentive/keeper/rewards_delegator_sync_test.go
index 829aacae..e2f9b898 100644
--- a/x/incentive/keeper/rewards_delegator_sync_test.go
+++ b/x/incentive/keeper/rewards_delegator_sync_test.go
@@ -7,7 +7,7 @@ import (
stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"
"github.com/stretchr/testify/suite"
- "github.com/kava-labs/kava/x/incentive/types"
+ "github.com/0glabs/0g-chain/x/incentive/types"
)
// SynchronizeDelegatorRewardTests runs unit tests for the keeper.SynchronizeDelegatorReward method
diff --git a/x/incentive/keeper/rewards_delegator_test.go b/x/incentive/keeper/rewards_delegator_test.go
index 6402e17a..75238e13 100644
--- a/x/incentive/keeper/rewards_delegator_test.go
+++ b/x/incentive/keeper/rewards_delegator_test.go
@@ -14,10 +14,10 @@ import (
stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"
"github.com/stretchr/testify/suite"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/x/incentive/keeper"
- "github.com/kava-labs/kava/x/incentive/testutil"
- "github.com/kava-labs/kava/x/incentive/types"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/x/incentive/keeper"
+ "github.com/0glabs/0g-chain/x/incentive/testutil"
+ "github.com/0glabs/0g-chain/x/incentive/types"
)
// Test suite used for all keeper tests
diff --git a/x/incentive/keeper/rewards_earn.go b/x/incentive/keeper/rewards_earn.go
index 6d176efd..9f9e0286 100644
--- a/x/incentive/keeper/rewards_earn.go
+++ b/x/incentive/keeper/rewards_earn.go
@@ -9,8 +9,8 @@ import (
sdkmath "cosmossdk.io/math"
sdk "github.com/cosmos/cosmos-sdk/types"
- earntypes "github.com/kava-labs/kava/x/earn/types"
- "github.com/kava-labs/kava/x/incentive/types"
+ earntypes "github.com/0glabs/0g-chain/x/earn/types"
+ "github.com/0glabs/0g-chain/x/incentive/types"
distrtypes "github.com/cosmos/cosmos-sdk/x/distribution/types"
)
diff --git a/x/incentive/keeper/rewards_earn_accum_integration_test.go b/x/incentive/keeper/rewards_earn_accum_integration_test.go
index 892323db..9d389b83 100644
--- a/x/incentive/keeper/rewards_earn_accum_integration_test.go
+++ b/x/incentive/keeper/rewards_earn_accum_integration_test.go
@@ -8,10 +8,10 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/stretchr/testify/suite"
- "github.com/kava-labs/kava/app"
- earntypes "github.com/kava-labs/kava/x/earn/types"
- "github.com/kava-labs/kava/x/incentive/testutil"
- "github.com/kava-labs/kava/x/incentive/types"
+ "github.com/0glabs/0g-chain/app"
+ earntypes "github.com/0glabs/0g-chain/x/earn/types"
+ "github.com/0glabs/0g-chain/x/incentive/testutil"
+ "github.com/0glabs/0g-chain/x/incentive/types"
)
type AccumulateEarnRewardsIntegrationTests struct {
diff --git a/x/incentive/keeper/rewards_earn_accum_test.go b/x/incentive/keeper/rewards_earn_accum_test.go
index c83e47ed..e4f9ae66 100644
--- a/x/incentive/keeper/rewards_earn_accum_test.go
+++ b/x/incentive/keeper/rewards_earn_accum_test.go
@@ -7,8 +7,8 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/stretchr/testify/suite"
- earntypes "github.com/kava-labs/kava/x/earn/types"
- "github.com/kava-labs/kava/x/incentive/types"
+ earntypes "github.com/0glabs/0g-chain/x/earn/types"
+ "github.com/0glabs/0g-chain/x/incentive/types"
)
type AccumulateEarnRewardsTests struct {
diff --git a/x/incentive/keeper/rewards_earn_init_test.go b/x/incentive/keeper/rewards_earn_init_test.go
index 4931ae0b..f996a55f 100644
--- a/x/incentive/keeper/rewards_earn_init_test.go
+++ b/x/incentive/keeper/rewards_earn_init_test.go
@@ -6,7 +6,7 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/stretchr/testify/suite"
- "github.com/kava-labs/kava/x/incentive/types"
+ "github.com/0glabs/0g-chain/x/incentive/types"
)
// InitializeEarnRewardTests runs unit tests for the keeper.InitializeEarnReward method
diff --git a/x/incentive/keeper/rewards_earn_proportional_test.go b/x/incentive/keeper/rewards_earn_proportional_test.go
index 76805c18..83225b59 100644
--- a/x/incentive/keeper/rewards_earn_proportional_test.go
+++ b/x/incentive/keeper/rewards_earn_proportional_test.go
@@ -5,9 +5,9 @@ import (
"time"
sdkmath "cosmossdk.io/math"
+ "github.com/0glabs/0g-chain/x/incentive/keeper"
+ "github.com/0glabs/0g-chain/x/incentive/types"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/incentive/keeper"
- "github.com/kava-labs/kava/x/incentive/types"
"github.com/stretchr/testify/require"
)
diff --git a/x/incentive/keeper/rewards_earn_staking_integration_test.go b/x/incentive/keeper/rewards_earn_staking_integration_test.go
index 59466c13..e8cb6fc6 100644
--- a/x/incentive/keeper/rewards_earn_staking_integration_test.go
+++ b/x/incentive/keeper/rewards_earn_staking_integration_test.go
@@ -4,12 +4,12 @@ import (
"testing"
"time"
+ "github.com/0glabs/0g-chain/app"
+ earntypes "github.com/0glabs/0g-chain/x/earn/types"
+ "github.com/0glabs/0g-chain/x/incentive/testutil"
+ "github.com/0glabs/0g-chain/x/incentive/types"
abci "github.com/cometbft/cometbft/abci/types"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/app"
- earntypes "github.com/kava-labs/kava/x/earn/types"
- "github.com/kava-labs/kava/x/incentive/testutil"
- "github.com/kava-labs/kava/x/incentive/types"
"github.com/stretchr/testify/suite"
)
diff --git a/x/incentive/keeper/rewards_earn_staking_test.go b/x/incentive/keeper/rewards_earn_staking_test.go
index 5df7ed17..cbf249e6 100644
--- a/x/incentive/keeper/rewards_earn_staking_test.go
+++ b/x/incentive/keeper/rewards_earn_staking_test.go
@@ -3,9 +3,9 @@ package keeper_test
import (
"time"
+ earntypes "github.com/0glabs/0g-chain/x/earn/types"
+ "github.com/0glabs/0g-chain/x/incentive/types"
sdk "github.com/cosmos/cosmos-sdk/types"
- earntypes "github.com/kava-labs/kava/x/earn/types"
- "github.com/kava-labs/kava/x/incentive/types"
)
func (suite *AccumulateEarnRewardsTests) TestStakingRewardsDistributed() {
diff --git a/x/incentive/keeper/rewards_earn_sync_test.go b/x/incentive/keeper/rewards_earn_sync_test.go
index e557f4a8..51c4ddbd 100644
--- a/x/incentive/keeper/rewards_earn_sync_test.go
+++ b/x/incentive/keeper/rewards_earn_sync_test.go
@@ -5,8 +5,8 @@ import (
"github.com/stretchr/testify/suite"
- earntypes "github.com/kava-labs/kava/x/earn/types"
- "github.com/kava-labs/kava/x/incentive/types"
+ earntypes "github.com/0glabs/0g-chain/x/earn/types"
+ "github.com/0glabs/0g-chain/x/incentive/types"
)
// SynchronizeEarnRewardTests runs unit tests for the keeper.SynchronizeEarnReward method
diff --git a/x/incentive/keeper/rewards_savings.go b/x/incentive/keeper/rewards_savings.go
index 1b843bdf..04d7229c 100644
--- a/x/incentive/keeper/rewards_savings.go
+++ b/x/incentive/keeper/rewards_savings.go
@@ -5,8 +5,8 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/incentive/types"
- savingstypes "github.com/kava-labs/kava/x/savings/types"
+ "github.com/0glabs/0g-chain/x/incentive/types"
+ savingstypes "github.com/0glabs/0g-chain/x/savings/types"
)
// AccumulateSavingsRewards calculates new rewards to distribute this block and updates the global indexes
diff --git a/x/incentive/keeper/rewards_savings_accum_test.go b/x/incentive/keeper/rewards_savings_accum_test.go
index 2485669a..7de9a425 100644
--- a/x/incentive/keeper/rewards_savings_accum_test.go
+++ b/x/incentive/keeper/rewards_savings_accum_test.go
@@ -8,13 +8,13 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/stretchr/testify/suite"
- savingskeeper "github.com/kava-labs/kava/x/savings/keeper"
- savingstypes "github.com/kava-labs/kava/x/savings/types"
+ savingskeeper "github.com/0glabs/0g-chain/x/savings/keeper"
+ savingstypes "github.com/0glabs/0g-chain/x/savings/types"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/x/incentive/keeper"
- "github.com/kava-labs/kava/x/incentive/testutil"
- "github.com/kava-labs/kava/x/incentive/types"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/x/incentive/keeper"
+ "github.com/0glabs/0g-chain/x/incentive/testutil"
+ "github.com/0glabs/0g-chain/x/incentive/types"
)
// Test suite used for all keeper tests
diff --git a/x/incentive/keeper/rewards_savings_init_test.go b/x/incentive/keeper/rewards_savings_init_test.go
index f9b7bac2..26e4cfcb 100644
--- a/x/incentive/keeper/rewards_savings_init_test.go
+++ b/x/incentive/keeper/rewards_savings_init_test.go
@@ -7,8 +7,8 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/incentive/types"
- savingstypes "github.com/kava-labs/kava/x/savings/types"
+ "github.com/0glabs/0g-chain/x/incentive/types"
+ savingstypes "github.com/0glabs/0g-chain/x/savings/types"
)
// InitializeSavingsRewardTests runs unit tests for the keeper.InitializeSavingsReward method
diff --git a/x/incentive/keeper/rewards_savings_sync_test.go b/x/incentive/keeper/rewards_savings_sync_test.go
index 4e7c5439..a14d458d 100644
--- a/x/incentive/keeper/rewards_savings_sync_test.go
+++ b/x/incentive/keeper/rewards_savings_sync_test.go
@@ -6,8 +6,8 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/stretchr/testify/suite"
- "github.com/kava-labs/kava/x/incentive/types"
- savingstypes "github.com/kava-labs/kava/x/savings/types"
+ "github.com/0glabs/0g-chain/x/incentive/types"
+ savingstypes "github.com/0glabs/0g-chain/x/savings/types"
)
// SynchronizeSavingsRewardTests runs unit tests for the keeper.SynchronizeSavingsReward method
diff --git a/x/incentive/keeper/rewards_supply.go b/x/incentive/keeper/rewards_supply.go
index bc97694b..a9e3458b 100644
--- a/x/incentive/keeper/rewards_supply.go
+++ b/x/incentive/keeper/rewards_supply.go
@@ -5,8 +5,8 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
- hardtypes "github.com/kava-labs/kava/x/hard/types"
- "github.com/kava-labs/kava/x/incentive/types"
+ hardtypes "github.com/0glabs/0g-chain/x/hard/types"
+ "github.com/0glabs/0g-chain/x/incentive/types"
)
// AccumulateHardSupplyRewards calculates new rewards to distribute this block and updates the global indexes to reflect this.
diff --git a/x/incentive/keeper/rewards_supply_accum_test.go b/x/incentive/keeper/rewards_supply_accum_test.go
index 179a1b18..ef845190 100644
--- a/x/incentive/keeper/rewards_supply_accum_test.go
+++ b/x/incentive/keeper/rewards_supply_accum_test.go
@@ -6,7 +6,7 @@ import (
"github.com/stretchr/testify/suite"
- "github.com/kava-labs/kava/x/incentive/types"
+ "github.com/0glabs/0g-chain/x/incentive/types"
)
type AccumulateSupplyRewardsTests struct {
diff --git a/x/incentive/keeper/rewards_supply_init_test.go b/x/incentive/keeper/rewards_supply_init_test.go
index 4075cfb1..2571271f 100644
--- a/x/incentive/keeper/rewards_supply_init_test.go
+++ b/x/incentive/keeper/rewards_supply_init_test.go
@@ -5,7 +5,7 @@ import (
"github.com/stretchr/testify/suite"
- "github.com/kava-labs/kava/x/incentive/types"
+ "github.com/0glabs/0g-chain/x/incentive/types"
)
// InitializeHardSupplyRewardTests runs unit tests for the keeper.InitializeHardSupplyReward method
diff --git a/x/incentive/keeper/rewards_supply_sync_test.go b/x/incentive/keeper/rewards_supply_sync_test.go
index 10c18185..71574cb3 100644
--- a/x/incentive/keeper/rewards_supply_sync_test.go
+++ b/x/incentive/keeper/rewards_supply_sync_test.go
@@ -7,8 +7,8 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/stretchr/testify/suite"
- hardtypes "github.com/kava-labs/kava/x/hard/types"
- "github.com/kava-labs/kava/x/incentive/types"
+ hardtypes "github.com/0glabs/0g-chain/x/hard/types"
+ "github.com/0glabs/0g-chain/x/incentive/types"
)
// SynchronizeHardSupplyRewardTests runs unit tests for the keeper.SynchronizeHardSupplyReward method
diff --git a/x/incentive/keeper/rewards_supply_test.go b/x/incentive/keeper/rewards_supply_test.go
index 2780a843..46242ff3 100644
--- a/x/incentive/keeper/rewards_supply_test.go
+++ b/x/incentive/keeper/rewards_supply_test.go
@@ -10,16 +10,16 @@ import (
proposaltypes "github.com/cosmos/cosmos-sdk/x/params/types/proposal"
"github.com/stretchr/testify/suite"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/x/committee"
- committeekeeper "github.com/kava-labs/kava/x/committee/keeper"
- committeetypes "github.com/kava-labs/kava/x/committee/types"
- "github.com/kava-labs/kava/x/hard"
- hardkeeper "github.com/kava-labs/kava/x/hard/keeper"
- "github.com/kava-labs/kava/x/incentive/keeper"
- "github.com/kava-labs/kava/x/incentive/testutil"
- "github.com/kava-labs/kava/x/incentive/types"
- kavadisttypes "github.com/kava-labs/kava/x/kavadist/types"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/x/committee"
+ committeekeeper "github.com/0glabs/0g-chain/x/committee/keeper"
+ committeetypes "github.com/0glabs/0g-chain/x/committee/types"
+ "github.com/0glabs/0g-chain/x/hard"
+ hardkeeper "github.com/0glabs/0g-chain/x/hard/keeper"
+ "github.com/0glabs/0g-chain/x/incentive/keeper"
+ "github.com/0glabs/0g-chain/x/incentive/testutil"
+ "github.com/0glabs/0g-chain/x/incentive/types"
+ kavadisttypes "github.com/0glabs/0g-chain/x/kavadist/types"
)
type SupplyIntegrationTests struct {
diff --git a/x/incentive/keeper/rewards_supply_update_test.go b/x/incentive/keeper/rewards_supply_update_test.go
index fd04f878..ee9f645c 100644
--- a/x/incentive/keeper/rewards_supply_update_test.go
+++ b/x/incentive/keeper/rewards_supply_update_test.go
@@ -5,7 +5,7 @@ import (
"github.com/stretchr/testify/suite"
- "github.com/kava-labs/kava/x/incentive/types"
+ "github.com/0glabs/0g-chain/x/incentive/types"
)
// UpdateHardSupplyIndexDenomsTests runs unit tests for the keeper.UpdateHardSupplyIndexDenoms method
diff --git a/x/incentive/keeper/rewards_swap.go b/x/incentive/keeper/rewards_swap.go
index 7f468c96..4d26e462 100644
--- a/x/incentive/keeper/rewards_swap.go
+++ b/x/incentive/keeper/rewards_swap.go
@@ -6,7 +6,7 @@ import (
sdkmath "cosmossdk.io/math"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/incentive/types"
+ "github.com/0glabs/0g-chain/x/incentive/types"
)
// AccumulateSwapRewards calculates new rewards to distribute this block and updates the global indexes to reflect this.
diff --git a/x/incentive/keeper/rewards_swap_accum_test.go b/x/incentive/keeper/rewards_swap_accum_test.go
index bb09e866..aa0c688a 100644
--- a/x/incentive/keeper/rewards_swap_accum_test.go
+++ b/x/incentive/keeper/rewards_swap_accum_test.go
@@ -6,7 +6,7 @@ import (
"github.com/stretchr/testify/suite"
- "github.com/kava-labs/kava/x/incentive/types"
+ "github.com/0glabs/0g-chain/x/incentive/types"
)
type AccumulateSwapRewardsTests struct {
diff --git a/x/incentive/keeper/rewards_swap_init_test.go b/x/incentive/keeper/rewards_swap_init_test.go
index 37619e38..8fd9fb51 100644
--- a/x/incentive/keeper/rewards_swap_init_test.go
+++ b/x/incentive/keeper/rewards_swap_init_test.go
@@ -6,7 +6,7 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/stretchr/testify/suite"
- "github.com/kava-labs/kava/x/incentive/types"
+ "github.com/0glabs/0g-chain/x/incentive/types"
)
// InitializeSwapRewardTests runs unit tests for the keeper.InitializeSwapReward method
diff --git a/x/incentive/keeper/rewards_swap_sync_test.go b/x/incentive/keeper/rewards_swap_sync_test.go
index 97fda931..deb78e1c 100644
--- a/x/incentive/keeper/rewards_swap_sync_test.go
+++ b/x/incentive/keeper/rewards_swap_sync_test.go
@@ -5,7 +5,7 @@ import (
"github.com/stretchr/testify/suite"
- "github.com/kava-labs/kava/x/incentive/types"
+ "github.com/0glabs/0g-chain/x/incentive/types"
)
// SynchronizeSwapRewardTests runs unit tests for the keeper.SynchronizeSwapReward method
diff --git a/x/incentive/keeper/rewards_usdx.go b/x/incentive/keeper/rewards_usdx.go
index ada24147..bee935b1 100644
--- a/x/incentive/keeper/rewards_usdx.go
+++ b/x/incentive/keeper/rewards_usdx.go
@@ -5,8 +5,8 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
- cdptypes "github.com/kava-labs/kava/x/cdp/types"
- "github.com/kava-labs/kava/x/incentive/types"
+ cdptypes "github.com/0glabs/0g-chain/x/cdp/types"
+ "github.com/0glabs/0g-chain/x/incentive/types"
)
// AccumulateUSDXMintingRewards calculates new rewards to distribute this block and updates the global indexes to reflect this.
diff --git a/x/incentive/keeper/rewards_usdx_accum_test.go b/x/incentive/keeper/rewards_usdx_accum_test.go
index 4b7283a6..21c52ff6 100644
--- a/x/incentive/keeper/rewards_usdx_accum_test.go
+++ b/x/incentive/keeper/rewards_usdx_accum_test.go
@@ -7,7 +7,7 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/stretchr/testify/suite"
- "github.com/kava-labs/kava/x/incentive/types"
+ "github.com/0glabs/0g-chain/x/incentive/types"
)
type AccumulateUSDXRewardsTests struct {
diff --git a/x/incentive/keeper/rewards_usdx_test.go b/x/incentive/keeper/rewards_usdx_test.go
index eb45570e..c67fc747 100644
--- a/x/incentive/keeper/rewards_usdx_test.go
+++ b/x/incentive/keeper/rewards_usdx_test.go
@@ -9,13 +9,13 @@ import (
proposaltypes "github.com/cosmos/cosmos-sdk/x/params/types/proposal"
"github.com/stretchr/testify/suite"
- "github.com/kava-labs/kava/app"
- cdpkeeper "github.com/kava-labs/kava/x/cdp/keeper"
- cdptypes "github.com/kava-labs/kava/x/cdp/types"
- "github.com/kava-labs/kava/x/incentive/keeper"
- "github.com/kava-labs/kava/x/incentive/testutil"
- "github.com/kava-labs/kava/x/incentive/types"
- kavadisttypes "github.com/kava-labs/kava/x/kavadist/types"
+ "github.com/0glabs/0g-chain/app"
+ cdpkeeper "github.com/0glabs/0g-chain/x/cdp/keeper"
+ cdptypes "github.com/0glabs/0g-chain/x/cdp/types"
+ "github.com/0glabs/0g-chain/x/incentive/keeper"
+ "github.com/0glabs/0g-chain/x/incentive/testutil"
+ "github.com/0glabs/0g-chain/x/incentive/types"
+ kavadisttypes "github.com/0glabs/0g-chain/x/kavadist/types"
)
type USDXIntegrationTests struct {
diff --git a/x/incentive/keeper/rewards_usdx_unit_test.go b/x/incentive/keeper/rewards_usdx_unit_test.go
index 61240e85..3425c3d3 100644
--- a/x/incentive/keeper/rewards_usdx_unit_test.go
+++ b/x/incentive/keeper/rewards_usdx_unit_test.go
@@ -7,8 +7,8 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/stretchr/testify/suite"
- cdptypes "github.com/kava-labs/kava/x/cdp/types"
- "github.com/kava-labs/kava/x/incentive/types"
+ cdptypes "github.com/0glabs/0g-chain/x/cdp/types"
+ "github.com/0glabs/0g-chain/x/incentive/types"
)
// usdxRewardsUnitTester contains common methods for running unit tests for keeper methods related to the USDX minting rewards
diff --git a/x/incentive/keeper/unit_test.go b/x/incentive/keeper/unit_test.go
index 8e459dd0..ee1008f8 100644
--- a/x/incentive/keeper/unit_test.go
+++ b/x/incentive/keeper/unit_test.go
@@ -6,6 +6,7 @@ import (
"time"
sdkmath "cosmossdk.io/math"
+ pricefeedtypes "github.com/0glabs/0g-chain/x/pricefeed/types"
db "github.com/cometbft/cometbft-db"
"github.com/cometbft/cometbft/libs/log"
"github.com/cosmos/cosmos-sdk/codec"
@@ -15,17 +16,16 @@ import (
minttypes "github.com/cosmos/cosmos-sdk/x/mint/types"
paramtypes "github.com/cosmos/cosmos-sdk/x/params/types"
stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"
- pricefeedtypes "github.com/kava-labs/kava/x/pricefeed/types"
"github.com/stretchr/testify/suite"
+ "github.com/0glabs/0g-chain/app"
+ cdptypes "github.com/0glabs/0g-chain/x/cdp/types"
+ earntypes "github.com/0glabs/0g-chain/x/earn/types"
tmprototypes "github.com/cometbft/cometbft/proto/tendermint/types"
- "github.com/kava-labs/kava/app"
- cdptypes "github.com/kava-labs/kava/x/cdp/types"
- earntypes "github.com/kava-labs/kava/x/earn/types"
- hardtypes "github.com/kava-labs/kava/x/hard/types"
- "github.com/kava-labs/kava/x/incentive/keeper"
- "github.com/kava-labs/kava/x/incentive/types"
+ hardtypes "github.com/0glabs/0g-chain/x/hard/types"
+ "github.com/0glabs/0g-chain/x/incentive/keeper"
+ "github.com/0glabs/0g-chain/x/incentive/types"
)
// NewTestContext sets up a basic context with an in-memory db
diff --git a/x/incentive/legacy/v0_16/migrate.go b/x/incentive/legacy/v0_16/migrate.go
index 5015cfb4..5a2534d5 100644
--- a/x/incentive/legacy/v0_16/migrate.go
+++ b/x/incentive/legacy/v0_16/migrate.go
@@ -1,8 +1,8 @@
package v0_16
import (
- v015incentive "github.com/kava-labs/kava/x/incentive/legacy/v0_15"
- v016incentive "github.com/kava-labs/kava/x/incentive/types"
+ v015incentive "github.com/0glabs/0g-chain/x/incentive/legacy/v0_15"
+ v016incentive "github.com/0glabs/0g-chain/x/incentive/types"
)
func migrateMultiRewardPerids(oldPeriods v015incentive.MultiRewardPeriods) v016incentive.MultiRewardPeriods {
diff --git a/x/incentive/legacy/v0_16/migrate_test.go b/x/incentive/legacy/v0_16/migrate_test.go
index 0cfb1014..9a002418 100644
--- a/x/incentive/legacy/v0_16/migrate_test.go
+++ b/x/incentive/legacy/v0_16/migrate_test.go
@@ -10,9 +10,9 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/stretchr/testify/suite"
- app "github.com/kava-labs/kava/app"
- v015incentive "github.com/kava-labs/kava/x/incentive/legacy/v0_15"
- v016incentive "github.com/kava-labs/kava/x/incentive/types"
+ app "github.com/0glabs/0g-chain/app"
+ v015incentive "github.com/0glabs/0g-chain/x/incentive/legacy/v0_15"
+ v016incentive "github.com/0glabs/0g-chain/x/incentive/types"
)
type migrateTestSuite struct {
diff --git a/x/incentive/module.go b/x/incentive/module.go
index f3a9dfc6..3ef56b5a 100644
--- a/x/incentive/module.go
+++ b/x/incentive/module.go
@@ -15,9 +15,9 @@ import (
abci "github.com/cometbft/cometbft/abci/types"
- "github.com/kava-labs/kava/x/incentive/client/cli"
- "github.com/kava-labs/kava/x/incentive/keeper"
- "github.com/kava-labs/kava/x/incentive/types"
+ "github.com/0glabs/0g-chain/x/incentive/client/cli"
+ "github.com/0glabs/0g-chain/x/incentive/keeper"
+ "github.com/0glabs/0g-chain/x/incentive/types"
)
var (
diff --git a/x/incentive/testutil/builder.go b/x/incentive/testutil/builder.go
index e6ff5789..97484201 100644
--- a/x/incentive/testutil/builder.go
+++ b/x/incentive/testutil/builder.go
@@ -7,10 +7,10 @@ import (
"github.com/cosmos/cosmos-sdk/codec"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/app"
- hardtypes "github.com/kava-labs/kava/x/hard/types"
- "github.com/kava-labs/kava/x/incentive/types"
- savingstypes "github.com/kava-labs/kava/x/savings/types"
+ "github.com/0glabs/0g-chain/app"
+ hardtypes "github.com/0glabs/0g-chain/x/hard/types"
+ "github.com/0glabs/0g-chain/x/incentive/types"
+ savingstypes "github.com/0glabs/0g-chain/x/savings/types"
)
const (
diff --git a/x/incentive/testutil/earn_builder.go b/x/incentive/testutil/earn_builder.go
index 010ab057..668a9e65 100644
--- a/x/incentive/testutil/earn_builder.go
+++ b/x/incentive/testutil/earn_builder.go
@@ -1,10 +1,10 @@
package testutil
import (
+ "github.com/0glabs/0g-chain/app"
"github.com/cosmos/cosmos-sdk/codec"
- "github.com/kava-labs/kava/app"
- earntypes "github.com/kava-labs/kava/x/earn/types"
+ earntypes "github.com/0glabs/0g-chain/x/earn/types"
)
// EarnGenesisBuilder is a tool for creating a earn genesis state.
diff --git a/x/incentive/testutil/integration.go b/x/incentive/testutil/integration.go
index 549a2105..023b7544 100644
--- a/x/incentive/testutil/integration.go
+++ b/x/incentive/testutil/integration.go
@@ -19,23 +19,23 @@ import (
stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"
"github.com/stretchr/testify/suite"
- "github.com/kava-labs/kava/app"
- cdpkeeper "github.com/kava-labs/kava/x/cdp/keeper"
- cdptypes "github.com/kava-labs/kava/x/cdp/types"
- committeekeeper "github.com/kava-labs/kava/x/committee/keeper"
- committeetypes "github.com/kava-labs/kava/x/committee/types"
- earnkeeper "github.com/kava-labs/kava/x/earn/keeper"
- earntypes "github.com/kava-labs/kava/x/earn/types"
- hardkeeper "github.com/kava-labs/kava/x/hard/keeper"
- hardtypes "github.com/kava-labs/kava/x/hard/types"
- incentivekeeper "github.com/kava-labs/kava/x/incentive/keeper"
- "github.com/kava-labs/kava/x/incentive/types"
- liquidkeeper "github.com/kava-labs/kava/x/liquid/keeper"
- liquidtypes "github.com/kava-labs/kava/x/liquid/types"
- routerkeeper "github.com/kava-labs/kava/x/router/keeper"
- routertypes "github.com/kava-labs/kava/x/router/types"
- swapkeeper "github.com/kava-labs/kava/x/swap/keeper"
- swaptypes "github.com/kava-labs/kava/x/swap/types"
+ "github.com/0glabs/0g-chain/app"
+ cdpkeeper "github.com/0glabs/0g-chain/x/cdp/keeper"
+ cdptypes "github.com/0glabs/0g-chain/x/cdp/types"
+ committeekeeper "github.com/0glabs/0g-chain/x/committee/keeper"
+ committeetypes "github.com/0glabs/0g-chain/x/committee/types"
+ earnkeeper "github.com/0glabs/0g-chain/x/earn/keeper"
+ earntypes "github.com/0glabs/0g-chain/x/earn/types"
+ hardkeeper "github.com/0glabs/0g-chain/x/hard/keeper"
+ hardtypes "github.com/0glabs/0g-chain/x/hard/types"
+ incentivekeeper "github.com/0glabs/0g-chain/x/incentive/keeper"
+ "github.com/0glabs/0g-chain/x/incentive/types"
+ liquidkeeper "github.com/0glabs/0g-chain/x/liquid/keeper"
+ liquidtypes "github.com/0glabs/0g-chain/x/liquid/types"
+ routerkeeper "github.com/0glabs/0g-chain/x/router/keeper"
+ routertypes "github.com/0glabs/0g-chain/x/router/types"
+ swapkeeper "github.com/0glabs/0g-chain/x/swap/keeper"
+ swaptypes "github.com/0glabs/0g-chain/x/swap/types"
)
type IntegrationTester struct {
diff --git a/x/incentive/testutil/mint_builder.go b/x/incentive/testutil/mint_builder.go
index 9c7bde74..80ba292f 100644
--- a/x/incentive/testutil/mint_builder.go
+++ b/x/incentive/testutil/mint_builder.go
@@ -1,9 +1,9 @@
package testutil
import (
+ "github.com/0glabs/0g-chain/app"
"github.com/cosmos/cosmos-sdk/codec"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/app"
minttypes "github.com/cosmos/cosmos-sdk/x/mint/types"
)
diff --git a/x/incentive/testutil/staking_builder.go b/x/incentive/testutil/staking_builder.go
index 7282fff6..14da250a 100644
--- a/x/incentive/testutil/staking_builder.go
+++ b/x/incentive/testutil/staking_builder.go
@@ -1,8 +1,8 @@
package testutil
import (
+ "github.com/0glabs/0g-chain/app"
"github.com/cosmos/cosmos-sdk/codec"
- "github.com/kava-labs/kava/app"
stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"
)
diff --git a/x/incentive/types/expected_keepers.go b/x/incentive/types/expected_keepers.go
index caf27faa..aa48a9a5 100644
--- a/x/incentive/types/expected_keepers.go
+++ b/x/incentive/types/expected_keepers.go
@@ -2,16 +2,16 @@ package types
import (
sdkmath "cosmossdk.io/math"
+ cdptypes "github.com/0glabs/0g-chain/x/cdp/types"
+ earntypes "github.com/0glabs/0g-chain/x/earn/types"
+ hardtypes "github.com/0glabs/0g-chain/x/hard/types"
+ pricefeedtypes "github.com/0glabs/0g-chain/x/pricefeed/types"
+ savingstypes "github.com/0glabs/0g-chain/x/savings/types"
sdk "github.com/cosmos/cosmos-sdk/types"
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
minttypes "github.com/cosmos/cosmos-sdk/x/mint/types"
paramtypes "github.com/cosmos/cosmos-sdk/x/params/types"
stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"
- cdptypes "github.com/kava-labs/kava/x/cdp/types"
- earntypes "github.com/kava-labs/kava/x/earn/types"
- hardtypes "github.com/kava-labs/kava/x/hard/types"
- pricefeedtypes "github.com/kava-labs/kava/x/pricefeed/types"
- savingstypes "github.com/kava-labs/kava/x/savings/types"
)
// ParamSubspace defines the expected Subspace interfacace
diff --git a/x/incentive/types/msg_test.go b/x/incentive/types/msg_test.go
index 9e9a1dae..2b15c921 100644
--- a/x/incentive/types/msg_test.go
+++ b/x/incentive/types/msg_test.go
@@ -10,7 +10,7 @@ import (
sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"
"github.com/stretchr/testify/require"
- "github.com/kava-labs/kava/x/incentive/types"
+ "github.com/0glabs/0g-chain/x/incentive/types"
)
func TestMsgClaim_Validate(t *testing.T) {
diff --git a/x/incentive/types/params.go b/x/incentive/types/params.go
index 72184c6b..396f3505 100644
--- a/x/incentive/types/params.go
+++ b/x/incentive/types/params.go
@@ -10,7 +10,7 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
paramtypes "github.com/cosmos/cosmos-sdk/x/params/types"
- kavadistTypes "github.com/kava-labs/kava/x/kavadist/types"
+ kavadistTypes "github.com/0glabs/0g-chain/x/kavadist/types"
)
// Parameter keys and default values
diff --git a/x/incentive/types/params_test.go b/x/incentive/types/params_test.go
index 2716d095..bc783e80 100644
--- a/x/incentive/types/params_test.go
+++ b/x/incentive/types/params_test.go
@@ -10,7 +10,7 @@ import (
"github.com/stretchr/testify/suite"
- "github.com/kava-labs/kava/x/incentive/types"
+ "github.com/0glabs/0g-chain/x/incentive/types"
)
type ParamTestSuite struct {
diff --git a/x/incentive/types/sdk_test.go b/x/incentive/types/sdk_test.go
index 6e74f1b8..95d7ac43 100644
--- a/x/incentive/types/sdk_test.go
+++ b/x/incentive/types/sdk_test.go
@@ -7,7 +7,7 @@ import (
vestingtypes "github.com/cosmos/cosmos-sdk/x/auth/vesting/types"
- "github.com/kava-labs/kava/x/incentive/types"
+ "github.com/0glabs/0g-chain/x/incentive/types"
)
func TestGetTotalVestingPeriodLength(t *testing.T) {
diff --git a/x/issuance/abci.go b/x/issuance/abci.go
index cb6ddca7..fdf076f5 100644
--- a/x/issuance/abci.go
+++ b/x/issuance/abci.go
@@ -3,10 +3,10 @@ package issuance
import (
"time"
+ "github.com/0glabs/0g-chain/x/issuance/keeper"
+ "github.com/0glabs/0g-chain/x/issuance/types"
"github.com/cosmos/cosmos-sdk/telemetry"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/issuance/keeper"
- "github.com/kava-labs/kava/x/issuance/types"
)
// BeginBlocker iterates over each asset and seizes coins from blocked addresses by returning them to the asset owner
diff --git a/x/issuance/abci_test.go b/x/issuance/abci_test.go
index 9805b9f4..10e60b3f 100644
--- a/x/issuance/abci_test.go
+++ b/x/issuance/abci_test.go
@@ -12,10 +12,10 @@ import (
tmproto "github.com/cometbft/cometbft/proto/tendermint/types"
tmtime "github.com/cometbft/cometbft/types/time"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/x/issuance"
- "github.com/kava-labs/kava/x/issuance/keeper"
- "github.com/kava-labs/kava/x/issuance/types"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/x/issuance"
+ "github.com/0glabs/0g-chain/x/issuance/keeper"
+ "github.com/0glabs/0g-chain/x/issuance/types"
)
// Test suite used for all keeper tests
diff --git a/x/issuance/client/cli/query.go b/x/issuance/client/cli/query.go
index 8035de6e..9cf014a6 100644
--- a/x/issuance/client/cli/query.go
+++ b/x/issuance/client/cli/query.go
@@ -9,7 +9,7 @@ import (
"github.com/cosmos/cosmos-sdk/client"
"github.com/cosmos/cosmos-sdk/client/flags"
- "github.com/kava-labs/kava/x/issuance/types"
+ "github.com/0glabs/0g-chain/x/issuance/types"
)
// GetQueryCmd returns the cli query commands for the issuance module
diff --git a/x/issuance/client/cli/tx.go b/x/issuance/client/cli/tx.go
index b284b25f..cbae6987 100644
--- a/x/issuance/client/cli/tx.go
+++ b/x/issuance/client/cli/tx.go
@@ -11,7 +11,7 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/cosmos-sdk/version"
- "github.com/kava-labs/kava/x/issuance/types"
+ "github.com/0glabs/0g-chain/x/issuance/types"
)
// GetTxCmd returns the transaction cli commands for the issuance module
diff --git a/x/issuance/genesis.go b/x/issuance/genesis.go
index 5681d8f3..c6c58f6a 100644
--- a/x/issuance/genesis.go
+++ b/x/issuance/genesis.go
@@ -5,8 +5,8 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/issuance/keeper"
- "github.com/kava-labs/kava/x/issuance/types"
+ "github.com/0glabs/0g-chain/x/issuance/keeper"
+ "github.com/0glabs/0g-chain/x/issuance/types"
)
// InitGenesis initializes the store state from a genesis state.
diff --git a/x/issuance/keeper/gprc_query.go b/x/issuance/keeper/gprc_query.go
index 9df2e533..5c1a8977 100644
--- a/x/issuance/keeper/gprc_query.go
+++ b/x/issuance/keeper/gprc_query.go
@@ -8,7 +8,7 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/issuance/types"
+ "github.com/0glabs/0g-chain/x/issuance/types"
)
type queryServer struct {
diff --git a/x/issuance/keeper/issuance.go b/x/issuance/keeper/issuance.go
index 92c619fe..4218f7e6 100644
--- a/x/issuance/keeper/issuance.go
+++ b/x/issuance/keeper/issuance.go
@@ -5,9 +5,9 @@ import (
"strings"
errorsmod "cosmossdk.io/errors"
+ "github.com/0glabs/0g-chain/x/issuance/types"
sdk "github.com/cosmos/cosmos-sdk/types"
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
- "github.com/kava-labs/kava/x/issuance/types"
)
// IssueTokens mints new tokens and sends them to the receiver address
diff --git a/x/issuance/keeper/issuance_test.go b/x/issuance/keeper/issuance_test.go
index 03e9c9e8..774fd3f7 100644
--- a/x/issuance/keeper/issuance_test.go
+++ b/x/issuance/keeper/issuance_test.go
@@ -16,9 +16,9 @@ import (
"github.com/cometbft/cometbft/crypto"
tmtime "github.com/cometbft/cometbft/types/time"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/x/issuance/keeper"
- "github.com/kava-labs/kava/x/issuance/types"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/x/issuance/keeper"
+ "github.com/0glabs/0g-chain/x/issuance/types"
)
// Test suite used for all keeper tests
diff --git a/x/issuance/keeper/keeper.go b/x/issuance/keeper/keeper.go
index c4680db9..eb4c6a22 100644
--- a/x/issuance/keeper/keeper.go
+++ b/x/issuance/keeper/keeper.go
@@ -9,7 +9,7 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
paramtypes "github.com/cosmos/cosmos-sdk/x/params/types"
- "github.com/kava-labs/kava/x/issuance/types"
+ "github.com/0glabs/0g-chain/x/issuance/types"
)
// Keeper keeper for the issuance module
diff --git a/x/issuance/keeper/msg_server.go b/x/issuance/keeper/msg_server.go
index ebe536b5..3c197d72 100644
--- a/x/issuance/keeper/msg_server.go
+++ b/x/issuance/keeper/msg_server.go
@@ -5,7 +5,7 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/issuance/types"
+ "github.com/0glabs/0g-chain/x/issuance/types"
)
type msgServer struct {
diff --git a/x/issuance/keeper/params.go b/x/issuance/keeper/params.go
index 49e027c5..2c88275b 100644
--- a/x/issuance/keeper/params.go
+++ b/x/issuance/keeper/params.go
@@ -4,7 +4,7 @@ import (
errorsmod "cosmossdk.io/errors"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/issuance/types"
+ "github.com/0glabs/0g-chain/x/issuance/types"
)
// GetParams returns the params from the store
diff --git a/x/issuance/keeper/supply.go b/x/issuance/keeper/supply.go
index 0b624063..4f7c1993 100644
--- a/x/issuance/keeper/supply.go
+++ b/x/issuance/keeper/supply.go
@@ -6,7 +6,7 @@ import (
errorsmod "cosmossdk.io/errors"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/issuance/types"
+ "github.com/0glabs/0g-chain/x/issuance/types"
)
// CreateNewAssetSupply creates a new AssetSupply in the store for the input denom
diff --git a/x/issuance/keeper/supply_test.go b/x/issuance/keeper/supply_test.go
index fb7a1e28..63fc4b84 100644
--- a/x/issuance/keeper/supply_test.go
+++ b/x/issuance/keeper/supply_test.go
@@ -7,7 +7,7 @@ import (
sdkmath "cosmossdk.io/math"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/issuance/types"
+ "github.com/0glabs/0g-chain/x/issuance/types"
)
func (suite *KeeperTestSuite) TestIncrementCurrentAssetSupply() {
diff --git a/x/issuance/legacy/v0_16/migrate.go b/x/issuance/legacy/v0_16/migrate.go
index 0623407b..610f9da0 100644
--- a/x/issuance/legacy/v0_16/migrate.go
+++ b/x/issuance/legacy/v0_16/migrate.go
@@ -1,8 +1,8 @@
package v0_16
import (
- v015issuance "github.com/kava-labs/kava/x/issuance/legacy/v0_15"
- v016issuance "github.com/kava-labs/kava/x/issuance/types"
+ v015issuance "github.com/0glabs/0g-chain/x/issuance/legacy/v0_15"
+ v016issuance "github.com/0glabs/0g-chain/x/issuance/types"
)
func migrateParams(params v015issuance.Params) v016issuance.Params {
diff --git a/x/issuance/legacy/v0_16/migrate_test.go b/x/issuance/legacy/v0_16/migrate_test.go
index d5f49c86..04c213d9 100644
--- a/x/issuance/legacy/v0_16/migrate_test.go
+++ b/x/issuance/legacy/v0_16/migrate_test.go
@@ -9,9 +9,9 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/stretchr/testify/suite"
- app "github.com/kava-labs/kava/app"
- v015issuance "github.com/kava-labs/kava/x/issuance/legacy/v0_15"
- v016issuance "github.com/kava-labs/kava/x/issuance/types"
+ app "github.com/0glabs/0g-chain/app"
+ v015issuance "github.com/0glabs/0g-chain/x/issuance/legacy/v0_15"
+ v016issuance "github.com/0glabs/0g-chain/x/issuance/types"
)
type migrateTestSuite struct {
diff --git a/x/issuance/module.go b/x/issuance/module.go
index a5b5f4ae..8bdead68 100644
--- a/x/issuance/module.go
+++ b/x/issuance/module.go
@@ -15,9 +15,9 @@ import (
abci "github.com/cometbft/cometbft/abci/types"
- "github.com/kava-labs/kava/x/issuance/client/cli"
- "github.com/kava-labs/kava/x/issuance/keeper"
- "github.com/kava-labs/kava/x/issuance/types"
+ "github.com/0glabs/0g-chain/x/issuance/client/cli"
+ "github.com/0glabs/0g-chain/x/issuance/keeper"
+ "github.com/0glabs/0g-chain/x/issuance/types"
)
var (
diff --git a/x/issuance/types/genesis_test.go b/x/issuance/types/genesis_test.go
index 5c1db540..5861107d 100644
--- a/x/issuance/types/genesis_test.go
+++ b/x/issuance/types/genesis_test.go
@@ -10,8 +10,8 @@ import (
sdkmath "cosmossdk.io/math"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/x/issuance/types"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/x/issuance/types"
)
type GenesisTestSuite struct {
diff --git a/x/issuance/types/msg_test.go b/x/issuance/types/msg_test.go
index e7932166..e1b4ad2c 100644
--- a/x/issuance/types/msg_test.go
+++ b/x/issuance/types/msg_test.go
@@ -9,8 +9,8 @@ import (
sdkmath "cosmossdk.io/math"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/x/issuance/types"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/x/issuance/types"
)
type MsgTestSuite struct {
diff --git a/x/kavadist/abci.go b/x/kavadist/abci.go
index dbe53d41..65c249d0 100644
--- a/x/kavadist/abci.go
+++ b/x/kavadist/abci.go
@@ -6,8 +6,8 @@ import (
"github.com/cosmos/cosmos-sdk/telemetry"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/kavadist/keeper"
- "github.com/kava-labs/kava/x/kavadist/types"
+ "github.com/0glabs/0g-chain/x/kavadist/keeper"
+ "github.com/0glabs/0g-chain/x/kavadist/types"
)
func BeginBlocker(ctx sdk.Context, k keeper.Keeper) {
diff --git a/x/kavadist/client/cli/query.go b/x/kavadist/client/cli/query.go
index 5316113f..cfad1103 100644
--- a/x/kavadist/client/cli/query.go
+++ b/x/kavadist/client/cli/query.go
@@ -9,7 +9,7 @@ import (
"github.com/cosmos/cosmos-sdk/client"
"github.com/cosmos/cosmos-sdk/client/flags"
- "github.com/kava-labs/kava/x/kavadist/types"
+ "github.com/0glabs/0g-chain/x/kavadist/types"
)
// GetQueryCmd returns the cli query commands for this module
diff --git a/x/kavadist/client/cli/tx.go b/x/kavadist/client/cli/tx.go
index b226d27f..6cea532b 100644
--- a/x/kavadist/client/cli/tx.go
+++ b/x/kavadist/client/cli/tx.go
@@ -11,7 +11,7 @@ import (
"github.com/cosmos/cosmos-sdk/version"
govv1beta1 "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1"
- "github.com/kava-labs/kava/x/kavadist/types"
+ "github.com/0glabs/0g-chain/x/kavadist/types"
)
// GetCmdSubmitProposal implements the command to submit a community-pool multi-spend proposal
diff --git a/x/kavadist/client/cli/utils.go b/x/kavadist/client/cli/utils.go
index 3159065c..9113bf8a 100644
--- a/x/kavadist/client/cli/utils.go
+++ b/x/kavadist/client/cli/utils.go
@@ -5,7 +5,7 @@ import (
"github.com/cosmos/cosmos-sdk/codec"
- "github.com/kava-labs/kava/x/kavadist/types"
+ "github.com/0glabs/0g-chain/x/kavadist/types"
)
// ParseCommunityPoolMultiSpendProposalJSON reads and parses a CommunityPoolMultiSpendProposalJSON from a file.
diff --git a/x/kavadist/client/proposal_handler.go b/x/kavadist/client/proposal_handler.go
index cadeaa21..d28eae04 100644
--- a/x/kavadist/client/proposal_handler.go
+++ b/x/kavadist/client/proposal_handler.go
@@ -3,7 +3,7 @@ package client
import (
govclient "github.com/cosmos/cosmos-sdk/x/gov/client"
- "github.com/kava-labs/kava/x/kavadist/client/cli"
+ "github.com/0glabs/0g-chain/x/kavadist/client/cli"
)
// community-pool multi-spend proposal handler
diff --git a/x/kavadist/genesis.go b/x/kavadist/genesis.go
index 78079bef..d92e06e6 100644
--- a/x/kavadist/genesis.go
+++ b/x/kavadist/genesis.go
@@ -5,8 +5,8 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/kavadist/keeper"
- "github.com/kava-labs/kava/x/kavadist/types"
+ "github.com/0glabs/0g-chain/x/kavadist/keeper"
+ "github.com/0glabs/0g-chain/x/kavadist/types"
)
// InitGenesis initializes the store state from a genesis state.
diff --git a/x/kavadist/genesis_test.go b/x/kavadist/genesis_test.go
index 171a4fee..4f2f3cb5 100644
--- a/x/kavadist/genesis_test.go
+++ b/x/kavadist/genesis_test.go
@@ -10,9 +10,9 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/kavadist"
- testutil "github.com/kava-labs/kava/x/kavadist/testutil"
- "github.com/kava-labs/kava/x/kavadist/types"
+ "github.com/0glabs/0g-chain/x/kavadist"
+ testutil "github.com/0glabs/0g-chain/x/kavadist/testutil"
+ "github.com/0glabs/0g-chain/x/kavadist/types"
)
type genesisTestSuite struct {
diff --git a/x/kavadist/handler.go b/x/kavadist/handler.go
index decad8ea..30474fa7 100644
--- a/x/kavadist/handler.go
+++ b/x/kavadist/handler.go
@@ -6,8 +6,8 @@ import (
sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"
govv1beta1 "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1"
- "github.com/kava-labs/kava/x/kavadist/keeper"
- "github.com/kava-labs/kava/x/kavadist/types"
+ "github.com/0glabs/0g-chain/x/kavadist/keeper"
+ "github.com/0glabs/0g-chain/x/kavadist/types"
)
// NewCommunityPoolMultiSpendProposalHandler
diff --git a/x/kavadist/keeper/grpc_query.go b/x/kavadist/keeper/grpc_query.go
index 6c9426eb..ab9090eb 100644
--- a/x/kavadist/keeper/grpc_query.go
+++ b/x/kavadist/keeper/grpc_query.go
@@ -5,7 +5,7 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/kavadist/types"
+ "github.com/0glabs/0g-chain/x/kavadist/types"
)
type queryServer struct {
diff --git a/x/kavadist/keeper/grpc_query_test.go b/x/kavadist/keeper/grpc_query_test.go
index 8dec832f..60c9641a 100644
--- a/x/kavadist/keeper/grpc_query_test.go
+++ b/x/kavadist/keeper/grpc_query_test.go
@@ -7,7 +7,7 @@ import (
sdkmath "cosmossdk.io/math"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/kavadist/types"
+ "github.com/0glabs/0g-chain/x/kavadist/types"
)
func (suite *keeperTestSuite) TestGRPCParams() {
diff --git a/x/kavadist/keeper/infrastructure.go b/x/kavadist/keeper/infrastructure.go
index 0445d662..5ecefbdc 100644
--- a/x/kavadist/keeper/infrastructure.go
+++ b/x/kavadist/keeper/infrastructure.go
@@ -7,7 +7,7 @@ import (
sdkmath "cosmossdk.io/math"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/kavadist/types"
+ "github.com/0glabs/0g-chain/x/kavadist/types"
)
func (k Keeper) mintInfrastructurePeriods(ctx sdk.Context, periods types.Periods, previousBlockTime time.Time) (sdk.Coin, sdkmath.Int, error) {
diff --git a/x/kavadist/keeper/keeper.go b/x/kavadist/keeper/keeper.go
index cc324c53..fb1cd2eb 100644
--- a/x/kavadist/keeper/keeper.go
+++ b/x/kavadist/keeper/keeper.go
@@ -9,7 +9,7 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
paramtypes "github.com/cosmos/cosmos-sdk/x/params/types"
- "github.com/kava-labs/kava/x/kavadist/types"
+ "github.com/0glabs/0g-chain/x/kavadist/types"
)
// Keeper keeper for the cdp module
diff --git a/x/kavadist/keeper/keeper_test.go b/x/kavadist/keeper/keeper_test.go
index 92ce928f..62c62591 100644
--- a/x/kavadist/keeper/keeper_test.go
+++ b/x/kavadist/keeper/keeper_test.go
@@ -6,7 +6,7 @@ import (
"github.com/stretchr/testify/suite"
- "github.com/kava-labs/kava/x/kavadist/testutil"
+ "github.com/0glabs/0g-chain/x/kavadist/testutil"
)
type keeperTestSuite struct {
diff --git a/x/kavadist/keeper/mint.go b/x/kavadist/keeper/mint.go
index e9a20ca5..496d35ba 100644
--- a/x/kavadist/keeper/mint.go
+++ b/x/kavadist/keeper/mint.go
@@ -6,7 +6,7 @@ import (
sdkmath "cosmossdk.io/math"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/kavadist/types"
+ "github.com/0glabs/0g-chain/x/kavadist/types"
)
// MintPeriodInflation mints new tokens according to the inflation schedule specified in the parameters
diff --git a/x/kavadist/keeper/mint_test.go b/x/kavadist/keeper/mint_test.go
index c58923d1..be86f6fa 100644
--- a/x/kavadist/keeper/mint_test.go
+++ b/x/kavadist/keeper/mint_test.go
@@ -6,8 +6,8 @@ import (
sdkmath "cosmossdk.io/math"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/x/kavadist/types"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/x/kavadist/types"
)
func (suite *keeperTestSuite) TestMintExpiredPeriod() {
diff --git a/x/kavadist/keeper/params.go b/x/kavadist/keeper/params.go
index db4a3fbe..36fe2382 100644
--- a/x/kavadist/keeper/params.go
+++ b/x/kavadist/keeper/params.go
@@ -3,7 +3,7 @@ package keeper
import (
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/kavadist/types"
+ "github.com/0glabs/0g-chain/x/kavadist/types"
)
// GetParams returns the params from the store
diff --git a/x/kavadist/keeper/proposal_handler.go b/x/kavadist/keeper/proposal_handler.go
index 3f51d539..27f6f839 100644
--- a/x/kavadist/keeper/proposal_handler.go
+++ b/x/kavadist/keeper/proposal_handler.go
@@ -5,7 +5,7 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"
- "github.com/kava-labs/kava/x/kavadist/types"
+ "github.com/0glabs/0g-chain/x/kavadist/types"
)
// HandleCommunityPoolMultiSpendProposal is a handler for executing a passed community multi-spend proposal
diff --git a/x/kavadist/keeper/proposal_handler_test.go b/x/kavadist/keeper/proposal_handler_test.go
index fe6317ce..3355e7ea 100644
--- a/x/kavadist/keeper/proposal_handler_test.go
+++ b/x/kavadist/keeper/proposal_handler_test.go
@@ -4,8 +4,8 @@ import (
sdkmath "cosmossdk.io/math"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/kavadist/keeper"
- "github.com/kava-labs/kava/x/kavadist/types"
+ "github.com/0glabs/0g-chain/x/kavadist/keeper"
+ "github.com/0glabs/0g-chain/x/kavadist/types"
)
func (suite *keeperTestSuite) TestHandleCommunityPoolMultiSpendProposal() {
diff --git a/x/kavadist/module.go b/x/kavadist/module.go
index 11d01d8b..ec3fbbc1 100644
--- a/x/kavadist/module.go
+++ b/x/kavadist/module.go
@@ -16,9 +16,9 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/cosmos-sdk/types/module"
- "github.com/kava-labs/kava/x/kavadist/client/cli"
- "github.com/kava-labs/kava/x/kavadist/keeper"
- "github.com/kava-labs/kava/x/kavadist/types"
+ "github.com/0glabs/0g-chain/x/kavadist/client/cli"
+ "github.com/0glabs/0g-chain/x/kavadist/keeper"
+ "github.com/0glabs/0g-chain/x/kavadist/types"
)
var (
diff --git a/x/kavadist/testutil/suite.go b/x/kavadist/testutil/suite.go
index 58a001da..e5af0c5d 100644
--- a/x/kavadist/testutil/suite.go
+++ b/x/kavadist/testutil/suite.go
@@ -16,9 +16,9 @@ import (
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/x/kavadist/keeper"
- "github.com/kava-labs/kava/x/kavadist/types"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/x/kavadist/keeper"
+ "github.com/0glabs/0g-chain/x/kavadist/types"
)
// Suite implements a test suite for the kavadist module integration tests
diff --git a/x/kavadist/types/params.go b/x/kavadist/types/params.go
index ad807448..84057fd4 100644
--- a/x/kavadist/types/params.go
+++ b/x/kavadist/types/params.go
@@ -8,7 +8,7 @@ import (
paramtypes "github.com/cosmos/cosmos-sdk/x/params/types"
tmtime "github.com/cometbft/cometbft/types/time"
- // cdptypes "github.com/kava-labs/kava/x/cdp/types"
+ // cdptypes "github.com/0glabs/0g-chain/x/cdp/types"
)
// Parameter keys and default values
diff --git a/x/kavadist/types/params_test.go b/x/kavadist/types/params_test.go
index 49b068aa..08542770 100644
--- a/x/kavadist/types/params_test.go
+++ b/x/kavadist/types/params_test.go
@@ -8,7 +8,7 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/kavadist/types"
+ "github.com/0glabs/0g-chain/x/kavadist/types"
)
type paramTest struct {
diff --git a/x/liquid/client/cli/query.go b/x/liquid/client/cli/query.go
index 70054c2a..6b7314fa 100644
--- a/x/liquid/client/cli/query.go
+++ b/x/liquid/client/cli/query.go
@@ -6,7 +6,7 @@ import (
"github.com/cosmos/cosmos-sdk/client"
"github.com/cosmos/cosmos-sdk/client/flags"
- "github.com/kava-labs/kava/x/liquid/types"
+ "github.com/0glabs/0g-chain/x/liquid/types"
)
// GetQueryCmd returns the cli query commands for this module
diff --git a/x/liquid/client/cli/tx.go b/x/liquid/client/cli/tx.go
index 1c0aca51..4e078baa 100644
--- a/x/liquid/client/cli/tx.go
+++ b/x/liquid/client/cli/tx.go
@@ -13,7 +13,7 @@ import (
sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"
"github.com/cosmos/cosmos-sdk/version"
- "github.com/kava-labs/kava/x/liquid/types"
+ "github.com/0glabs/0g-chain/x/liquid/types"
)
// GetTxCmd returns the transaction commands for this module
diff --git a/x/liquid/keeper/claim.go b/x/liquid/keeper/claim.go
index 89b8827e..00de72fc 100644
--- a/x/liquid/keeper/claim.go
+++ b/x/liquid/keeper/claim.go
@@ -5,7 +5,7 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/liquid/types"
+ "github.com/0glabs/0g-chain/x/liquid/types"
)
func (k Keeper) CollectStakingRewards(
diff --git a/x/liquid/keeper/claim_test.go b/x/liquid/keeper/claim_test.go
index 457318ae..6c0d30c1 100644
--- a/x/liquid/keeper/claim_test.go
+++ b/x/liquid/keeper/claim_test.go
@@ -2,10 +2,10 @@ package keeper_test
import (
sdkmath "cosmossdk.io/math"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/x/liquid/types"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/cosmos-sdk/x/staking"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/x/liquid/types"
distrtypes "github.com/cosmos/cosmos-sdk/x/distribution/types"
)
diff --git a/x/liquid/keeper/derivative.go b/x/liquid/keeper/derivative.go
index 1a752e32..06adddad 100644
--- a/x/liquid/keeper/derivative.go
+++ b/x/liquid/keeper/derivative.go
@@ -7,7 +7,7 @@ import (
sdkmath "cosmossdk.io/math"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/liquid/types"
+ "github.com/0glabs/0g-chain/x/liquid/types"
)
// MintDerivative removes a user's staking delegation and mints them equivalent staking derivative coins.
diff --git a/x/liquid/keeper/derivative_test.go b/x/liquid/keeper/derivative_test.go
index adaf74df..d53b1769 100644
--- a/x/liquid/keeper/derivative_test.go
+++ b/x/liquid/keeper/derivative_test.go
@@ -10,8 +10,8 @@ import (
"github.com/cosmos/cosmos-sdk/x/staking"
stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/x/liquid/types"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/x/liquid/types"
)
func (suite *KeeperTestSuite) TestBurnDerivative() {
diff --git a/x/liquid/keeper/grpc_query.go b/x/liquid/keeper/grpc_query.go
index 3be393b4..756feb61 100644
--- a/x/liquid/keeper/grpc_query.go
+++ b/x/liquid/keeper/grpc_query.go
@@ -11,7 +11,7 @@ import (
"google.golang.org/grpc/codes"
"google.golang.org/grpc/status"
- "github.com/kava-labs/kava/x/liquid/types"
+ "github.com/0glabs/0g-chain/x/liquid/types"
)
type queryServer struct {
diff --git a/x/liquid/keeper/grpc_query_test.go b/x/liquid/keeper/grpc_query_test.go
index 5c0b4142..4ca92f86 100644
--- a/x/liquid/keeper/grpc_query_test.go
+++ b/x/liquid/keeper/grpc_query_test.go
@@ -10,9 +10,9 @@ import (
"github.com/cosmos/cosmos-sdk/x/staking"
"github.com/stretchr/testify/suite"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/x/liquid/keeper"
- "github.com/kava-labs/kava/x/liquid/types"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/x/liquid/keeper"
+ "github.com/0glabs/0g-chain/x/liquid/types"
)
type grpcQueryTestSuite struct {
diff --git a/x/liquid/keeper/keeper.go b/x/liquid/keeper/keeper.go
index ab167239..20b4dc85 100644
--- a/x/liquid/keeper/keeper.go
+++ b/x/liquid/keeper/keeper.go
@@ -7,7 +7,7 @@ import (
"github.com/cosmos/cosmos-sdk/codec"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/liquid/types"
+ "github.com/0glabs/0g-chain/x/liquid/types"
)
// Keeper struct for the liquid module.
diff --git a/x/liquid/keeper/keeper_test.go b/x/liquid/keeper/keeper_test.go
index af60bf41..4fdc41c0 100644
--- a/x/liquid/keeper/keeper_test.go
+++ b/x/liquid/keeper/keeper_test.go
@@ -18,8 +18,8 @@ import (
stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"
"github.com/stretchr/testify/suite"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/x/liquid/keeper"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/x/liquid/keeper"
)
// Test suite used for all keeper tests
diff --git a/x/liquid/keeper/msg_server.go b/x/liquid/keeper/msg_server.go
index b09e6b4b..885ee243 100644
--- a/x/liquid/keeper/msg_server.go
+++ b/x/liquid/keeper/msg_server.go
@@ -5,7 +5,7 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/liquid/types"
+ "github.com/0glabs/0g-chain/x/liquid/types"
)
type msgServer struct {
diff --git a/x/liquid/keeper/staking.go b/x/liquid/keeper/staking.go
index bd453a97..21e55721 100644
--- a/x/liquid/keeper/staking.go
+++ b/x/liquid/keeper/staking.go
@@ -6,7 +6,7 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"
- "github.com/kava-labs/kava/x/liquid/types"
+ "github.com/0glabs/0g-chain/x/liquid/types"
)
// TransferDelegation moves some delegation shares between addresses, while keeping the same validator.
diff --git a/x/liquid/keeper/staking_test.go b/x/liquid/keeper/staking_test.go
index 430858ad..720224da 100644
--- a/x/liquid/keeper/staking_test.go
+++ b/x/liquid/keeper/staking_test.go
@@ -10,8 +10,8 @@ import (
stakingkeeper "github.com/cosmos/cosmos-sdk/x/staking/keeper"
stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/x/liquid/types"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/x/liquid/types"
)
var (
diff --git a/x/liquid/module.go b/x/liquid/module.go
index 63639201..ab65c1cf 100644
--- a/x/liquid/module.go
+++ b/x/liquid/module.go
@@ -15,9 +15,9 @@ import (
abci "github.com/cometbft/cometbft/abci/types"
- "github.com/kava-labs/kava/x/liquid/client/cli"
- "github.com/kava-labs/kava/x/liquid/keeper"
- "github.com/kava-labs/kava/x/liquid/types"
+ "github.com/0glabs/0g-chain/x/liquid/client/cli"
+ "github.com/0glabs/0g-chain/x/liquid/keeper"
+ "github.com/0glabs/0g-chain/x/liquid/types"
)
var (
diff --git a/x/liquid/types/common_test.go b/x/liquid/types/common_test.go
index e88e1d5e..4cfbb221 100644
--- a/x/liquid/types/common_test.go
+++ b/x/liquid/types/common_test.go
@@ -4,7 +4,7 @@ import (
"os"
"testing"
- "github.com/kava-labs/kava/app"
+ "github.com/0glabs/0g-chain/app"
)
func TestMain(m *testing.M) {
diff --git a/x/liquid/types/key_test.go b/x/liquid/types/key_test.go
index bb324a46..b0e3f259 100644
--- a/x/liquid/types/key_test.go
+++ b/x/liquid/types/key_test.go
@@ -4,9 +4,9 @@ import (
"fmt"
"testing"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/x/liquid/types"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/x/liquid/types"
"github.com/stretchr/testify/require"
)
diff --git a/x/liquid/types/msg_test.go b/x/liquid/types/msg_test.go
index 48b92e61..36666293 100644
--- a/x/liquid/types/msg_test.go
+++ b/x/liquid/types/msg_test.go
@@ -10,7 +10,7 @@ import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
- "github.com/kava-labs/kava/x/liquid/types"
+ "github.com/0glabs/0g-chain/x/liquid/types"
)
func TestMsgMintDerivative_Signing(t *testing.T) {
diff --git a/x/metrics/abci.go b/x/metrics/abci.go
index 14a77d71..a243f933 100644
--- a/x/metrics/abci.go
+++ b/x/metrics/abci.go
@@ -1,7 +1,7 @@
package metrics
import (
- "github.com/kava-labs/kava/x/metrics/types"
+ "github.com/0glabs/0g-chain/x/metrics/types"
sdk "github.com/cosmos/cosmos-sdk/types"
)
diff --git a/x/metrics/abci_test.go b/x/metrics/abci_test.go
index 141d501b..a65aa2a6 100644
--- a/x/metrics/abci_test.go
+++ b/x/metrics/abci_test.go
@@ -9,9 +9,9 @@ import (
tmproto "github.com/cometbft/cometbft/proto/tendermint/types"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/x/metrics"
- "github.com/kava-labs/kava/x/metrics/types"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/x/metrics"
+ "github.com/0glabs/0g-chain/x/metrics/types"
)
type MockGauge struct {
diff --git a/x/metrics/module.go b/x/metrics/module.go
index 2ee0d656..e6bdf69d 100644
--- a/x/metrics/module.go
+++ b/x/metrics/module.go
@@ -14,7 +14,7 @@ import (
abci "github.com/cometbft/cometbft/abci/types"
- "github.com/kava-labs/kava/x/metrics/types"
+ "github.com/0glabs/0g-chain/x/metrics/types"
)
var (
diff --git a/x/metrics/types/metrics_test.go b/x/metrics/types/metrics_test.go
index 2af68d25..808be4c2 100644
--- a/x/metrics/types/metrics_test.go
+++ b/x/metrics/types/metrics_test.go
@@ -3,9 +3,9 @@ package types_test
import (
"testing"
+ "github.com/0glabs/0g-chain/x/metrics/types"
"github.com/go-kit/kit/metrics"
"github.com/go-kit/kit/metrics/prometheus"
- "github.com/kava-labs/kava/x/metrics/types"
"github.com/stretchr/testify/require"
)
diff --git a/x/pricefeed/abci.go b/x/pricefeed/abci.go
index a6f2ff3a..a1ad752f 100644
--- a/x/pricefeed/abci.go
+++ b/x/pricefeed/abci.go
@@ -3,10 +3,10 @@ package pricefeed
import (
"time"
+ "github.com/0glabs/0g-chain/x/pricefeed/keeper"
+ "github.com/0glabs/0g-chain/x/pricefeed/types"
"github.com/cosmos/cosmos-sdk/telemetry"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/pricefeed/keeper"
- "github.com/kava-labs/kava/x/pricefeed/types"
)
// EndBlocker updates the current pricefeed
diff --git a/x/pricefeed/abci_test.go b/x/pricefeed/abci_test.go
index 9f9de46e..9de40a55 100644
--- a/x/pricefeed/abci_test.go
+++ b/x/pricefeed/abci_test.go
@@ -3,10 +3,10 @@ package pricefeed_test
import (
"testing"
+ "github.com/0glabs/0g-chain/x/pricefeed"
+ "github.com/0glabs/0g-chain/x/pricefeed/keeper"
+ "github.com/0glabs/0g-chain/x/pricefeed/testutil"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/pricefeed"
- "github.com/kava-labs/kava/x/pricefeed/keeper"
- "github.com/kava-labs/kava/x/pricefeed/testutil"
)
func TestEndBlocker_UpdatesMultipleMarkets(t *testing.T) {
diff --git a/x/pricefeed/client/cli/query.go b/x/pricefeed/client/cli/query.go
index 57d9daee..95422335 100644
--- a/x/pricefeed/client/cli/query.go
+++ b/x/pricefeed/client/cli/query.go
@@ -8,7 +8,7 @@ import (
"github.com/cosmos/cosmos-sdk/client"
"github.com/cosmos/cosmos-sdk/client/flags"
- "github.com/kava-labs/kava/x/pricefeed/types"
+ "github.com/0glabs/0g-chain/x/pricefeed/types"
)
// GetQueryCmd returns the cli query commands for this module
diff --git a/x/pricefeed/client/cli/tx.go b/x/pricefeed/client/cli/tx.go
index 0b41cde0..aa1508a4 100644
--- a/x/pricefeed/client/cli/tx.go
+++ b/x/pricefeed/client/cli/tx.go
@@ -15,7 +15,7 @@ import (
tmtime "github.com/cometbft/cometbft/types/time"
- "github.com/kava-labs/kava/x/pricefeed/types"
+ "github.com/0glabs/0g-chain/x/pricefeed/types"
)
// GetTxCmd returns the transaction commands for this module
diff --git a/x/pricefeed/genesis.go b/x/pricefeed/genesis.go
index f7774704..fd4428d1 100644
--- a/x/pricefeed/genesis.go
+++ b/x/pricefeed/genesis.go
@@ -3,8 +3,8 @@ package pricefeed
import (
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/pricefeed/keeper"
- "github.com/kava-labs/kava/x/pricefeed/types"
+ "github.com/0glabs/0g-chain/x/pricefeed/keeper"
+ "github.com/0glabs/0g-chain/x/pricefeed/types"
)
// InitGenesis sets distribution information for genesis.
diff --git a/x/pricefeed/genesis_test.go b/x/pricefeed/genesis_test.go
index b8d0889d..885fec21 100644
--- a/x/pricefeed/genesis_test.go
+++ b/x/pricefeed/genesis_test.go
@@ -8,9 +8,9 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/x/pricefeed"
- "github.com/kava-labs/kava/x/pricefeed/keeper"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/x/pricefeed"
+ "github.com/0glabs/0g-chain/x/pricefeed/keeper"
"github.com/stretchr/testify/suite"
)
diff --git a/x/pricefeed/integration_test.go b/x/pricefeed/integration_test.go
index b8d230f7..3dd317ab 100644
--- a/x/pricefeed/integration_test.go
+++ b/x/pricefeed/integration_test.go
@@ -5,8 +5,8 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/x/pricefeed/types"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/x/pricefeed/types"
)
func NewPricefeedGen() types.GenesisState {
diff --git a/x/pricefeed/keeper/grpc_query.go b/x/pricefeed/keeper/grpc_query.go
index a329792c..d241cce1 100644
--- a/x/pricefeed/keeper/grpc_query.go
+++ b/x/pricefeed/keeper/grpc_query.go
@@ -8,7 +8,7 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/pricefeed/types"
+ "github.com/0glabs/0g-chain/x/pricefeed/types"
)
type queryServer struct {
diff --git a/x/pricefeed/keeper/grpc_query_test.go b/x/pricefeed/keeper/grpc_query_test.go
index abe950dc..6e23a03c 100644
--- a/x/pricefeed/keeper/grpc_query_test.go
+++ b/x/pricefeed/keeper/grpc_query_test.go
@@ -4,11 +4,11 @@ import (
"testing"
"time"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/x/pricefeed/keeper"
+ "github.com/0glabs/0g-chain/x/pricefeed/types"
tmprototypes "github.com/cometbft/cometbft/proto/tendermint/types"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/x/pricefeed/keeper"
- "github.com/kava-labs/kava/x/pricefeed/types"
"github.com/stretchr/testify/suite"
)
diff --git a/x/pricefeed/keeper/integration_test.go b/x/pricefeed/keeper/integration_test.go
index e2c1cff6..3aa5fe6b 100644
--- a/x/pricefeed/keeper/integration_test.go
+++ b/x/pricefeed/keeper/integration_test.go
@@ -5,8 +5,8 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/x/pricefeed/types"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/x/pricefeed/types"
)
func NewPricefeedGenStateMulti() app.GenesisState {
diff --git a/x/pricefeed/keeper/keeper.go b/x/pricefeed/keeper/keeper.go
index 95c65f7b..7bd0a700 100644
--- a/x/pricefeed/keeper/keeper.go
+++ b/x/pricefeed/keeper/keeper.go
@@ -13,7 +13,7 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
paramtypes "github.com/cosmos/cosmos-sdk/x/params/types"
- "github.com/kava-labs/kava/x/pricefeed/types"
+ "github.com/0glabs/0g-chain/x/pricefeed/types"
)
// Keeper struct for pricefeed module
diff --git a/x/pricefeed/keeper/keeper_test.go b/x/pricefeed/keeper/keeper_test.go
index ec7289a2..959a636c 100644
--- a/x/pricefeed/keeper/keeper_test.go
+++ b/x/pricefeed/keeper/keeper_test.go
@@ -11,10 +11,10 @@ import (
tmprototypes "github.com/cometbft/cometbft/proto/tendermint/types"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/x/pricefeed/keeper"
- "github.com/kava-labs/kava/x/pricefeed/testutil"
- "github.com/kava-labs/kava/x/pricefeed/types"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/x/pricefeed/keeper"
+ "github.com/0glabs/0g-chain/x/pricefeed/testutil"
+ "github.com/0glabs/0g-chain/x/pricefeed/types"
)
// TestKeeper_SetGetMarket tests adding markets to the pricefeed, getting markets from the store
diff --git a/x/pricefeed/keeper/msg_server.go b/x/pricefeed/keeper/msg_server.go
index 67a10d1c..e00c1637 100644
--- a/x/pricefeed/keeper/msg_server.go
+++ b/x/pricefeed/keeper/msg_server.go
@@ -5,7 +5,7 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/pricefeed/types"
+ "github.com/0glabs/0g-chain/x/pricefeed/types"
)
type msgServer struct {
diff --git a/x/pricefeed/keeper/msg_server_test.go b/x/pricefeed/keeper/msg_server_test.go
index 2ffcd8bb..a01b9f62 100644
--- a/x/pricefeed/keeper/msg_server_test.go
+++ b/x/pricefeed/keeper/msg_server_test.go
@@ -4,11 +4,11 @@ import (
"testing"
"time"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/x/pricefeed/keeper"
+ "github.com/0glabs/0g-chain/x/pricefeed/types"
tmprototypes "github.com/cometbft/cometbft/proto/tendermint/types"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/x/pricefeed/keeper"
- "github.com/kava-labs/kava/x/pricefeed/types"
"github.com/stretchr/testify/require"
)
diff --git a/x/pricefeed/keeper/params.go b/x/pricefeed/keeper/params.go
index 5c167f1c..7e372b4b 100644
--- a/x/pricefeed/keeper/params.go
+++ b/x/pricefeed/keeper/params.go
@@ -4,7 +4,7 @@ import (
errorsmod "cosmossdk.io/errors"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/pricefeed/types"
+ "github.com/0glabs/0g-chain/x/pricefeed/types"
)
// GetParams returns the params from the store
diff --git a/x/pricefeed/keeper/params_test.go b/x/pricefeed/keeper/params_test.go
index ffad3c88..7b28c5c7 100644
--- a/x/pricefeed/keeper/params_test.go
+++ b/x/pricefeed/keeper/params_test.go
@@ -10,9 +10,9 @@ import (
tmprototypes "github.com/cometbft/cometbft/proto/tendermint/types"
tmtime "github.com/cometbft/cometbft/types/time"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/x/pricefeed/keeper"
- "github.com/kava-labs/kava/x/pricefeed/types"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/x/pricefeed/keeper"
+ "github.com/0glabs/0g-chain/x/pricefeed/types"
)
type KeeperTestSuite struct {
diff --git a/x/pricefeed/legacy/v0_16/migrate.go b/x/pricefeed/legacy/v0_16/migrate.go
index 34cc8235..6634ac19 100644
--- a/x/pricefeed/legacy/v0_16/migrate.go
+++ b/x/pricefeed/legacy/v0_16/migrate.go
@@ -1,9 +1,9 @@
package v0_16
import (
+ v015pricefeed "github.com/0glabs/0g-chain/x/pricefeed/legacy/v0_15"
+ v016pricefeed "github.com/0glabs/0g-chain/x/pricefeed/types"
"github.com/cosmos/cosmos-sdk/types"
- v015pricefeed "github.com/kava-labs/kava/x/pricefeed/legacy/v0_15"
- v016pricefeed "github.com/kava-labs/kava/x/pricefeed/types"
)
var NewIBCMarkets = []v016pricefeed.Market{
diff --git a/x/pricefeed/legacy/v0_16/migrate_test.go b/x/pricefeed/legacy/v0_16/migrate_test.go
index 81f2e120..60bde6c8 100644
--- a/x/pricefeed/legacy/v0_16/migrate_test.go
+++ b/x/pricefeed/legacy/v0_16/migrate_test.go
@@ -8,9 +8,9 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/stretchr/testify/suite"
- app "github.com/kava-labs/kava/app"
- v015pricefeed "github.com/kava-labs/kava/x/pricefeed/legacy/v0_15"
- v016pricefeed "github.com/kava-labs/kava/x/pricefeed/types"
+ app "github.com/0glabs/0g-chain/app"
+ v015pricefeed "github.com/0glabs/0g-chain/x/pricefeed/legacy/v0_15"
+ v016pricefeed "github.com/0glabs/0g-chain/x/pricefeed/types"
)
type migrateTestSuite struct {
diff --git a/x/pricefeed/module.go b/x/pricefeed/module.go
index 11ceb784..2b75d20f 100644
--- a/x/pricefeed/module.go
+++ b/x/pricefeed/module.go
@@ -16,9 +16,9 @@ import (
abci "github.com/cometbft/cometbft/abci/types"
- "github.com/kava-labs/kava/x/pricefeed/client/cli"
- "github.com/kava-labs/kava/x/pricefeed/keeper"
- "github.com/kava-labs/kava/x/pricefeed/types"
+ "github.com/0glabs/0g-chain/x/pricefeed/client/cli"
+ "github.com/0glabs/0g-chain/x/pricefeed/keeper"
+ "github.com/0glabs/0g-chain/x/pricefeed/types"
)
var (
diff --git a/x/pricefeed/testutil/helpers.go b/x/pricefeed/testutil/helpers.go
index 76db45f1..5c1465eb 100644
--- a/x/pricefeed/testutil/helpers.go
+++ b/x/pricefeed/testutil/helpers.go
@@ -9,9 +9,9 @@ import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/x/pricefeed/keeper"
- "github.com/kava-labs/kava/x/pricefeed/types"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/x/pricefeed/keeper"
+ "github.com/0glabs/0g-chain/x/pricefeed/types"
)
func SetCurrentPrices_PriceCalculations(t *testing.T, f func(ctx sdk.Context, keeper keeper.Keeper)) {
diff --git a/x/router/client/cli/tx.go b/x/router/client/cli/tx.go
index 894378fe..51b30ecc 100644
--- a/x/router/client/cli/tx.go
+++ b/x/router/client/cli/tx.go
@@ -13,7 +13,7 @@ import (
sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"
"github.com/cosmos/cosmos-sdk/version"
- "github.com/kava-labs/kava/x/router/types"
+ "github.com/0glabs/0g-chain/x/router/types"
)
// GetTxCmd returns the transaction commands for this module
diff --git a/x/router/keeper/keeper.go b/x/router/keeper/keeper.go
index a509ad97..d9dc08ed 100644
--- a/x/router/keeper/keeper.go
+++ b/x/router/keeper/keeper.go
@@ -1,7 +1,7 @@
package keeper
import (
- "github.com/kava-labs/kava/x/router/types"
+ "github.com/0glabs/0g-chain/x/router/types"
)
// Keeper is the keeper for the module
diff --git a/x/router/keeper/msg_server.go b/x/router/keeper/msg_server.go
index ba18c6d0..3b623f08 100644
--- a/x/router/keeper/msg_server.go
+++ b/x/router/keeper/msg_server.go
@@ -9,8 +9,8 @@ import (
sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"
stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"
- earntypes "github.com/kava-labs/kava/x/earn/types"
- "github.com/kava-labs/kava/x/router/types"
+ earntypes "github.com/0glabs/0g-chain/x/earn/types"
+ "github.com/0glabs/0g-chain/x/router/types"
)
type msgServer struct {
diff --git a/x/router/keeper/msg_server_test.go b/x/router/keeper/msg_server_test.go
index a53b6852..5b0afa63 100644
--- a/x/router/keeper/msg_server_test.go
+++ b/x/router/keeper/msg_server_test.go
@@ -11,11 +11,11 @@ import (
stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"
"github.com/stretchr/testify/suite"
- "github.com/kava-labs/kava/app"
- earntypes "github.com/kava-labs/kava/x/earn/types"
- "github.com/kava-labs/kava/x/router/keeper"
- "github.com/kava-labs/kava/x/router/testutil"
- "github.com/kava-labs/kava/x/router/types"
+ "github.com/0glabs/0g-chain/app"
+ earntypes "github.com/0glabs/0g-chain/x/earn/types"
+ "github.com/0glabs/0g-chain/x/router/keeper"
+ "github.com/0glabs/0g-chain/x/router/testutil"
+ "github.com/0glabs/0g-chain/x/router/types"
)
type msgServerTestSuite struct {
diff --git a/x/router/module.go b/x/router/module.go
index 41be3f30..ad53acd0 100644
--- a/x/router/module.go
+++ b/x/router/module.go
@@ -12,9 +12,9 @@ import (
"github.com/grpc-ecosystem/grpc-gateway/runtime"
"github.com/spf13/cobra"
- "github.com/kava-labs/kava/x/router/client/cli"
- "github.com/kava-labs/kava/x/router/keeper"
- "github.com/kava-labs/kava/x/router/types"
+ "github.com/0glabs/0g-chain/x/router/client/cli"
+ "github.com/0glabs/0g-chain/x/router/keeper"
+ "github.com/0glabs/0g-chain/x/router/types"
)
var (
diff --git a/x/router/testutil/suite.go b/x/router/testutil/suite.go
index 8bbbfdd1..2f4449fe 100644
--- a/x/router/testutil/suite.go
+++ b/x/router/testutil/suite.go
@@ -18,11 +18,11 @@ import (
stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"
"github.com/stretchr/testify/suite"
- "github.com/kava-labs/kava/app"
- earnkeeper "github.com/kava-labs/kava/x/earn/keeper"
- earntypes "github.com/kava-labs/kava/x/earn/types"
- "github.com/kava-labs/kava/x/router/keeper"
- savingstypes "github.com/kava-labs/kava/x/savings/types"
+ "github.com/0glabs/0g-chain/app"
+ earnkeeper "github.com/0glabs/0g-chain/x/earn/keeper"
+ earntypes "github.com/0glabs/0g-chain/x/earn/types"
+ "github.com/0glabs/0g-chain/x/router/keeper"
+ savingstypes "github.com/0glabs/0g-chain/x/savings/types"
)
// Test suite used for all keeper tests
diff --git a/x/router/types/common_test.go b/x/router/types/common_test.go
index e88e1d5e..4cfbb221 100644
--- a/x/router/types/common_test.go
+++ b/x/router/types/common_test.go
@@ -4,7 +4,7 @@ import (
"os"
"testing"
- "github.com/kava-labs/kava/app"
+ "github.com/0glabs/0g-chain/app"
)
func TestMain(m *testing.M) {
diff --git a/x/router/types/expected_keepers.go b/x/router/types/expected_keepers.go
index 927160bb..3ed14c71 100644
--- a/x/router/types/expected_keepers.go
+++ b/x/router/types/expected_keepers.go
@@ -7,7 +7,7 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"
- earntypes "github.com/kava-labs/kava/x/earn/types"
+ earntypes "github.com/0glabs/0g-chain/x/earn/types"
)
type StakingKeeper interface {
diff --git a/x/router/types/msg_test.go b/x/router/types/msg_test.go
index 2f7b10fd..4108207f 100644
--- a/x/router/types/msg_test.go
+++ b/x/router/types/msg_test.go
@@ -10,7 +10,7 @@ import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
- "github.com/kava-labs/kava/x/router/types"
+ "github.com/0glabs/0g-chain/x/router/types"
)
func TestMsgMintDeposit_Signing(t *testing.T) {
diff --git a/x/savings/client/cli/query.go b/x/savings/client/cli/query.go
index be39f98f..2044602c 100644
--- a/x/savings/client/cli/query.go
+++ b/x/savings/client/cli/query.go
@@ -11,7 +11,7 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/cosmos-sdk/version"
- "github.com/kava-labs/kava/x/savings/types"
+ "github.com/0glabs/0g-chain/x/savings/types"
)
// flags for cli queries
diff --git a/x/savings/client/cli/tx.go b/x/savings/client/cli/tx.go
index 469a9936..13a94524 100644
--- a/x/savings/client/cli/tx.go
+++ b/x/savings/client/cli/tx.go
@@ -11,7 +11,7 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/cosmos-sdk/version"
- "github.com/kava-labs/kava/x/savings/types"
+ "github.com/0glabs/0g-chain/x/savings/types"
)
// GetTxCmd returns the transaction commands for this module
diff --git a/x/savings/genesis.go b/x/savings/genesis.go
index 9f67544f..e40cc493 100644
--- a/x/savings/genesis.go
+++ b/x/savings/genesis.go
@@ -5,8 +5,8 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/savings/keeper"
- "github.com/kava-labs/kava/x/savings/types"
+ "github.com/0glabs/0g-chain/x/savings/keeper"
+ "github.com/0glabs/0g-chain/x/savings/types"
)
// InitGenesis initializes genesis state
diff --git a/x/savings/genesis_test.go b/x/savings/genesis_test.go
index d2becb56..312420c7 100644
--- a/x/savings/genesis_test.go
+++ b/x/savings/genesis_test.go
@@ -11,10 +11,10 @@ import (
tmtime "github.com/cometbft/cometbft/types/time"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/x/savings"
- "github.com/kava-labs/kava/x/savings/keeper"
- "github.com/kava-labs/kava/x/savings/types"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/x/savings"
+ "github.com/0glabs/0g-chain/x/savings/keeper"
+ "github.com/0glabs/0g-chain/x/savings/types"
)
type GenesisTestSuite struct {
diff --git a/x/savings/keeper/deposit.go b/x/savings/keeper/deposit.go
index 3bb92265..c8eb4758 100644
--- a/x/savings/keeper/deposit.go
+++ b/x/savings/keeper/deposit.go
@@ -5,7 +5,7 @@ import (
sdkmath "cosmossdk.io/math"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/savings/types"
+ "github.com/0glabs/0g-chain/x/savings/types"
)
// Deposit deposit
diff --git a/x/savings/keeper/deposit_test.go b/x/savings/keeper/deposit_test.go
index c6e4e2ca..64b76232 100644
--- a/x/savings/keeper/deposit_test.go
+++ b/x/savings/keeper/deposit_test.go
@@ -12,8 +12,8 @@ import (
"github.com/cosmos/cosmos-sdk/x/staking"
stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/x/savings/types"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/x/savings/types"
)
func (suite *KeeperTestSuite) TestDeposit() {
diff --git a/x/savings/keeper/grpc_query.go b/x/savings/keeper/grpc_query.go
index f99c82af..189b0361 100644
--- a/x/savings/keeper/grpc_query.go
+++ b/x/savings/keeper/grpc_query.go
@@ -13,7 +13,7 @@ import (
sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"
"github.com/cosmos/cosmos-sdk/types/query"
- "github.com/kava-labs/kava/x/savings/types"
+ "github.com/0glabs/0g-chain/x/savings/types"
)
type queryServer struct {
diff --git a/x/savings/keeper/grpcquery_test.go b/x/savings/keeper/grpcquery_test.go
index 87081302..b6087e1a 100644
--- a/x/savings/keeper/grpcquery_test.go
+++ b/x/savings/keeper/grpcquery_test.go
@@ -11,13 +11,13 @@ import (
"github.com/cosmos/cosmos-sdk/crypto/keys/ed25519"
sdk "github.com/cosmos/cosmos-sdk/types"
+ "github.com/0glabs/0g-chain/app"
+ liquidtypes "github.com/0glabs/0g-chain/x/liquid/types"
+ "github.com/0glabs/0g-chain/x/savings/keeper"
+ "github.com/0glabs/0g-chain/x/savings/types"
"github.com/cosmos/cosmos-sdk/x/staking"
stakingkeeper "github.com/cosmos/cosmos-sdk/x/staking/keeper"
stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"
- "github.com/kava-labs/kava/app"
- liquidtypes "github.com/kava-labs/kava/x/liquid/types"
- "github.com/kava-labs/kava/x/savings/keeper"
- "github.com/kava-labs/kava/x/savings/types"
)
var dep = types.NewDeposit
diff --git a/x/savings/keeper/hooks.go b/x/savings/keeper/hooks.go
index 9bc577de..ba05b1b7 100644
--- a/x/savings/keeper/hooks.go
+++ b/x/savings/keeper/hooks.go
@@ -3,7 +3,7 @@ package keeper
import (
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/savings/types"
+ "github.com/0glabs/0g-chain/x/savings/types"
)
// Implements StakingHooks interface
diff --git a/x/savings/keeper/invariants.go b/x/savings/keeper/invariants.go
index e963b597..096557ee 100644
--- a/x/savings/keeper/invariants.go
+++ b/x/savings/keeper/invariants.go
@@ -1,7 +1,7 @@
package keeper
import (
- "github.com/kava-labs/kava/x/savings/types"
+ "github.com/0glabs/0g-chain/x/savings/types"
sdk "github.com/cosmos/cosmos-sdk/types"
)
diff --git a/x/savings/keeper/invariants_test.go b/x/savings/keeper/invariants_test.go
index 866a5aed..23693b0d 100644
--- a/x/savings/keeper/invariants_test.go
+++ b/x/savings/keeper/invariants_test.go
@@ -11,9 +11,9 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/x/savings/keeper"
- "github.com/kava-labs/kava/x/savings/types"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/x/savings/keeper"
+ "github.com/0glabs/0g-chain/x/savings/types"
)
type invariantTestSuite struct {
diff --git a/x/savings/keeper/keeper.go b/x/savings/keeper/keeper.go
index 76ca0caa..287d33a0 100644
--- a/x/savings/keeper/keeper.go
+++ b/x/savings/keeper/keeper.go
@@ -10,7 +10,7 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
paramtypes "github.com/cosmos/cosmos-sdk/x/params/types"
- "github.com/kava-labs/kava/x/savings/types"
+ "github.com/0glabs/0g-chain/x/savings/types"
)
// Keeper struct for savings module
diff --git a/x/savings/keeper/keeper_test.go b/x/savings/keeper/keeper_test.go
index 5b862fa5..3bf01699 100644
--- a/x/savings/keeper/keeper_test.go
+++ b/x/savings/keeper/keeper_test.go
@@ -15,10 +15,10 @@ import (
stakingkeeper "github.com/cosmos/cosmos-sdk/x/staking/keeper"
stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/x/savings/keeper"
+ "github.com/0glabs/0g-chain/x/savings/types"
"github.com/cosmos/cosmos-sdk/crypto/keys/ed25519"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/x/savings/keeper"
- "github.com/kava-labs/kava/x/savings/types"
)
// Test suite used for all keeper tests
diff --git a/x/savings/keeper/msg_server.go b/x/savings/keeper/msg_server.go
index 1f081a66..1b146629 100644
--- a/x/savings/keeper/msg_server.go
+++ b/x/savings/keeper/msg_server.go
@@ -5,7 +5,7 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/savings/types"
+ "github.com/0glabs/0g-chain/x/savings/types"
)
type msgServer struct {
diff --git a/x/savings/keeper/params.go b/x/savings/keeper/params.go
index ad786130..5ba6ece9 100644
--- a/x/savings/keeper/params.go
+++ b/x/savings/keeper/params.go
@@ -3,8 +3,8 @@ package keeper
import (
sdk "github.com/cosmos/cosmos-sdk/types"
- liquidtypes "github.com/kava-labs/kava/x/liquid/types"
- "github.com/kava-labs/kava/x/savings/types"
+ liquidtypes "github.com/0glabs/0g-chain/x/liquid/types"
+ "github.com/0glabs/0g-chain/x/savings/types"
)
const (
diff --git a/x/savings/keeper/params_test.go b/x/savings/keeper/params_test.go
index 23ecfc22..0ec5351c 100644
--- a/x/savings/keeper/params_test.go
+++ b/x/savings/keeper/params_test.go
@@ -1,7 +1,7 @@
package keeper_test
import (
- "github.com/kava-labs/kava/x/savings/types"
+ "github.com/0glabs/0g-chain/x/savings/types"
)
func (suite *KeeperTestSuite) TestGetSetParams() {
diff --git a/x/savings/keeper/withdraw.go b/x/savings/keeper/withdraw.go
index bdb57bb4..a175ac40 100644
--- a/x/savings/keeper/withdraw.go
+++ b/x/savings/keeper/withdraw.go
@@ -6,7 +6,7 @@ import (
errorsmod "cosmossdk.io/errors"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/savings/types"
+ "github.com/0glabs/0g-chain/x/savings/types"
)
// Withdraw returns some or all of a deposit back to original depositor
diff --git a/x/savings/keeper/withdraw_test.go b/x/savings/keeper/withdraw_test.go
index b4f61f98..3aec0356 100644
--- a/x/savings/keeper/withdraw_test.go
+++ b/x/savings/keeper/withdraw_test.go
@@ -12,8 +12,8 @@ import (
"github.com/cosmos/cosmos-sdk/x/staking"
stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/x/savings/types"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/x/savings/types"
)
func (suite *KeeperTestSuite) TestWithdraw() {
diff --git a/x/savings/module.go b/x/savings/module.go
index f7649ec3..ebc0f3d1 100644
--- a/x/savings/module.go
+++ b/x/savings/module.go
@@ -16,9 +16,9 @@ import (
abci "github.com/cometbft/cometbft/abci/types"
- "github.com/kava-labs/kava/x/savings/client/cli"
- "github.com/kava-labs/kava/x/savings/keeper"
- "github.com/kava-labs/kava/x/savings/types"
+ "github.com/0glabs/0g-chain/x/savings/client/cli"
+ "github.com/0glabs/0g-chain/x/savings/keeper"
+ "github.com/0glabs/0g-chain/x/savings/types"
)
var (
diff --git a/x/swap/client/cli/query.go b/x/swap/client/cli/query.go
index a2fb1eec..e890580f 100644
--- a/x/swap/client/cli/query.go
+++ b/x/swap/client/cli/query.go
@@ -9,7 +9,7 @@ import (
"github.com/cosmos/cosmos-sdk/client"
"github.com/cosmos/cosmos-sdk/client/flags"
- "github.com/kava-labs/kava/x/swap/types"
+ "github.com/0glabs/0g-chain/x/swap/types"
)
// flags for cli queries
diff --git a/x/swap/client/cli/tx.go b/x/swap/client/cli/tx.go
index f6f93365..72a46925 100644
--- a/x/swap/client/cli/tx.go
+++ b/x/swap/client/cli/tx.go
@@ -13,7 +13,7 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/cosmos-sdk/version"
- "github.com/kava-labs/kava/x/swap/types"
+ "github.com/0glabs/0g-chain/x/swap/types"
)
// GetTxCmd returns the transaction commands for this module
diff --git a/x/swap/genesis.go b/x/swap/genesis.go
index 07ce5771..74693479 100644
--- a/x/swap/genesis.go
+++ b/x/swap/genesis.go
@@ -5,8 +5,8 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/swap/keeper"
- "github.com/kava-labs/kava/x/swap/types"
+ "github.com/0glabs/0g-chain/x/swap/keeper"
+ "github.com/0glabs/0g-chain/x/swap/types"
)
// InitGenesis initializes story state from genesis file
diff --git a/x/swap/genesis_test.go b/x/swap/genesis_test.go
index ea7b72b2..20b7e7d1 100644
--- a/x/swap/genesis_test.go
+++ b/x/swap/genesis_test.go
@@ -3,10 +3,10 @@ package swap_test
import (
"testing"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/x/swap"
- "github.com/kava-labs/kava/x/swap/testutil"
- "github.com/kava-labs/kava/x/swap/types"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/x/swap"
+ "github.com/0glabs/0g-chain/x/swap/testutil"
+ "github.com/0glabs/0g-chain/x/swap/types"
"github.com/stretchr/testify/suite"
sdkmath "cosmossdk.io/math"
diff --git a/x/swap/keeper/deposit.go b/x/swap/keeper/deposit.go
index f88ba775..aab54b7d 100644
--- a/x/swap/keeper/deposit.go
+++ b/x/swap/keeper/deposit.go
@@ -7,7 +7,7 @@ import (
sdkmath "cosmossdk.io/math"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/swap/types"
+ "github.com/0glabs/0g-chain/x/swap/types"
)
// Deposit creates a new pool or adds liquidity to an existing pool. For a pool to be created, a pool
diff --git a/x/swap/keeper/deposit_test.go b/x/swap/keeper/deposit_test.go
index f0bf042a..3685f89a 100644
--- a/x/swap/keeper/deposit_test.go
+++ b/x/swap/keeper/deposit_test.go
@@ -4,7 +4,7 @@ import (
"errors"
"fmt"
- "github.com/kava-labs/kava/x/swap/types"
+ "github.com/0glabs/0g-chain/x/swap/types"
sdkmath "cosmossdk.io/math"
tmproto "github.com/cometbft/cometbft/proto/tendermint/types"
diff --git a/x/swap/keeper/grpc_query.go b/x/swap/keeper/grpc_query.go
index ba697c54..e464f77a 100644
--- a/x/swap/keeper/grpc_query.go
+++ b/x/swap/keeper/grpc_query.go
@@ -11,7 +11,7 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/cosmos-sdk/types/query"
- "github.com/kava-labs/kava/x/swap/types"
+ "github.com/0glabs/0g-chain/x/swap/types"
)
type queryServer struct {
diff --git a/x/swap/keeper/hooks.go b/x/swap/keeper/hooks.go
index 11e0f510..79cb058b 100644
--- a/x/swap/keeper/hooks.go
+++ b/x/swap/keeper/hooks.go
@@ -4,7 +4,7 @@ import (
sdkmath "cosmossdk.io/math"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/swap/types"
+ "github.com/0glabs/0g-chain/x/swap/types"
)
// Implements SwapHooks interface
diff --git a/x/swap/keeper/hooks_test.go b/x/swap/keeper/hooks_test.go
index 893aa658..f353aa78 100644
--- a/x/swap/keeper/hooks_test.go
+++ b/x/swap/keeper/hooks_test.go
@@ -1,8 +1,8 @@
package keeper_test
import (
- "github.com/kava-labs/kava/x/swap/types"
- "github.com/kava-labs/kava/x/swap/types/mocks"
+ "github.com/0glabs/0g-chain/x/swap/types"
+ "github.com/0glabs/0g-chain/x/swap/types/mocks"
sdkmath "cosmossdk.io/math"
sdk "github.com/cosmos/cosmos-sdk/types"
diff --git a/x/swap/keeper/invariants.go b/x/swap/keeper/invariants.go
index c4bce02b..50a6ad99 100644
--- a/x/swap/keeper/invariants.go
+++ b/x/swap/keeper/invariants.go
@@ -1,7 +1,7 @@
package keeper
import (
- "github.com/kava-labs/kava/x/swap/types"
+ "github.com/0glabs/0g-chain/x/swap/types"
sdkmath "cosmossdk.io/math"
sdk "github.com/cosmos/cosmos-sdk/types"
diff --git a/x/swap/keeper/invariants_test.go b/x/swap/keeper/invariants_test.go
index a388ee74..389379f5 100644
--- a/x/swap/keeper/invariants_test.go
+++ b/x/swap/keeper/invariants_test.go
@@ -3,9 +3,9 @@ package keeper_test
import (
"testing"
- "github.com/kava-labs/kava/x/swap/keeper"
- "github.com/kava-labs/kava/x/swap/testutil"
- "github.com/kava-labs/kava/x/swap/types"
+ "github.com/0glabs/0g-chain/x/swap/keeper"
+ "github.com/0glabs/0g-chain/x/swap/testutil"
+ "github.com/0glabs/0g-chain/x/swap/types"
sdkmath "cosmossdk.io/math"
sdk "github.com/cosmos/cosmos-sdk/types"
diff --git a/x/swap/keeper/keeper.go b/x/swap/keeper/keeper.go
index 86bb3269..6b098465 100644
--- a/x/swap/keeper/keeper.go
+++ b/x/swap/keeper/keeper.go
@@ -11,7 +11,7 @@ import (
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
paramtypes "github.com/cosmos/cosmos-sdk/x/params/types"
- "github.com/kava-labs/kava/x/swap/types"
+ "github.com/0glabs/0g-chain/x/swap/types"
)
// Keeper keeper for the swap module
diff --git a/x/swap/keeper/keeper_test.go b/x/swap/keeper/keeper_test.go
index 07c0f6ca..83fbe87c 100644
--- a/x/swap/keeper/keeper_test.go
+++ b/x/swap/keeper/keeper_test.go
@@ -4,10 +4,10 @@ import (
"os"
"testing"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/x/swap/testutil"
- "github.com/kava-labs/kava/x/swap/types"
- "github.com/kava-labs/kava/x/swap/types/mocks"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/x/swap/testutil"
+ "github.com/0glabs/0g-chain/x/swap/types"
+ "github.com/0glabs/0g-chain/x/swap/types/mocks"
sdkmath "cosmossdk.io/math"
sdk "github.com/cosmos/cosmos-sdk/types"
diff --git a/x/swap/keeper/msg_server.go b/x/swap/keeper/msg_server.go
index 6a02b591..d2f2d527 100644
--- a/x/swap/keeper/msg_server.go
+++ b/x/swap/keeper/msg_server.go
@@ -6,7 +6,7 @@ import (
errorsmod "cosmossdk.io/errors"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/swap/types"
+ "github.com/0glabs/0g-chain/x/swap/types"
)
type msgServer struct {
diff --git a/x/swap/keeper/msg_server_test.go b/x/swap/keeper/msg_server_test.go
index 483cc656..50268535 100644
--- a/x/swap/keeper/msg_server_test.go
+++ b/x/swap/keeper/msg_server_test.go
@@ -5,11 +5,11 @@ import (
"testing"
"time"
+ "github.com/0glabs/0g-chain/x/swap/keeper"
+ "github.com/0glabs/0g-chain/x/swap/testutil"
+ "github.com/0glabs/0g-chain/x/swap/types"
tmproto "github.com/cometbft/cometbft/proto/tendermint/types"
tmtime "github.com/cometbft/cometbft/types/time"
- "github.com/kava-labs/kava/x/swap/keeper"
- "github.com/kava-labs/kava/x/swap/testutil"
- "github.com/kava-labs/kava/x/swap/types"
"github.com/stretchr/testify/suite"
sdkmath "cosmossdk.io/math"
diff --git a/x/swap/keeper/swap.go b/x/swap/keeper/swap.go
index b77aeee2..e7a8def0 100644
--- a/x/swap/keeper/swap.go
+++ b/x/swap/keeper/swap.go
@@ -3,7 +3,7 @@ package keeper
import (
"fmt"
- "github.com/kava-labs/kava/x/swap/types"
+ "github.com/0glabs/0g-chain/x/swap/types"
errorsmod "cosmossdk.io/errors"
sdk "github.com/cosmos/cosmos-sdk/types"
diff --git a/x/swap/keeper/swap_test.go b/x/swap/keeper/swap_test.go
index 12d13af6..3a47ddcb 100644
--- a/x/swap/keeper/swap_test.go
+++ b/x/swap/keeper/swap_test.go
@@ -5,11 +5,11 @@ import (
"fmt"
sdkmath "cosmossdk.io/math"
+ "github.com/0glabs/0g-chain/x/swap/types"
tmproto "github.com/cometbft/cometbft/proto/tendermint/types"
tmtime "github.com/cometbft/cometbft/types/time"
sdk "github.com/cosmos/cosmos-sdk/types"
sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"
- "github.com/kava-labs/kava/x/swap/types"
)
func (suite *keeperTestSuite) TestSwapExactForTokens() {
diff --git a/x/swap/keeper/withdraw.go b/x/swap/keeper/withdraw.go
index a0970824..bd45f452 100644
--- a/x/swap/keeper/withdraw.go
+++ b/x/swap/keeper/withdraw.go
@@ -7,7 +7,7 @@ import (
sdkmath "cosmossdk.io/math"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/swap/types"
+ "github.com/0glabs/0g-chain/x/swap/types"
)
// Withdraw removes liquidity from an existing pool from an owners deposit, converting the provided shares for
diff --git a/x/swap/keeper/withdraw_test.go b/x/swap/keeper/withdraw_test.go
index f89e7658..adcda9ac 100644
--- a/x/swap/keeper/withdraw_test.go
+++ b/x/swap/keeper/withdraw_test.go
@@ -4,8 +4,8 @@ import (
"fmt"
sdkmath "cosmossdk.io/math"
+ "github.com/0glabs/0g-chain/x/swap/types"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/swap/types"
)
func (suite *keeperTestSuite) TestWithdraw_AllShares() {
diff --git a/x/swap/legacy/v0_16/migrate.go b/x/swap/legacy/v0_16/migrate.go
index 7ccfa136..bf4546cb 100644
--- a/x/swap/legacy/v0_16/migrate.go
+++ b/x/swap/legacy/v0_16/migrate.go
@@ -1,8 +1,8 @@
package v0_16
import (
- v015swap "github.com/kava-labs/kava/x/swap/legacy/v0_15"
- v016swap "github.com/kava-labs/kava/x/swap/types"
+ v015swap "github.com/0glabs/0g-chain/x/swap/legacy/v0_15"
+ v016swap "github.com/0glabs/0g-chain/x/swap/types"
)
func migrateParams(params v015swap.Params) v016swap.Params {
diff --git a/x/swap/legacy/v0_16/migrate_test.go b/x/swap/legacy/v0_16/migrate_test.go
index 6b757e26..e50439ac 100644
--- a/x/swap/legacy/v0_16/migrate_test.go
+++ b/x/swap/legacy/v0_16/migrate_test.go
@@ -10,9 +10,9 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/stretchr/testify/suite"
- app "github.com/kava-labs/kava/app"
- v015swap "github.com/kava-labs/kava/x/swap/legacy/v0_15"
- v016swap "github.com/kava-labs/kava/x/swap/types"
+ app "github.com/0glabs/0g-chain/app"
+ v015swap "github.com/0glabs/0g-chain/x/swap/legacy/v0_15"
+ v016swap "github.com/0glabs/0g-chain/x/swap/types"
)
type migrateTestSuite struct {
diff --git a/x/swap/module.go b/x/swap/module.go
index 8a9ac1fe..19f3d9f8 100644
--- a/x/swap/module.go
+++ b/x/swap/module.go
@@ -13,9 +13,9 @@ import (
"github.com/grpc-ecosystem/grpc-gateway/runtime"
"github.com/spf13/cobra"
- "github.com/kava-labs/kava/x/swap/client/cli"
- "github.com/kava-labs/kava/x/swap/keeper"
- "github.com/kava-labs/kava/x/swap/types"
+ "github.com/0glabs/0g-chain/x/swap/client/cli"
+ "github.com/0glabs/0g-chain/x/swap/keeper"
+ "github.com/0glabs/0g-chain/x/swap/types"
)
var (
diff --git a/x/swap/module_test.go b/x/swap/module_test.go
index 868d618c..413316b5 100644
--- a/x/swap/module_test.go
+++ b/x/swap/module_test.go
@@ -3,8 +3,8 @@ package swap_test
import (
"testing"
- "github.com/kava-labs/kava/x/swap/testutil"
- "github.com/kava-labs/kava/x/swap/types"
+ "github.com/0glabs/0g-chain/x/swap/testutil"
+ "github.com/0glabs/0g-chain/x/swap/types"
crisiskeeper "github.com/cosmos/cosmos-sdk/x/crisis/keeper"
"github.com/stretchr/testify/suite"
diff --git a/x/swap/testutil/suite.go b/x/swap/testutil/suite.go
index 35e5429b..06cbe230 100644
--- a/x/swap/testutil/suite.go
+++ b/x/swap/testutil/suite.go
@@ -5,9 +5,9 @@ import (
"reflect"
"time"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/x/swap/keeper"
- "github.com/kava-labs/kava/x/swap/types"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/x/swap/keeper"
+ "github.com/0glabs/0g-chain/x/swap/types"
sdkmath "cosmossdk.io/math"
abci "github.com/cometbft/cometbft/abci/types"
diff --git a/x/swap/types/base_pool_test.go b/x/swap/types/base_pool_test.go
index 2d0b02e1..ab79eb95 100644
--- a/x/swap/types/base_pool_test.go
+++ b/x/swap/types/base_pool_test.go
@@ -5,7 +5,7 @@ import (
"math/big"
"testing"
- types "github.com/kava-labs/kava/x/swap/types"
+ types "github.com/0glabs/0g-chain/x/swap/types"
sdkmath "cosmossdk.io/math"
sdk "github.com/cosmos/cosmos-sdk/types"
diff --git a/x/swap/types/common_test.go b/x/swap/types/common_test.go
index fa6189ce..ec6e519f 100644
--- a/x/swap/types/common_test.go
+++ b/x/swap/types/common_test.go
@@ -1,8 +1,8 @@
package types_test
import (
+ "github.com/0glabs/0g-chain/app"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/app"
)
func init() {
diff --git a/x/swap/types/denominated_pool_test.go b/x/swap/types/denominated_pool_test.go
index fb0c3d57..9e3047e8 100644
--- a/x/swap/types/denominated_pool_test.go
+++ b/x/swap/types/denominated_pool_test.go
@@ -4,7 +4,7 @@ import (
"fmt"
"testing"
- types "github.com/kava-labs/kava/x/swap/types"
+ types "github.com/0glabs/0g-chain/x/swap/types"
sdkmath "cosmossdk.io/math"
sdk "github.com/cosmos/cosmos-sdk/types"
diff --git a/x/swap/types/genesis_test.go b/x/swap/types/genesis_test.go
index 770d228f..8e33e594 100644
--- a/x/swap/types/genesis_test.go
+++ b/x/swap/types/genesis_test.go
@@ -4,7 +4,7 @@ import (
"encoding/json"
"testing"
- "github.com/kava-labs/kava/x/swap/types"
+ "github.com/0glabs/0g-chain/x/swap/types"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/stretchr/testify/assert"
diff --git a/x/swap/types/keys_test.go b/x/swap/types/keys_test.go
index cb5496c2..e59c347c 100644
--- a/x/swap/types/keys_test.go
+++ b/x/swap/types/keys_test.go
@@ -3,7 +3,7 @@ package types_test
import (
"testing"
- "github.com/kava-labs/kava/x/swap/types"
+ "github.com/0glabs/0g-chain/x/swap/types"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/stretchr/testify/assert"
diff --git a/x/swap/types/msg_test.go b/x/swap/types/msg_test.go
index ca155ee4..e1ebbc8c 100644
--- a/x/swap/types/msg_test.go
+++ b/x/swap/types/msg_test.go
@@ -4,7 +4,7 @@ import (
"testing"
"time"
- "github.com/kava-labs/kava/x/swap/types"
+ "github.com/0glabs/0g-chain/x/swap/types"
sdkmath "cosmossdk.io/math"
sdk "github.com/cosmos/cosmos-sdk/types"
diff --git a/x/swap/types/params_test.go b/x/swap/types/params_test.go
index 50598166..b74b30a6 100644
--- a/x/swap/types/params_test.go
+++ b/x/swap/types/params_test.go
@@ -8,7 +8,7 @@ import (
"strings"
"testing"
- "github.com/kava-labs/kava/x/swap/types"
+ "github.com/0glabs/0g-chain/x/swap/types"
sdk "github.com/cosmos/cosmos-sdk/types"
paramstypes "github.com/cosmos/cosmos-sdk/x/params/types"
diff --git a/x/swap/types/state_test.go b/x/swap/types/state_test.go
index 9471662a..5d26a9ab 100644
--- a/x/swap/types/state_test.go
+++ b/x/swap/types/state_test.go
@@ -4,7 +4,7 @@ import (
"encoding/json"
"testing"
- types "github.com/kava-labs/kava/x/swap/types"
+ types "github.com/0glabs/0g-chain/x/swap/types"
sdkmath "cosmossdk.io/math"
sdk "github.com/cosmos/cosmos-sdk/types"
diff --git a/x/validator-vesting/client/cli/query.go b/x/validator-vesting/client/cli/query.go
index 748d21b2..f9fac926 100644
--- a/x/validator-vesting/client/cli/query.go
+++ b/x/validator-vesting/client/cli/query.go
@@ -8,7 +8,7 @@ import (
"github.com/cosmos/cosmos-sdk/client"
"github.com/cosmos/cosmos-sdk/client/flags"
- "github.com/kava-labs/kava/x/validator-vesting/types"
+ "github.com/0glabs/0g-chain/x/validator-vesting/types"
)
// GetQueryCmd returns the cli query commands for the kavadist module
diff --git a/x/validator-vesting/client/rest/query.go b/x/validator-vesting/client/rest/query.go
index 005546ec..af098eca 100644
--- a/x/validator-vesting/client/rest/query.go
+++ b/x/validator-vesting/client/rest/query.go
@@ -8,10 +8,10 @@ import (
"github.com/gorilla/mux"
+ "github.com/0glabs/0g-chain/client/rest"
"github.com/cosmos/cosmos-sdk/client"
- "github.com/kava-labs/kava/client/rest"
- "github.com/kava-labs/kava/x/validator-vesting/types"
+ "github.com/0glabs/0g-chain/x/validator-vesting/types"
)
func registerQueryRoutes(cliCtx client.Context, r *mux.Router) {
diff --git a/x/validator-vesting/keeper/grpc_query.go b/x/validator-vesting/keeper/grpc_query.go
index c633638f..1c887b40 100644
--- a/x/validator-vesting/keeper/grpc_query.go
+++ b/x/validator-vesting/keeper/grpc_query.go
@@ -5,8 +5,8 @@ import (
"time"
sdkmath "cosmossdk.io/math"
+ "github.com/0glabs/0g-chain/x/validator-vesting/types"
sdk "github.com/cosmos/cosmos-sdk/types"
- "github.com/kava-labs/kava/x/validator-vesting/types"
)
type queryServer struct {
diff --git a/x/validator-vesting/keeper/grpc_query_test.go b/x/validator-vesting/keeper/grpc_query_test.go
index b6c22c0e..16b28e15 100644
--- a/x/validator-vesting/keeper/grpc_query_test.go
+++ b/x/validator-vesting/keeper/grpc_query_test.go
@@ -11,9 +11,9 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/stretchr/testify/suite"
- "github.com/kava-labs/kava/app"
- "github.com/kava-labs/kava/x/validator-vesting/keeper"
- "github.com/kava-labs/kava/x/validator-vesting/types"
+ "github.com/0glabs/0g-chain/app"
+ "github.com/0glabs/0g-chain/x/validator-vesting/keeper"
+ "github.com/0glabs/0g-chain/x/validator-vesting/types"
)
type grpcQueryTestSuite struct {
diff --git a/x/validator-vesting/module.go b/x/validator-vesting/module.go
index 39fa0c61..2bf8f6b2 100644
--- a/x/validator-vesting/module.go
+++ b/x/validator-vesting/module.go
@@ -15,9 +15,9 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/cosmos-sdk/types/module"
- "github.com/kava-labs/kava/x/validator-vesting/client/cli"
- "github.com/kava-labs/kava/x/validator-vesting/keeper"
- "github.com/kava-labs/kava/x/validator-vesting/types"
+ "github.com/0glabs/0g-chain/x/validator-vesting/client/cli"
+ "github.com/0glabs/0g-chain/x/validator-vesting/keeper"
+ "github.com/0glabs/0g-chain/x/validator-vesting/types"
)
var (