Skip to content
This repository has been archived by the owner on Apr 30, 2024. It is now read-only.

Rebase Ethermint w/ Optimint v0.3.0 on tharsis/ethermint v0.16.0 #61

Merged
merged 109 commits into from
Jun 25, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
109 commits
Select commit Hold shift + click to select a range
4aa5d0b
evm: add returnValue message on tracing (#962)
crypto-facs Mar 2, 2022
4e2236a
build(deps): bump actions/labeler from 3 to 4 (#966)
dependabot[bot] Mar 3, 2022
eb4631f
build(deps): bump actions/checkout from 2.4.0 to 3 (#965)
dependabot[bot] Mar 3, 2022
40d5eff
fix: Metamask keeps failing sending transactions (#968)
yihuang Mar 3, 2022
caa1c5a
fix: `eth_feeHistory` reward values cannot be nil (#970)
loredanacirstea Mar 3, 2022
805b2ea
Quick fix for eth_feeHistory when reward is nil (#975)
loredanacirstea Mar 6, 2022
77d9e29
fix: GasMeter reset in AnteHandler `EthGasConsumeDecorator` (#964)
loredanacirstea Mar 6, 2022
cfbd980
docs: changelog fix (#976)
fedekunze Mar 6, 2022
67fba0a
build(deps): bump github.com/cosmos/ibc-go/v3 (#978)
dependabot[bot] Mar 7, 2022
dbe9f70
rpc: add configurable timeouts to http server (#979)
yihuang Mar 9, 2022
ef20250
build(deps): bump github.com/spf13/cobra from 1.3.0 to 1.4.0 (#983)
dependabot[bot] Mar 11, 2022
50e093a
build(deps): bump github.com/cosmos/ibc-go/v3 from 3.0.0-rc1 to 3.0.0…
dependabot[bot] Mar 11, 2022
d04787e
eth_feeHistory - fix reward calculation from MsgEthereumTx (#990)
loredanacirstea Mar 15, 2022
6b88b26
build(deps): bump gaurav-nelson/github-action-markdown-link-check (#994)
dependabot[bot] Mar 15, 2022
49afc0f
fix: server should always use local rpc client (#988)
yihuang Mar 15, 2022
5360730
add enable unsafe cors flag (#995)
crypto-facs Mar 15, 2022
575c8e7
build(deps): bump github.com/cosmos/ibc-go/v3 from 3.0.0-rc2 to 3.0.0…
dependabot[bot] Mar 16, 2022
889ff2b
build(deps): bump github.com/stretchr/testify from 1.7.0 to 1.7.1 (#999)
dependabot[bot] Mar 16, 2022
edf4569
fix: set an upper bound to gasWanted to prevent DoS attack (#991)
yihuang Mar 16, 2022
93a57bc
feemarket: migration (#1002)
yihuang Mar 21, 2022
8bcdb2c
make MaxTxGasWanted configurable (#1004)
yihuang Mar 21, 2022
b4ce7ca
build(deps): bump actions/cache from 2.1.7 to 3 (#1008)
dependabot[bot] Mar 21, 2022
01bc2ec
fix: Update the JSON-RPC to correct the return information. (#1006)
WilliamXieCrypto Mar 21, 2022
9807d7c
fix: Dockerfile to reduce vulnerabilities (#1005)
snyk-bot Mar 21, 2022
bde62e2
cleanup an unused const (#1009)
yihuang Mar 22, 2022
42b5e44
build(deps): bump google.golang.org/protobuf from 1.27.1 to 1.28.0 (#…
dependabot[bot] Mar 22, 2022
70d5294
fix: `eth_newPendingTransactionFilter` doesn't return ethereum tx has…
yihuang Mar 24, 2022
285c7c4
evm: update empty hash check for storage state (#1016)
fedekunze Mar 29, 2022
3c8a95b
imp: migrate JSON for feemarket (#1021)
fedekunze Mar 30, 2022
6abe84b
fix: update feemarket REST endpoints (#1026)
fedekunze Apr 4, 2022
cc37ed2
evm: PostTxProcessing hook - include the full message data (#1027)
loredanacirstea Apr 4, 2022
8202a09
fix: lint workflow (#1028)
thomas-nguy Apr 5, 2022
7d11c93
deps: upgrade cosmos-sdk to v0.45.2 (#1029)
yihuang Apr 5, 2022
56c4a31
evm: allow to append logs after a post processing hook (#1025)
thomas-nguy Apr 5, 2022
ea3c16e
fix: remove proto message registration from legacy v09 types to fix c…
nddeluca Apr 5, 2022
4fdbcd7
build(deps): bump codecov/codecov-action from 2.1.0 to 3 (#1031)
dependabot[bot] Apr 6, 2022
c70701e
tests: add more dynamic fee tx tests (#1032)
MalteHerrmann Apr 6, 2022
e1512c5
types: add `ValidateNonZeroAddress` utility function (#1033)
loredanacirstea Apr 7, 2022
f257709
build(deps): bump actions/stale from 4 to 5 (#1041)
dependabot[bot] Apr 11, 2022
cb6715c
build(deps): bump actions/setup-go from 2 to 3 (#1040)
dependabot[bot] Apr 11, 2022
1e03c0c
deps: bump SDK to v0.45.3 (#1046)
fedekunze Apr 12, 2022
5ccd4c4
ci: cleanup (#1048)
fedekunze Apr 12, 2022
4d63238
tests: Increase coverage for msg.go and access_list_tx.go (#1044)
MalteHerrmann Apr 12, 2022
7509903
build(deps): bump github.com/spf13/viper from 1.10.1 to 1.11.0 (#1054)
dependabot[bot] Apr 15, 2022
bc4b018
Context block height fix on `TraceTx` (#1051)
crypto-facs Apr 16, 2022
7e35906
`eth_getBlockByNumber` fix on batch transactions (#1050)
crypto-facs Apr 18, 2022
e7b6d92
fix: tests/solidity/package.json to reduce vulnerabilities (#1036)
snyk-bot Apr 19, 2022
d96e2b7
fix: tests/solidity/suites/storage/package.json to reduce vulnerabili…
snyk-bot Apr 19, 2022
e4abbe1
fix: tests/solidity/suites/eip1559/package.json to reduce vulnerabili…
snyk-bot Apr 19, 2022
eaca3e0
fix: simulations don't generate EVM transactions (#996)
adu-web3 Apr 19, 2022
0543a28
rpc: make json-rpc API namespaces extensible (#1056)
yihuang Apr 19, 2022
a121224
docs: update EVM spec
fedekunze Apr 22, 2022
825d393
build(deps): bump github.com/cosmos/cosmos-sdk from 0.45.3 to 0.45.4 …
dependabot[bot] Apr 26, 2022
ead4208
build(deps): bump github/codeql-action from 1 to 2 (#1064)
dependabot[bot] Apr 26, 2022
0f09964
fix: update BaseFee JSON-RPC (#1059)
fedekunze Apr 26, 2022
fb13fd4
build(deps): bump github.com/btcsuite/btcd from 0.22.0-beta to 0.22.1…
dependabot[bot] Apr 29, 2022
556c2cc
fix!: london hardfork check logic in json-rpc apis (#1068)
yihuang Apr 30, 2022
c25669c
rpc: refactor rpc packages and backend to support cosmos namespace (#…
fedekunze May 2, 2022
4ea9b6d
imp, ci: address pending issues from EVM simulation (#1063)
adu-web3 May 2, 2022
a4b8816
remove unused bank keeper dependency from account verification decora…
nddeluca May 2, 2022
6b1b936
ci: bump simulations timeout (#1073)
fedekunze May 3, 2022
93d15db
ante: check `EnableCreate`/`EnableCall` in ante handler (#1060)
yihuang May 3, 2022
e856bf5
release: merge release branch changes back to main (#1079)
danburck May 9, 2022
a313008
Add cli rollback command (#1086)
yihuang May 18, 2022
d359cbd
fix: gas price value in `eth_getTransaction` JSON-RPC response (#1082)
yihuang May 19, 2022
9edc87d
fix: append `Log` in tx post processing response (#1088)
thomas-nguy May 19, 2022
f0290a3
build(deps): bump cross-fetch from 2.2.5 to 2.2.6 in /tests/solidity …
dependabot[bot] May 20, 2022
2cfa873
build(deps): bump github.com/spf13/cast from 1.4.1 to 1.5.0 (#1080)
dependabot[bot] May 20, 2022
f06df8c
imp: clean up the block fetch logic in json-rpc (#1081)
yihuang May 23, 2022
c441771
imp(evm): define minimum GasUsed proportional to GasLimit (#1087)
crypto-facs May 25, 2022
d559893
imp(evm): add query params to CLI (#1091)
crypto-facs May 25, 2022
d23fb0c
specs(evm): Add concepts (#1095)
danburck May 26, 2022
ba8547d
update to use optimint v0.3.0
jbowen93 May 26, 2022
770a325
try with new ephemeral cluster
jbowen93 May 26, 2022
c374e2f
update test script
jbowen93 May 26, 2022
05c0df8
update to go 1.18
jbowen93 May 27, 2022
7752bd6
remove semgrep gh action
jbowen93 May 27, 2022
9e2462b
go get to go install
jbowen93 May 27, 2022
c7ada92
try 1.17 for non tparse
jbowen93 May 27, 2022
928e018
impr(evm): add tx_type, gas and counter telemetry for ethereum txs (#…
danburck May 30, 2022
164f41c
build(deps): bump alpine from 3.15 to 3.16.0 (#1094)
dependabot[bot] May 30, 2022
8f5cd77
build(deps): bump github.com/spf13/viper from 1.11.0 to 1.12.0 (#1100)
dependabot[bot] May 30, 2022
39214c6
build(deps): bump github.com/armon/go-metrics from 0.3.10 to 0.4.0 (#…
dependabot[bot] May 30, 2022
afc09f9
fix(rpc): avoid sleep with pending txs tests(#1098)
mmsqe May 31, 2022
5533bee
fix(rpc, ante): Emit Ethereum tx hash in `AnteHandler` to support que…
yihuang May 31, 2022
046cd00
feemarket: global `MinGasPrice` parameter (#1104)
loredanacirstea May 31, 2022
cad7ff6
analytics(app): update telemetry to Ethermint modules (#1106)
danburck Jun 2, 2022
72444a6
build(deps): bump protobufjs from 6.11.2 to 6.11.3 in /tests/solidity…
dependabot[bot] Jun 3, 2022
da99f11
rpc: Update `GetGasPrice` RPC endpoint with global `MinGasPrice` (#1108)
crypto-facs Jun 3, 2022
8155e1f
Move CanTransfer decorator before GasConsume (#1111)
crypto-facs Jun 4, 2022
620f6a6
imp(feemarket): update `BaseFee` based on `GasWanted` (#1105)
crypto-facs Jun 5, 2022
707b49d
fix(types): avoid invalid account error on create vesting account (#1…
mmsqe Jun 6, 2022
23f8831
ante: refactor (#1113)
fedekunze Jun 6, 2022
8fe8072
release: changelog (#1114)
fedekunze Jun 6, 2022
38f6e49
add build args
jbowen93 Jun 11, 2022
2f5fb66
disable ledger on builds
jbowen93 Jun 11, 2022
12f65df
no fancy cross compile
jbowen93 Jun 11, 2022
546621d
merge on ethermint v0.16.0
jbowen93 Jun 12, 2022
9fa8b05
clean rebase on tharsis/ethermint v0.16.0
jbowen93 Jun 12, 2022
e49f219
remove semgrep workflow and fix debug build
jbowen93 Jun 12, 2022
23e40b0
use optimint v0.3.2
jbowen93 Jun 14, 2022
2978582
fix merge conflict
jbowen93 Jun 15, 2022
2150479
fix merge conflict
jbowen93 Jun 15, 2022
37f9345
update Dockerfiles to be faster and fix tparse workflow
jbowen93 Jun 23, 2022
a5c2fcf
check if fast-build fails
jbowen93 Jun 23, 2022
2754206
use slow docker builds
jbowen93 Jun 23, 2022
8a14e89
use correct dockerfile
jbowen93 Jun 23, 2022
70d57be
remove an add call that got duplicated'
jbowen93 Jun 23, 2022
5a6575b
comment out new TestPendingTransactionFilter as it's a known bug
jbowen93 Jun 23, 2022
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
11 changes: 6 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,17 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v2
- uses: actions/setup-go@v3
with:
go-version: 1.17
check-latest: true
- uses: technote-space/get-diff-action@v6.0.1
id: git_diff
with:
SUFFIX_FILTER: |
.go
.mod
.sum
PATTERNS: |
**/**.go
go.mod
go.sum
- run: |
make build
if: env.GIT_DIFF
8 changes: 4 additions & 4 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
strategy:
fail-fast: false
matrix:
language: [ 'go', 'javascript' ]
language: [ 'go' ]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
# Learn more:
# https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed
Expand All @@ -43,7 +43,7 @@ jobs:

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
Expand All @@ -54,7 +54,7 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v1
uses: github/codeql-action/autobuild@v2

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
Expand All @@ -68,4 +68,4 @@ jobs:
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
uses: github/codeql-action/analyze@v2
10 changes: 5 additions & 5 deletions .github/workflows/deploy-contract.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ jobs:
- uses: technote-space/get-diff-action@v6.0.1
id: git_diff
with:
SUFFIX_FILTER: |
.go
.mod
.sum
.sol
PATTERNS: |
**/**.sol
**/**.go
go.mod
go.sum
- name: Test contract
run: |
sudo make contract-tools
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/docker-build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ jobs:
with:
repository: celestiaorg/ephemeral-cluster
path: ephemeral-cluster
ref: jbowen93/mess
jbowen93 marked this conversation as resolved.
Show resolved Hide resolved
- name: Set up Go
uses: actions/setup-go@v2
with:
Expand All @@ -79,10 +80,6 @@ jobs:
docker ps -a
echo "------------- docker logs core0 -------------"
docker logs core0
echo "------------- docker logs bridge0 -------------"
docker logs bridge0
echo "------------- docker logs light0 -------------"
docker logs light0
echo "------------- docker logs dalc0 -------------"
docker logs dalc0
echo "------------- docker logs ethermint0 -------------"
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@ jobs:
with:
submodules: true
- name: Set up Go
uses: actions/setup-go@v2
uses: actions/setup-go@v3
with:
go-version: 1.17
check-latest: true
- name: release dry run
run: make release-dry-run
- name: setup release environment
Expand Down
31 changes: 23 additions & 8 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,17 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/setup-go@v2
with:
go-version: 1.17.2
- uses: actions/setup-go@v3
with:
go-version: 1.17
- uses: actions/checkout@v3
- uses: technote-space/get-diff-action@v6.0.1
with:
SUFFIX_FILTER: |
.go
.mod
.sum
- uses: golangci/golangci-lint-action@v2.5.2
PATTERNS: |
**/**.go
go.mod
go.sum
- uses: golangci/golangci-lint-action@v3
with:
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
version: v1.42.1
Expand All @@ -32,3 +32,18 @@ jobs:
github-token: ${{ secrets.github_token }}
# Check only if there are differences in the source code
if: "env.GIT_DIFF"
markdown-lint:
name: Run markdown-lint
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
- uses: technote-space/get-diff-action@v6.0.1
with:
PATTERNS: |
docs/**/*.md
x/**/*.md
README.md
- uses: articulate/actions-markdownlint@v1.1.0
# Check only if there are differences in the source code
if: env.GIT_DIFF
2 changes: 1 addition & 1 deletion .github/workflows/security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
args: '-no-fail -fmt sarif -out results.sarif ./...'
if: "env.GIT_DIFF_FILTERED != ''"
- name: Upload SARIF file
uses: github/codeql-action/upload-sarif@v1
uses: github/codeql-action/upload-sarif@v2
with:
# Path to SARIF file relative to the root of the repository
sarif_file: results.sarif
Expand Down
41 changes: 0 additions & 41 deletions .github/workflows/semgrep.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v4
- uses: actions/stale@v5
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-pr-message: "This pull request has been automatically marked as stale because it has not had
Expand Down
38 changes: 18 additions & 20 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,38 +18,37 @@ jobs:
install-tparse:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v2.1.4
- uses: actions/setup-go@v3
with:
go-version: 1.17
go-version: 1.18
- name: Display Go Version
run: go version
- name: Install tparse
run: |
export GO111MODULE="on" && go get github.com/mfridman/tparse@latest
- uses: actions/cache@v2.1.7
go install github.com/mfridman/tparse@latest
- uses: actions/cache@v3
with:
path: ~/go/bin
key: ${{ runner.os }}-go-tparse-binary

test-unit-cover:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v2.1.4
- uses: actions/setup-go@v3
with:
go-version: 1.17
go-version: 1.18
- uses: actions/checkout@v3
- uses: technote-space/get-diff-action@v6.0.1
with:
PATTERNS: |
**/**.sol
**/**.go
go.mod
go.sum
- name: Test and Create Coverage Report
run: |
make test-unit-cover
if: env.GIT_DIFF
- uses: codecov/codecov-action@v2.1.0
- uses: codecov/codecov-action@v3
with:
file: ./coverage.txt
fail_ci_if_error: true
Expand All @@ -59,17 +58,17 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/setup-go@v2.1.4
- uses: actions/setup-go@v3
with:
go-version: 1.17
- uses: actions/checkout@v3
- uses: technote-space/get-diff-action@v6.0.1
id: git_diff
with:
SUFFIX_FILTER: |
.go
.mod
.sum
PATTERNS: |
**/**.go
go.mod
go.sum
- name: test-importer
run: |
make test-import
Expand Down Expand Up @@ -154,22 +153,21 @@ jobs:
# make test-rpc
# if: env.GIT_DIFF

test-e2e:
test-sim-after-import:
runs-on: ubuntu-latest
timeout-minutes: 15
timeout-minutes: 25
steps:
- uses: actions/setup-go@v2.1.4
- uses: actions/setup-go@v3
with:
go-version: 1.17
go-version: 1.18
- uses: actions/checkout@v3
- uses: technote-space/get-diff-action@v6.0.1
with:
PATTERNS: |
**/**.sol
**/**.go
go.mod
go.sum
- name: Test e2e
- name: Test simulation after import
run: |
make test-integration
make test-sim-after-import
if: env.GIT_DIFF
Loading