Skip to content

Commit

Permalink
vendor: update go-ethereum
Browse files Browse the repository at this point in the history
  • Loading branch information
benma committed Oct 26, 2021
1 parent 334dedd commit f0190b1
Show file tree
Hide file tree
Showing 1,496 changed files with 88,280 additions and 359,926 deletions.
4 changes: 2 additions & 2 deletions backend/backend.go
Original file line number Diff line number Diff line change
Expand Up @@ -374,13 +374,13 @@ func (backend *Backend) Coin(code coinpkg.Code) (coinpkg.Coin, error) {
nil)
case code == coinpkg.CodeTETH:
etherScan := etherscan.NewEtherScan("https://api-ropsten.etherscan.io/api", backend.etherScanHTTPClient)
coin = eth.NewCoin(etherScan, code, "Ethereum Ropsten", "TETH", "TETH", params.TestnetChainConfig,
coin = eth.NewCoin(etherScan, code, "Ethereum Ropsten", "TETH", "TETH", params.RopstenChainConfig,
"https://ropsten.etherscan.io/tx/",
etherScan,
nil)
case code == coinpkg.CodeERC20TEST:
etherScan := etherscan.NewEtherScan("https://api-ropsten.etherscan.io/api", backend.etherScanHTTPClient)
coin = eth.NewCoin(etherScan, code, "ERC20 TEST", "TEST", "TETH", params.TestnetChainConfig,
coin = eth.NewCoin(etherScan, code, "ERC20 TEST", "TEST", "TETH", params.RopstenChainConfig,
"https://ropsten.etherscan.io/tx/",
etherScan,
erc20.NewToken("0x2f45b6fb2f28a73f110400386da31044b2e953d4", 18),
Expand Down
134 changes: 88 additions & 46 deletions backend/coins/eth/erc20/ierc20.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions backend/coins/eth/etherscan/etherscan.go
Original file line number Diff line number Diff line change
Expand Up @@ -555,3 +555,7 @@ func (etherScan *EtherScan) SuggestGasPrice(ctx context.Context) (*big.Int, erro
}
return (*big.Int)(&result), nil
}

func (etherScan *EtherScan) SuggestGasTipCap(ctx context.Context) (*big.Int, error) {
panic("not implemented")
}
43 changes: 43 additions & 0 deletions backend/coins/eth/rpcclient/mocks/rpcclient.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit f0190b1

Please sign in to comment.