upgrade to ethermint v0.21.0 #99
10
.github/workflows/lint.yml
vendored
10
.github/workflows/lint.yml
vendored
@ -61,7 +61,7 @@ jobs:
|
|||||||
- uses: cachix/install-nix-action@v18
|
- uses: cachix/install-nix-action@v18
|
||||||
- uses: cachix/cachix-action@v12
|
- uses: cachix/cachix-action@v12
|
||||||
with:
|
with:
|
||||||
name: ethermint
|
name: laconicd
|
||||||
- uses: technote-space/get-diff-action@v6.1.2
|
- uses: technote-space/get-diff-action@v6.1.2
|
||||||
with:
|
with:
|
||||||
PATTERNS: |
|
PATTERNS: |
|
||||||
@ -71,21 +71,23 @@ jobs:
|
|||||||
if: env.GIT_DIFF
|
if: env.GIT_DIFF
|
||||||
gomod2nix:
|
gomod2nix:
|
||||||
name: Check gomod2nix.toml file is up to date
|
name: Check gomod2nix.toml file is up to date
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2.3.4
|
- uses: actions/checkout@v2.3.4
|
||||||
- uses: cachix/install-nix-action@v18
|
- uses: cachix/install-nix-action@v18
|
||||||
- uses: cachix/cachix-action@v12
|
- uses: cachix/cachix-action@v12
|
||||||
with:
|
with:
|
||||||
name: ethermint
|
name: laconicd
|
||||||
- uses: technote-space/get-diff-action@v6.1.2
|
- uses: technote-space/get-diff-action@v6.1.2
|
||||||
with:
|
with:
|
||||||
PATTERNS: |
|
PATTERNS: |
|
||||||
**/**.py
|
**/**.py
|
||||||
- name: run gomod2nix
|
- name: run gomod2nix
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
nix run -f ./nix gomod2nix
|
nix run -f ./nix gomod2nix
|
||||||
git diff --no-ext-diff --exit-code
|
git diff --no-ext-diff --exit-code
|
||||||
|
with:
|
||||||
|
github-token: ${{ secrets.github_token }}
|
||||||
if: env.GIT_DIFF
|
if: env.GIT_DIFF
|
||||||
|
@ -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
|
// New creates a new Network for integration tests or in-process testnets run via the CLI
|
||||||
func New(l Logger, baseDir string, cfg Config) (*Network, error) { // nosemgrep
|
// nosemgrep
|
||||||
|
func New(l Logger, baseDir string, cfg Config) (*Network, error) { //nosemgrep
|
||||||
|
// nosemgrep
|
||||||
// ignore semgrep: Missing mutex unlock before returning from a function.
|
// ignore semgrep: Missing mutex unlock before returning from a function.
|
||||||
// unlocking in cleanup func
|
// unlocking in cleanup func
|
||||||
// only one caller/test can create and use a network at a time
|
// 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 {
|
} else {
|
||||||
_, jsonRPCPort, err := server.FreeTCPAddr()
|
_, jsonRPCPort, err := server.FreeTCPAddr()
|
||||||
if err != nil { // nosemgrep
|
if err != nil { // nosemgrep
|
||||||
|
// nosemgrep
|
||||||
return nil, err // nosemgrep
|
return nil, err // nosemgrep
|
||||||
}
|
}
|
||||||
appCfg.JSONRPC.Address = fmt.Sprintf("127.0.0.1:%s", jsonRPCPort)
|
appCfg.JSONRPC.Address = fmt.Sprintf("127.0.0.1:%s", jsonRPCPort)
|
||||||
|
Loading…
Reference in New Issue
Block a user