Skip to content

Commit

Permalink
Name TODO tags
Browse files Browse the repository at this point in the history
  • Loading branch information
iKapitonau committed Oct 25, 2024
1 parent 8b2e485 commit e06e2cd
Show file tree
Hide file tree
Showing 9 changed files with 8 additions and 8 deletions.
3 changes: 1 addition & 2 deletions rpc/apis.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ import (
"github.com/cosmos/cosmos-sdk/client"
"github.com/cosmos/cosmos-sdk/server"

// "github.com/cosmos/cosmos-sdk/server"
"github.com/scrtlabs/SecretNetwork/rpc/backend"
"github.com/scrtlabs/SecretNetwork/rpc/namespaces/ethereum/debug"
"github.com/scrtlabs/SecretNetwork/rpc/namespaces/ethereum/eth"
Expand All @@ -33,7 +32,7 @@ import (
"github.com/scrtlabs/SecretNetwork/rpc/namespaces/ethereum/txpool"
"github.com/scrtlabs/SecretNetwork/rpc/namespaces/ethereum/web3"
"github.com/scrtlabs/SecretNetwork/rpc/namespaces/utils"
// TODO
// TODO: SERVER
// "github.com/cosmos/cosmos-sdk/server"
)

Expand Down
1 change: 0 additions & 1 deletion rpc/backend/account_info.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,6 @@ func (b *Backend) GetProof(address common.Address, storageKeys []string, blockNr
}

// query account proofs
// accountKey := authtypes.AddressStoreKey(sdk.AccAddress(address.Bytes()))
accountKey := authtypes.AddressStoreKey(sdk.AccAddress(address.Bytes()))
_, proof, err := b.queryClient.GetProof(clientCtx, authtypes.StoreKey, accountKey)
if err != nil {
Expand Down
1 change: 1 addition & 0 deletions rpc/backend/backend.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ import (
"github.com/ethereum/go-ethereum/signer/core/apitypes"

rpctypes "github.com/scrtlabs/SecretNetwork/rpc/types"
// TODO: SERVER
// "github.com/scrtlabs/SecretNetwork/server/config"
ethermint "github.com/scrtlabs/SecretNetwork/types"
evmtypes "github.com/scrtlabs/SecretNetwork/x/evm/types"
Expand Down
2 changes: 1 addition & 1 deletion rpc/backend/chain_info.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import (
rpctypes "github.com/scrtlabs/SecretNetwork/rpc/types"
ethermint "github.com/scrtlabs/SecretNetwork/types"
evmtypes "github.com/scrtlabs/SecretNetwork/x/evm/types"
// TODO
// TODO: FEEMARKET
// feemarkettypes "github.com/scrtlabs/SecretNetwork/x/feemarket/types"
)

Expand Down
2 changes: 1 addition & 1 deletion rpc/backend/mocks/feemarket_query_client.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions rpc/backend/node_info.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ import (
"github.com/scrtlabs/SecretNetwork/crypto/ethsecp256k1"

rpctypes "github.com/scrtlabs/SecretNetwork/rpc/types"
// TODO: SERVER
// "github.com/scrtlabs/SecretNetwork/server/config"
ethermint "github.com/scrtlabs/SecretNetwork/types"
evmtypes "github.com/scrtlabs/SecretNetwork/x/evm/types"
Expand Down
2 changes: 1 addition & 1 deletion rpc/types/query_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (
"github.com/cosmos/cosmos-sdk/client"

evmtypes "github.com/scrtlabs/SecretNetwork/x/evm/types"
// TODO:
// TODO: FEEMARKET
// feemarkettypes "github.com/scrtlabs/SecretNetwork/x/feemarket/types"
)

Expand Down
2 changes: 1 addition & 1 deletion rpc/types/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import (
errortypes "github.com/cosmos/cosmos-sdk/types/errors"

evmtypes "github.com/scrtlabs/SecretNetwork/x/evm/types"
// TODO
// TODO: FEEMARKET
// feemarkettypes "github.com/scrtlabs/SecretNetwork/x/feemarket/types"

"github.com/ethereum/go-ethereum/common"
Expand Down
2 changes: 1 addition & 1 deletion rpc/websockets.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ import (
"github.com/gorilla/mux"
"github.com/gorilla/websocket"
"github.com/pkg/errors"
"honnef.co/go/tools/config"

"github.com/ethereum/go-ethereum/common"
ethtypes "github.com/ethereum/go-ethereum/core/types"
Expand All @@ -46,6 +45,7 @@ import (
rpcfilters "github.com/scrtlabs/SecretNetwork/rpc/namespaces/ethereum/eth/filters"
"github.com/scrtlabs/SecretNetwork/rpc/types"

// TODO: SERVER
// "github.com/scrtlabs/SecretNetwork/server/config"
evmtypes "github.com/scrtlabs/SecretNetwork/x/evm/types"
)
Expand Down

0 comments on commit e06e2cd

Please sign in to comment.