Skip to content

Commit

Permalink
Add evmos ante handler and enable json rpc
Browse files Browse the repository at this point in the history
  • Loading branch information
worldarchi committed Mar 7, 2023
1 parent 934b823 commit 1d47f91
Show file tree
Hide file tree
Showing 504 changed files with 133,851 additions and 253,918 deletions.
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
89 changes: 83 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,84 @@
vue/node_modules
vue/dist
release/
.idea/
.vscode/
# OS
.DS_Store
ts-client/
*.swp
*.swo
*.swl
*.swm
*.swn
.vscode
.idea
*.pyc
*.exe
*.exe~
*.dll
*.so
*.dylib
.dccache

# Build
*.test
.glide/
vendor
build
bin
tools/bin/*
docs/_build
docs/tutorial
docs/node_modules
docs/modules
docs/cosmos-sdk
docs/ethermint
docs/ibc-go
dist
tools-stamp
docs-tools-stamp
proto-tools-stamp
golangci-lint
keyring_test_cosmos
./**/dist
secret.yml
artifacts/*
tmp-swagger-gen
github.com/
# vue/

# Local docker volume mappings
localnet-setup
.testnets

# Testing
coverage.txt
*.out
sim_log_file
tests/**/tmp/*
yarn.lock

# Vagrant
.vagrant/
*.box
*.log
vagrant

# IDE
.idea/
*.iml
*.code-workspace

# Graphviz
dependency-graph.png

# Latex
*.aux
*.out
*.synctex.gz

# Contracts
*.bin
*.abi

# Node.js
**/node_modules


# OpenZeppelin contracts
contracts/@openzeppelin/*
Loading

0 comments on commit 1d47f91

Please sign in to comment.