Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/rollkit-main' into forma
Browse files Browse the repository at this point in the history
  • Loading branch information
mycodecrafting committed Feb 9, 2024
2 parents 8af5213 + 941a580 commit e624472
Show file tree
Hide file tree
Showing 166 changed files with 3,481 additions and 2,897 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
# fail-fast: false
# matrix:
# language: ["go"]
# versions: [1.21.3]
# versions: [1.21.6]
# # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
# # Use only 'java' to analyze code written in Java, Kotlin or both
# # Use only 'javascript' to analyze code written in JavaScript, TypeScript or both
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/daily.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
docs:
strategy:
matrix:
go-version: [1.21.3]
go-version: [1.21.6]
python-version: [3.11.5]
runs-on: ubuntu-latest
steps:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
matrix:
docker-type: [base] # Changed docker-version to docker-type for consistency with the Makefile
os: [polaris-linux-latest]
go-version: [1.21.3]
go-version: [1.21.6]
arch: [amd64] # Changed go-arch to arch for consistency with the Makefile
image-name: ["polard/base:v0.0.0"]
export-name: [base-image]
Expand Down Expand Up @@ -76,7 +76,7 @@ jobs:
namespace: [cosmos]
docker-type: [localnet] # Changed docker-version to docker-type for consistency with the Makefile
os: [polaris-linux-latest]
go-version: [1.21.3]
go-version: [1.21.6]
arch: [amd64] # Changed go-arch to arch for consistency with the Makefile
base-image: [base-image]
image-name: ["polard/localnet:v0.0.0"]
Expand Down Expand Up @@ -123,7 +123,7 @@ jobs:
strategy:
matrix:
os: [polaris-linux-latest]
go-version: [1.21.3]
go-version: [1.21.6]
base-image: [base-image]
runs-on: ${{ matrix.os }}
steps:
Expand Down Expand Up @@ -153,7 +153,7 @@ jobs:
matrix:
namespace: ["e2e", "localnet"]
os: [polaris-linux-latest]
go-version: [1.21.3]
go-version: [1.21.6]
base-image: [localnet]
runs-on: ${{ matrix.os }}
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
matrix:
args: ["build", "lint", "test-unit-race", "test-unit-cover"]
os: [polaris-linux-latest]
go-version: [1.21.3]
go-version: [1.21.6]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,7 @@ node_modules
.next
next-env.d.ts
.env
.envrc
out

# docker test
Expand All @@ -237,3 +238,5 @@ artifacts

# integration testing coverage
coverage-test-unit-cover.txt

.direnv/
6 changes: 3 additions & 3 deletions build/scripts/cosmos.mk
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ TESTAPP_DIR = ./e2e/testapp
PROJECT_NAME = $(shell git remote get-url origin | xargs basename -s .git)

# process build tags
build_tags = netgo
build_tags = netgo pebbledb
ifeq ($(LEDGER_ENABLED),true)
ifeq ($(OS),Windows_NT)
GCCEXE = $(shell where gcc.exe 2> NUL)
Expand Down Expand Up @@ -69,8 +69,8 @@ comma := ,
build_tags_comma_sep := $(subst $(whitespace),$(comma),$(build_tags))

# process linker flags
ldflags = -X github.com/cosmos/cosmos-sdk/version.Name=sim \
-X github.com/cosmos/cosmos-sdk/version.AppName=simd \
ldflags = -X github.com/cosmos/cosmos-sdk/version.Name=polard \
-X github.com/cosmos/cosmos-sdk/version.AppName=polard \
-X github.com/cosmos/cosmos-sdk/version.Version=$(VERSION) \
-X github.com/cosmos/cosmos-sdk/version.Commit=$(COMMIT) \
-X "github.com/cosmos/cosmos-sdk/version.BuildTags=$(build_tags_comma_sep)"
Expand Down
8 changes: 5 additions & 3 deletions build/scripts/main.mk
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ proto-build:
# Variables
DOCKER_TYPE ?= base
ARCH ?= arm64
GO_VERSION ?= 1.21.3
GO_VERSION ?= 1.21.6
IMAGE_NAME ?= polard
IMAGE_VERSION ?= v0.0.0
BASE_IMAGE ?= polard/base:$(IMAGE_VERSION)
Expand Down Expand Up @@ -289,7 +289,7 @@ format:
@$(MAKE) license-fix buf-lint-fix forge-lint-fix golangci-fix

lint:
@$(MAKE) license buf-lint forge-lint golangci gosec
@$(MAKE) license forge-lint golangci gosec


#################
Expand Down Expand Up @@ -370,7 +370,9 @@ protoDir := "proto"

buf-install:
@echo "--> Installing buf"
@go install github.com/bufbuild/buf/cmd/buf
@if [ "$(shell uname)" = "Darwin" ]; then \
brew install bufbuild/buf/buf; \
fi

buf-lint-fix:
@$(MAKE) buf-install
Expand Down
Loading

0 comments on commit e624472

Please sign in to comment.