Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump cosmossdk.io/x/feegrant from 0.1.0 to 0.1.1 #8

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 5 additions & 0 deletions .bencher/config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Configuration docs: https://bencher.orijtech.com/configuration/
suppress_failure_on_regression: false
global:
reg_min: 10
imp_min: -10
44 changes: 44 additions & 0 deletions .build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
#!/bin/bash

set -ue

# Expect the following envvars to be set:
# - APP
# - VERSION
# - COMMIT
# - TARGET_OS
# - LEDGER_ENABLED
# - DEBUG

# Source builder's functions library
. /usr/local/share/tendermint/buildlib.sh

# These variables are now available
# - BASEDIR
# - OUTDIR

# Build for each os-architecture pair
for platform in ${TARGET_PLATFORMS} ; do
# This function sets GOOS, GOARCH, and OS_FILE_EXT environment variables
# according to the build target platform. OS_FILE_EXT is empty in all
# cases except when the target platform is 'windows'.
setup_build_env_for_platform "${platform}"

make clean
echo Building for $(go env GOOS)/$(go env GOARCH) >&2
GOROOT_FINAL="$(go env GOROOT)" \
make build \
LDFLAGS=-buildid=${VERSION} \
VERSION=${VERSION} \
COMMIT=${COMMIT} \
LEDGER_ENABLED=${LEDGER_ENABLED}
mv ./build/${APP}${OS_FILE_EXT} ${OUTDIR}/${APP}-${VERSION}-$(go env GOOS)-$(go env GOARCH)${OS_FILE_EXT}

# This function restore the build environment variables to their
# original state.
restore_build_env
done

# Generate and display build report.
generate_build_report
cat ${OUTDIR}/build_report
6 changes: 6 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
Language: Proto
BasedOnStyle: google
ColumnLimit: 120
IndentWidth: 2
...
5 changes: 5 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# localnet-setup
localnet-setup

