Tags: flashbots/go-utils
Tags
added GetOrGenerateTLS (#44) This pull request introduces a new utility function, `GetOrGenerateTLS`, in the `tls/tls_generate.go` file. The function simplifies handling TLS certificates by attempting to load them from specified paths or generating and saving new ones if they do not exist. ### TLS Certificate Management: * Added the `GetOrGenerateTLS` function to load TLS certificates and keys from specified paths, or generate and save new self-signed certificates and keys if the files are missing. This includes error handling for file operations and certificate generation. (`tls/tls_generate.go`, [tls/tls_generate.goR14-R54](diffhunk://#diff-dcccc347b7f85fe0c7ad6329e730d69c035152c1993c176b6a8680c1c208949bR14-R54))
chore: Update to newer geth and tooling in anticipation of Pectra (#40) Replaces #37 because that one is on Ryan's personal repo. --- We need to update to geth 1.15.0 or higher for Pectra since that's the version that includes `Transaction.UnmarshalBinary` support for the new tx type 4 introduced in EIP-7702. This required some other fixes as well: - Build with go 1.23 or higher. - We were using the wrong `slog` package. --------- Co-authored-by: Ryan Schneider <[email protected]>
PreviousNext