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

Rebase on tharsis/ethermint v0.11.0 #24

Merged
merged 39 commits into from
Mar 22, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 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
e6af0b4
release: v0.11.0 changelog (#977)
fedekunze Mar 6, 2022
a651925
Initial Optimint integration
tzdybal Nov 18, 2021
da0a666
Update Optimint (Block RPC version)
tzdybal Nov 19, 2021
d1e163b
update dependencies
jbowen93 Jan 25, 2022
28d0d2a
use jbowen93 fork of optimint
jbowen93 Jan 26, 2022
45495e3
update optimint dependency
jbowen93 Jan 26, 2022
71f1a08
add printf debug logs
jbowen93 Feb 28, 2022
2060401
comment out coinbase
jbowen93 Feb 11, 2022
e7414b4
handle error in rootcmd flags
jbowen93 Feb 28, 2022
cc7b05a
fix imports
jbowen93 Feb 28, 2022
ea9878b
comment out RPC call to get Validator
jbowen93 Feb 28, 2022
2c7afd8
feat: updated optimint in unit/integration tests
tzdybal Mar 2, 2022
de467aa
add call to validator back
jbowen93 Mar 7, 2022
9ab6b8a
use optimint v0.1.0 release
jbowen93 Mar 7, 2022
3ff6fe6
uncomment coinbase address
jbowen93 Mar 7, 2022
c95e13c
remove printf debug statements
jbowen93 Mar 7, 2022
b9422b8
ran gofumpt
jbowen93 Mar 7, 2022
55d3140
update to use optimint v0.1.1
jbowen93 Mar 8, 2022
6f79b65
use github.com/jbowen93/optimint
jbowen93 Mar 15, 2022
f61ff28
update to use optimint v0.1.2
jbowen93 Mar 15, 2022
24e5527
add github action to build evmos docker image
jbowen93 Mar 16, 2022
533e1cd
debug
jbowen93 Mar 16, 2022
ffc5738
push image to celestiaorg/evmos
jbowen93 Mar 17, 2022
40b3753
Add Github action to start ephemeral cluster and run RPC tests (#16)
jbowen93 Mar 18, 2022
8ab80e8
Skip RPC tests that we know are failing (#20)
jbowen93 Mar 18, 2022
3bf259a
rename module from tharsis/ethermint to celestiaorg/ethermint
jbowen93 Mar 18, 2022
99db340
Revert "rename module from tharsis/ethermint to celestiaorg/ethermint"
jbowen93 Mar 19, 2022
0ff7dd3
run go mod tidy -compat=1.17
jbowen93 Mar 21, 2022
23c1b32
check if actions/checkout@v2 fixes CI
jbowen93 Mar 21, 2022
30c8580
Revert "check if actions/checkout@v2 fixes CI"
jbowen93 Mar 21, 2022
c66d0ae
see if build issues are resolved with go mod tidy -compat=1.17
jbowen93 Mar 22, 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
79 changes: 79 additions & 0 deletions .github/workflows/build-evmos.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
name: docker-build

on:
push:
branches:
- '**'
tags:
- 'v*.*.*'
pull_request:
branches:
- 'main'
workflow_dispatch:

env:
REGISTRY: ghcr.io
IMAGE_NAME: celestiaorg/evmos
TAG_PREFIX: ethermint-

jobs:
build:
runs-on: "ubuntu-latest"
permissions:
contents: write
packages: write
steps:
- name: "Checkout source code"
uses: "actions/checkout@v2"
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.17
- name: Clone evmos repo
uses: actions/checkout@v2
with:
repository: jbowen93/evmos
path: evmos
- name: Clone optimint repo
uses: actions/checkout@v2
with:
repository: celestiaorg/optimint
path: optimint
- name: Move Stuff and Tidy
run: |
ls
mv evmos ..
mv optimint ..
cd ..
cp -R optimint ethermint
cd ethermint
rm -rf .git
go mod edit -replace=github.com/celestiaorg/optimint=./optimint
go mod tidy -compat=1.17 -e
cd ..
cp -R ethermint evmos
cd evmos
go mod edit -replace=github.com/tharsis/ethermint=./ethermint
go mod tidy -compat=1.17 -e
- name: Docker meta
id: meta
uses: docker/metadata-action@v3
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
type=sha,prefix=${{ env.TAG_PREFIX }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Login to GHCR
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v2
with:
context: ../evmos
push: true
tags: ${{ steps.meta.outputs.tags }}
file: ../evmos/docker/Dockerfile
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.4.0
- uses: actions/checkout@v3
- uses: actions/setup-go@v2
with:
go-version: 1.17
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v2.4.0
uses: actions/checkout@v3

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-contract.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.4.0
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
Expand Down
50 changes: 50 additions & 0 deletions .github/workflows/ephemeral.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: ephemeral

on:
push:
branches:
- '**'
tags:
- 'v*.*.*'
pull_request:
branches:
- 'main'
workflow_dispatch:

jobs:
test:
runs-on: ubuntu-latest

steps:
- name: Clone repo
uses: actions/checkout@v2
- name: Clone ephemeral-cluster repo
uses: actions/checkout@v2
with:
repository: celestiaorg/ephemeral-cluster
path: ephemeral-cluster
ref: main
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.17
- name: "Setup Cluster"
run: |
cd ephemeral-cluster
./debug-start-cluster.sh
- name: "Test Cluster"
run: |
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 evmos0 -------------"
docker logs evmos0
cd /home/runner/work/ethermint/ethermint
MODE=rpc HOST=http://127.0.0.1:8545 go test ./tests/rpc/...

2 changes: 1 addition & 1 deletion .github/workflows/goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
environment: release
steps:
- uses: actions/checkout@v2.4.0
- uses: actions/checkout@v3
with:
submodules: true
- name: Set up Go
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ jobs:
triage:
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v3
- uses: actions/labeler@v4
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
2 changes: 1 addition & 1 deletion .github/workflows/linkchecker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
markdown-link-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.4.0
- uses: actions/checkout@v3
- uses: gaurav-nelson/[email protected]
with:
folder-path: "docs"
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v2.4.0
- uses: actions/checkout@v3
- uses: technote-space/[email protected]
with:
SUFFIX_FILTER: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/proto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v2.4.0
- uses: actions/checkout@v3
- uses: technote-space/[email protected]
with:
PATTERNS: |
Expand All @@ -20,7 +20,7 @@ jobs:
breakage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.4.0
- uses: actions/checkout@v3
- uses: technote-space/[email protected]
with:
PATTERNS: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
GO111MODULE: on
steps:
- name: Checkout Source
uses: actions/checkout@v2.4.0
uses: actions/checkout@v3
- name: Get Diff
uses: technote-space/[email protected]
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/semgrep.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest
if: (github.actor != 'dependabot[bot]')
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Get Diff
uses: technote-space/[email protected]
with:
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
- uses: actions/[email protected]
with:
go-version: 1.17
- uses: actions/checkout@v2.4.0
- uses: actions/checkout@v3
- uses: technote-space/[email protected]
with:
PATTERNS: |
Expand All @@ -62,7 +62,7 @@ jobs:
- uses: actions/[email protected]
with:
go-version: 1.17
- uses: actions/checkout@v2.4.0
- uses: actions/checkout@v3
- uses: technote-space/[email protected]
id: git_diff
with:
Expand All @@ -83,7 +83,7 @@ jobs:
matrix:
batch: ['1-3', '2-3', '3-3']
steps:
- uses: actions/checkout@v2.4.0
- uses: actions/checkout@v3
- uses: actions/setup-go@v2
with:
go-version: 1.17
Expand All @@ -106,7 +106,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v2.4.0
- uses: actions/checkout@v3
- uses: actions/[email protected]
with:
go-version: 1.17
Expand Down Expand Up @@ -138,7 +138,7 @@ jobs:
- uses: actions/[email protected]
with:
go-version: 1.17
- uses: actions/checkout@v2.4.0
- uses: actions/checkout@v3
- uses: technote-space/[email protected]
with:
PATTERNS: |
Expand All @@ -158,7 +158,7 @@ jobs:
- uses: actions/[email protected]
with:
go-version: 1.17
- uses: actions/checkout@v2.4.0
- uses: actions/checkout@v3
- uses: technote-space/[email protected]
with:
PATTERNS: |
Expand Down
Loading