Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid enabling flex-error/eyre_tracer feature #1371

Merged
merged 1 commit into from
Oct 23, 2023
Merged

Conversation

mina86
Copy link
Contributor

@mina86 mina86 commented Oct 13, 2023

Don’t enable flex-error/eyre_tracer feature in crates which don’t use
eyre directly. This allows customers depend on say tendermint crate
without having to pull in eyre crate. This is useful because eyre
uses mutable static variables (specifically HOOK variable) which is
incompatible with some blockchain runtimes.

  • [n/a] Referenced an issue explaining the need for the change
  • Updated all relevant documentation in docs
  • Updated all code comments where relevant
  • [n/a] Wrote tests
  • Added entry in .changelog/

Don’t enable flex-error/eyre_tracer feature in crates which don’t use
eyre directly.  This allows customers depend on say tendermint crate
without having to pull in eyre crate.  This is useful because eyre
uses mutable static variables (specifically HOOK variable) which is
incompatible with some blockchain runtimes.
@mina86
Copy link
Contributor Author

mina86 commented Oct 23, 2023

@romac

@romac
Copy link
Member

romac commented Oct 23, 2023

Good catch! Thanks

@romac romac merged commit 37822e5 into informalsystems:main Oct 23, 2023
22 checks passed
@mina86 mina86 deleted the a branch October 23, 2023 16:00
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.

2 participants