Skip to content

fixes for heimdall v2 init - #4

Merged
marcello33 merged 4 commits into
developfrom
mardizzone/app-fixes
Oct 14, 2024
Merged

marcello33 merged 4 commits into
developfrom
mardizzone/app-fixes

Conversation

@marcello33

Copy link
Copy Markdown
Collaborator

In this PR, we slightly modify the code to be able to init a heimdall v2 application (used in v2 app tests).
For context, refer to 0xPolygon/heimdall-v2#60

@sergio-mena sergio-mena left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@marcello33 marcello33 changed the title [WIP] Fixes for heimdall v2 init fixes for heimdall v2 init Sep 30, 2024
@Raneet10

Raneet10 commented Oct 3, 2024

Copy link
Copy Markdown

Why the tests failin' 👀

@marcello33

Copy link
Copy Markdown
Collaborator Author

Why the tests failin' 👀

Not sure, will double check that. The PR is just bumping some deps due to ethereum>bor replacement

@sonarqubecloud

sonarqubecloud Bot commented Oct 3, 2024

Copy link
Copy Markdown

@marcello33

Copy link
Copy Markdown
Collaborator Author

Fixed the test @Raneet10. e2e test seems to be failing while executing run-multiple.sh because docker-compose command is missing on the setup. Not sure about this tbh

@marcello33

Copy link
Copy Markdown
Collaborator Author

@sergio-mena have you faced this issue before with comet?

@marcello33
marcello33 merged commit a65a54e into develop Oct 14, 2024
marcello33 pushed a commit that referenced this pull request Feb 5, 2025
due to sec vuln

Vulnerability #1: GO-2025-3420
Sensitive headers incorrectly sent after cross-domain redirect in
net/http
  More info: https://pkg.go.dev/vuln/GO-2025-3420
  Standard library
    Found in: net/[email protected]
    Fixed in: net/[email protected]
    Example traces found:
Error: #1: rpc/jsonrpc/client/http_json_client.go:231:34:
client.Client.Call calls http.Client.Do
Error: #2: libs/cli/setup.go:89:26: cli.Executor.Execute calls
cobra.Command.Execute, which eventually calls http.Client.Get
Error: #3: cmd/cometbft/commands/debug/util.go:70:23: debug.dumpProfile
calls http.Get

Vulnerability #2: GO-2025-3373
Usage of IPv6 zone IDs can bypass URI name constraints in crypto/x509
  More info: https://pkg.go.dev/vuln/GO-2025-3373
  Standard library
    Found in: crypto/[email protected]
    Fixed in: crypto/[email protected]
    Example traces found:
Error: #1: abci/tutorials/abci-v2-forum-app/model/db.go:143:20:
model.DB.Close calls badger.DB.Close, which eventually calls
x509.CertPool.AppendCertsFromPEM
Error: #2: internal/autofile/group.go:468:30: autofile.GroupReader.Read
calls bufio.Reader.Read, which eventually calls x509.Certificate.Verify
Error: #3: rpc/jsonrpc/client/ws_client.go:290:29: client.WSClient.dial
calls websocket.Dialer.Dial, which eventually calls
x509.Certificate.VerifyHostname
Error: #4: light/errors.go:483:84: light.errBadWitness.Error calls
x509.HostnameError.Error
Error: #5: rpc/jsonrpc/server/http_server.go:166:19:
server.ServeTLSWithShutdown calls http.Server.ServeTLS, which eventually
calls x509.ParseCertificate
Error: #6: rpc/jsonrpc/server/http_server.go:166:19:
server.ServeTLSWithShutdown calls http.Server.ServeTLS, which eventually
calls x509.ParseECPrivateKey
Error: #7: rpc/jsonrpc/server/http_server.go:166:19:
server.ServeTLSWithShutdown calls http.Server.ServeTLS, which eventually
calls x509.ParsePKCS1PrivateKey
Error: #8: rpc/jsonrpc/server/http_server.go:166:19:
server.ServeTLSWithShutdown calls http.Server.ServeTLS, which eventually
calls x509.ParsePKCS8PrivateKey
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants