upgrade to ethermint v0.21.0 #99

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

View File

@ -34,7 +34,5 @@ jobs:
VALIDATE_OPENAPI: false
VALIDATE_JSCPD: false
VALIDATE_GO: false
VALIDATE_BASH: false
VALIDATE_DOCKER: false
DEFAULT_BRANCH: "main"
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@ -3048,7 +3048,7 @@
})
}, t.getCommonExtensions = function(e) {
return e.filter(function(e, t) {
return /^pattern|maxLength|minLength|maximum|minimum/.test(t)
return /^pattern$|^maxLength$|^minLength$|^maximum$|^minimum$/.test(t)
})
}
}).call(t, n(54).Buffer)

View File

@ -331,8 +331,7 @@ func New(l Logger, baseDir string, cfg Config) (*Network, error) { // nosemgrep
appCfg.JSONRPC.Address = cfg.JSONRPCAddress
} else {
_, jsonRPCPort, err := server.FreeTCPAddr()
if err != nil {
if err != nil { // nosemgrep
return nil, err // nosemgrep
}
appCfg.JSONRPC.Address = fmt.Sprintf("127.0.0.1:%s", jsonRPCPort)