Skip to content

Commit af45152

Browse files
committed
refac: move hhub mod to hetu
1 parent bb48c6f commit af45152

File tree

394 files changed

+1054
-1054
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

394 files changed

+1054
-1054
lines changed

api/ethermint/evm/v1/access_list_tx.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import (
55

66
"github.com/ethereum/go-ethereum/common"
77
ethtypes "github.com/ethereum/go-ethereum/core/types"
8-
utils "github.com/hetu-project/hetu-hub/v1/utils"
9-
ethutils "github.com/hetu-project/hetu-hub/v1/utils/eth"
8+
utils "github.com/hetu-project/hetu/v1/utils"
9+
ethutils "github.com/hetu-project/hetu/v1/utils/eth"
1010
)
1111

1212
// GetChainID returns the chain id field from the AccessListTx

api/ethermint/evm/v1/dynamic_fee_tx.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import (
55

66
"github.com/ethereum/go-ethereum/common"
77
ethtypes "github.com/ethereum/go-ethereum/core/types"
8-
utils "github.com/hetu-project/hetu-hub/v1/utils"
9-
ethutils "github.com/hetu-project/hetu-hub/v1/utils/eth"
8+
utils "github.com/hetu-project/hetu/v1/utils"
9+
ethutils "github.com/hetu-project/hetu/v1/utils/eth"
1010
)
1111

1212
// GetChainID returns the chain id field from the DynamicFeeTx

api/ethermint/evm/v1/legacy_tx.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import (
44
"math/big"
55

66
ethtypes "github.com/ethereum/go-ethereum/core/types"
7-
utils "github.com/hetu-project/hetu-hub/v1/utils"
8-
ethutils "github.com/hetu-project/hetu-hub/v1/utils/eth"
7+
utils "github.com/hetu-project/hetu/v1/utils"
8+
ethutils "github.com/hetu-project/hetu/v1/utils/eth"
99
)
1010

1111
// GetChainID returns the chain id field from the derived signature values

app/ante/cosmos/authz_test.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ import (
1616
banktypes "github.com/cosmos/cosmos-sdk/x/bank/types"
1717
stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"
1818

19-
cosmosante "github.com/hetu-project/hetu-hub/v1/app/ante/cosmos"
20-
testutil "github.com/hetu-project/hetu-hub/v1/testutil"
21-
utiltx "github.com/hetu-project/hetu-hub/v1/testutil/tx"
22-
evmtypes "github.com/hetu-project/hetu-hub/v1/x/evm/types"
19+
cosmosante "github.com/hetu-project/hetu/v1/app/ante/cosmos"
20+
testutil "github.com/hetu-project/hetu/v1/testutil"
21+
utiltx "github.com/hetu-project/hetu/v1/testutil/tx"
22+
evmtypes "github.com/hetu-project/hetu/v1/x/evm/types"
2323
)
2424

