Skip to content

Commit 15a6cf2

Browse files
authored
Merge branch 'main' into feat/fix-block-fields-ibc
2 parents 5811214 + 6b509c0 commit 15a6cf2

3 files changed

Lines changed: 16 additions & 13 deletions

File tree

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ include ./scripts/proto.mk
44
include ./scripts/utils.mk
55
include ./scripts/run.mk
66

7+
# Sets the default make target to `build`.
8+
# Requires GNU Make >= v3.81.
9+
.DEFAULT_GOAL := build
10+
711
## help: Show this help message
812
help: Makefile
913
@echo " Choose a command run in "$(PROJECTNAME)":"

pkg/cmd/run_node.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ func StartNode(
119119
return fmt.Errorf("unknown remote signer type: %s", nodeConfig.Signer.SignerType)
120120
}
121121

122-
metrics := node.DefaultMetricsProvider(rollconf.DefaultInstrumentationConfig())
122+
metrics := node.DefaultMetricsProvider(nodeConfig.Instrumentation)
123123

124124
genesisPath := filepath.Join(filepath.Dir(nodeConfig.ConfigPath()), "genesis.json")
125125
genesis, err := genesispkg.LoadGenesis(genesisPath)

scripts/build.mk

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,17 @@ LDFLAGS := \
55
-X github.com/rollkit/rollkit/pkg/cmd.Version=$(VERSION) \
66
-X github.com/rollkit/rollkit/pkg/cmd.GitSHA=$(GITSHA)
77

8+
## build: build Testapp CLI
9+
build:
10+
@echo "--> Building Testapp CLI"
11+
@mkdir -p $(CURDIR)/build
12+
@cd apps/testapp && go build -ldflags "$(LDFLAGS)" -o $(CURDIR)/build/testapp .
13+
@echo "--> Testapp CLI Built!"
14+
@echo " Check the version with: build/testapp version"
15+
@echo " Check the binary with: $(CURDIR)/build/testapp"
16+
.PHONY: build
817

9-
## install: Install rollkit CLI
18+
## install: Install Testapp CLI
1019
install:
1120
@echo "--> Installing Testapp CLI"
1221
@cd apps/testapp && go install -ldflags "$(LDFLAGS)" .
@@ -28,22 +37,12 @@ build-all:
2837
@cd da && go build -ldflags "$(LDFLAGS)" -o $(CURDIR)/build/local-da ./cmd/local-da
2938
@echo "--> All rollkit binaries built!"
3039

31-
## build: build rollkit CLI
32-
build:
33-
@echo "--> Building Testapp CLI"
34-
@mkdir -p $(CURDIR)/build
35-
@cd apps/testapp && go build -ldflags "$(LDFLAGS)" -o $(CURDIR)/build/testapp .
36-
@echo "--> Testapp CLI Built!"
37-
@echo " Check the version with: apps/testapp version"
38-
@echo " Check the binary with: $(CURDIR)/build/testapp"
39-
.PHONY: build
40-
4140
## build-testapp-bench:
4241
build-testapp-bench:
4342
@echo "--> Building Testapp Bench"
4443
@mkdir -p $(CURDIR)/build
4544
@cd apps/testapp && go build -ldflags "$(LDFLAGS)" -o $(CURDIR)/build/testapp-bench ./kv/bench
46-
@echo " Check the binary with: $(CURDIR)/apps/testapp/bench"
45+
@echo " Check the binary with: $(CURDIR)/build/testapp-bench"
4746
.PHONY: build-testapp-bench
4847

4948
## build-evm-single: build evm single

0 commit comments

Comments
 (0)