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

feat(rundler): add support for Rundler v0.3.0 #24

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dancoombs
Copy link

Adds support for the CLI arguments in the latest Rundler version v0.3.0

Copy link
Contributor

@moldy530 moldy530 left a comment

Choose a reason for hiding this comment

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

LGTM from alchemy's side

@moldy530
Copy link
Contributor

@jxom when you get a chance can you take a look at this?

* Use the submit URL for transaction status checks.
* @default false
*/
use_submit_for_status?: boolean
Copy link
Member

@jxom jxom Jul 23, 2024

Choose a reason for hiding this comment

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

Suggested change
use_submit_for_status?: boolean
useSubmitForStatus?: boolean | undefined

These should automatically be converted to snake_case at runtime.

*/
sender?: 'raw' | 'conditional' | 'flashbots' | 'polygonBloxroute'
dropped_status_unsupported?: boolean
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
dropped_status_unsupported?: boolean
droppedStatusUnsupported?: boolean | undefined

* options: raw, conditional, flashbots, polygon_bloxroute
* options: raw, flashbots, polygon_bloxroute
*/
sender?: 'raw' | 'flashbots' | 'polygonBloxroute'
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
sender?: 'raw' | 'flashbots' | 'polygonBloxroute'
sender?: 'raw' | 'flashbots' | 'polygonBloxroute' | undefined

*/
maxFeeIncreases?: number
maxCancellationFeeIncreases?: number
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
maxCancellationFeeIncreases?: number
maxCancellationFeeIncreases?: number | undefined

* The maximum number of blocks to spend in a replacement underpriced state before issuing a transaction cancellation.
* @default 20
*/
maxReplacementUnderpricedBlocks?: number
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
maxReplacementUnderpricedBlocks?: number
maxReplacementUnderpricedBlocks?: number | undefined

@moldy530
Copy link
Contributor

@jxom dan's out until end of August, so I've moved this over to #26

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.

3 participants