From e06e2cd3562ac4b88261edbb1b0be7faad5a31fa Mon Sep 17 00:00:00 2001 From: Ilya Raykker Date: Fri, 25 Oct 2024 12:54:41 +0200 Subject: [PATCH] Name TODO tags --- rpc/apis.go | 3 +-- rpc/backend/account_info.go | 1 - rpc/backend/backend.go | 1 + rpc/backend/chain_info.go | 2 +- rpc/backend/mocks/feemarket_query_client.go | 2 +- rpc/backend/node_info.go | 1 + rpc/types/query_client.go | 2 +- rpc/types/utils.go | 2 +- rpc/websockets.go | 2 +- 9 files changed, 8 insertions(+), 8 deletions(-) diff --git a/rpc/apis.go b/rpc/apis.go index acfd99f96..73af8d5e1 100644 --- a/rpc/apis.go +++ b/rpc/apis.go @@ -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" @@ -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" ) diff --git a/rpc/backend/account_info.go b/rpc/backend/account_info.go index 2f17f386d..56f12d12e 100644 --- a/rpc/backend/account_info.go +++ b/rpc/backend/account_info.go @@ -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 { diff --git a/rpc/backend/backend.go b/rpc/backend/backend.go index f2b58860f..01f690f2a 100644 --- a/rpc/backend/backend.go +++ b/rpc/backend/backend.go @@ -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" diff --git a/rpc/backend/chain_info.go b/rpc/backend/chain_info.go index 4d5dc2c23..430835f04 100644 --- a/rpc/backend/chain_info.go +++ b/rpc/backend/chain_info.go @@ -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" ) diff --git a/rpc/backend/mocks/feemarket_query_client.go b/rpc/backend/mocks/feemarket_query_client.go index 752d617b7..51c85e849 100644 --- a/rpc/backend/mocks/feemarket_query_client.go +++ b/rpc/backend/mocks/feemarket_query_client.go @@ -9,7 +9,7 @@ import ( mock "github.com/stretchr/testify/mock" - // TODO + // TODO: FEEMARKET // types "github.com/scrtlabs/SecretNetwork/x/feemarket/types" ) diff --git a/rpc/backend/node_info.go b/rpc/backend/node_info.go index 7579dbb81..1f55fe64f 100644 --- a/rpc/backend/node_info.go +++ b/rpc/backend/node_info.go @@ -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" diff --git a/rpc/types/query_client.go b/rpc/types/query_client.go index 371cd12c3..e1a09a4db 100644 --- a/rpc/types/query_client.go +++ b/rpc/types/query_client.go @@ -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" ) diff --git a/rpc/types/utils.go b/rpc/types/utils.go index 83e643419..0a3840820 100644 --- a/rpc/types/utils.go +++ b/rpc/types/utils.go @@ -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" diff --git a/rpc/websockets.go b/rpc/websockets.go index 28a425d73..7399bdba6 100644 --- a/rpc/websockets.go +++ b/rpc/websockets.go @@ -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" @@ -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" )