changed package name from tharsis/ethermint to cerc-io/laconicd

This commit is contained in:
SpideyPool192 2022-09-07 12:06:11 +05:30
parent 680d585084
commit a57e5f4fd9
214 changed files with 523 additions and 518 deletions

View File

@ -140,7 +140,7 @@ docker-build:
# update old container # update old container
docker rm ethermint || true docker rm ethermint || true
# create a new container from the latest image # create a new container from the latest image
docker create --name ethermint -t -i tharsis/ethermint:latest ethermint docker create --name ethermint -t -i cerc-io/laconicd:latest ethermint
# move the binaries to the ./build directory # move the binaries to the ./build directory
mkdir -p ./build/ mkdir -p ./build/
docker cp ethermint:/usr/bin/ethermintd ./build/ docker cp ethermint:/usr/bin/ethermintd ./build/
@ -166,7 +166,7 @@ build-all: tools build lint test
### Releasing ### ### Releasing ###
############################################################################### ###############################################################################
PACKAGE_NAME:=github.com/tharsis/ethermint PACKAGE_NAME:=github.com/cerc-io/laconicd
GOLANG_CROSS_VERSION = v1.17.1 GOLANG_CROSS_VERSION = v1.17.1
GOPATH ?= '$(HOME)/go' GOPATH ?= '$(HOME)/go'
release-dry-run: release-dry-run:
@ -299,7 +299,7 @@ update-swagger-docs: statik
.PHONY: update-swagger-docs .PHONY: update-swagger-docs
godocs: godocs:
@echo "--> Wait a few seconds and visit http://localhost:6060/pkg/github.com/tharsis/ethermint/types" @echo "--> Wait a few seconds and visit http://localhost:6060/pkg/github.com/cerc-io/laconicd/types"
godoc -http=:6060 godoc -http=:6060
############################################################################### ###############################################################################
@ -333,7 +333,7 @@ else
endif endif
test-import: test-import:
go test -run TestImporterTestSuite -v --vet=off github.com/tharsis/ethermint/tests/importer go test -run TestImporterTestSuite -v --vet=off github.com/cerc-io/laconicd/tests/importer
test-rpc: test-rpc:
./scripts/integration-test-all.sh -t "rpc" -q 1 -z 1 -s 2 -m "rpc" -r "true" ./scripts/integration-test-all.sh -t "rpc" -q 1 -z 1 -s 2 -m "rpc" -r "true"

View File

