Skip to content

Commit

Permalink
Merge branch 'main' into Vvaradinov/wevmos-precompile-refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
Vvaradinov committed Feb 8, 2024
2 parents af25b9f + 679d457 commit 623d4d0
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 85 deletions.
74 changes: 0 additions & 74 deletions .github/workflows/e2e-test-release.yml

This file was deleted.

23 changes: 12 additions & 11 deletions .github/workflows/e2e-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ on:
pull_request:
branches:
- main
- release/**
push:
branches:
- release/**

jobs:
test-e2e:
Expand All @@ -16,14 +20,13 @@ jobs:
- uses: technote-space/get-diff-action@v6.1.2
with:
PATTERNS: |
app/app.go
app/upgrades/*
go.mod
go.sum
**/*.go
*.toml
tests/e2e/*
Dockerfile
.github/workflows/e2e-test*
.github/workflows/e2e-test*
- name: Test E2E
run: |
make test-e2e
Expand Down Expand Up @@ -83,9 +86,8 @@ jobs:
test_files: ${{fromJson(needs.test-files-matrix.outputs.test_matrix)}}
steps:
- uses: actions/checkout@v4
# TODO: create a new PAT to use here
# with:
# token: ${{ secrets.E2E_PAT }}
with:
token: ${{ secrets.E2E_PAT }}
- name: Install Nix
uses: cachix/install-nix-action@v25
with:
Expand Down Expand Up @@ -114,8 +116,7 @@ jobs:
run: make run-nix-tests
if: env.GIT_DIFF
# Commit gomod2nix changes files back to the repository if necessary
# TODO: uncomment this once added the new PAT to commit the changes (when needed)
# - uses: stefanzweifel/git-auto-commit-action@v5
# with:
# commit_message: update gomod2nix.toml file
# file_pattern: '*.toml'
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: update gomod2nix.toml file
file_pattern: '*.toml'
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ Ref: https://keepachangelog.com/en/1.0.0/
- (stride-outpost) [#2207](https://github.com/evmos/evmos/pull/2207) Update Stride outpost to include additional arguments.
- (erc20) [#2217](https://github.com/evmos/evmos/pull/2217) Add logic to deploy token pairs contracts on genesis.
- (erc20) [#2292](https://github.com/evmos/evmos/pull/2292) Revert unnecessary logic on genesis (reverts #2217).
- (tests) [#2332](https://github.com/evmos/evmos/pull/2332) Create configuration in temporary directory in `Init` command test.

### Bug Fixes

Expand Down
3 changes: 3 additions & 0 deletions cmd/evmosd/cmd_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,13 @@ import (
)

func TestInitCmd(t *testing.T) {
target := t.TempDir()

rootCmd, _ := evmosd.NewRootCmd()
rootCmd.SetArgs([]string{
"init", // Test the init cmd
"evmos-test", // Moniker
fmt.Sprintf("--home=%s", target),
fmt.Sprintf("--%s=%s", cli.FlagOverwrite, "true"), // Overwrite genesis.json, in case it already exists
fmt.Sprintf("--%s=%s", flags.FlagChainID, utils.TestnetChainID+"-1"),
})
Expand Down

0 comments on commit 623d4d0

Please sign in to comment.