Skip to content

Conversation

@edisontim
Copy link
Contributor

@edisontim edisontim commented Oct 29, 2024

Closes #11548

Copy link
Collaborator

@mattsse mattsse left a comment

Choose a reason for hiding this comment

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

need some clarification on the issue first to proceed here

"reth-provider/test-utils",
"reth-transaction-pool/test-utils"
]
js-tracer = ["reth-rpc/js-tracer"]
Copy link
Collaborator

Choose a reason for hiding this comment

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

this should go above test-utils

Copy link
Collaborator

@mattsse mattsse left a comment

Choose a reason for hiding this comment

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

we also need to enable this in the node crates for ethereum and optimism to actually enable this:

reth-node-builder.workspace = true

reth-node-builder.workspace = true

@edisontim
Copy link
Contributor Author

edisontim commented Oct 30, 2024

we also need to enable this in the node crates for ethereum and optimism to actually enable this:

reth-node-builder.workspace = true

reth-node-builder.workspace = true

Sure! Should I make this a default or also make it as a feature in optimism and eth crate?
reth-node-builder = { workspace = true, features = ["js-tracer"] }
or

js-tracer = [
	"reth-node-builder/js-tracer"
]

@storopoli
Copy link

we also need to enable this in the node crates for ethereum and optimism to actually enable this:

reth-node-builder.workspace = true

reth-node-builder.workspace = true

Sure! Should I make this a default or also make it as a feature in optimism and eth crate? reth-node-builder = { workspace = true, features = ["js-tracer"] } or

js-tracer = [
	"reth-node-builder/js-tracer"
]

If possible make it all a feature and opt-in.
The boa machinery should, in my humble opinion, be opt-in.
It really increases the compile time for users and also for everything that it encompasses such as CI for example.

@delbonis
Copy link

I'm also needing this. This should be opt-in, at the very least because (as it is right now) it makes API consumer have to build the whole JS engine even when they don't use it. I don't know if there's some issue with the crate hierarchy that makes the exposing the types in the API necessitate building the engine crates, that seems strange.

@edisontim
Copy link
Contributor Author

Hey @mattsse, i think this is ready for review if you could have a look :)

@mattsse
Copy link
Collaborator

mattsse commented Nov 9, 2024

I don't know if there's some issue with the crate hierarchy that makes the exposing the types in the API necessitate building the engine crates, that seems strange.

could please elaborate, which crates exactly @delbonis

Copy link
Collaborator

@mattsse mattsse left a comment

Choose a reason for hiding this comment

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

this still removes js-tracer support from the binary because now it is no longer enabled.

we either need this for ethereum node and optimism node by default or must enable this in the binary.

@edisontim
Copy link
Contributor Author

this still removes js-tracer support from the binary because now it is no longer enabled.

we either need this for ethereum node and optimism node by default or must enable this in the binary.

Done !

Copy link
Collaborator

@mattsse mattsse left a comment

Choose a reason for hiding this comment

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

we also n

Copy link
Collaborator

Choose a reason for hiding this comment

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

we need this for the optimimism/bin as well

Copy link
Contributor Author

Choose a reason for hiding this comment

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

My bad, I've added it as well in there

@mattsse mattsse requested a review from klkvr as a code owner November 23, 2024 04:53
@storopoli
Copy link

friendly bump 😄

@mattsse
Copy link
Collaborator

mattsse commented Nov 29, 2024

thanks, wrapping up here now

@mattsse mattsse force-pushed the feat/optional-js-tracer branch from e06a8e4 to 0455def Compare November 29, 2024 13:23
@mattsse mattsse enabled auto-merge November 29, 2024 13:29
@storopoli
Copy link

Merge is blocked, we need an approval.

@mattsse mattsse added this pull request to the merge queue Nov 29, 2024
Merged via the queue into paradigmxyz:main with commit db6e5b5 Nov 29, 2024
41 checks passed
@storopoli
Copy link

Nice thanks! :)
When does reth releases a new version?

onbjerg pushed a commit to ithacaxyz/odyssey that referenced this pull request Dec 19, 2024
re paradigmxyz/reth#12178

opening this so we don't forget to enable it after next reth bump
0xtinkle pushed a commit to 0xtinkle/traverse that referenced this pull request Apr 3, 2025
re paradigmxyz/reth#12178

opening this so we don't forget to enable it after next reth bump
0xtinkle added a commit to 0xtinkle/traverse that referenced this pull request Apr 3, 2025
re paradigmxyz/reth#12178

opening this so we don't forget to enable it after next reth bump
0xtinkle added a commit to 0xtinkle/traverse that referenced this pull request Apr 3, 2025
re paradigmxyz/reth#12178

opening this so we don't forget to enable it after next reth bump
0xtinkle added a commit to 0xtinkle/traverse that referenced this pull request Apr 3, 2025
re paradigmxyz/reth#12178

opening this so we don't forget to enable it after next reth bump
0xtinkle added a commit to 0xtinkle/traverse that referenced this pull request Apr 3, 2025
re paradigmxyz/reth#12178

opening this so we don't forget to enable it after next reth bump
0xtinkle added a commit to 0xtinkle/traverse that referenced this pull request Apr 3, 2025
re paradigmxyz/reth#12178

opening this so we don't forget to enable it after next reth bump
0xtinkle added a commit to 0xtinkle/traverse that referenced this pull request Apr 4, 2025
re paradigmxyz/reth#12178

opening this so we don't forget to enable it after next reth bump
0xtinkle added a commit to 0xtinkle/traverse that referenced this pull request Apr 4, 2025
re paradigmxyz/reth#12178

opening this so we don't forget to enable it after next reth bump
0xtinkle added a commit to 0xtinkle/traverse that referenced this pull request Apr 4, 2025
re paradigmxyz/reth#12178

opening this so we don't forget to enable it after next reth bump
0xtinkle added a commit to 0xtinkle/traverse that referenced this pull request Apr 4, 2025
re paradigmxyz/reth#12178

opening this so we don't forget to enable it after next reth bump
0xtinkle added a commit to 0xtinkle/traverse that referenced this pull request Apr 4, 2025
re paradigmxyz/reth#12178

opening this so we don't forget to enable it after next reth bump
mev-smithxbg added a commit to mev-smithxbg/odyssey that referenced this pull request Sep 28, 2025
re paradigmxyz/reth#12178

opening this so we don't forget to enable it after next reth bump
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.

Make js-tracer optional in rpc

4 participants