@ -10,31 +10,31 @@ parent:
![banner](docs/ethermint.jpg) ![banner](docs/ethermint.jpg)
<div align="center"> <div align="center">
<a href="https://github.com/tharsis/ethermint/releases/latest"> <a href="https://github.com/cerc-io/laconicd/releases/latest">
<img alt="Version" src="https://img.shields.io/github/tag/tharsis/ethermint.svg" /> <img alt="Version" src="https://img.shields.io/github/tag/cerc-io/laconicd.svg" />
</a> </a>
<a href="https://github.com/tharsis/ethermint/blob/main/LICENSE"> <a href="https://github.com/cerc-io/laconicd/blob/main/LICENSE">
<img alt="License: Apache-2.0" src="https://img.shields.io/github/license/tharsis/ethermint.svg" /> <img alt="License: Apache-2.0" src="https://img.shields.io/github/license/cerc-io/laconicd.svg" />
</a> </a>
<a href="https://pkg.go.dev/github.com/tharsis/ethermint"> <a href="https://pkg.go.dev/github.com/cerc-io/laconicd">
<img alt="GoDoc" src="https://godoc.org/github.com/tharsis/ethermint?status.svg" /> <img alt="GoDoc" src="https://godoc.org/github.com/cerc-io/laconicd?status.svg" />
</a> </a>
<a href="https://goreportcard.com/report/github.com/tharsis/ethermint"> <a href="https://goreportcard.com/report/github.com/cerc-io/laconicd">
<img alt="Go report card" src="https://goreportcard.com/badge/github.com/tharsis/ethermint"/> <img alt="Go report card" src="https://goreportcard.com/badge/github.com/cerc-io/laconicd"/>
</a> </a>
<a href="https://bestpractices.coreinfrastructure.org/projects/5018"> <a href="https://bestpractices.coreinfrastructure.org/projects/5018">
<img alt="Lines of code" src="https://img.shields.io/tokei/lines/github/tharsis/ethermint"> <img alt="Lines of code" src="https://img.shields.io/tokei/lines/github/cerc-io/laconicd">
</a> </a>
</div> </div>
<div align="center"> <div align="center">
<a href="https://discord.gg/trje9XuAmy"> <a href="https://discord.gg/trje9XuAmy">
<img alt="Discord" src="https://img.shields.io/discord/809048090249134080.svg" /> <img alt="Discord" src="https://img.shields.io/discord/809048090249134080.svg" />
</a> </a>
<a href="https://github.com/tharsis/ethermint/actions?query=branch%3Amain+workflow%3ALint"> <a href="https://github.com/cerc-io/laconicd/actions?query=branch%3Amain+workflow%3ALint">
<img alt="Lint Status" src="https://github.com/tharsis/ethermint/actions/workflows/lint.yml/badge.svg?branch=main" /> <img alt="Lint Status" src="https://github.com/cerc-io/laconicd/actions/workflows/lint.yml/badge.svg?branch=main" />
</a> </a>
<a href="https://codecov.io/gh/tharsis/ethermint"> <a href="https://codecov.io/gh/cerc-io/laconicd">
<img alt="Code Coverage" src="https://codecov.io/gh/tharsis/ethermint/branch/main/graph/badge.svg" /> <img alt="Code Coverage" src="https://codecov.io/gh/cerc-io/laconicd/branch/main/graph/badge.svg" />
</a> </a>
</div> </div>
@ -50,7 +50,7 @@ For prerequisites and detailed build instructions please read the Evmos [Install
make install make install
``` ```
Or check out the latest [release](https://github.com/tharsis/ethermint/releases). Or check out the latest [release](https://github.com/cerc-io/laconicd/releases).
## Quick Start ## Quick Start
@ -69,7 +69,7 @@ The following chat channels and forums are a great spot to ask questions about E
## Contributing ## Contributing
Looking for a good place to start contributing? Check out some [`good first issues`](https://github.com/tharsis/ethermint/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22). Looking for a good place to start contributing? Check out some [`good first issues`](https://github.com/cerc-io/laconicd/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22).
For additional instructions, standards and style guides, please refer to the [Contributing](./CONTRIBUTING.md) document. For additional instructions, standards and style guides, please refer to the [Contributing](./CONTRIBUTING.md) document.

View File

@ -3,7 +3,7 @@ package app
import ( import (
sdk "github.com/cosmos/cosmos-sdk/types" sdk "github.com/cosmos/cosmos-sdk/types"
cmdcfg "github.com/tharsis/ethermint/cmd/config" cmdcfg "github.com/cerc-io/laconicd/cmd/config"
) )
// sdk config // sdk config

View File

@ -12,7 +12,7 @@ import (
authante "github.com/cosmos/cosmos-sdk/x/auth/ante" authante "github.com/cosmos/cosmos-sdk/x/auth/ante"
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
"github.com/tharsis/ethermint/crypto/ethsecp256k1" "github.com/cerc-io/laconicd/crypto/ethsecp256k1"
) )
const ( const (

View File

@ -1,16 +1,17 @@
package ante_test package ante_test
import ( import (
"github.com/cosmos/cosmos-sdk/types/tx/signing"
"math/big" "math/big"
"strings" "strings"
"github.com/cosmos/cosmos-sdk/types/tx/signing"
sdk "github.com/cosmos/cosmos-sdk/types" sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cerc-io/laconicd/tests"
evmtypes "github.com/cerc-io/laconicd/x/evm/types"
"github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/core/types"
ethparams "github.com/ethereum/go-ethereum/params" ethparams "github.com/ethereum/go-ethereum/params"
"github.com/tharsis/ethermint/tests"
evmtypes "github.com/tharsis/ethermint/x/evm/types"
) )
func (suite AnteTestSuite) TestAnteHandler() { func (suite AnteTestSuite) TestAnteHandler() {

View File

@ -13,12 +13,12 @@ import (
"github.com/cosmos/cosmos-sdk/x/auth/migrations/legacytx" "github.com/cosmos/cosmos-sdk/x/auth/migrations/legacytx"
authsigning "github.com/cosmos/cosmos-sdk/x/auth/signing" authsigning "github.com/cosmos/cosmos-sdk/x/auth/signing"
"github.com/cerc-io/laconicd/crypto/ethsecp256k1"
"github.com/cerc-io/laconicd/ethereum/eip712"
ethermint "github.com/cerc-io/laconicd/types"
evmtypes "github.com/cerc-io/laconicd/x/evm/types"
ethcrypto "github.com/ethereum/go-ethereum/crypto" ethcrypto "github.com/ethereum/go-ethereum/crypto"
"github.com/ethereum/go-ethereum/crypto/secp256k1" "github.com/ethereum/go-ethereum/crypto/secp256k1"
"github.com/tharsis/ethermint/crypto/ethsecp256k1"
"github.com/tharsis/ethermint/ethereum/eip712"
ethermint "github.com/tharsis/ethermint/types"
evmtypes "github.com/tharsis/ethermint/x/evm/types"
) )
var ethermintCodec codec.ProtoCodecMarshaler var ethermintCodec codec.ProtoCodecMarshaler

View File

@ -8,10 +8,10 @@ import (
sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"
authante "github.com/cosmos/cosmos-sdk/x/auth/ante" authante "github.com/cosmos/cosmos-sdk/x/auth/ante"
ethermint "github.com/tharsis/ethermint/types" ethermint "github.com/cerc-io/laconicd/types"
evmkeeper "github.com/tharsis/ethermint/x/evm/keeper" evmkeeper "github.com/cerc-io/laconicd/x/evm/keeper"
"github.com/tharsis/ethermint/x/evm/statedb" "github.com/cerc-io/laconicd/x/evm/statedb"
evmtypes "github.com/tharsis/ethermint/x/evm/types" evmtypes "github.com/cerc-io/laconicd/x/evm/types"
"github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/common"
ethtypes "github.com/ethereum/go-ethereum/core/types" ethtypes "github.com/ethereum/go-ethereum/core/types"

View File

@ -5,11 +5,11 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types" sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/tharsis/ethermint/app/ante" "github.com/cerc-io/laconicd/app/ante"
"github.com/tharsis/ethermint/server/config" "github.com/cerc-io/laconicd/server/config"
"github.com/tharsis/ethermint/tests" "github.com/cerc-io/laconicd/tests"
"github.com/tharsis/ethermint/x/evm/statedb" "github.com/cerc-io/laconicd/x/evm/statedb"
evmtypes "github.com/tharsis/ethermint/x/evm/types" evmtypes "github.com/cerc-io/laconicd/x/evm/types"
ethtypes "github.com/ethereum/go-ethereum/core/types" ethtypes "github.com/ethereum/go-ethereum/core/types"
) )

View File

@ -11,7 +11,7 @@ import (
ibcante "github.com/cosmos/ibc-go/v3/modules/core/ante" ibcante "github.com/cosmos/ibc-go/v3/modules/core/ante"
ibckeeper "github.com/cosmos/ibc-go/v3/modules/core/keeper" ibckeeper "github.com/cosmos/ibc-go/v3/modules/core/keeper"
evmtypes "github.com/tharsis/ethermint/x/evm/types" evmtypes "github.com/cerc-io/laconicd/x/evm/types"
) )
// HandlerOptions extend the SDK's AnteHandler options by requiring the IBC // HandlerOptions extend the SDK's AnteHandler options by requiring the IBC

View File

@ -3,14 +3,14 @@ package ante
import ( import (
"math/big" "math/big"
"github.com/cerc-io/laconicd/x/evm/statedb"
evmtypes "github.com/cerc-io/laconicd/x/evm/types"
sdk "github.com/cosmos/cosmos-sdk/types" sdk "github.com/cosmos/cosmos-sdk/types"
tx "github.com/cosmos/cosmos-sdk/types/tx" tx "github.com/cosmos/cosmos-sdk/types/tx"
"github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/core" "github.com/ethereum/go-ethereum/core"
"github.com/ethereum/go-ethereum/core/vm" "github.com/ethereum/go-ethereum/core/vm"
"github.com/ethereum/go-ethereum/params" "github.com/ethereum/go-ethereum/params"
"github.com/tharsis/ethermint/x/evm/statedb"
evmtypes "github.com/tharsis/ethermint/x/evm/types"
) )
// EVMKeeper defines the expected keeper interface used on the Eth AnteHandler // EVMKeeper defines the expected keeper interface used on the Eth AnteHandler

View File

@ -1,9 +1,9 @@
package ante package ante
import ( import (
evmtypes "github.com/cerc-io/laconicd/x/evm/types"
sdk "github.com/cosmos/cosmos-sdk/types" sdk "github.com/cosmos/cosmos-sdk/types"
sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"
evmtypes "github.com/tharsis/ethermint/x/evm/types"
) )
// RejectMessagesDecorator prevents invalid msg types from being executed // RejectMessagesDecorator prevents invalid msg types from being executed

View File

@ -3,9 +3,9 @@ package ante_test
import ( import (
"math/big" "math/big"
"github.com/tharsis/ethermint/tests" "github.com/cerc-io/laconicd/tests"
"github.com/tharsis/ethermint/x/evm/statedb" "github.com/cerc-io/laconicd/x/evm/statedb"
evmtypes "github.com/tharsis/ethermint/x/evm/types" evmtypes "github.com/cerc-io/laconicd/x/evm/types"
) )
func (suite AnteTestSuite) TestSignatures() { func (suite AnteTestSuite) TestSignatures() {

View File

@ -5,13 +5,13 @@ import (
"testing" "testing"
"time" "time"
"github.com/cerc-io/laconicd/ethereum/eip712"
"github.com/cerc-io/laconicd/types"
"github.com/cosmos/cosmos-sdk/codec" "github.com/cosmos/cosmos-sdk/codec"
"github.com/cosmos/cosmos-sdk/x/auth/migrations/legacytx" "github.com/cosmos/cosmos-sdk/x/auth/migrations/legacytx"
types2 "github.com/cosmos/cosmos-sdk/x/bank/types" types2 "github.com/cosmos/cosmos-sdk/x/bank/types"
types3 "github.com/cosmos/cosmos-sdk/x/staking/types" types3 "github.com/cosmos/cosmos-sdk/x/staking/types"
"github.com/ethereum/go-ethereum/crypto" "github.com/ethereum/go-ethereum/crypto"
"github.com/tharsis/ethermint/ethereum/eip712"
"github.com/tharsis/ethermint/types"
"github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/common"
ethtypes "github.com/ethereum/go-ethereum/core/types" ethtypes "github.com/ethereum/go-ethereum/core/types"
@ -30,13 +30,13 @@ import (
authtx "github.com/cosmos/cosmos-sdk/x/auth/tx" authtx "github.com/cosmos/cosmos-sdk/x/auth/tx"
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
"github.com/tharsis/ethermint/app" "github.com/cerc-io/laconicd/app"
ante "github.com/tharsis/ethermint/app/ante" ante "github.com/cerc-io/laconicd/app/ante"
"github.com/tharsis/ethermint/encoding" "github.com/cerc-io/laconicd/encoding"
"github.com/tharsis/ethermint/tests" "github.com/cerc-io/laconicd/tests"
"github.com/tharsis/ethermint/x/evm/statedb" "github.com/cerc-io/laconicd/x/evm/statedb"
evmtypes "github.com/tharsis/ethermint/x/evm/types" evmtypes "github.com/cerc-io/laconicd/x/evm/types"
feemarkettypes "github.com/tharsis/ethermint/x/feemarket/types" feemarkettypes "github.com/cerc-io/laconicd/x/feemarket/types"
tmproto "github.com/tendermint/tendermint/proto/tendermint/types" tmproto "github.com/tendermint/tendermint/proto/tendermint/types"
) )

View File

@ -11,6 +11,8 @@ import (
"github.com/rakyll/statik/fs" "github.com/rakyll/statik/fs"
"github.com/spf13/cast" "github.com/spf13/cast"
"github.com/cerc-io/laconicd/app/ante"
evmtypes "github.com/cerc-io/laconicd/x/evm/types"
"github.com/cosmos/cosmos-sdk/baseapp" "github.com/cosmos/cosmos-sdk/baseapp"
"github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client"
"github.com/cosmos/cosmos-sdk/client/grpc/tmservice" "github.com/cosmos/cosmos-sdk/client/grpc/tmservice"
@ -22,8 +24,6 @@ import (
servertypes "github.com/cosmos/cosmos-sdk/server/types" servertypes "github.com/cosmos/cosmos-sdk/server/types"
"github.com/cosmos/cosmos-sdk/simapp" "github.com/cosmos/cosmos-sdk/simapp"
govv1 "github.com/cosmos/cosmos-sdk/x/gov/types/v1" govv1 "github.com/cosmos/cosmos-sdk/x/gov/types/v1"
"github.com/tharsis/ethermint/app/ante"
evmtypes "github.com/tharsis/ethermint/x/evm/types"
simappparams "github.com/cosmos/cosmos-sdk/simapp/params" simappparams "github.com/cosmos/cosmos-sdk/simapp/params"
"github.com/cosmos/cosmos-sdk/store/streaming" "github.com/cosmos/cosmos-sdk/store/streaming"
@ -102,31 +102,31 @@ import (
ibckeeper "github.com/cosmos/ibc-go/v3/modules/core/keeper" ibckeeper "github.com/cosmos/ibc-go/v3/modules/core/keeper"
// unnamed import of statik for swagger UI support // unnamed import of statik for swagger UI support
_ "github.com/tharsis/ethermint/client/docs/statik" _ "github.com/cerc-io/laconicd/client/docs/statik"
srvflags "github.com/tharsis/ethermint/server/flags" srvflags "github.com/cerc-io/laconicd/server/flags"
ethermint "github.com/tharsis/ethermint/types" ethermint "github.com/cerc-io/laconicd/types"
"github.com/tharsis/ethermint/x/evm" "github.com/cerc-io/laconicd/x/evm"
// evmrest "github.com/tharsis/ethermint/x/evm/client/rest" // evmrest "github.com/cerc-io/laconicd/x/evm/client/rest"
evmkeeper "github.com/tharsis/ethermint/x/evm/keeper" evmkeeper "github.com/cerc-io/laconicd/x/evm/keeper"
"github.com/tharsis/ethermint/x/feemarket" "github.com/cerc-io/laconicd/x/feemarket"
feemarketkeeper "github.com/tharsis/ethermint/x/feemarket/keeper" feemarketkeeper "github.com/cerc-io/laconicd/x/feemarket/keeper"
feemarkettypes "github.com/tharsis/ethermint/x/feemarket/types" feemarkettypes "github.com/cerc-io/laconicd/x/feemarket/types"
// Force-load the tracer engines to trigger registration due to Go-Ethereum v1.10.15 changes // Force-load the tracer engines to trigger registration due to Go-Ethereum v1.10.15 changes
_ "github.com/ethereum/go-ethereum/eth/tracers/js" _ "github.com/ethereum/go-ethereum/eth/tracers/js"
_ "github.com/ethereum/go-ethereum/eth/tracers/native" _ "github.com/ethereum/go-ethereum/eth/tracers/native"
"github.com/tharsis/ethermint/x/auction" "github.com/cerc-io/laconicd/x/auction"
auctionkeeper "github.com/tharsis/ethermint/x/auction/keeper" auctionkeeper "github.com/cerc-io/laconicd/x/auction/keeper"
auctiontypes "github.com/tharsis/ethermint/x/auction/types" auctiontypes "github.com/cerc-io/laconicd/x/auction/types"
"github.com/tharsis/ethermint/x/bond" "github.com/cerc-io/laconicd/x/bond"
bondkeeper "github.com/tharsis/ethermint/x/bond/keeper" bondkeeper "github.com/cerc-io/laconicd/x/bond/keeper"
bondtypes "github.com/tharsis/ethermint/x/bond/types" bondtypes "github.com/cerc-io/laconicd/x/bond/types"
"github.com/tharsis/ethermint/x/nameservice" "github.com/cerc-io/laconicd/x/nameservice"
nameservicekeeper "github.com/tharsis/ethermint/x/nameservice/keeper" nameservicekeeper "github.com/cerc-io/laconicd/x/nameservice/keeper"
nameservicetypes "github.com/tharsis/ethermint/x/nameservice/types" nameservicetypes "github.com/cerc-io/laconicd/x/nameservice/types"
) )
func init() { func init() {

View File

@ -8,7 +8,7 @@ import (
"github.com/tendermint/tendermint/libs/log" "github.com/tendermint/tendermint/libs/log"
"github.com/tharsis/ethermint/encoding" "github.com/cerc-io/laconicd/encoding"
) )
func TestEthermintAppExport(t *testing.T) { func TestEthermintAppExport(t *testing.T) {

View File

@ -4,11 +4,11 @@ import (
"encoding/json" "encoding/json"
"testing" "testing"
"github.com/cerc-io/laconicd/encoding"
"github.com/cosmos/cosmos-sdk/db/memdb" "github.com/cosmos/cosmos-sdk/db/memdb"
"github.com/cosmos/cosmos-sdk/simapp" "github.com/cosmos/cosmos-sdk/simapp"
abci "github.com/tendermint/tendermint/abci/types" abci "github.com/tendermint/tendermint/abci/types"
"github.com/tendermint/tendermint/libs/log" "github.com/tendermint/tendermint/libs/log"
"github.com/tharsis/ethermint/encoding"
) )
func BenchmarkEthermintApp_ExportAppStateAndValidators(b *testing.B) { func BenchmarkEthermintApp_ExportAppStateAndValidators(b *testing.B) {

View File

@ -27,6 +27,7 @@ import (
slashingtypes "github.com/cosmos/cosmos-sdk/x/slashing/types" slashingtypes "github.com/cosmos/cosmos-sdk/x/slashing/types"
stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"
evmenc "github.com/cerc-io/laconicd/encoding"
"github.com/cosmos/cosmos-sdk/db/memdb" "github.com/cosmos/cosmos-sdk/db/memdb"
storetypes "github.com/cosmos/cosmos-sdk/store/types" storetypes "github.com/cosmos/cosmos-sdk/store/types"
ibctransfertypes "github.com/cosmos/ibc-go/v3/modules/apps/transfer/types" ibctransfertypes "github.com/cosmos/ibc-go/v3/modules/apps/transfer/types"
@ -34,7 +35,6 @@ import (
abci "github.com/tendermint/tendermint/abci/types" abci "github.com/tendermint/tendermint/abci/types"
"github.com/tendermint/tendermint/libs/log" "github.com/tendermint/tendermint/libs/log"
tmproto "github.com/tendermint/tendermint/proto/tendermint/types" tmproto "github.com/tendermint/tendermint/proto/tendermint/types"
evmenc "github.com/tharsis/ethermint/encoding"
) )
// MakeEncodingConfig creates the EncodingConfig // MakeEncodingConfig creates the EncodingConfig

View File

@ -15,12 +15,12 @@ import (
"github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/crypto" "github.com/ethereum/go-ethereum/crypto"
"github.com/cerc-io/laconicd/crypto/ethsecp256k1"
"github.com/cerc-io/laconicd/encoding"
ethermint "github.com/cerc-io/laconicd/types"
"github.com/cosmos/cosmos-sdk/simapp/params" "github.com/cosmos/cosmos-sdk/simapp/params"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
tmjson "github.com/tendermint/tendermint/libs/json" tmjson "github.com/tendermint/tendermint/libs/json"
"github.com/tharsis/ethermint/crypto/ethsecp256k1"
"github.com/tharsis/ethermint/encoding"
ethermint "github.com/tharsis/ethermint/types"
"github.com/cosmos/cosmos-sdk/db/memdb" "github.com/cosmos/cosmos-sdk/db/memdb"
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"

View File

@ -12,7 +12,7 @@ import (
"github.com/cosmos/cosmos-sdk/client/flags" "github.com/cosmos/cosmos-sdk/client/flags"
ethermint "github.com/tharsis/ethermint/types" ethermint "github.com/cerc-io/laconicd/types"
) )
// InitConfig adds the chain-id, encoding and output flags to the persistent flag set. // InitConfig adds the chain-id, encoding and output flags to the persistent flag set.
@ -26,7 +26,7 @@ func InitConfig(cmd *cobra.Command) error {
_, err = os.Stat(configFile) _, err = os.Stat(configFile)
if err != nil && !os.IsNotExist(err) { if err != nil && !os.IsNotExist(err) {
// Immediately return if the error isn't related to the file not existing. // Immediately return if the error isn't related to the file not existing.
// See issue https://github.com/tharsis/ethermint/issues/539 // See issue https://github.com/cerc-io/laconicd/issues/539
return err return err
} }
if err == nil { if err == nil {

View File

@ -1,3 +1,3 @@
package statik package statik
// This just for fixing the error in importing empty github.com/tharsis/ethermint/client/docs/statik // This just for fixing the error in importing empty github.com/cerc-io/laconicd/client/docs/statik

View File

@ -14,9 +14,9 @@ import (
ethcrypto "github.com/ethereum/go-ethereum/crypto" ethcrypto "github.com/ethereum/go-ethereum/crypto"
"github.com/spf13/cobra" "github.com/spf13/cobra"
"github.com/cerc-io/laconicd/crypto/ethsecp256k1"
"github.com/cerc-io/laconicd/crypto/hd"
"github.com/cosmos/cosmos-sdk/crypto/keyring" "github.com/cosmos/cosmos-sdk/crypto/keyring"
"github.com/tharsis/ethermint/crypto/ethsecp256k1"
"github.com/tharsis/ethermint/crypto/hd"
) )
// UnsafeExportEthKeyCommand exports a key with the given name as a private key in hex format. // UnsafeExportEthKeyCommand exports a key with the given name as a private key in hex format.

View File

@ -5,6 +5,7 @@ import (
"github.com/spf13/cobra" "github.com/spf13/cobra"
"github.com/cerc-io/laconicd/crypto/ethsecp256k1"
"github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client"
"github.com/cosmos/cosmos-sdk/client/flags" "github.com/cosmos/cosmos-sdk/client/flags"
"github.com/cosmos/cosmos-sdk/client/input" "github.com/cosmos/cosmos-sdk/client/input"
@ -12,9 +13,8 @@ import (
"github.com/cosmos/cosmos-sdk/crypto/keyring" "github.com/cosmos/cosmos-sdk/crypto/keyring"
sdk "github.com/cosmos/cosmos-sdk/types" sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/common"
"github.com/tharsis/ethermint/crypto/ethsecp256k1"
"github.com/tharsis/ethermint/crypto/hd" "github.com/cerc-io/laconicd/crypto/hd"
) )
// UnsafeImportKeyCommand imports private keys from a keyfile. // UnsafeImportKeyCommand imports private keys from a keyfile.

View File

@ -10,9 +10,9 @@ import (
"github.com/spf13/cobra" "github.com/spf13/cobra"
"github.com/tendermint/tendermint/libs/cli" "github.com/tendermint/tendermint/libs/cli"
clientkeys "github.com/cerc-io/laconicd/client/keys"
"github.com/cerc-io/laconicd/crypto/hd"
"github.com/cosmos/cosmos-sdk/crypto/keyring" "github.com/cosmos/cosmos-sdk/crypto/keyring"
clientkeys "github.com/tharsis/ethermint/client/keys"
"github.com/tharsis/ethermint/crypto/hd"
) )
// KeyCommands registers a sub-tree of commands to interact with // KeyCommands registers a sub-tree of commands to interact with

View File

@ -7,7 +7,7 @@ import (
"fmt" "fmt"
"sort" "sort"
etherminthd "github.com/tharsis/ethermint/crypto/hd" etherminthd "github.com/cerc-io/laconicd/crypto/hd"
bip39 "github.com/cosmos/go-bip39" bip39 "github.com/cosmos/go-bip39"
"github.com/spf13/cobra" "github.com/spf13/cobra"

View File

@ -40,13 +40,13 @@ import (
mintypes "github.com/cosmos/cosmos-sdk/x/mint/types" mintypes "github.com/cosmos/cosmos-sdk/x/mint/types"
stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"
"github.com/tharsis/ethermint/crypto/hd" "github.com/cerc-io/laconicd/crypto/hd"
"github.com/tharsis/ethermint/server/config" "github.com/cerc-io/laconicd/server/config"
srvflags "github.com/tharsis/ethermint/server/flags" srvflags "github.com/cerc-io/laconicd/server/flags"
ethermint "github.com/tharsis/ethermint/types" ethermint "github.com/cerc-io/laconicd/types"
evmtypes "github.com/tharsis/ethermint/x/evm/types" evmtypes "github.com/cerc-io/laconicd/x/evm/types"
"github.com/tharsis/ethermint/testutil/network" "github.com/cerc-io/laconicd/testutil/network"
) )
var ( var (

View File

@ -10,8 +10,8 @@ import (
svrcmd "github.com/cosmos/cosmos-sdk/server/cmd" svrcmd "github.com/cosmos/cosmos-sdk/server/cmd"
"github.com/cosmos/cosmos-sdk/x/genutil/client/cli" "github.com/cosmos/cosmos-sdk/x/genutil/client/cli"
"github.com/tharsis/ethermint/app" "github.com/cerc-io/laconicd/app"
chibaclonkd "github.com/tharsis/ethermint/cmd/chibaclonkd" chibaclonkd "github.com/cerc-io/laconicd/cmd/chibaclonkd"
) )
func TestInitCmd(t *testing.T) { func TestInitCmd(t *testing.T) {

View File

@ -5,7 +5,7 @@ import (
"github.com/spf13/cobra" "github.com/spf13/cobra"
"github.com/tharsis/ethermint/version" "github.com/cerc-io/laconicd/version"
) )
const ( const (

View File

@ -20,9 +20,9 @@ import (
"github.com/cosmos/cosmos-sdk/x/genutil" "github.com/cosmos/cosmos-sdk/x/genutil"
genutiltypes "github.com/cosmos/cosmos-sdk/x/genutil/types" genutiltypes "github.com/cosmos/cosmos-sdk/x/genutil/types"
"github.com/tharsis/ethermint/crypto/hd" "github.com/cerc-io/laconicd/crypto/hd"
ethermint "github.com/tharsis/ethermint/types" ethermint "github.com/cerc-io/laconicd/types"
evmtypes "github.com/tharsis/ethermint/x/evm/types" evmtypes "github.com/cerc-io/laconicd/x/evm/types"
) )
const ( const (

View File

@ -6,7 +6,7 @@ import (
"github.com/cosmos/cosmos-sdk/server" "github.com/cosmos/cosmos-sdk/server"
svrcmd "github.com/cosmos/cosmos-sdk/server/cmd" svrcmd "github.com/cosmos/cosmos-sdk/server/cmd"
"github.com/tharsis/ethermint/app" "github.com/cerc-io/laconicd/app"
) )
func main() { func main() {

View File

@ -31,15 +31,15 @@ import (
tmcli "github.com/tendermint/tendermint/libs/cli" tmcli "github.com/tendermint/tendermint/libs/cli"
tmlog "github.com/tendermint/tendermint/libs/log" tmlog "github.com/tendermint/tendermint/libs/log"
"github.com/tharsis/ethermint/app" "github.com/cerc-io/laconicd/app"
ethermintclient "github.com/tharsis/ethermint/client" ethermintclient "github.com/cerc-io/laconicd/client"
"github.com/tharsis/ethermint/client/debug" "github.com/cerc-io/laconicd/client/debug"
"github.com/tharsis/ethermint/crypto/hd" "github.com/cerc-io/laconicd/crypto/hd"
"github.com/tharsis/ethermint/encoding" "github.com/cerc-io/laconicd/encoding"
"github.com/tharsis/ethermint/server" "github.com/cerc-io/laconicd/server"
servercfg "github.com/tharsis/ethermint/server/config" servercfg "github.com/cerc-io/laconicd/server/config"
srvflags "github.com/tharsis/ethermint/server/flags" srvflags "github.com/cerc-io/laconicd/server/flags"
ethermint "github.com/tharsis/ethermint/types" ethermint "github.com/cerc-io/laconicd/types"
) )
const EnvPrefix = "CHIBACLONK" const EnvPrefix = "CHIBACLONK"

View File

@ -3,7 +3,7 @@ package config
import ( import (
sdk "github.com/cosmos/cosmos-sdk/types" sdk "github.com/cosmos/cosmos-sdk/types"
ethermint "github.com/tharsis/ethermint/types" ethermint "github.com/cerc-io/laconicd/types"
) )
const ( const (

View File

@ -3,8 +3,8 @@ package config
import ( import (
"testing" "testing"
ethermint "github.com/cerc-io/laconicd/types"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
ethermint "github.com/tharsis/ethermint/types"
"github.com/cosmos/cosmos-sdk/crypto/hd" "github.com/cosmos/cosmos-sdk/crypto/hd"
sdk "github.com/cosmos/cosmos-sdk/types" sdk "github.com/cosmos/cosmos-sdk/types"

View File

@ -7,7 +7,7 @@ import (
cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec"
"github.com/cosmos/cosmos-sdk/crypto/keyring" "github.com/cosmos/cosmos-sdk/crypto/keyring"
"github.com/tharsis/ethermint/crypto/ethsecp256k1" "github.com/cerc-io/laconicd/crypto/ethsecp256k1"
) )
// RegisterCrypto registers all crypto dependency types with the provided Amino // RegisterCrypto registers all crypto dependency types with the provided Amino

View File

@ -4,7 +4,7 @@ import (
codectypes "github.com/cosmos/cosmos-sdk/codec/types" codectypes "github.com/cosmos/cosmos-sdk/codec/types"
cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types"
"github.com/tharsis/ethermint/crypto/ethsecp256k1" "github.com/cerc-io/laconicd/crypto/ethsecp256k1"
) )
// RegisterInterfaces register the Ethermint key concrete types. // RegisterInterfaces register the Ethermint key concrete types.

View File

@ -12,7 +12,7 @@ import (
"github.com/cosmos/cosmos-sdk/crypto/keyring" "github.com/cosmos/cosmos-sdk/crypto/keyring"
cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types"
"github.com/tharsis/ethermint/crypto/ethsecp256k1" "github.com/cerc-io/laconicd/crypto/ethsecp256k1"
) )
const ( const (

View File

@ -11,10 +11,10 @@ import (
hdwallet "github.com/miguelmota/go-ethereum-hdwallet" hdwallet "github.com/miguelmota/go-ethereum-hdwallet"
cryptocodec "github.com/cerc-io/laconicd/crypto/codec"
ethermint "github.com/cerc-io/laconicd/types"
"github.com/cosmos/cosmos-sdk/codec" "github.com/cosmos/cosmos-sdk/codec"
"github.com/cosmos/cosmos-sdk/crypto/keyring" "github.com/cosmos/cosmos-sdk/crypto/keyring"
cryptocodec "github.com/tharsis/ethermint/crypto/codec"
ethermint "github.com/tharsis/ethermint/types"
) )
var protoCodec codec.Codec var protoCodec codec.Codec

View File

@ -3,8 +3,8 @@ package hd
import ( import (
"testing" "testing"
ethermint "github.com/cerc-io/laconicd/types"
"github.com/cosmos/cosmos-sdk/crypto/keyring" "github.com/cosmos/cosmos-sdk/crypto/keyring"
ethermint "github.com/tharsis/ethermint/types"
) )
func BenchmarkEthSecp256k1Algo_Derive(b *testing.B) { func BenchmarkEthSecp256k1Algo_Derive(b *testing.B) {

View File

@ -5,8 +5,8 @@ import (
codectypes "github.com/cosmos/cosmos-sdk/codec/types" codectypes "github.com/cosmos/cosmos-sdk/codec/types"
"github.com/cosmos/cosmos-sdk/std" "github.com/cosmos/cosmos-sdk/std"
cryptocodec "github.com/tharsis/ethermint/crypto/codec" cryptocodec "github.com/cerc-io/laconicd/crypto/codec"
ethermint "github.com/tharsis/ethermint/types" ethermint "github.com/cerc-io/laconicd/types"
) )
// RegisterLegacyAminoCodec registers Interfaces from types, crypto, and SDK std. // RegisterLegacyAminoCodec registers Interfaces from types, crypto, and SDK std.

View File

@ -7,7 +7,7 @@ import (
"github.com/cosmos/cosmos-sdk/types/module" "github.com/cosmos/cosmos-sdk/types/module"
"github.com/cosmos/cosmos-sdk/x/auth/tx" "github.com/cosmos/cosmos-sdk/x/auth/tx"
enccodec "github.com/tharsis/ethermint/encoding/codec" enccodec "github.com/cerc-io/laconicd/encoding/codec"
) )
// MakeConfig creates an EncodingConfig for testing // MakeConfig creates an EncodingConfig for testing

View File

@ -8,10 +8,10 @@ import (
ethtypes "github.com/ethereum/go-ethereum/core/types" ethtypes "github.com/ethereum/go-ethereum/core/types"
"github.com/tharsis/ethermint/app" "github.com/cerc-io/laconicd/app"
"github.com/tharsis/ethermint/encoding" "github.com/cerc-io/laconicd/encoding"
"github.com/tharsis/ethermint/tests" "github.com/cerc-io/laconicd/tests"
evmtypes "github.com/tharsis/ethermint/x/evm/types" evmtypes "github.com/cerc-io/laconicd/x/evm/types"
) )
func TestTxEncoding(t *testing.T) { func TestTxEncoding(t *testing.T) {

6
go.mod
View File

@ -1,4 +1,4 @@
module github.com/tharsis/ethermint module github.com/cerc-io/laconicd
go 1.17 go 1.17
@ -209,8 +209,8 @@ replace (
github.com/99designs/keyring => github.com/cosmos/keyring v1.1.7-0.20210622111912-ef00f8ac3d76 github.com/99designs/keyring => github.com/cosmos/keyring v1.1.7-0.20210622111912-ef00f8ac3d76
// replace cosmos // replace cosmos
github.com/cosmos/cosmos-sdk => github.com/vulcanize/cosmos-sdk v0.46.0-smt-0.0.5-alpha github.com/cosmos/cosmos-sdk => github.com/cerc-io/cosmos-sdk v0.46.0-smt-0.0.5-alpha
github.com/cosmos/cosmos-sdk/db => github.com/vulcanize/cosmos-sdk/db v1.0.0-beta.1 github.com/cosmos/cosmos-sdk/db => github.com/cerc-io/cosmos-sdk/db v1.0.0-beta.1
github.com/gogo/protobuf => github.com/regen-network/protobuf v1.3.3-alpha.regen.1 github.com/gogo/protobuf => github.com/regen-network/protobuf v1.3.3-alpha.regen.1
google.golang.org/grpc => google.golang.org/grpc v1.44.0 google.golang.org/grpc => google.golang.org/grpc v1.44.0
) )

8
go.sum
View File

@ -269,6 +269,10 @@ github.com/cenkalti/backoff/v4 v4.1.1 h1:G2HAfAmvm/GcKan2oOQpBXOd2tT2G57ZnZGWa1P
github.com/cenkalti/backoff/v4 v4.1.1/go.mod h1:scbssz8iZGpm3xbr14ovlUdkxfGXNInqkPWOWmG2CLw= github.com/cenkalti/backoff/v4 v4.1.1/go.mod h1:scbssz8iZGpm3xbr14ovlUdkxfGXNInqkPWOWmG2CLw=
github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU=
github.com/census-instrumentation/opencensus-proto v0.3.0/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= github.com/census-instrumentation/opencensus-proto v0.3.0/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU=
github.com/cerc-io/cosmos-sdk v0.46.0-smt-0.0.5-alpha h1:rfMUv+8w1fEky66eseXEUhXo8qaIyjI9/6WsIZftujM=
github.com/cerc-io/cosmos-sdk v0.46.0-smt-0.0.5-alpha/go.mod h1:n6VE/k+jRjm0Ij0c6pirmxPcOcdT3RLyR3oW1UoY0rg=
github.com/cerc-io/cosmos-sdk/db v1.0.0-beta.1 h1:6Se3pPCkXu+rQe8CX3LCkf2XptaNirk2BC+kh+/nT/Q=
github.com/cerc-io/cosmos-sdk/db v1.0.0-beta.1/go.mod h1:n79xAGrkFZLzudBwLIgQCa62PTHx9mCymwC+lSvoR2s=
github.com/cespare/cp v0.1.0 h1:SE+dxFebS7Iik5LK0tsi1k9ZCxEaFX4AjQmoyA+1dJk= github.com/cespare/cp v0.1.0 h1:SE+dxFebS7Iik5LK0tsi1k9ZCxEaFX4AjQmoyA+1dJk=
github.com/cespare/cp v0.1.0/go.mod h1:SOGHArjBr4JWaSDEVpWpo/hNg6RoKrls6Oh40hiwW+s= github.com/cespare/cp v0.1.0/go.mod h1:SOGHArjBr4JWaSDEVpWpo/hNg6RoKrls6Oh40hiwW+s=
github.com/cespare/xxhash v1.1.0 h1:a6HrQnmkObjyL+Gs60czilIUGqrzKutQD6XZog3p+ko= github.com/cespare/xxhash v1.1.0 h1:a6HrQnmkObjyL+Gs60czilIUGqrzKutQD6XZog3p+ko=
@ -1529,10 +1533,6 @@ github.com/vishvananda/netlink v1.1.0/go.mod h1:cTgwzPIzzgDAYoQrMm0EdrjRUBkTqKYp
github.com/vishvananda/netns v0.0.0-20191106174202-0a2b9b5464df/go.mod h1:JP3t17pCcGlemwknint6hfoeCVQrEMVwxRLRjXpq+BU= github.com/vishvananda/netns v0.0.0-20191106174202-0a2b9b5464df/go.mod h1:JP3t17pCcGlemwknint6hfoeCVQrEMVwxRLRjXpq+BU=
github.com/vmihailenco/msgpack/v5 v5.3.5/go.mod h1:7xyJ9e+0+9SaZT0Wt1RGleJXzli6Q/V5KbhBonMG9jc= github.com/vmihailenco/msgpack/v5 v5.3.5/go.mod h1:7xyJ9e+0+9SaZT0Wt1RGleJXzli6Q/V5KbhBonMG9jc=
github.com/vmihailenco/tagparser/v2 v2.0.0/go.mod h1:Wri+At7QHww0WTrCBeu4J6bNtoV6mEfg5OIWRZA9qds= github.com/vmihailenco/tagparser/v2 v2.0.0/go.mod h1:Wri+At7QHww0WTrCBeu4J6bNtoV6mEfg5OIWRZA9qds=
github.com/vulcanize/cosmos-sdk v0.46.0-smt-0.0.5-alpha h1:ffjYJoKmXel0TREjVV+uAXnV92EV1M0MCRv+bqQ6FR8=
github.com/vulcanize/cosmos-sdk v0.46.0-smt-0.0.5-alpha/go.mod h1:n6VE/k+jRjm0Ij0c6pirmxPcOcdT3RLyR3oW1UoY0rg=
github.com/vulcanize/cosmos-sdk/db v1.0.0-beta.1 h1:fLVdRk/JEWN5SGdOERhjHWU/zq3Efxeofu3VmJsrk90=
github.com/vulcanize/cosmos-sdk/db v1.0.0-beta.1/go.mod h1:n79xAGrkFZLzudBwLIgQCa62PTHx9mCymwC+lSvoR2s=
github.com/warpfork/go-testmark v0.3.0/go.mod h1:jhEf8FVxd+F17juRubpmut64NEG6I2rgkUhlcqqXwE0= github.com/warpfork/go-testmark v0.3.0/go.mod h1:jhEf8FVxd+F17juRubpmut64NEG6I2rgkUhlcqqXwE0=
github.com/warpfork/go-wish v0.0.0-20180510122957-5ad1f5abf436/go.mod h1:x6AKhvSSexNrVSrViXSHUEbICjmGXhtgABaHIySUSGw= github.com/warpfork/go-wish v0.0.0-20180510122957-5ad1f5abf436/go.mod h1:x6AKhvSSexNrVSrViXSHUEbICjmGXhtgABaHIySUSGw=
github.com/warpfork/go-wish v0.0.0-20200122115046-b9ea61034e4a h1:G++j5e0OC488te356JvdhaM8YS6nMsjLAYF7JxCv07w= github.com/warpfork/go-wish v0.0.0-20200122115046-b9ea61034e4a h1:G++j5e0OC488te356JvdhaM8YS6nMsjLAYF7JxCv07w=

View File

@ -5,12 +5,12 @@ import (
"encoding/base64" "encoding/base64"
"strconv" "strconv"
auctiontypes "github.com/cerc-io/laconicd/x/auction/types"
bondtypes "github.com/cerc-io/laconicd/x/bond/types"
nstypes "github.com/cerc-io/laconicd/x/nameservice/types"
"github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client"
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" banktypes "github.com/cosmos/cosmos-sdk/x/bank/types"
auctiontypes "github.com/tharsis/ethermint/x/auction/types"
bondtypes "github.com/tharsis/ethermint/x/bond/types"
nstypes "github.com/tharsis/ethermint/x/nameservice/types"
) )
// DefaultLogNumLines is the number of log lines to tail by default. // DefaultLogNumLines is the number of log lines to tail by default.

View File

@ -6,10 +6,10 @@ import (
"reflect" "reflect"
"strconv" "strconv"
auctiontypes "github.com/cerc-io/laconicd/x/auction/types"
bondtypes "github.com/cerc-io/laconicd/x/bond/types"
nstypes "github.com/cerc-io/laconicd/x/nameservice/types"
sdk "github.com/cosmos/cosmos-sdk/types" sdk "github.com/cosmos/cosmos-sdk/types"
auctiontypes "github.com/tharsis/ethermint/x/auction/types"
bondtypes "github.com/tharsis/ethermint/x/bond/types"
nstypes "github.com/tharsis/ethermint/x/nameservice/types"
) )
// OwnerAttributeName denotes the owner attribute name for a bond. // OwnerAttributeName denotes the owner attribute name for a bond.

View File

@ -3,7 +3,7 @@ package ethermint.crypto.v1.ethsecp256k1;
import "gogoproto/gogo.proto"; import "gogoproto/gogo.proto";
option go_package = "github.com/tharsis/ethermint/crypto/ethsecp256k1"; option go_package = "github.com/cerc-io/laconicd/crypto/ethsecp256k1";
// PubKey defines a type alias for an ecdsa.PublicKey that implements // PubKey defines a type alias for an ecdsa.PublicKey that implements
// Tendermint's PubKey interface. It represents the 33-byte compressed public // Tendermint's PubKey interface. It represents the 33-byte compressed public

View File

@ -3,7 +3,7 @@ package ethermint.evm.v1;
import "gogoproto/gogo.proto"; import "gogoproto/gogo.proto";
option go_package = "github.com/tharsis/ethermint/x/evm/types"; option go_package = "github.com/cerc-io/laconicd/x/evm/types";
// Params defines the EVM module parameters // Params defines the EVM module parameters
message Params { message Params {

View File

@ -4,7 +4,7 @@ package ethermint.evm.v1;
import "gogoproto/gogo.proto"; import "gogoproto/gogo.proto";
import "ethermint/evm/v1/evm.proto"; import "ethermint/evm/v1/evm.proto";
option go_package = "github.com/tharsis/ethermint/x/evm/types"; option go_package = "github.com/cerc-io/laconicd/x/evm/types";
// GenesisState defines the evm module's genesis state. // GenesisState defines the evm module's genesis state.
message GenesisState { message GenesisState {

View File

@ -8,7 +8,7 @@ import "ethermint/evm/v1/evm.proto";
import "ethermint/evm/v1/tx.proto"; import "ethermint/evm/v1/tx.proto";
import "google/protobuf/timestamp.proto"; import "google/protobuf/timestamp.proto";
option go_package = "github.com/tharsis/ethermint/x/evm/types"; option go_package = "github.com/cerc-io/laconicd/x/evm/types";
// Query defines the gRPC querier service. // Query defines the gRPC querier service.
service Query { service Query {

View File

@ -7,7 +7,7 @@ import "google/protobuf/any.proto";
import "cosmos_proto/cosmos.proto"; import "cosmos_proto/cosmos.proto";
import "ethermint/evm/v1/evm.proto"; import "ethermint/evm/v1/evm.proto";
option go_package = "github.com/tharsis/ethermint/x/evm/types"; option go_package = "github.com/cerc-io/laconicd/x/evm/types";
// Msg defines the evm Msg service. // Msg defines the evm Msg service.
service Msg { service Msg {

View File

@ -3,7 +3,7 @@ package ethermint.feemarket.v1;
import "gogoproto/gogo.proto"; import "gogoproto/gogo.proto";
option go_package = "github.com/tharsis/ethermint/x/feemarket/types"; option go_package = "github.com/cerc-io/laconicd/x/feemarket/types";
// Params defines the EVM module parameters // Params defines the EVM module parameters
message Params { message Params {

View File

@ -4,7 +4,7 @@ package ethermint.feemarket.v1;
import "gogoproto/gogo.proto"; import "gogoproto/gogo.proto";
import "ethermint/feemarket/v1/feemarket.proto"; import "ethermint/feemarket/v1/feemarket.proto";
option go_package = "github.com/tharsis/ethermint/x/feemarket/types"; option go_package = "github.com/cerc-io/laconicd/x/feemarket/types";
// GenesisState defines the feemarket module's genesis state. // GenesisState defines the feemarket module's genesis state.
message GenesisState { message GenesisState {

View File

@ -6,7 +6,7 @@ import "gogoproto/gogo.proto";
import "google/api/annotations.proto"; import "google/api/annotations.proto";
import "ethermint/feemarket/v1/feemarket.proto"; import "ethermint/feemarket/v1/feemarket.proto";
option go_package = "github.com/tharsis/ethermint/x/feemarket/types"; option go_package = "github.com/cerc-io/laconicd/x/feemarket/types";
// Query defines the gRPC querier service. // Query defines the gRPC querier service.
service Query { service Query {

View File

@ -5,7 +5,7 @@ import "cosmos/auth/v1beta1/auth.proto";
import "cosmos_proto/cosmos.proto"; import "cosmos_proto/cosmos.proto";
import "gogoproto/gogo.proto"; import "gogoproto/gogo.proto";
option go_package = "github.com/tharsis/ethermint/types"; option go_package = "github.com/cerc-io/laconicd/types";
// EthAccount implements the authtypes.AccountI interface and embeds an // EthAccount implements the authtypes.AccountI interface and embeds an
// authtypes.BaseAccount type. It is compatible with the auth AccountKeeper. // authtypes.BaseAccount type. It is compatible with the auth AccountKeeper.

View File

@ -3,7 +3,7 @@ package ethermint.types.v1;
import "gogoproto/gogo.proto"; import "gogoproto/gogo.proto";
option go_package = "github.com/tharsis/ethermint/types"; option go_package = "github.com/cerc-io/laconicd/types";
message ExtensionOptionsWeb3Tx { message ExtensionOptionsWeb3Tx {
option (gogoproto.goproto_getters) = false; option (gogoproto.goproto_getters) = false;

View File

@ -4,7 +4,7 @@ package vulcanize.auction.v1beta1;
import "gogoproto/gogo.proto"; import "gogoproto/gogo.proto";
import "vulcanize/auction/v1beta1/types.proto"; import "vulcanize/auction/v1beta1/types.proto";
option go_package = "github.com/tharsis/ethermint/x/auction/types"; option go_package = "github.com/cerc-io/laconicd/x/auction/types";
// GenesisState defines the genesis state of the auction module // GenesisState defines the genesis state of the auction module
message GenesisState { message GenesisState {

View File

@ -7,7 +7,7 @@ import "cosmos/base/query/v1beta1/pagination.proto";
import "cosmos/base/v1beta1/coin.proto"; import "cosmos/base/v1beta1/coin.proto";
import "vulcanize/auction/v1beta1/types.proto"; import "vulcanize/auction/v1beta1/types.proto";
option go_package = "github.com/tharsis/ethermint/x/auction/types"; option go_package = "github.com/cerc-io/laconicd/x/auction/types";
// AuctionsRequest is the format for querying all the auctions // AuctionsRequest is the format for querying all the auctions
message AuctionsRequest { message AuctionsRequest {

View File

@ -6,7 +6,7 @@ import "google/protobuf/duration.proto";
import "cosmos/base/v1beta1/coin.proto"; import "cosmos/base/v1beta1/coin.proto";
import "vulcanize/auction/v1beta1/types.proto"; import "vulcanize/auction/v1beta1/types.proto";
option go_package = "github.com/tharsis/ethermint/x/auction/types"; option go_package = "github.com/cerc-io/laconicd/x/auction/types";
// MsgCreateAuction defines a create auction message // MsgCreateAuction defines a create auction message
message MsgCreateAuction { message MsgCreateAuction {

View File

@ -6,7 +6,7 @@ import "google/protobuf/duration.proto";
import "google/protobuf/timestamp.proto"; import "google/protobuf/timestamp.proto";
import "cosmos/base/v1beta1/coin.proto"; import "cosmos/base/v1beta1/coin.proto";
option go_package = "github.com/tharsis/ethermint/x/auction/types"; option go_package = "github.com/cerc-io/laconicd/x/auction/types";
// Params defines the auction module parameters // Params defines the auction module parameters
message Params { message Params {

View File

@ -1,7 +1,7 @@
syntax = "proto3"; syntax = "proto3";
package vulcanize.bond.v1beta1; package vulcanize.bond.v1beta1;
option go_package = "github.com/tharsis/ethermint/x/bond/types"; option go_package = "github.com/cerc-io/laconicd/x/bond/types";
import "gogoproto/gogo.proto"; import "gogoproto/gogo.proto";
import "cosmos/base/v1beta1/coin.proto"; import "cosmos/base/v1beta1/coin.proto";

View File

@ -4,7 +4,7 @@ package vulcanize.bond.v1beta1;
import "gogoproto/gogo.proto"; import "gogoproto/gogo.proto";
import "vulcanize/bond/v1beta1/bond.proto"; import "vulcanize/bond/v1beta1/bond.proto";
option go_package = "github.com/tharsis/ethermint/x/bond/types"; option go_package = "github.com/cerc-io/laconicd/x/bond/types";
// GenesisState defines the bond module's genesis state. // GenesisState defines the bond module's genesis state.
message GenesisState { message GenesisState {

View File

@ -7,7 +7,7 @@ import "google/api/annotations.proto";
import "cosmos/base/query/v1beta1/pagination.proto"; import "cosmos/base/query/v1beta1/pagination.proto";
import "cosmos/base/v1beta1/coin.proto"; import "cosmos/base/v1beta1/coin.proto";
option go_package = "github.com/tharsis/ethermint/x/bond/types"; option go_package = "github.com/cerc-io/laconicd/x/bond/types";
// Query defines the gRPC querier service for bond module // Query defines the gRPC querier service for bond module
service Query { service Query {

View File

@ -1,7 +1,7 @@
syntax = "proto3"; syntax = "proto3";
package vulcanize.bond.v1beta1; package vulcanize.bond.v1beta1;
option go_package = "github.com/tharsis/ethermint/x/bond/types"; option go_package = "github.com/cerc-io/laconicd/x/bond/types";
import "gogoproto/gogo.proto"; import "gogoproto/gogo.proto";
import "cosmos/base/v1beta1/coin.proto"; import "cosmos/base/v1beta1/coin.proto";

View File

@ -4,7 +4,7 @@ package vulcanize.nameservice.v1beta1;
import "gogoproto/gogo.proto"; import "gogoproto/gogo.proto";
import "vulcanize/nameservice/v1beta1/nameservice.proto"; import "vulcanize/nameservice/v1beta1/nameservice.proto";
option go_package = "github.com/tharsis/ethermint/x/nameservice/types"; option go_package = "github.com/cerc-io/laconicd/x/nameservice/types";
// GenesisState defines the nameservice module's genesis state. // GenesisState defines the nameservice module's genesis state.
message GenesisState { message GenesisState {

View File

@ -6,7 +6,7 @@ import "google/protobuf/timestamp.proto";
import "gogoproto/gogo.proto"; import "gogoproto/gogo.proto";
import "cosmos/base/v1beta1/coin.proto"; import "cosmos/base/v1beta1/coin.proto";
option go_package = "github.com/tharsis/ethermint/x/nameservice/types"; option go_package = "github.com/cerc-io/laconicd/x/nameservice/types";
// Params defines the nameservice module parameters // Params defines the nameservice module parameters
message Params { message Params {

View File

@ -7,7 +7,7 @@ import "cosmos/base/query/v1beta1/pagination.proto";
import "gogoproto/gogo.proto"; import "gogoproto/gogo.proto";
import "cosmos/base/v1beta1/coin.proto"; import "cosmos/base/v1beta1/coin.proto";
option go_package = "github.com/tharsis/ethermint/x/nameservice/types"; option go_package = "github.com/cerc-io/laconicd/x/nameservice/types";
// Query defines the gRPC querier service for nameservice module // Query defines the gRPC querier service for nameservice module
service Query { service Query {

View File

@ -4,7 +4,7 @@ package vulcanize.nameservice.v1beta1;
import "gogoproto/gogo.proto"; import "gogoproto/gogo.proto";
import "vulcanize/nameservice/v1beta1/nameservice.proto"; import "vulcanize/nameservice/v1beta1/nameservice.proto";
option go_package = "github.com/tharsis/ethermint/x/nameservice/types"; option go_package = "github.com/cerc-io/laconicd/x/nameservice/types";
// Msg // Msg
service Msg { service Msg {

View File

@ -10,16 +10,16 @@ import (
"github.com/ethereum/go-ethereum/rpc" "github.com/ethereum/go-ethereum/rpc"
"github.com/tharsis/ethermint/rpc/ethereum/backend" "github.com/cerc-io/laconicd/rpc/ethereum/backend"
"github.com/tharsis/ethermint/rpc/ethereum/namespaces/debug" "github.com/cerc-io/laconicd/rpc/ethereum/namespaces/debug"
"github.com/tharsis/ethermint/rpc/ethereum/namespaces/eth" "github.com/cerc-io/laconicd/rpc/ethereum/namespaces/eth"
"github.com/tharsis/ethermint/rpc/ethereum/namespaces/eth/filters" "github.com/cerc-io/laconicd/rpc/ethereum/namespaces/eth/filters"
"github.com/tharsis/ethermint/rpc/ethereum/namespaces/miner" "github.com/cerc-io/laconicd/rpc/ethereum/namespaces/miner"
"github.com/tharsis/ethermint/rpc/ethereum/namespaces/net" "github.com/cerc-io/laconicd/rpc/ethereum/namespaces/net"
"github.com/tharsis/ethermint/rpc/ethereum/namespaces/personal" "github.com/cerc-io/laconicd/rpc/ethereum/namespaces/personal"
"github.com/tharsis/ethermint/rpc/ethereum/namespaces/txpool" "github.com/cerc-io/laconicd/rpc/ethereum/namespaces/txpool"
"github.com/tharsis/ethermint/rpc/ethereum/namespaces/web3" "github.com/cerc-io/laconicd/rpc/ethereum/namespaces/web3"
"github.com/tharsis/ethermint/rpc/ethereum/types" "github.com/cerc-io/laconicd/rpc/ethereum/types"
rpcclient "github.com/tendermint/tendermint/rpc/jsonrpc/client" rpcclient "github.com/tendermint/tendermint/rpc/jsonrpc/client"
) )

View File

@ -31,11 +31,11 @@ import (
"github.com/ethereum/go-ethereum/common/hexutil" "github.com/ethereum/go-ethereum/common/hexutil"
ethtypes "github.com/ethereum/go-ethereum/core/types" ethtypes "github.com/ethereum/go-ethereum/core/types"
"github.com/tharsis/ethermint/rpc/ethereum/types" "github.com/cerc-io/laconicd/rpc/ethereum/types"
"github.com/tharsis/ethermint/server/config" "github.com/cerc-io/laconicd/server/config"
ethermint "github.com/tharsis/ethermint/types" ethermint "github.com/cerc-io/laconicd/types"
evmtypes "github.com/tharsis/ethermint/x/evm/types" evmtypes "github.com/cerc-io/laconicd/x/evm/types"
feemarkettypes "github.com/tharsis/ethermint/x/feemarket/types" feemarkettypes "github.com/cerc-io/laconicd/x/feemarket/types"
) )
// Backend implements the functionality shared within namespaces. // Backend implements the functionality shared within namespaces.

View File

@ -5,11 +5,11 @@ import (
"math/big" "math/big"
"sort" "sort"
rpctypes "github.com/cerc-io/laconicd/rpc/ethereum/types"
evmtypes "github.com/cerc-io/laconicd/x/evm/types"
"github.com/ethereum/go-ethereum/common/hexutil" "github.com/ethereum/go-ethereum/common/hexutil"
"github.com/ethereum/go-ethereum/rpc" "github.com/ethereum/go-ethereum/rpc"
tmrpctypes "github.com/tendermint/tendermint/rpc/coretypes" tmrpctypes "github.com/tendermint/tendermint/rpc/coretypes"
rpctypes "github.com/tharsis/ethermint/rpc/ethereum/types"
evmtypes "github.com/tharsis/ethermint/x/evm/types"
) )
type ( type (

View File

@ -14,9 +14,9 @@ import (
abci "github.com/tendermint/tendermint/abci/types" abci "github.com/tendermint/tendermint/abci/types"
"github.com/tendermint/tendermint/libs/log" "github.com/tendermint/tendermint/libs/log"
"github.com/cerc-io/laconicd/rpc/ethereum/types"
evmtypes "github.com/cerc-io/laconicd/x/evm/types"
"github.com/ethereum/go-ethereum/common/hexutil" "github.com/ethereum/go-ethereum/common/hexutil"
"github.com/tharsis/ethermint/rpc/ethereum/types"
evmtypes "github.com/tharsis/ethermint/x/evm/types"
) )
// SetTxDefaults populates tx message with default values in case they are not // SetTxDefaults populates tx message with default values in case they are not

View File

@ -16,20 +16,20 @@ import (
"github.com/davecgh/go-spew/spew" "github.com/davecgh/go-spew/spew"
tmrpctypes "github.com/tendermint/tendermint/rpc/coretypes" tmrpctypes "github.com/tendermint/tendermint/rpc/coretypes"
evmtypes "github.com/tharsis/ethermint/x/evm/types" evmtypes "github.com/cerc-io/laconicd/x/evm/types"
"github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client"
stderrors "github.com/pkg/errors" stderrors "github.com/pkg/errors"
"github.com/cosmos/cosmos-sdk/server" "github.com/cosmos/cosmos-sdk/server"
"github.com/cerc-io/laconicd/rpc/ethereum/backend"
rpctypes "github.com/cerc-io/laconicd/rpc/ethereum/types"
"github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/common/hexutil" "github.com/ethereum/go-ethereum/common/hexutil"
"github.com/ethereum/go-ethereum/consensus/ethash" "github.com/ethereum/go-ethereum/consensus/ethash"
"github.com/ethereum/go-ethereum/rlp" "github.com/ethereum/go-ethereum/rlp"
"github.com/tendermint/tendermint/libs/log" "github.com/tendermint/tendermint/libs/log"
"github.com/tharsis/ethermint/rpc/ethereum/backend"
rpctypes "github.com/tharsis/ethermint/rpc/ethereum/types"
) )
// HandlerT keeps track of the cpu profiler and trace execution // HandlerT keeps track of the cpu profiler and trace execution

View File

@ -7,7 +7,7 @@ import (
"math" "math"
"math/big" "math/big"
"github.com/tharsis/ethermint/ethereum/eip712" "github.com/cerc-io/laconicd/ethereum/eip712"
"github.com/ethereum/go-ethereum/signer/core/apitypes" "github.com/ethereum/go-ethereum/signer/core/apitypes"
@ -35,11 +35,11 @@ import (
ethtypes "github.com/ethereum/go-ethereum/core/types" ethtypes "github.com/ethereum/go-ethereum/core/types"
"github.com/ethereum/go-ethereum/crypto" "github.com/ethereum/go-ethereum/crypto"
"github.com/tharsis/ethermint/crypto/hd" "github.com/cerc-io/laconicd/crypto/hd"
"github.com/tharsis/ethermint/rpc/ethereum/backend" "github.com/cerc-io/laconicd/rpc/ethereum/backend"
rpctypes "github.com/tharsis/ethermint/rpc/ethereum/types" rpctypes "github.com/cerc-io/laconicd/rpc/ethereum/types"
ethermint "github.com/tharsis/ethermint/types" ethermint "github.com/cerc-io/laconicd/types"
evmtypes "github.com/tharsis/ethermint/x/evm/types" evmtypes "github.com/cerc-io/laconicd/x/evm/types"
) )
// PublicAPI is the eth_ prefixed set of APIs in the Web3 JSON-RPC spec. // PublicAPI is the eth_ prefixed set of APIs in the Web3 JSON-RPC spec.
@ -609,7 +609,7 @@ func (e *PublicAPI) Resend(ctx context.Context, args evmtypes.TransactionArgs, g
} }
for _, tx := range pending { for _, tx := range pending {
// FIXME does Resend api possible at all? https://github.com/tharsis/ethermint/issues/905 // FIXME does Resend api possible at all? https://github.com/cerc-io/laconicd/issues/905
p, err := evmtypes.UnwrapEthereumMsg(tx, common.Hash{}) p, err := evmtypes.UnwrapEthereumMsg(tx, common.Hash{})
if err != nil { if err != nil {
// not valid ethereum tx // not valid ethereum tx

View File

@ -6,8 +6,8 @@ import (
"sync" "sync"
"time" "time"
"github.com/cerc-io/laconicd/rpc/ethereum/types"
"github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client"
"github.com/tharsis/ethermint/rpc/ethereum/types"
"github.com/tendermint/tendermint/libs/log" "github.com/tendermint/tendermint/libs/log"
@ -20,7 +20,7 @@ import (
"github.com/ethereum/go-ethereum/eth/filters" "github.com/ethereum/go-ethereum/eth/filters"
"github.com/ethereum/go-ethereum/rpc" "github.com/ethereum/go-ethereum/rpc"
evmtypes "github.com/tharsis/ethermint/x/evm/types" evmtypes "github.com/cerc-io/laconicd/x/evm/types"
) )
// Backend defines the methods requided by the PublicFilterAPI backend // Backend defines the methods requided by the PublicFilterAPI backend

View File

@ -22,8 +22,8 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types" sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/tharsis/ethermint/rpc/ethereum/pubsub" "github.com/cerc-io/laconicd/rpc/ethereum/pubsub"
evmtypes "github.com/tharsis/ethermint/x/evm/types" evmtypes "github.com/cerc-io/laconicd/x/evm/types"
) )
var ( var (

View File

@ -5,7 +5,7 @@ import (
"encoding/binary" "encoding/binary"
"math/big" "math/big"
"github.com/tharsis/ethermint/rpc/ethereum/types" "github.com/cerc-io/laconicd/rpc/ethereum/types"
"github.com/pkg/errors" "github.com/pkg/errors"
"github.com/tendermint/tendermint/libs/log" "github.com/tendermint/tendermint/libs/log"

View File

@ -21,9 +21,9 @@ import (
"github.com/tendermint/tendermint/libs/log" "github.com/tendermint/tendermint/libs/log"
tmtypes "github.com/tendermint/tendermint/types" tmtypes "github.com/tendermint/tendermint/types"
"github.com/tharsis/ethermint/rpc/ethereum/backend" "github.com/cerc-io/laconicd/rpc/ethereum/backend"
rpctypes "github.com/tharsis/ethermint/rpc/ethereum/types" rpctypes "github.com/cerc-io/laconicd/rpc/ethereum/types"
"github.com/tharsis/ethermint/server/config" "github.com/cerc-io/laconicd/server/config"
) )
// API is the private miner prefixed set of APIs in the Miner JSON-RPC spec. // API is the private miner prefixed set of APIs in the Miner JSON-RPC spec.

View File

@ -4,9 +4,9 @@ import (
"context" "context"
"fmt" "fmt"
ethermint "github.com/cerc-io/laconicd/types"
"github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client"
rpcclient "github.com/tendermint/tendermint/rpc/client" rpcclient "github.com/tendermint/tendermint/rpc/client"
ethermint "github.com/tharsis/ethermint/types"
) )
// PublicAPI is the eth_ prefixed set of APIs in the Web3 JSON-RPC spec. // PublicAPI is the eth_ prefixed set of APIs in the Web3 JSON-RPC spec.

View File

@ -6,12 +6,12 @@ import (
"os" "os"
"time" "time"
"github.com/tharsis/ethermint/rpc/ethereum/backend" "github.com/cerc-io/laconicd/rpc/ethereum/backend"
"github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client"
"github.com/tharsis/ethermint/crypto/hd" "github.com/cerc-io/laconicd/crypto/hd"
ethermint "github.com/tharsis/ethermint/types" ethermint "github.com/cerc-io/laconicd/types"
"github.com/tendermint/tendermint/libs/log" "github.com/tendermint/tendermint/libs/log"
@ -24,8 +24,8 @@ import (
"github.com/ethereum/go-ethereum/common/hexutil" "github.com/ethereum/go-ethereum/common/hexutil"
"github.com/ethereum/go-ethereum/crypto" "github.com/ethereum/go-ethereum/crypto"
"github.com/tharsis/ethermint/crypto/ethsecp256k1" "github.com/cerc-io/laconicd/crypto/ethsecp256k1"
evmtypes "github.com/tharsis/ethermint/x/evm/types" evmtypes "github.com/cerc-io/laconicd/x/evm/types"
) )
// PrivateAccountAPI is the personal_ prefixed set of APIs in the Web3 JSON-RPC spec. // PrivateAccountAPI is the personal_ prefixed set of APIs in the Web3 JSON-RPC spec.

View File

@ -5,11 +5,11 @@ import (
"github.com/ethereum/go-ethereum/common/hexutil" "github.com/ethereum/go-ethereum/common/hexutil"
"github.com/tharsis/ethermint/rpc/ethereum/types" "github.com/cerc-io/laconicd/rpc/ethereum/types"
) )
// PublicAPI offers and API for the transaction pool. It only operates on data that is non-confidential. // PublicAPI offers and API for the transaction pool. It only operates on data that is non-confidential.
// NOTE: For more info about the current status of this endpoints see https://github.com/tharsis/ethermint/issues/124 // NOTE: For more info about the current status of this endpoints see https://github.com/cerc-io/laconicd/issues/124
type PublicAPI struct { type PublicAPI struct {
logger log.Logger logger log.Logger
} }

View File

@ -1,7 +1,7 @@
package web3 package web3
import ( import (
"github.com/tharsis/ethermint/version" "github.com/cerc-io/laconicd/version"
"github.com/ethereum/go-ethereum/common/hexutil" "github.com/ethereum/go-ethereum/common/hexutil"
"github.com/ethereum/go-ethereum/crypto" "github.com/ethereum/go-ethereum/crypto"

View File

@ -17,7 +17,7 @@ import (
grpctypes "github.com/cosmos/cosmos-sdk/types/grpc" grpctypes "github.com/cosmos/cosmos-sdk/types/grpc"
ethermint "github.com/tharsis/ethermint/types" ethermint "github.com/cerc-io/laconicd/types"
) )
// BlockNumber represents decoding hex string to block values // BlockNumber represents decoding hex string to block values

View File

@ -10,8 +10,8 @@ import (
"github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client"
evmtypes "github.com/tharsis/ethermint/x/evm/types" evmtypes "github.com/cerc-io/laconicd/x/evm/types"
feemarkettypes "github.com/tharsis/ethermint/x/feemarket/types" feemarkettypes "github.com/cerc-io/laconicd/x/feemarket/types"
) )
// QueryClient defines a gRPC Client used for: // QueryClient defines a gRPC Client used for:

View File

@ -14,8 +14,8 @@ import (
"github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client"
sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"
evmtypes "github.com/tharsis/ethermint/x/evm/types" evmtypes "github.com/cerc-io/laconicd/x/evm/types"
feemarkettypes "github.com/tharsis/ethermint/x/feemarket/types" feemarkettypes "github.com/cerc-io/laconicd/x/feemarket/types"
"github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/common/hexutil" "github.com/ethereum/go-ethereum/common/hexutil"

View File

@ -26,11 +26,11 @@ import (
rpcclient "github.com/tendermint/tendermint/rpc/jsonrpc/client" rpcclient "github.com/tendermint/tendermint/rpc/jsonrpc/client"
tmtypes "github.com/tendermint/tendermint/types" tmtypes "github.com/tendermint/tendermint/types"
rpcfilters "github.com/tharsis/ethermint/rpc/ethereum/namespaces/eth/filters" rpcfilters "github.com/cerc-io/laconicd/rpc/ethereum/namespaces/eth/filters"
"github.com/tharsis/ethermint/rpc/ethereum/pubsub" "github.com/cerc-io/laconicd/rpc/ethereum/pubsub"
"github.com/tharsis/ethermint/rpc/ethereum/types" "github.com/cerc-io/laconicd/rpc/ethereum/types"
"github.com/tharsis/ethermint/server/config" "github.com/cerc-io/laconicd/server/config"
evmtypes "github.com/tharsis/ethermint/x/evm/types" evmtypes "github.com/cerc-io/laconicd/x/evm/types"
) )
type WebsocketsServer interface { type WebsocketsServer interface {

View File

@ -40,5 +40,5 @@ $(find "$(pwd)/proto" -maxdepth 5 -name '*.proto')
# go mod tidy # go mod tidy
# move proto files to the right places # move proto files to the right places
cp -r github.com/tharsis/ethermint/* ./ cp -r github.com/cerc-io/laconicd/* ./
rm -rf github.com rm -rf github.com

View File

@ -7,14 +7,14 @@ import (
"github.com/gorilla/mux" "github.com/gorilla/mux"
"github.com/rs/cors" "github.com/rs/cors"
"github.com/cerc-io/laconicd/rpc"
"github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client"
"github.com/cosmos/cosmos-sdk/server" "github.com/cosmos/cosmos-sdk/server"
"github.com/cosmos/cosmos-sdk/server/types" "github.com/cosmos/cosmos-sdk/server/types"
ethlog "github.com/ethereum/go-ethereum/log" ethlog "github.com/ethereum/go-ethereum/log"
ethrpc "github.com/ethereum/go-ethereum/rpc" ethrpc "github.com/ethereum/go-ethereum/rpc"
"github.com/tharsis/ethermint/rpc"
"github.com/tharsis/ethermint/server/config" "github.com/cerc-io/laconicd/server/config"
) )
// StartJSONRPC starts the JSON-RPC server // StartJSONRPC starts the JSON-RPC server

View File

@ -37,11 +37,11 @@ import (
"github.com/tendermint/tendermint/rpc/client/local" "github.com/tendermint/tendermint/rpc/client/local"
tmtypes "github.com/tendermint/tendermint/types" tmtypes "github.com/tendermint/tendermint/types"
"github.com/cerc-io/laconicd/gql"
ethdebug "github.com/cerc-io/laconicd/rpc/ethereum/namespaces/debug"
"github.com/cerc-io/laconicd/server/config"
srvflags "github.com/cerc-io/laconicd/server/flags"
pruningtypes "github.com/cosmos/cosmos-sdk/pruning/types" pruningtypes "github.com/cosmos/cosmos-sdk/pruning/types"
"github.com/tharsis/ethermint/gql"
ethdebug "github.com/tharsis/ethermint/rpc/ethereum/namespaces/debug"
"github.com/tharsis/ethermint/server/config"
srvflags "github.com/tharsis/ethermint/server/flags"
) )
const ( const (

View File

@ -8,7 +8,7 @@ import (
"testing" "testing"
"cosmossdk.io/math" "cosmossdk.io/math"
evmtypes "github.com/tharsis/ethermint/x/evm/types" evmtypes "github.com/cerc-io/laconicd/x/evm/types"
// . "github.com/onsi/ginkgo" // . "github.com/onsi/ginkgo"
// . "github.com/onsi/gomega" // . "github.com/onsi/gomega"
@ -23,9 +23,9 @@ import (
"github.com/ethereum/go-ethereum/ethclient/gethclient" "github.com/ethereum/go-ethereum/ethclient/gethclient"
"github.com/ethereum/go-ethereum/rpc" "github.com/ethereum/go-ethereum/rpc"
"github.com/tharsis/ethermint/server/config" "github.com/cerc-io/laconicd/server/config"
"github.com/tharsis/ethermint/testutil/network" "github.com/cerc-io/laconicd/testutil/network"
ethermint "github.com/tharsis/ethermint/types" ethermint "github.com/cerc-io/laconicd/types"
) )
// var _ = Describe("E2e", func() { // var _ = Describe("E2e", func() {

View File

@ -9,15 +9,15 @@ import (
"testing" "testing"
"time" "time"
"github.com/tharsis/ethermint/app" "github.com/cerc-io/laconicd/app"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
"github.com/stretchr/testify/suite" "github.com/stretchr/testify/suite"
sdk "github.com/cosmos/cosmos-sdk/types" sdk "github.com/cosmos/cosmos-sdk/types"
evmkeeper "github.com/tharsis/ethermint/x/evm/keeper" evmkeeper "github.com/cerc-io/laconicd/x/evm/keeper"
"github.com/tharsis/ethermint/x/evm/statedb" "github.com/cerc-io/laconicd/x/evm/statedb"
"github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/consensus/ethash" "github.com/ethereum/go-ethereum/consensus/ethash"
@ -28,12 +28,12 @@ import (
ethparams "github.com/ethereum/go-ethereum/params" ethparams "github.com/ethereum/go-ethereum/params"
ethrlp "github.com/ethereum/go-ethereum/rlp" ethrlp "github.com/ethereum/go-ethereum/rlp"
"github.com/cerc-io/laconicd/crypto/ethsecp256k1"
"github.com/tendermint/tendermint/abci/types" "github.com/tendermint/tendermint/abci/types"
"github.com/tendermint/tendermint/crypto/tmhash" "github.com/tendermint/tendermint/crypto/tmhash"
tmproto "github.com/tendermint/tendermint/proto/tendermint/types" tmproto "github.com/tendermint/tendermint/proto/tendermint/types"
tmversion "github.com/tendermint/tendermint/proto/tendermint/version" tmversion "github.com/tendermint/tendermint/proto/tendermint/version"
"github.com/tendermint/tendermint/version" "github.com/tendermint/tendermint/version"
"github.com/tharsis/ethermint/crypto/ethsecp256k1"
) )
var ( var (

View File

@ -15,7 +15,7 @@ import (
"github.com/ethereum/go-ethereum/common/hexutil" "github.com/ethereum/go-ethereum/common/hexutil"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
rpctypes "github.com/tharsis/ethermint/rpc/ethereum/types" rpctypes "github.com/cerc-io/laconicd/rpc/ethereum/types"
) )
// func TestMain(m *testing.M) { // func TestMain(m *testing.M) {

View File

@ -17,9 +17,9 @@ import (
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
rpctypes "github.com/tharsis/ethermint/rpc/ethereum/types" rpctypes "github.com/cerc-io/laconicd/rpc/ethereum/types"
ethermint "github.com/tharsis/ethermint/types" ethermint "github.com/cerc-io/laconicd/types"
evmtypes "github.com/tharsis/ethermint/x/evm/types" evmtypes "github.com/cerc-io/laconicd/x/evm/types"
"github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/common/hexutil" "github.com/ethereum/go-ethereum/common/hexutil"

View File

@ -10,7 +10,7 @@ import (
cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types"
sdk "github.com/cosmos/cosmos-sdk/types" sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/tharsis/ethermint/crypto/ethsecp256k1" "github.com/cerc-io/laconicd/crypto/ethsecp256k1"
) )
// NewAddrKey generates an Ethereum address and its corresponding private key. // NewAddrKey generates an Ethereum address and its corresponding private key.

View File

@ -48,13 +48,13 @@ import (
"github.com/cosmos/cosmos-sdk/x/genutil" "github.com/cosmos/cosmos-sdk/x/genutil"
stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"
"github.com/tharsis/ethermint/crypto/hd" "github.com/cerc-io/laconicd/crypto/hd"
"github.com/tharsis/ethermint/encoding" "github.com/cerc-io/laconicd/encoding"
"github.com/tharsis/ethermint/server/config" "github.com/cerc-io/laconicd/server/config"
ethermint "github.com/tharsis/ethermint/types" ethermint "github.com/cerc-io/laconicd/types"
evmtypes "github.com/tharsis/ethermint/x/evm/types" evmtypes "github.com/cerc-io/laconicd/x/evm/types"
"github.com/tharsis/ethermint/app" "github.com/cerc-io/laconicd/app"
) )
// package-wide network lock to only allow one test network at a time // package-wide network lock to only allow one test network at a time

View File

@ -9,7 +9,7 @@ import (
"github.com/stretchr/testify/suite" "github.com/stretchr/testify/suite"
"github.com/tharsis/ethermint/testutil/network" "github.com/cerc-io/laconicd/testutil/network"
) )
type IntegrationTestSuite struct { type IntegrationTestSuite struct {

View File

@ -15,6 +15,8 @@ import (
"github.com/tendermint/tendermint/rpc/client/local" "github.com/tendermint/tendermint/rpc/client/local"
"github.com/tendermint/tendermint/types" "github.com/tendermint/tendermint/types"
"github.com/cerc-io/laconicd/server"
evmtypes "github.com/cerc-io/laconicd/x/evm/types"
"github.com/cosmos/cosmos-sdk/server/api" "github.com/cosmos/cosmos-sdk/server/api"
servergrpc "github.com/cosmos/cosmos-sdk/server/grpc" servergrpc "github.com/cosmos/cosmos-sdk/server/grpc"
srvtypes "github.com/cosmos/cosmos-sdk/server/types" srvtypes "github.com/cosmos/cosmos-sdk/server/types"
@ -27,8 +29,6 @@ import (
v1 "github.com/cosmos/cosmos-sdk/x/gov/types/v1" v1 "github.com/cosmos/cosmos-sdk/x/gov/types/v1"
mintypes "github.com/cosmos/cosmos-sdk/x/mint/types" mintypes "github.com/cosmos/cosmos-sdk/x/mint/types"
stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"
"github.com/tharsis/ethermint/server"
evmtypes "github.com/tharsis/ethermint/x/evm/types"
) )
func startInProcess(cfg Config, val *Validator) error { func startInProcess(cfg Config, val *Validator) error {

View File

@ -12,10 +12,10 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types" sdk "github.com/cosmos/cosmos-sdk/types"
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
cryptocodec "github.com/tharsis/ethermint/crypto/codec" cryptocodec "github.com/cerc-io/laconicd/crypto/codec"
"github.com/tharsis/ethermint/crypto/ethsecp256k1" "github.com/cerc-io/laconicd/crypto/ethsecp256k1"
ethermintcodec "github.com/tharsis/ethermint/encoding/codec" ethermintcodec "github.com/cerc-io/laconicd/encoding/codec"
"github.com/tharsis/ethermint/types" "github.com/cerc-io/laconicd/types"
) )
func init() { func init() {

View File

@ -3,9 +3,9 @@ package types
import ( import (
"testing" "testing"
"github.com/cerc-io/laconicd/tests"
"github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/common"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
"github.com/tharsis/ethermint/tests"
) )
func TestIsEmptyHash(t *testing.T) { func TestIsEmptyHash(t *testing.T) {

View File

@ -1,9 +1,9 @@
package auction package auction
import ( import (
"github.com/cerc-io/laconicd/x/auction/keeper"
sdk "github.com/cosmos/cosmos-sdk/types" sdk "github.com/cosmos/cosmos-sdk/types"
abci "github.com/tendermint/tendermint/abci/types" abci "github.com/tendermint/tendermint/abci/types"
"github.com/tharsis/ethermint/x/auction/keeper"
) )
// EndBlocker is called every block, returns updated validator set. // EndBlocker is called every block, returns updated validator set.

View File

@ -10,7 +10,7 @@ import (
"github.com/spf13/cobra" "github.com/spf13/cobra"
"github.com/tharsis/ethermint/x/auction/types" "github.com/cerc-io/laconicd/x/auction/types"
) )
func GetQueryCmd() *cobra.Command { func GetQueryCmd() *cobra.Command {

View File

@ -14,9 +14,9 @@ import (
"github.com/spf13/cobra" "github.com/spf13/cobra"
"github.com/spf13/viper" "github.com/spf13/viper"
"github.com/tharsis/ethermint/x/auction/types" "github.com/cerc-io/laconicd/x/auction/types"
wnsUtils "github.com/tharsis/ethermint/utils" wnsUtils "github.com/cerc-io/laconicd/utils"
) )
// GetTxCmd returns transaction commands for this module. // GetTxCmd returns transaction commands for this module.

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