Skip to content

Commit

Permalink
cleanup: minimize diff with 1.9.10 (ethereum#219)
Browse files Browse the repository at this point in the history
* Cleanup pass number 1

* Cleanup pass number 2

* Cleanup pass number 3

* Cleanup pass number 4

* Fix lint error

* Remove unused contract bindings

* Remove unused test json

* Update cmd/utils/flags.go

* Fixing build errors

* Fix remaining lint errors
  • Loading branch information
smartcontracts authored Mar 8, 2021
1 parent 897d911 commit a74a334
Show file tree
Hide file tree
Showing 35 changed files with 1,133 additions and 2,644 deletions.
5 changes: 4 additions & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,7 @@ issues:
- goconst
- path: cmd/faucet/
linters:
- deadcode
- deadcode
- path: core/chain_makers_test.go
linters:
- govet
17 changes: 9 additions & 8 deletions accounts/abi/bind/backends/simulated.go
Original file line number Diff line number Diff line change
Expand Up @@ -592,14 +592,15 @@ type callmsg struct {
ethereum.CallMsg
}

func (m callmsg) From() common.Address { return m.CallMsg.From }
func (m callmsg) Nonce() uint64 { return 0 }
func (m callmsg) CheckNonce() bool { return false }
func (m callmsg) To() *common.Address { return m.CallMsg.To }
func (m callmsg) GasPrice() *big.Int { return m.CallMsg.GasPrice }
func (m callmsg) Gas() uint64 { return m.CallMsg.Gas }
func (m callmsg) Value() *big.Int { return m.CallMsg.Value }
func (m callmsg) Data() []byte { return m.CallMsg.Data }
func (m callmsg) From() common.Address { return m.CallMsg.From }
func (m callmsg) Nonce() uint64 { return 0 }
func (m callmsg) CheckNonce() bool { return false }
func (m callmsg) To() *common.Address { return m.CallMsg.To }
func (m callmsg) GasPrice() *big.Int { return m.CallMsg.GasPrice }
func (m callmsg) Gas() uint64 { return m.CallMsg.Gas }
func (m callmsg) Value() *big.Int { return m.CallMsg.Value }
func (m callmsg) Data() []byte { return m.CallMsg.Data }

func (m callmsg) L1MessageSender() *common.Address { return m.CallMsg.L1MessageSender }
func (m callmsg) L1BlockNumber() *big.Int { return m.CallMsg.L1BlockNumber }
func (m callmsg) QueueOrigin() *big.Int { return m.CallMsg.QueueOrigin }
Expand Down
Loading

0 comments on commit a74a334

Please sign in to comment.