forked from evmos/evmos
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'tharsis:main' into main
- Loading branch information
Showing
507 changed files
with
62,082 additions
and
33,145 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,13 @@ | ||
# CODEOWNERS: https://help.github.com/articles/about-codeowners/ | ||
|
||
# Primary repo maintainers | ||
# Primary (global) repo maintainers | ||
* @fedekunze @khoslaventures @jolube | ||
|
||
# Documentation | ||
docs/ @danburck | ||
|
||
# Evmos Modules | ||
x/epochs/ @ramacarlucho | ||
x/erc20/ @danburck @hanchon | ||
x/incentives/ @danburck | ||
x/claims/ @danburck @prajjwol |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
--- | ||
name: Bug Report | ||
about: Create a report to help us squash bugs! | ||
--- | ||
|
||
<!-- < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < ☺ | ||
v ✰ Thanks for opening an issue! ✰ | ||
v Before smashing the submit button please review the template. | ||
v Please also ensure that this is not a duplicate issue :) | ||
☺ > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > --> | ||
|
||
<!-- | ||
IMPORTANT: Prior to opening a bug report, check if it affects one of the core modules on `SECURITY.md`. | ||
--> | ||
|
||
## Summary of Bug | ||
|
||
<!-- Concisely describe the issue --> | ||
|
||
## Version | ||
|
||
<!-- git commit hash or release version --> | ||
|
||
## Steps to Reproduce | ||
|
||
<!-- What commands in order should someone run to reproduce your problem? --> | ||
|
||
## Screenshots | ||
|
||
<!-- If applicable, add screenshots to help explain your problem. --> | ||
|
||
## Additional context | ||
|
||
<!-- Add any other context about the problem here. --> | ||
____ | ||
|
||
## For Admin Use | ||
|
||
- [ ] Not duplicate issue | ||
- [ ] Appropriate labels applied | ||
- [ ] Appropriate contributors tagged | ||
- [ ] Contributor assigned/self-assigned |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
name: Semgrep | ||
on: | ||
# Scan changed files in PRs, block on new issues only (existing issues ignored) | ||
pull_request: {} | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- .github/workflows/semgrep.yml | ||
schedule: | ||
- cron: '0 0 * * 0' | ||
jobs: | ||
semgrep: | ||
name: Scan | ||
runs-on: ubuntu-latest | ||
if: (github.actor != 'dependabot[bot]') | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Get Diff | ||
uses: technote-space/get-diff-action@v6.0.1 | ||
with: | ||
PATTERNS: | | ||
**/*.go | ||
**/*.js | ||
**/*.ts | ||
**/*.sol | ||
go.mod | ||
go.sum | ||
- uses: returntocorp/semgrep-action@v1 | ||
with: | ||
publishToken: ${{ secrets.SEMGREP_APP_TOKEN }} | ||
# Upload findings to GitHub Advanced Security Dashboard [step 1/2] | ||
# See also the next step. | ||
generateSarif: "1" | ||
if: "env.GIT_DIFF_FILTERED != ''" | ||
# Upload findings to GitHub Advanced Security Dashboard [step 2/2] | ||
- name: Upload SARIF file for GitHub Advanced Security Dashboard | ||
uses: github/codeql-action/upload-sarif@v1 | ||
with: | ||
sarif_file: semgrep.sarif | ||
if: "env.GIT_DIFF_FILTERED != ''" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.