mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-09 15:37:56 -05:00
WIP deploy contract using builtin ABI package
Former-commit-id: 9ff3b6dfc6fc9f5bf8278eccef6eeb6bf9cd3434 [formerly 1282951d281590f65a7d8576c0535ce27d1d31ea] Former-commit-id: 4a0607441cecc0c617dc1deda8a3a5b1291ef763
This commit is contained in:
@@ -10,6 +10,7 @@ import (
|
||||
"sync"
|
||||
"testing"
|
||||
|
||||
ethereum "github.com/ethereum/go-ethereum"
|
||||
"github.com/ethereum/go-ethereum/accounts/keystore"
|
||||
"github.com/ethereum/go-ethereum/core/types"
|
||||
|
||||
@@ -48,6 +49,10 @@ func (s *FakeEthService) GasPrice(ctx context.Context) (*big.Int, error) {
|
||||
return big.NewInt(10000), nil
|
||||
}
|
||||
|
||||
func (s *FakeEthService) EstimateGas(ctx context.Context, msg ethereum.CallMsg) ([]byte, error) {
|
||||
return hexutil.MustDecode("0x1000000000"), nil
|
||||
}
|
||||
|
||||
func (s *FakeEthService) GetTransactionCount(ctx context.Context, address common.Address, blockNr rpc.BlockNumber) (*hexutil.Uint64, error) {
|
||||
return nil, nil
|
||||
}
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user