upgrade to ethermint v0.21.0 #99

Closed
0xmuralik wants to merge 384 commits from murali/update-fork into main
2 changed files with 10 additions and 5 deletions
Showing only changes of commit c7de0ed8eb - Show all commits

View File

@ -61,7 +61,7 @@ jobs:
- uses: cachix/install-nix-action@v18
- uses: cachix/cachix-action@v12
with:
name: ethermint
name: laconicd
- uses: technote-space/get-diff-action@v6.1.2
with:
PATTERNS: |
@ -71,21 +71,23 @@ jobs:
if: env.GIT_DIFF
gomod2nix:
name: Check gomod2nix.toml file is up to date
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.3.4
- uses: cachix/install-nix-action@v18
- uses: cachix/cachix-action@v12
with:
name: ethermint
name: laconicd
- uses: technote-space/get-diff-action@v6.1.2
with:
PATTERNS: |
**/**.py
- name: run gomod2nix
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
nix run -f ./nix gomod2nix
git diff --no-ext-diff --exit-code
with:
github-token: ${{ secrets.github_token }}
if: env.GIT_DIFF

View File

@ -228,7 +228,9 @@ func NewCLILogger(cmd *cobra.Command) CLILogger {
}
// New creates a new Network for integration tests or in-process testnets run via the CLI
// nosemgrep
func New(l Logger, baseDir string, cfg Config) (*Network, error) { //nosemgrep
// nosemgrep
// ignore semgrep: Missing mutex unlock before returning from a function.
// unlocking in cleanup func
// only one caller/test can create and use a network at a time
@ -332,6 +334,7 @@ func New(l Logger, baseDir string, cfg Config) (*Network, error) { // nosemgrep
} else {
_, jsonRPCPort, err := server.FreeTCPAddr()
if err != nil { // nosemgrep
// nosemgrep
return nil, err // nosemgrep
}
appCfg.JSONRPC.Address = fmt.Sprintf("127.0.0.1:%s", jsonRPCPort)