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

Share mev gas price and gas used in hints #10

Closed
wants to merge 4 commits into from
Closed

Conversation

dvush
Copy link
Contributor

@dvush dvush commented May 18, 2023

Currently, it's deployed on goerli for testing.

specs/events/v0.1.md Outdated Show resolved Hide resolved

### `gasUsed`

Hex-string of the gas used by the transaction rounded up to the 3 most significant hex digits.
Copy link

Choose a reason for hiding this comment

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

Do we have a discussion where we consider the implication of this? I think we could detect things like add liquidity vs swap....

It also makes me think of what happens when we have a uni v3 market with a ton of liquidity in the nearest tick on the sell side, but spread out over a significant number of ticks on the buy side... could we determine which direction a swap is occurring by looking at gasUsed?

Copy link

@epheph epheph left a comment

Choose a reason for hiding this comment

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

Left a couple concerns. would be interested to talk about gasUsed more.

@dvush
Copy link
Contributor Author

dvush commented Jun 8, 2023

Close because its will not be deployed to mainnet in this form

@dvush dvush closed this Jun 8, 2023
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.

None yet

2 participants