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

Simplify OEV GW logic #1671

Merged
merged 1 commit into from
Mar 15, 2023
Merged

Simplify OEV GW logic #1671

merged 1 commit into from
Mar 15, 2023

Conversation

amarthadan
Copy link
Contributor

Close #1665

Copy link

@patriksimurka patriksimurka left a comment

Choose a reason for hiding this comment

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

LGTM 👍

.changeset/smart-adults-rescue.md Show resolved Hide resolved
encodedParameters:
'0x3173000000000000000000000000000000000000000000000000000000000000636f696e49640000000000000000000000000000000000000000000000000000657468657265756d000000000000000000000000000000000000000000000000',
timestamp: '1677747253',
encodedValue: '0x00000000000000000000000000000000000000000000000000000000000003e8', // 1000

Choose a reason for hiding this comment

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

Suggested change
encodedValue: '0x00000000000000000000000000000000000000000000000000000000000003e8', // 1000
encodedValue: hexZeroPad(Number(1000).toString(16), 64),

(nit) You can get rid of these comments this way, both I don't mind keeping it.

Copy link
Contributor

@Siegrift Siegrift left a comment

Choose a reason for hiding this comment

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

👍 LGTM

@amarthadan amarthadan merged commit e1746a1 into master Mar 15, 2023
@amarthadan amarthadan deleted the oev-gw-fixes branch March 15, 2023 08:55
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.

Simplify the OEV gateway behavior
3 participants