Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions .github/workflows/go-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,12 @@ jobs:
modules:
- name: sei-chain
path: ./
tags: ledger test_ledger_mock
- name: sei-cosmos
path: ./sei-cosmos
tags: ledger test_ledger_mock
- name: sei-tendermint
path: ./sei-tendermint
- name: sei-wasmd
path: ./sei-wasmd
tags: ledger test_ledger_mock
steps:
- uses: actions/checkout@v5
- uses: actions/setup-go@v6
Expand Down
6 changes: 3 additions & 3 deletions app/ante.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
package app

import (
wasm "github.com/CosmWasm/wasmd/x/wasm"
wasmkeeper "github.com/CosmWasm/wasmd/x/wasm/keeper"
wasmtypes "github.com/CosmWasm/wasmd/x/wasm/types"
sdk "github.com/cosmos/cosmos-sdk/types"
sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"
"github.com/cosmos/cosmos-sdk/utils/tracing"
Expand All @@ -13,6 +10,9 @@ import (
"github.com/sei-protocol/sei-chain/app/antedecorators"
ibcante "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/ante"
ibckeeper "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/keeper"
wasm "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm"
wasmkeeper "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm/keeper"
wasmtypes "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm/types"
evmante "github.com/sei-protocol/sei-chain/x/evm/ante"
evmkeeper "github.com/sei-protocol/sei-chain/x/evm/keeper"
"github.com/sei-protocol/sei-chain/x/oracle"
Expand Down
2 changes: 1 addition & 1 deletion app/ante_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ import (
"math/big"
"testing"

wasmtypes "github.com/CosmWasm/wasmd/x/wasm/types"
"github.com/cosmos/cosmos-sdk/client"
"github.com/cosmos/cosmos-sdk/client/tx"
cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types"
"github.com/cosmos/cosmos-sdk/testutil/testdata"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/cosmos-sdk/types/tx/signing"
wasmtypes "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm/types"

"github.com/cosmos/cosmos-sdk/utils/tracing"
"github.com/cosmos/cosmos-sdk/x/auth/ante"
Expand Down
2 changes: 1 addition & 1 deletion app/antedecorators/gas_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ package antedecorators_test
import (
"testing"

wasmtypes "github.com/CosmWasm/wasmd/x/wasm/types"
sdk "github.com/cosmos/cosmos-sdk/types"
paramtypes "github.com/cosmos/cosmos-sdk/x/params/types"
"github.com/sei-protocol/sei-chain/app"
"github.com/sei-protocol/sei-chain/app/antedecorators"
wasmtypes "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm/types"
"github.com/stretchr/testify/require"
"github.com/tendermint/tendermint/proto/tendermint/types"
)
Expand Down
2 changes: 1 addition & 1 deletion app/antedecorators/priority_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ import (

"github.com/stretchr/testify/require"

wasmkeeper "github.com/CosmWasm/wasmd/x/wasm/keeper"
sdk "github.com/cosmos/cosmos-sdk/types"
authante "github.com/cosmos/cosmos-sdk/x/auth/ante"
banktypes "github.com/cosmos/cosmos-sdk/x/bank/types"
paramtypes "github.com/cosmos/cosmos-sdk/x/params/types"
"github.com/sei-protocol/sei-chain/app"
"github.com/sei-protocol/sei-chain/app/antedecorators"
wasmkeeper "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm/keeper"
minttypes "github.com/sei-protocol/sei-chain/x/mint/types"
"github.com/sei-protocol/sei-chain/x/oracle"
oracletypes "github.com/sei-protocol/sei-chain/x/oracle/types"
Expand Down
8 changes: 4 additions & 4 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ import (
"sync"
"time"

wasmkeeper "github.com/CosmWasm/wasmd/x/wasm/keeper"
"github.com/cosmos/cosmos-sdk/baseapp"
"github.com/cosmos/cosmos-sdk/client"
"github.com/cosmos/cosmos-sdk/client/grpc/tmservice"
Expand Down Expand Up @@ -110,6 +109,7 @@ import (
ibcporttypes "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/05-port/types"
ibchost "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/24-host"
ibckeeper "github.com/sei-protocol/sei-chain/sei-ibc-go/modules/core/keeper"
wasmkeeper "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm/keeper"
"github.com/sei-protocol/sei-chain/utils"
"github.com/sei-protocol/sei-chain/utils/metrics"
"github.com/sei-protocol/sei-chain/wasmbinding"
Expand Down Expand Up @@ -145,9 +145,9 @@ import (

// this line is used by starport scaffolding # stargate/app/moduleImport

"github.com/CosmWasm/wasmd/x/wasm"
wasmclient "github.com/CosmWasm/wasmd/x/wasm/client"
wasmtypes "github.com/CosmWasm/wasmd/x/wasm/types"
"github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm"
wasmclient "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm/client"
wasmtypes "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm/types"

// unnamed import of statik for openapi/swagger UI support
_ "github.com/sei-protocol/sei-chain/docs/swagger"
Expand Down
2 changes: 1 addition & 1 deletion app/precompiles.go
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
package app

import (
wasmkeeper "github.com/CosmWasm/wasmd/x/wasm/keeper"
"github.com/cosmos/cosmos-sdk/client"
bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper"
govkeeper "github.com/cosmos/cosmos-sdk/x/gov/keeper"
stakingkeeper "github.com/cosmos/cosmos-sdk/x/staking/keeper"
putils "github.com/sei-protocol/sei-chain/precompiles/utils"
wasmkeeper "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm/keeper"
)

type PrecompileKeepers struct {
Expand Down
2 changes: 1 addition & 1 deletion app/receipt.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ import (
"math/big"
"strings"

wasmtypes "github.com/CosmWasm/wasmd/x/wasm/types"
sdk "github.com/cosmos/cosmos-sdk/types"
authsigning "github.com/cosmos/cosmos-sdk/x/auth/signing"
"github.com/ethereum/go-ethereum/common"
ethtypes "github.com/ethereum/go-ethereum/core/types"
wasmtypes "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm/types"
"github.com/sei-protocol/sei-chain/utils"
"github.com/sei-protocol/sei-chain/x/evm/artifacts/cw1155"
evmkeeper "github.com/sei-protocol/sei-chain/x/evm/keeper"
Expand Down
2 changes: 1 addition & 1 deletion app/receipt_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import (
"testing"
"time"

wasmtypes "github.com/CosmWasm/wasmd/x/wasm/types"
"github.com/cosmos/cosmos-sdk/client"
clienttx "github.com/cosmos/cosmos-sdk/client/tx"
cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types"
Expand All @@ -24,6 +23,7 @@ import (
"github.com/ethereum/go-ethereum/crypto"
pcommon "github.com/sei-protocol/sei-chain/precompiles/common"
"github.com/sei-protocol/sei-chain/precompiles/wasmd"
wasmtypes "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm/types"
testkeeper "github.com/sei-protocol/sei-chain/testutil/keeper"
"github.com/sei-protocol/sei-chain/x/evm/artifacts/cw1155"
evmtypes "github.com/sei-protocol/sei-chain/x/evm/types"
Expand Down
4 changes: 2 additions & 2 deletions app/test_helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ import (
"testing"
"time"

"github.com/CosmWasm/wasmd/x/wasm"
wasmkeeper "github.com/CosmWasm/wasmd/x/wasm/keeper"
"github.com/cosmos/cosmos-sdk/client"
slashingtypes "github.com/cosmos/cosmos-sdk/x/slashing/types"
"github.com/cosmos/cosmos-sdk/x/staking"
ssconfig "github.com/sei-protocol/sei-chain/sei-db/config"
"github.com/sei-protocol/sei-chain/sei-db/ss"
seidbtypes "github.com/sei-protocol/sei-chain/sei-db/ss/types"
"github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm"
wasmkeeper "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm/keeper"
"github.com/stretchr/testify/suite"
"github.com/tendermint/tendermint/config"

Expand Down
4 changes: 2 additions & 2 deletions app/upgrades/v0/upgrade.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ package v0
import (
"fmt"

"github.com/CosmWasm/wasmd/x/wasm"
wasmkeeper "github.com/CosmWasm/wasmd/x/wasm/keeper"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/sei-protocol/sei-chain/app/upgrades"
"github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm"
wasmkeeper "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm/keeper"
)

const (
Expand Down
4 changes: 2 additions & 2 deletions cmd/seid/cmd/blocktest.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import (
"path/filepath"
"strings"

"github.com/CosmWasm/wasmd/x/wasm"
wasmkeeper "github.com/CosmWasm/wasmd/x/wasm/keeper"
"github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm"
wasmkeeper "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm/keeper"
"github.com/spf13/cast"
"github.com/spf13/cobra"

Expand Down
4 changes: 2 additions & 2 deletions cmd/seid/cmd/ethreplay.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
"os"
"path/filepath"

"github.com/CosmWasm/wasmd/x/wasm"
wasmkeeper "github.com/CosmWasm/wasmd/x/wasm/keeper"
"github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm"
wasmkeeper "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm/keeper"
"github.com/spf13/cast"
"github.com/spf13/cobra"

Expand Down
2 changes: 1 addition & 1 deletion cmd/seid/cmd/genwasm.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"github.com/cosmos/cosmos-sdk/client"
"github.com/spf13/cobra"

wasmcli "github.com/CosmWasm/wasmd/x/wasm/client/cli"
wasmcli "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm/client/cli"
)

func AddGenesisWasmMsgCmd(defaultNodeHome string) *cobra.Command {
Expand Down
4 changes: 2 additions & 2 deletions cmd/seid/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ import (
"path/filepath"
"time"

"github.com/CosmWasm/wasmd/x/wasm"
wasmkeeper "github.com/CosmWasm/wasmd/x/wasm/keeper"
"github.com/cosmos/cosmos-sdk/baseapp"
"github.com/cosmos/cosmos-sdk/client"
"github.com/cosmos/cosmos-sdk/client/config"
Expand All @@ -37,6 +35,8 @@ import (
"github.com/sei-protocol/sei-chain/app/params"
evmrpcconfig "github.com/sei-protocol/sei-chain/evmrpc/config"
seidbconfig "github.com/sei-protocol/sei-chain/sei-db/config"
"github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm"
wasmkeeper "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm/keeper"
"github.com/sei-protocol/sei-chain/tools"
"github.com/sei-protocol/sei-chain/tools/migration/ss"
"github.com/spf13/cast"
Expand Down
2 changes: 1 addition & 1 deletion cmd/seid/cmd/snapshot.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ import (
"os"
"path/filepath"

"github.com/CosmWasm/wasmd/x/wasm"
"github.com/cosmos/cosmos-sdk/baseapp"
"github.com/cosmos/cosmos-sdk/client/flags"
"github.com/cosmos/cosmos-sdk/server"
"github.com/cosmos/cosmos-sdk/snapshots"
storetypes "github.com/cosmos/cosmos-sdk/store/types"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm"
"github.com/spf13/cast"
"github.com/spf13/cobra"
"github.com/tendermint/tendermint/libs/log"
Expand Down
7 changes: 0 additions & 7 deletions codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ coverage:
paths:
- "!sei-cosmos/**"
- "!sei-tendermint/**"
- "!sei-wasmd/**"
flags:
- sei-chain
sei-cosmos:
Expand All @@ -26,12 +25,6 @@ coverage:
- "sei-tendermint/**"
flags:
- sei-tendermint
sei-wasmd:
target: 40%
paths:
- "sei-wasmd/**"
flags:
- sei-wasmd
patch:
default:
target: 70%
Expand Down
2 changes: 1 addition & 1 deletion evmrpc/block.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import (
"sync"
"time"

wasmtypes "github.com/CosmWasm/wasmd/x/wasm/types"
"github.com/cosmos/cosmos-sdk/client"
sdk "github.com/cosmos/cosmos-sdk/types"
banktypes "github.com/cosmos/cosmos-sdk/x/bank/types"
Expand All @@ -20,6 +19,7 @@ import (
ethtypes "github.com/ethereum/go-ethereum/core/types"
"github.com/ethereum/go-ethereum/export"
"github.com/ethereum/go-ethereum/rpc"
wasmtypes "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm/types"
"github.com/sei-protocol/sei-chain/x/evm/keeper"
"github.com/sei-protocol/sei-chain/x/evm/state"
"github.com/sei-protocol/sei-chain/x/evm/types"
Expand Down
2 changes: 1 addition & 1 deletion evmrpc/block_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"testing"
"time"

wasmtypes "github.com/CosmWasm/wasmd/x/wasm/types"
wasmtypes "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm/types"
types2 "github.com/tendermint/tendermint/proto/tendermint/types"

"github.com/cosmos/cosmos-sdk/client"
Expand Down
2 changes: 1 addition & 1 deletion evmrpc/tests/mock_state.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ import (
"os"
"strconv"

wasmtypes "github.com/CosmWasm/wasmd/x/wasm/types"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/sei-protocol/sei-chain/app"
"github.com/sei-protocol/sei-chain/evmrpc"
wasmtypes "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm/types"
"github.com/sei-protocol/sei-chain/x/evm/types"
"github.com/tendermint/tendermint/rpc/coretypes"
)
Expand Down
2 changes: 1 addition & 1 deletion evmrpc/tests/tx.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import (
"os"
"strings"

wasmtypes "github.com/CosmWasm/wasmd/x/wasm/types"
sdk "github.com/cosmos/cosmos-sdk/types"
banktypes "github.com/cosmos/cosmos-sdk/x/bank/types"
"github.com/ethereum/go-ethereum/accounts/abi"
Expand All @@ -17,6 +16,7 @@ import (
"github.com/sei-protocol/sei-chain/precompiles/json"
"github.com/sei-protocol/sei-chain/precompiles/pointer"
"github.com/sei-protocol/sei-chain/precompiles/wasmd"
wasmtypes "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm/types"
testkeeper "github.com/sei-protocol/sei-chain/testutil/keeper"
)

Expand Down
2 changes: 1 addition & 1 deletion evmrpc/tx.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import (
"sync"
"time"

wasmtypes "github.com/CosmWasm/wasmd/x/wasm/types"
"github.com/cosmos/cosmos-sdk/client"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/ethereum/go-ethereum/accounts"
Expand All @@ -22,6 +21,7 @@ import (
"github.com/ethereum/go-ethereum/export"
"github.com/ethereum/go-ethereum/rpc"
"github.com/sei-protocol/sei-chain/evmrpc/rpcutils"
wasmtypes "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm/types"
"github.com/sei-protocol/sei-chain/x/evm/keeper"
"github.com/sei-protocol/sei-chain/x/evm/types"
rpcclient "github.com/tendermint/tendermint/rpc/client"
Expand Down
2 changes: 1 addition & 1 deletion evmrpc/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import (
"sync/atomic"
"time"

wasmtypes "github.com/CosmWasm/wasmd/x/wasm/types"
"github.com/cosmos/cosmos-sdk/client"
"github.com/cosmos/cosmos-sdk/client/config"
"github.com/cosmos/cosmos-sdk/codec/legacy"
Expand All @@ -27,6 +26,7 @@ import (
"github.com/ethereum/go-ethereum/rpc"
"github.com/sei-protocol/sei-chain/evmrpc/rpcutils"
"github.com/sei-protocol/sei-chain/evmrpc/stats"
wasmtypes "github.com/sei-protocol/sei-chain/sei-wasmd/x/wasm/types"
"github.com/sei-protocol/sei-chain/utils/metrics"
"github.com/sei-protocol/sei-chain/x/evm/keeper"
"github.com/sei-protocol/sei-chain/x/evm/types"
Expand Down
Loading
Loading