Skip to content

Commit

Permalink
Merge branch 'issues/657/refactor/transfer-msg_period-param' into iss…
Browse files Browse the repository at this point in the history
…ues/657/chore/app-transfer-period

* issues/657/refactor/transfer-msg_period-param:
  chore: regenerate protobufs
  chore: regenerate protobufs
  fix: failing test
  chore: regenerate protobufs
  Revert "refactor: rename param to application_transfer_and_unboding_period_sessions"
  [Relay Mining] Use per-service difficulty in the relayer (#745)
  [Tilt] Enable rest service by default in Tilt (#793)
  [Docs] Minor doc updates across the board (#792)
  build(deps): bump webpack from 5.89.0 to 5.94.0 in /docusaurus (#775)
  [Docs] Tokenomics Documentation (#750)
  fix: ensure stable_marshaler_all option on all proto files (#772)
  build(deps): bump micromatch from 4.0.5 to 4.0.8 in /docusaurus (#774)
  [Tooling] Add `protocheck` CLI tool (#770)
  Update `adding_params.md` to use `ignite` (#764)
  [Docs] Cleanup & Deprecation (#766)
  • Loading branch information
bryanchriswhite committed Sep 5, 2024
2 parents fdeb989 + 4a80fa4 commit e5cb72b
Show file tree
Hide file tree
Showing 252 changed files with 5,104 additions and 8,269 deletions.
3 changes: 2 additions & 1 deletion .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,10 @@

## Type of change

Select one or more:
Select one or more from the following:

- [ ] New feature, functionality or library
- [ ] Consensus breaking; add the `consensus-breaking` label if so. See #791 for details
- [ ] Bug fix
- [ ] Code health or cleanup
- [ ] Documentation
Expand Down
19 changes: 18 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,15 @@ check_node:
fi; \
}

.PHONY: check_proto_unstable_marshalers
check_proto_unstable_marshalers: ## Check that all protobuf files have the `stable_marshalers_all` option set to true.
go run ./tools/scripts/protocheck/cmd unstable

.PHONY: fix_proto_unstable_marshalers
fix_proto_unstable_marshalers: ## Ensure the `stable_marshaler_all` option is present on all protobuf files.
go run ./tools/scripts/protocheck/cmd unstable --fix
${MAKE} proto_regen


.PHONY: warn_destructive
warn_destructive: ## Print WARNING to the user
Expand Down Expand Up @@ -439,7 +448,7 @@ test_verbose: check_go_version ## Run all go tests verbosely
# It is not compatible with `-race`, which is why it's omitted here.
# See ref for more details: https://github.com/golang/go/issues/54482#issuecomment-1251124908
.PHONY: test_all
test_all: warn_flaky_tests check_go_version ## Run all go tests showing detailed output only on failures
test_all: warn_flaky_tests check_go_version test_gen_fixtures ## Run all go tests showing detailed output only on failures
go test -count=1 -buildmode=pie -tags test ./...

.PHONY: test_all_with_integration
Expand All @@ -461,6 +470,14 @@ test_integration: check_go_version ## Run only the in-memory integration "unit"
itest: check_go_version ## Run tests iteratively (see usage for more)
./tools/scripts/itest.sh $(filter-out $@,$(MAKECMDGOALS))

# Verify there are no compile errors in pkg/relayer/miner/gen directory.
# This is done by overriding the build tags through passing a `*.go` argument to `go test`.
# .go files in that directory contain a `go:build ignore` directive to avoid introducing
# unintentional churn in the randomly generated fixtures.
.PHONY: test_gen_fixtures
test_gen_fixtures: check_go_version ## Run all go tests verbosely
go test -count=1 -v -race ./pkg/relayer/miner/gen/*.go

.PHONY: go_mockgen
go_mockgen: ## Use `mockgen` to generate mocks used for testing purposes of all the modules.
find . -name "*_mock.go" | xargs --no-run-if-empty rm
Expand Down
2 changes: 1 addition & 1 deletion Tiltfile
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ localnet_config_defaults = {
"model": "qwen:0.5b",
},
"rest": {
"enabled": False,
"enabled": True,
},
# By default, we use the `helm_repo` function below to point to the remote repository
# but can update it to the locally cloned repo for testing & development
Expand Down
Loading

0 comments on commit e5cb72b

Please sign in to comment.