Skip to content

Commit 7717358

Browse files
authored
Merge pull request #232 from bane-labs/upd-v1.13.15
Merge Geth v1.13.15
2 parents eef0b96 + 9d380aa commit 7717358

File tree

249 files changed

+6248
-2003
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

249 files changed

+6248
-2003
lines changed

Makefile

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,27 +107,33 @@ define init_node
107107
@$(GETHBIN)/geth init --datadir $(1)/$(2) $(1)/$(GENESIS_WORK_JSON) > $(1)/$(2)/geth_init.log 2>&1
108108
endef
109109

110+
#? geth: Build geth
110111
geth:
111112
$(GORUN) build/ci.go install ./cmd/geth
112113
@echo "Done building."
113114
@echo "Run \"$(GETHBIN)/geth\" to launch geth."
114115

116+
#? all: Build all packages and executables
115117
all:
116118
$(GORUN) build/ci.go install
117119

120+
#? test: Run the tests
118121
test: all
119122
$(GORUN) build/ci.go test
120123

124+
#? lint: Run certain pre-selected linters
121125
lint: ## Run linters.
122126
$(GORUN) build/ci.go lint
123127

128+
#? clean: Clean go cache, built executables, and the auto generated folder
124129
clean:
125130
go clean -cache
126131
rm -fr build/_workspace/pkg/ $(GETHBIN)/*
127132

128133
# The devtools target installs tools required for 'go generate'.
129134
# You need to put $GOBIN (or $GOPATH/bin) in your PATH to use 'go generate'.
130135

136+
#? devtools: Install recommended developer tools
131137
devtools:
132138
env GOBIN= go install golang.org/x/tools/cmd/stringer@latest
133139
env GOBIN= go install github.com/fjl/gencodec@latest
@@ -241,4 +247,10 @@ privnet_start_seven: $(SEVEN_DIR)/$(NODE1)/geth $(SEVEN_DIR)/$(NODE2)/geth $(SEV
241247
$(call run_miner_node,$(SEVEN_DIR),$(NODE6),$(NODE6_PORT),$(NODE6_AUTH_PORT),$(NODE6_HTTP_PORT),$(NODE6_WS_PORT),$(NODE6))
242248
$(call run_miner_node,$(SEVEN_DIR),$(NODE7),$(NODE7_PORT),$(NODE7_AUTH_PORT),$(NODE7_HTTP_PORT),$(NODE7_WS_PORT),$(NODE7))
243249
$(call run_node,$(SEVEN_DIR),$(NODE8),$(NODE8_PORT),$(NODE8_AUTH_PORT),$(NODE8_HTTP_PORT),$(NODE8_WS_PORT))
244-
@echo "OK! Check logs in $(SEVEN_DIR)/<node_dir>/geth_node.log"
250+
@echo "OK! Check logs in $(SEVEN_DIR)/<node_dir>/geth_node.log"
251+
252+
#? help: Get more info on make commands.
253+
help: Makefile
254+
@echo " Choose a command run in go-ethereum:"
255+
@sed -n 's/^#?//p' $< | column -t -s ':' | sort | sed -e 's/^/ /'
256+
.PHONY: help

accounts/abi/abi.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ import (
2929
)
3030

3131
// The ABI holds information about a contract's context and available
32-
// invokable methods. It will allow you to type check function calls and
32+
// invocable methods. It will allow you to type check function calls and
3333
// packs data accordingly.
3434
type ABI struct {
3535
Constructor Method

accounts/abi/bind/backends/simulated.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import (
2020
"context"
2121

2222
"github.com/ethereum/go-ethereum/common"
23-
"github.com/ethereum/go-ethereum/core"
23+
"github.com/ethereum/go-ethereum/core/types"
2424
"github.com/ethereum/go-ethereum/ethclient/simulated"
2525
)
2626

@@ -43,7 +43,7 @@ func (b *SimulatedBackend) Fork(ctx context.Context, parentHash common.Hash) err
4343
//
4444
// Deprecated: please use simulated.Backend from package
4545
// github.com/ethereum/go-ethereum/ethclient/simulated instead.
46-
func NewSimulatedBackend(alloc core.GenesisAlloc, gasLimit uint64) *SimulatedBackend {
46+
func NewSimulatedBackend(alloc types.GenesisAlloc, gasLimit uint64) *SimulatedBackend {
4747
b := simulated.NewBackend(alloc, simulated.WithBlockGasLimit(gasLimit))
4848
return &SimulatedBackend{
4949
Backend: b,

0 commit comments

Comments
 (0)