mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-27 15:16:43 +00:00
rollback unexpected changes
This commit is contained in:
parent
85913cfb3c
commit
9b2c49571f
1 changed files with 9 additions and 17 deletions
|
|
@ -64,16 +64,10 @@ func newTestBackend(t *testing.T) (*node.Node, []*types.Block) {
|
|||
t.Fatalf("can't create new ethereum service: %v", err)
|
||||
}
|
||||
filterSystem := filters.NewFilterSystem(ethservice.APIBackend, filters.Config{})
|
||||
n.RegisterAPIs([]rpc.API{
|
||||
{
|
||||
n.RegisterAPIs([]rpc.API{{
|
||||
Namespace: "eth",
|
||||
Service: filters.NewFilterAPI(filterSystem),
|
||||
},
|
||||
{
|
||||
Namespace: "eth",
|
||||
Service: ethservice.APIBackend,
|
||||
},
|
||||
})
|
||||
}})
|
||||
|
||||
// Import the test chain.
|
||||
if err := n.Start(); err != nil {
|
||||
|
|
@ -191,8 +185,6 @@ func testAccessList(t *testing.T, client *rpc.Client) {
|
|||
Gas: 21000,
|
||||
GasPrice: big.NewInt(875000000),
|
||||
Value: big.NewInt(1),
|
||||
GasFeeCap: nil,
|
||||
GasTipCap: nil,
|
||||
},
|
||||
wantGas: 21000,
|
||||
wantAL: `[]`,
|
||||
|
|
|
|||
Loading…
Reference in a new issue