mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-09 23:48:06 -05:00
fix estimate gas price test
Former-commit-id: a4565e6a8937824be3b095534cc6fcbc037fa116 [formerly 2ab68064d3306a9112fad1dfaf57838e258d02fd] Former-commit-id: b8c128dfb85b0e291237bb1fc1a21d7cee45bf45
This commit is contained in:
@@ -10,7 +10,6 @@ import (
|
||||
"sync"
|
||||
"testing"
|
||||
|
||||
ethereum "github.com/ethereum/go-ethereum"
|
||||
"github.com/ethereum/go-ethereum/accounts/keystore"
|
||||
"github.com/ethereum/go-ethereum/core/types"
|
||||
|
||||
@@ -50,7 +49,7 @@ func (s *FakeEthService) GasPrice(ctx context.Context) (hexutil.Big, error) {
|
||||
return hexutil.Big(*b), nil
|
||||
}
|
||||
|
||||
func (s *FakeEthService) EstimateGas(ctx context.Context, msg ethereum.CallMsg) (hexutil.Uint64, error) {
|
||||
func (s *FakeEthService) EstimateGas(ctx context.Context, msg interface{}) (hexutil.Uint64, error) {
|
||||
h := hexutil.Uint64(uint64(1000000))
|
||||
return h, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user