Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
dbf7d95
chore: add validator params to validatorSet
lklimek Feb 11, 2025
4ec14c4
feat: use threshold from ValidatorParam to construct bls sigs
lklimek Feb 12, 2025
13d838b
Merge remote-tracking branch 'origin/v1.5-dev' into feat/consensus-pa…
lklimek Feb 13, 2025
22e2da0
chore: add threshold to validator set
lklimek Feb 13, 2025
17b131c
chore: validator threshold optional handling - WIP, panics in gogoproto
lklimek Feb 14, 2025
e4d11d6
build(deps): replace gogo/protobuf with cosmos/gogoproto
lklimek Feb 14, 2025
0843659
Merge branch 'deps/replace-gogoproto' into feat/consensus-param-signa…
lklimek Feb 14, 2025
4b24c79
build: use forked gogoproto to fix panic
lklimek Feb 17, 2025
f1e4b7d
chore: update protobuf definitions
lklimek Feb 17, 2025
cb6cf44
chore(github): fix forked gogoproto install
lklimek Feb 18, 2025
cdf0321
fix(types): nil validator threshold saved as 0
lklimek Feb 18, 2025
2a07242
test: remove panic test after fixing gogoproto bug
lklimek Feb 18, 2025
d096849
chore(version): bump ABCI version to 1.3.0
lklimek Feb 18, 2025
0f37594
Merge remote-tracking branch 'origin/v1.5-dev' into feat/consensus-pa…
lklimek Feb 18, 2025
01da3cc
chore: minor fixes
lklimek Feb 18, 2025
b30f1d3
test(e2e): support voting_power_threshold tests
lklimek Feb 18, 2025
5c757d4
chore: fix comment
lklimek Feb 18, 2025
6ae8fef
chore: fix some lint warnings
lklimek Feb 18, 2025
bfeb8dc
Merge branch 'v1.5-dev' into feat/consensus-param-signature-threshold
lklimek Mar 3, 2025
a969b7b
Merge branch 'v1.5-dev' into feat/consensus-param-signature-threshold
lklimek Mar 4, 2025
2233fb4
Merge branch 'v1.5-dev' into feat/consensus-param-signature-threshold
lklimek Mar 4, 2025
d58a703
chore: apply rabbit feedback
lklimek Mar 5, 2025
d67ea30
Merge branch 'v1.5-dev' into feat/consensus-param-signature-threshold
lklimek Mar 5, 2025
079d909
fix(consensus): validator threshold from genesis is not used
lklimek Apr 7, 2025
2d3f935
Merge remote-tracking branch 'origin/v1.5-dev' into feat/consensus-pa…
lklimek Apr 7, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion .github/workflows/check-generated.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,15 @@ jobs:
export GOBIN="${tools}/bin"

go install github.com/bufbuild/buf/cmd/buf
go install github.com/cosmos/gogoproto/protoc-gen-gogofaster@latest
# Forked version of gogoproto plugin with fix https://github.com/cosmos/gogoproto/pull/150
# go install github.com/cosmos/gogoproto/protoc-gen-gogofaster@latest
git clone --depth 1 --branch fix/panic-marshalto-nil-m \
https://github.com/lklimek/gogoproto /tmp/gogoproto
pushd /tmp/gogoproto
go install ./protoc-gen-gogofaster
popd
rm -rf /tmp/gogoproto
# End of forked version installation

make proto-gen

Expand Down
7 changes: 5 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ BUILD_IMAGE := ghcr.io/tendermint/docker-build-proto
BASE_BRANCH ?= v0.8-dev
DOCKER_PROTO := docker run -v $(shell pwd):/workspace --workdir /workspace $(BUILD_IMAGE)
CGO_ENABLED ?= 1
GOGOPROTO_PATH = $(shell go list -m -f '{{.Dir}}' github.com/cosmos/gogoproto)
# Fix for a gogoproto bug
# GOGOPROTO_PATH = $(shell go list -m -f '{{.Dir}}' github.com/cosmos/gogoproto)
GOGOPROTO_PATH = $(shell go list -m -f '{{.Dir}}' github.com/lklimek/gogoproto@564fd924f58c5d076b0ad8e3f1c6fb54d065cbbe)

MAKEFILE_PATH := $(abspath $(lastword $(MAKEFILE_LIST)))
CURR_DIR := $(dir $(MAKEFILE_PATH))
Expand Down Expand Up @@ -114,7 +116,8 @@ proto: proto-format proto-lint proto-doc proto-gen

check-proto-deps:
ifeq (,$(shell which protoc-gen-gogofaster))
$(error "gogofaster plugin for protoc is required. Run 'go install github.com/cosmos/gogoproto/protoc-gen-gogofaster@latest' to install")
# $(error "gogofaster plugin for protoc is required. Run 'go install github.com/cosmos/gogoproto/protoc-gen-gogofaster@latest' to install")
$(error "gogofaster plugin for protoc is required. Run 'go install github.com/lklimek/gogoproto/protoc-gen-gogofaster@564fd924f58c5d076b0ad8e3f1c6fb54d065cbbe' to install")
endif
.PHONY: check-proto-deps

Expand Down
Loading
Loading