-
Notifications
You must be signed in to change notification settings - Fork 15
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
Tx manager #61
Conversation
Add fee calculation to TxManager
@dralves this PR is ready for a new review |
Merge conflicts |
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.
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. |
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.
/// and resign the transaction after adding the nonce and gas limit. | |
/// and re-sign the transaction after adding the nonce and gas limit. |
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.
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. |
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.
/// and then sends it to the Ethereum node. | |
/// ,sends it to the Ethereum node and waits for the receipt. |
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.
Done!
Comments addressed @dralves @supernovahs |
Transaction manager, includes the gas estimation of the transaction.