2525
func TestAuthzLimiterDecorator(t *testing.T) {

app/ante/cosmos/eip712.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,24 +20,24 @@ import (
2020

2121
errorsmod "cosmossdk.io/errors"
2222

23+
txsigning "cosmossdk.io/x/tx/signing"
2324
"github.com/cosmos/cosmos-sdk/codec"
2425
codectypes "github.com/cosmos/cosmos-sdk/codec/types"
2526
cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types"
2627
sdk "github.com/cosmos/cosmos-sdk/types"
2728
errortypes "github.com/cosmos/cosmos-sdk/types/errors"
2829
"github.com/cosmos/cosmos-sdk/types/tx/signing"
29-
txsigning "cosmossdk.io/x/tx/signing"
3030
authante "github.com/cosmos/cosmos-sdk/x/auth/ante"
3131
"github.com/cosmos/cosmos-sdk/x/auth/migrations/legacytx"
3232
authsigning "github.com/cosmos/cosmos-sdk/x/auth/signing"
3333
ethcrypto "github.com/ethereum/go-ethereum/crypto"
3434
"github.com/ethereum/go-ethereum/crypto/secp256k1"
3535
"github.com/ethereum/go-ethereum/signer/core/apitypes"
36-
"github.com/hetu-project/hetu-hub/v1/crypto/ethsecp256k1"
37-
"github.com/hetu-project/hetu-hub/v1/ethereum/eip712"
38-
"github.com/hetu-project/hetu-hub/v1/types"
36+
"github.com/hetu-project/hetu/v1/crypto/ethsecp256k1"
37+
"github.com/hetu-project/hetu/v1/ethereum/eip712"
38+
"github.com/hetu-project/hetu/v1/types"
3939

40-
evmtypes "github.com/hetu-project/hetu-hub/v1/x/evm/types"
40+
evmtypes "github.com/hetu-project/hetu/v1/x/evm/types"
4141
)
4242

4343
var evmosCodec codec.ProtoCodecMarshaler

app/ante/cosmos/fees.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ import (
2020
"fmt"
2121
"math"
2222

23-
sdkmath "cosmossdk.io/math"
2423
errorsmod "cosmossdk.io/errors"
24+
sdkmath "cosmossdk.io/math"
2525
sdk "github.com/cosmos/cosmos-sdk/types"
2626
errortypes "github.com/cosmos/cosmos-sdk/types/errors"
2727
authante "github.com/cosmos/cosmos-sdk/x/auth/ante"
2828
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
29-
anteutils "github.com/hetu-project/hetu-hub/v1/app/ante/utils"
29+
anteutils "github.com/hetu-project/hetu/v1/app/ante/utils"
3030
)
3131

3232
// DeductFeeDecorator deducts fees from the first signer of the tx.

app/ante/cosmos/fees_test.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ import (
88
"cosmossdk.io/x/feegrant"
99
sdktestutil "github.com/cosmos/cosmos-sdk/testutil/testdata"
1010
sdk "github.com/cosmos/cosmos-sdk/types"
11-
cosmosante "github.com/hetu-project/hetu-hub/v1/app/ante/cosmos"
12-
"github.com/hetu-project/hetu-hub/v1/testutil"
13-
testutiltx "github.com/hetu-project/hetu-hub/v1/testutil/tx"
14-
"github.com/hetu-project/hetu-hub/v1/utils"
11+
cosmosante "github.com/hetu-project/hetu/v1/app/ante/cosmos"
12+
"github.com/hetu-project/hetu/v1/testutil"
13+
testutiltx "github.com/hetu-project/hetu/v1/testutil/tx"
14+
"github.com/hetu-project/hetu/v1/utils"
1515
)
1616

1717
func (suite *AnteTestSuite) TestDeductFeeDecorator() {

app/ante/cosmos/min_price.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import (
2222
"cosmossdk.io/math"
2323
sdk "github.com/cosmos/cosmos-sdk/types"
2424
errortypes "github.com/cosmos/cosmos-sdk/types/errors"
25-
evmante "github.com/hetu-project/hetu-hub/v1/app/ante/evm"
25+
evmante "github.com/hetu-project/hetu/v1/app/ante/evm"
2626
)
2727

2828
// MinGasPriceDecorator will check if the transaction's fee is at least as large

app/ante/cosmos/min_price_test.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ import (
55
sdkmath "cosmossdk.io/math"
66
sdk "github.com/cosmos/cosmos-sdk/types"
77
banktypes "github.com/cosmos/cosmos-sdk/x/bank/types"
8-
cosmosante "github.com/hetu-project/hetu-hub/v1/app/ante/cosmos"
9-
"github.com/hetu-project/hetu-hub/v1/testutil"
10-
testutiltx "github.com/hetu-project/hetu-hub/v1/testutil/tx"
11-
"github.com/hetu-project/hetu-hub/v1/utils"
8+
cosmosante "github.com/hetu-project/hetu/v1/app/ante/cosmos"
9+
"github.com/hetu-project/hetu/v1/testutil"
10+
testutiltx "github.com/hetu-project/hetu/v1/testutil/tx"
11+
"github.com/hetu-project/hetu/v1/utils"
1212
)
1313

1414
var execTypes = []struct {

app/ante/cosmos/reject_msgs.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import (
1919
errorsmod "cosmossdk.io/errors"
2020
sdk "github.com/cosmos/cosmos-sdk/types"
2121
errortypes "github.com/cosmos/cosmos-sdk/types/errors"
22-
evmtypes "github.com/hetu-project/hetu-hub/v1/x/evm/types"
22+
evmtypes "github.com/hetu-project/hetu/v1/x/evm/types"
2323
)
2424

2525
// RejectMessagesDecorator prevents invalid msg types from being executed

0 commit comments

Comments
 (0)