Skip to content

Commit

Permalink
export DoEstimateGas
Browse files Browse the repository at this point in the history
  • Loading branch information
rachel-bousfield committed May 31, 2022
1 parent d56aba4 commit 4d987bc
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions arbitrum/export.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
package arbitrum

import (
"context"

"github.com/ethereum/go-ethereum/common/hexutil"
"github.com/ethereum/go-ethereum/internal/ethapi"
"github.com/ethereum/go-ethereum/rpc"
)

type TransactionArgs = ethapi.TransactionArgs

func EstimateGas(ctx context.Context, b ethapi.Backend, args TransactionArgs, blockNrOrHash rpc.BlockNumberOrHash, gasCap uint64) (hexutil.Uint64, error) {
return ethapi.DoEstimateGas(ctx, b, args, blockNrOrHash, gasCap)
}

0 comments on commit 4d987bc

Please sign in to comment.