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

Tx manager #61

Merged
merged 93 commits into from
Aug 14, 2024
Merged

Tx manager #61

merged 93 commits into from
Aug 14, 2024

Conversation

pablodeymo
Copy link
Collaborator

@pablodeymo pablodeymo commented Jul 31, 2024

Transaction manager, includes the gas estimation of the transaction.

@pablodeymo
Copy link
Collaborator Author

@dralves this PR is ready for a new review

crates/chainio/txmanager/src/simple_tx_manager.rs Outdated Show resolved Hide resolved
crates/chainio/txmanager/src/simple_tx_manager.rs Outdated Show resolved Hide resolved
@supernovahs
Copy link
Collaborator

Merge conflicts

Copy link
Collaborator

@dralves dralves left a comment

Choose a reason for hiding this comment

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

only minor nits, approving assuming they are resolved

/// Send is used to send a transaction to the Ethereum node. It takes an unsigned/signed transaction
/// and then sends it to the Ethereum node.
/// If you pass in a signed transaction it will ignore the signature
/// and resign the transaction after adding the nonce and gas limit.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
/// and resign the transaction after adding the nonce and gas limit.
/// and re-sign the transaction after adding the nonce and gas limit.

Copy link
Contributor

Choose a reason for hiding this comment

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

Done!

}

/// Send is used to send a transaction to the Ethereum node. It takes an unsigned/signed transaction
/// and then sends it to the Ethereum node.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
/// and then sends it to the Ethereum node.
/// ,sends it to the Ethereum node and waits for the receipt.

Copy link
Contributor

Choose a reason for hiding this comment

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

Done!

@juanbono
Copy link
Contributor

Comments addressed @dralves @supernovahs

@supernovahs supernovahs merged commit 69c0f39 into Layr-Labs:main Aug 14, 2024
1 check failed
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.

7 participants