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/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
|
||||
|
@ -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
|
||||
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.
|
||||
// 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)
|
||||
|
Loading…
Reference in New Issue
Block a user