# build
build
8 changes: 8 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
client/docs/swagger-ui/* linguist-vendored
client/docs/statik/* linguist-vendored
third-party/* linguist-vendored
client/docs/* linguist-documentation
docs/* linguist-documentation
x/**/spec/* linguist-documentation
**/*.pb.go linguist-generated
**/*.pb.gw.go linguist-generated
4 changes: 4 additions & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# CODEOWNERS: https://help.github.com/articles/about-codeowners/

# Primary (global) repo maintainers
* @evmos/core-engineering
41 changes: 41 additions & 0 deletions .github/ISSUE_TEMPLATE/1-bug.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Bug report
description: Create a report to help us squash bugs!
title: "[Bug]: "
labels: ["T:bug"]
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this bug report!
Before smashing the submit button please review the template.
- type: checkboxes
attributes:
label: Is there an existing issue for this?
description: Please search existing issues to avoid creating duplicates.
options:
- label: I have searched the existing issues
required: true

- type: textarea
id: what-happened
attributes:
label: What happened?
description: What did you expect to happen? If applicable add screenshots to explain your problem
placeholder: Tell us what you see!
validations:
required: true
- type: input
attributes:
label: Evmos Version
description: If applicable, specify which version you're using
placeholder: 0.16.0, 0.16.1, main, etc.
validations:
required: true
- type: textarea
id: reproduce
attributes:
label: How to reproduce?
description: If applicable could you describe how we could reproduce the bug
placeholder: Tell us what how to reproduce the bug!
validations:
required: false
41 changes: 41 additions & 0 deletions .github/ISSUE_TEMPLATE/2-feature-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Feature Request
description: Create a proposal to request a feature
title: "[Feature]: "
labels: ["T:feature-request"]
body:
- type: markdown
attributes:
value: |
✰ Thanks for opening an issue! ✰
- type: textarea
id: summary
attributes:
label: Summary
description: |
What are the user needs?
How could this solution fix the user facing problem?
placeholder: Short, concise description of the proposed feature/changes to the repository
validations:
required: true
- type: textarea
id: issue
attributes:
label: Issue Definition
description: |
If applicable please answer the below questions
Why do we need this feature?
What issues may be addressed by introducing this feature?
What benefits does Evmos stand to gain by including this feature?
Are there any disadvantages to including this feature?
placeholder: Description of the issue being faced
validations:
required: false
- type: textarea
id: proposal
attributes:
label: Proposed Feature
description: |
Description of the proposed features or changes to an existing feature to meet your needs
placeholder: Description of the proposed feature(s)
validations:
required: true
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
blank_issues_enabled: false
39 changes: 39 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Description

<!-- Add a description of the changes that this PR introduces and the files that
are the most critical to review. -->

<!-- Please keep your PR as draft until it's ready for review -->

<!-- Pull requests that sit inactive for longer than 30 days will be closed. -->

Closes: #XXXX

---

## Author Checklist

**All** items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.

I have...

- [ ] tackled an existing issue or discussed with a team member
- [ ] left instructions on how to review the changes
- [ ] targeted the correct branch (see [PR Targeting](https://github.com/evmos/evmos/blob/main/CONTRIBUTING.md#pr-targeting))

## Reviewers Checklist

**All** items are required.
Please add a note if the item is not applicable
and please add your handle next to the items reviewed
if you only reviewed selected items.

I have...

- [ ] added a relevant changelog entry to the `Unreleased` section in `CHANGELOG.md`
- [ ] confirmed all author checklist items have been addressed
- [ ] confirmed that this PR does not change production code
- [ ] reviewed content
- [ ] tested instructions (if applicable)
- [ ] confirmed all CI checks have passed
22 changes: 22 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
version: 2
updates:
- package-ecosystem: github-actions
directory: "/"
schedule:
interval: daily
time: "10:00"
open-pull-requests-limit: 10
labels:
- dependencies
- package-ecosystem: docker
directory: "/"
schedule:
interval: daily
time: "10:00"
open-pull-requests-limit: 10
- package-ecosystem: gomod
directory: "/"
schedule:
interval: daily
time: "10:00"
open-pull-requests-limit: 10
57 changes: 57 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
proto:
- changed-files:
- any-glob-to-any-file: [
"proto/**/*",
"**/*.pb.go",
"**/*.pb.gw.go"
]
types:
- changed-files:
- any-glob-to-any-file: [
"types/**/*",
]
build:
- changed-files:
- any-glob-to-any-file: [
"Makefile",
"Dockerfile",
"docker-compose.yml",
"scripts/*",
"config.yml",
]
CI:
- changed-files:
- any-glob-to-any-file: [
".github/**/*",
".mergify.yml",
".golangci.yml",
"buf.yaml",
]
CLI:
- changed-files:
- any-glob-to-any-file: [
"client/**/*",
"x/*/client/**/*",
]
tests:
- changed-files:
- any-glob-to-any-file: [
"tests/**/*",
"testutil/**/*",
"**/*_test.go",
]
contracts:
- changed-files:
- any-glob-to-any-file: [
"contracts/**/*",
"*.sol",
]
precompile:
- changed-files:
- any-glob-to-any-file: [
"precompiles/**/*",
]
release:
- base-branch: "^release/"
feature:
- head-branch: "^feat/"
29 changes: 29 additions & 0 deletions .github/workflows/ante-benchmark.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: AnteHandler Benchmark Tests

on:
pull_request:
branches:
- main

permissions: read-all

jobs:
ante-benchmark-test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- uses: technote-space/get-diff-action@v6.1.2
id: git_diff
with:
PATTERNS: |
app/ante/**.go
- name: Setup Golang
uses: actions/setup-go@v5
with:
go-version: '1.22'
check-latest: true
if: env.GIT_DIFF
- name: Run benchmark tests
run: go test -bench=. ./app/ante/... -benchtime=1000x
if: env.GIT_DIFF
28 changes: 28 additions & 0 deletions .github/workflows/auto-format.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Auto Format

on:
pull_request:

permissions: read-all

jobs:
format-go-code:
runs-on: ubuntu-latest

permissions:
contents: write

steps:
- uses: actions/setup-go@v5
with:
go-version: "1.22"
check-latest: true
- uses: actions/checkout@v4
with:
token: ${{ secrets.E2E_PAT }}
- run: go install mvdan.cc/gofumpt@latest
- run: make format
# Commit formatted files if necessary
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: run make format
21 changes: 21 additions & 0 deletions .github/workflows/bsr-push.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Push to Buf Schema Registry
# This workflow runs when a new version tag is pushed to the repository.
# It then pushes the Protobuf files corresponding to that tag on to the
# Buf Schema Registry at https://buf.build/evmos/evmos
on:
push:
tags:
- "v*.*.*"
permissions: read-all

jobs:
push:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: bufbuild/buf-setup-action@v1.32.2
# Push Evmos protos to the Buf Schema Registry
- uses: bufbuild/buf-push-action@v1.2.0
with:
input: ./proto
buf_token: ${{ secrets.BUF_TOKEN }}
Loading
Loading