-
Notifications
You must be signed in to change notification settings - Fork 68
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
Implement eth_sendRawTransaction for large Ethereum TXs #281
Implement eth_sendRawTransaction for large Ethereum TXs #281
Conversation
This should work on-the-fly but there is something broken and still debugging it. |
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.
Looking good.
Early comments
@@ -184,6 +184,11 @@ export class SDKClient { | |||
} | |||
|
|||
async submitEthereumTransaction(transactionBuffer: Uint8Array): Promise<TransactionResponse> { | |||
if (transactionBuffer.length > 4096) { |
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.
nit: the transaction size can be moved to a constant var
Blocked, waiting for PR to be merged. |
Codecov Report
@@ Coverage Diff @@
## main #281 +/- ##
=======================================
Coverage 56.31% 56.31%
=======================================
Files 9 9
Lines 824 824
Branches 130 130
=======================================
Hits 464 464
Misses 334 334
Partials 26 26
Continue to review full report at Codecov.
|
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
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.
LG, also waiting on the skd-js pull to go through
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
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.
LG
Signed-off-by: nikolay <[email protected]>
Signed-off-by: nikolay <[email protected]>
Signed-off-by: nikolay <[email protected]>
Signed-off-by: nikolay <[email protected]>
Signed-off-by: nikolay <[email protected]>
Signed-off-by: nikolay <[email protected]>
Signed-off-by: nikolay <[email protected]>
Signed-off-by: nikolay <[email protected]>
9c5b2d9
to
b193b49
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.
LGTM
Signed-off-by: Nana-EC <[email protected]>
Signed-off-by: Nana-EC <[email protected]>
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
Signed-off-by: nikolay [email protected]
Description:
Support
eth_sendRawTransaction
for large Ethereum TXsRelated issue(s):
Fixes #15
Notes for reviewer:
Checklist