-
Notifications
You must be signed in to change notification settings - Fork 16
Conversation
TODO: update package.json to use new provider once merged |
52d3c19
to
08d9461
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome! There were a few comments left around but overall this PR is already looking quite good! Didn't look into why CI is failing but I'd imagine something super simple
d034e60
to
79b016a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left one nit but this looks good!
Oh I also can't approve this PR cuz I created it whoops
@@ -21,3 +21,10 @@ export const remove0x = (str: string): string => { | |||
return str | |||
} | |||
} | |||
|
|||
export const formatNumber = (num: any): number => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be num: string
?
Is there a function which does this in core-utils
? If not I think it's fine to include here but eventually probably a good idea to move it there
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i copied this from ethers formatter, which i think is supposed to keep the input general since it may begin as a number too
i'll move it into core-utils in a followup PR :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm 🥇 💯
This reverts commit d4de023.
Overview
Addresses https://github.com/ethereum-optimism/roadmap/issues/757
Make the batch submitter use
rawTransaction
instead of doing crazy encoding.