test(ethexe): append test where injected tx sent to one-of-us on mainnet#5291
test(ethexe): append test where injected tx sent to one-of-us on mainnet#5291grishasobol wants to merge 6 commits intomasterfrom
Conversation
Changed Files
|
Summary of ChangesHello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request introduces a new integration test case designed to validate the functionality of sending injected transactions to a specific destination on the mainnet. The test ensures that the transaction lifecycle, including signing and subscription-based monitoring, operates correctly within the current infrastructure. Highlights
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here. Footnotes
|
There was a problem hiding this comment.
Code Review
This pull request introduces a new integration test, send_injected_tx_join_us, in ethexe/service/tests/injected_tx.rs. The test simulates the process of creating, signing, and sending an injected transaction to a validator RPC on the Vara network and then waiting for the transaction promise. A minor improvement was suggested to fix an incomplete log message within the test execution flow.
| .await | ||
| .unwrap(); | ||
|
|
||
| println!("Waiting for promise to ..."); |
| const PAYLOAD: &[u8] = &[ | ||
| 0x1c, 0x4f, 0x6e, 0x65, 0x4f, 0x66, 0x55, 0x73, 0x18, 0x4a, 0x6f, 0x69, 0x6e, 0x55, 0x73, | ||
| ]; |
There was a problem hiding this comment.
| const PAYLOAD: &[u8] = &[ | |
| 0x1c, 0x4f, 0x6e, 0x65, 0x4f, 0x66, 0x55, 0x73, 0x18, 0x4a, 0x6f, 0x69, 0x6e, 0x55, 0x73, | |
| ]; | |
| const PAYLOAD: &[u8] = "\u{1c}OneOfUs\u{18}JoinUs".as_bytes(); |
| 0x1c, 0x4f, 0x6e, 0x65, 0x4f, 0x66, 0x55, 0x73, 0x18, 0x4a, 0x6f, 0x69, 0x6e, 0x55, 0x73, | ||
| ]; | ||
|
|
||
| let client = WsClientBuilder::new() |
|
@claude opus update to latest master, resolve conflicts and fix review comments |
|
Claude finished @grishasobol's task in 5m 19s —— View job Task progress
SummaryPushed commit
Not done — needs your input1. Update to latest master. Only one commit is on master ahead of this branch: 2. "use ethexe-sdk" on line 49. The only
Could you confirm which direction you want? Happy to do either in a follow-up. |
- Use string literal for SCALE-encoded PAYLOAD (suggested by StackOverflowExcept1on). - Fix incomplete log message wording (suggested by gemini-code-assist). Co-authored-by: Gregory Sobol <[email protected]>
No description provided.