Skip to content

Commit

Permalink
fix lint and test
Browse files Browse the repository at this point in the history
  • Loading branch information
yihuang committed Oct 27, 2023
1 parent 1073d74 commit f4a5469
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
3 changes: 1 addition & 2 deletions rpc/backend/backend.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ import (
"github.com/ethereum/go-ethereum/params"
"github.com/ethereum/go-ethereum/rpc"
"github.com/ethereum/go-ethereum/signer/core/apitypes"
"github.com/evmos/ethermint/rpc/types"
rpctypes "github.com/evmos/ethermint/rpc/types"
"github.com/evmos/ethermint/server/config"
ethermint "github.com/evmos/ethermint/types"
Expand Down Expand Up @@ -150,7 +149,7 @@ type ProcessBlocker func(
ethBlock *map[string]interface{},
rewardPercentiles []float64,
tendermintBlockResult *tmrpctypes.ResultBlockResults,
targetOneFeeHistory *types.OneFeeHistory,
targetOneFeeHistory *rpctypes.OneFeeHistory,
) error

// Backend implements the BackendI interface
Expand Down
2 changes: 1 addition & 1 deletion rpc/backend/call_tx_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ func (suite *BackendTestSuite) TestDoCall() {
suite.SetupTest() // reset test and queries
tc.registerMock()

msgEthTx, err := suite.backend.DoCall(tc.callArgs, tc.blockNum)
msgEthTx, err := suite.backend.DoCall(tc.callArgs, tc.blockNum, nil)

if tc.expPass {
suite.Require().Equal(tc.expEthTx, msgEthTx)
Expand Down
3 changes: 2 additions & 1 deletion tests/integration_tests/test_call.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import json

from hexbytes import HexBytes
from web3 import Web3
from web3._utils.contracts import encode_transaction_data
from hexbytes import HexBytes

from .utils import CONTRACTS

Expand Down

0 comments on commit f4a5469

Please sign in to comment.