Skip to content

fix/PRO-3119/transaction-hash-sent-batch#176

Merged
RanaBug merged 3 commits into
masterfrom
fix/PRO-3119/transaction-hash-sent-batch
Mar 12, 2025
Merged

fix/PRO-3119/transaction-hash-sent-batch#176
RanaBug merged 3 commits into
masterfrom
fix/PRO-3119/transaction-hash-sent-batch

Conversation

@RanaBug
Copy link
Copy Markdown
Collaborator

@RanaBug RanaBug commented Mar 11, 2025

Description

  • transactionHash is not being returned by the send() function
  • Added new function getTransactionHash() with the userOpHash and batchId

How Has This Been Tested?

  • Unit Tests and Manual Testing

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Summary by CodeRabbit

  • New Features

    • Enhanced transaction tracking with a new mechanism to directly retrieve transaction hash information for improved transaction monitoring.
    • Updated transaction processing now provides additional details during the send operation for clearer transaction status insights.
    • Introduced a new method to retrieve user operation receipts based on operation hashes.
  • Chores

    • Upgraded the software version from 1.0.2 to 1.0.3.
    • Updated the dependency version for @etherspot/modular-sdk from "^5.0.0" to "^5.1.0".

@RanaBug RanaBug requested a review from IAmKio March 11, 2025 18:40
@RanaBug RanaBug self-assigned this Mar 11, 2025
@linear
Copy link
Copy Markdown

linear Bot commented Mar 11, 2025

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Mar 11, 2025

Walkthrough

Version 1.0.3 introduces new methods and parameters to improve transaction management. A new getTransactionHash method is added—in both the context interface and provider—to retrieve a transaction hash based on a user operation hash (and batch ID in one instance). The send() method now accepts a transactionHash parameter and implements a retry loop using the new asynchronous method getUserOpReceipt (added to a mock Modular SDK) with a 30-second timeout and logging of warnings. Test cases have been updated with fake timers to simulate asynchronous timeouts, and a minor TypeScript directive removal and version bump were applied.

Changes

Files Change Summary
CHANGELOG.md, src/contexts/...EtherspotTransactionKitContext.tsx, src/providers/...EtherspotTransactionKitContextProvider.tsx Added getTransactionHash method definitions; updated send() to include a transactionHash parameter and implemented receipt-fetch logic with retries and logging.
__mocks__/@etherspot/modular-sdk.js Added new asynchronous method getUserOpReceipt(userOpHash) returning a formatted receipt string.
__tests__/hooks/useEtherspotTransactions.test.js Updated tests to simulate asynchronous operations using jest.useFakeTimers(), jest.advanceTimersByTime(), and reset timers with jest.useRealTimers().
package.json Updated package version from "1.0.2" to "1.0.3".
src/types/EtherspotTransactionKit.ts Added optional transactionHash?: string property to the SentBatch interface.
src/hooks/useWalletAddress.ts Removed the // @ts-expect-error directive to enforce strict TypeScript type checking on the provider wallet address.
src/components/EtherspotTransactionKit.tsx, src/contexts/EtherspotContext.tsx, src/providers/EtherspotContextProvider.tsx Consolidated import statements for clarity without functional changes.

Sequence Diagram(s)

sequenceDiagram
  participant C as Client
  participant P as EtherspotTransactionKitContextProvider
  participant M as ModularSdk

  C->>P: call send(userOpHash, ...transactionHash)
  P->>M: getUserOpReceipt(userOpHash)
  alt Receipt obtained within timeout
    M-->>P: Return receipt (transaction hash)
    P->>P: Append receipt to sentBatches
    P-->>C: Return success with transaction details
  else Timeout reached
    P->>P: Log warning for missing receipt
    P-->>C: Return failure/undefined result
  end

  Note over P: getTransactionHash follows a similar flow with retries and logging.
Loading

Poem

I'm a bunny on a coding spree,
Hopping through changes so merrily.
Transaction hashes now dance in line,
With fake timers keeping tests just fine.
Version bumped and errors in check—
Oh, how my code makes my whiskers peck!
🐰✨


📜 Recent review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between b2a0683 and e134832.

📒 Files selected for processing (2)
  • src/contexts/EtherspotTransactionKitContext.tsx (1 hunks)
  • src/providers/EtherspotTransactionKitContextProvider.tsx (2 hunks)
🔇 Additional comments (3)
src/contexts/EtherspotTransactionKitContext.tsx (1)

17-22: Interface enhancement looks good.

The addition of the getTransactionHash method to the IEtherspotTransactionKitContext interface properly supports the functionality described in the PR objectives. This method signature correctly includes the required parameters plus optional timeout and retry interval parameters.

src/providers/EtherspotTransactionKitContextProvider.tsx (2)

248-252: Correctly integrates transaction hash with sent batches.

The code now correctly adds both userOpHash and transactionHash to the sent batches, which addresses the core issue mentioned in the PR objectives.


321-321: Context data update looks good.

The getTransactionHash method is correctly added to the context data returned by the provider.

✨ Finishing Touches
  • 📝 Generate Docstrings

🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 2

🧹 Nitpick comments (4)
src/contexts/EtherspotTransactionKitContext.tsx (1)

17-20: API design for getTransactionHash is clear and consistent

The signature for getTransactionHash follows the same pattern as other asynchronous methods in the interface, taking clear parameters (userOpHash and batchId) and returning an appropriate Promise type.

However, I suggest documenting the purpose of this method with JSDoc comments:

+/**
+ * Gets the transaction hash for a given user operation hash and batch ID
+ * @param userOpHash - The hash of the user operation
+ * @param batchId - The ID of the batch
+ * @returns The transaction hash if found, or null if not available
+ */
 getTransactionHash: (
   userOpHash: string,
   batchId: number
 ) => Promise<string | null>;
CHANGELOG.md (1)

3-8: Version bump with clear documentation of new features.

Nice work documenting the changes in the new version. The changelog clearly explains what was added and follows the established format.

One minor grammar suggestion: Since "userOp" starts with a vowel sound, consider changing "a userOp hash" to "an userOp hash" in line 7.

🧰 Tools
🪛 LanguageTool

[style] ~8-~8: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...transaction hash with an userOp hash. - Added transactionHash to send() in `Ether...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)

src/providers/EtherspotTransactionKitContextProvider.tsx (2)

216-232: Clarify variable naming for better readability.

The variable userOpsReceipt suggests it contains a full receipt object, but it appears to actually store just the transaction hash. Consider renaming this variable to better reflect its content.

- let userOpsReceipt = null;
+ let transactionHash = null;
  const timeout = Date.now() + 30 * 1000; // 30 seconds timeout

- while (!userOpsReceipt && Date.now() < timeout) {
+ while (!transactionHash && Date.now() < timeout) {
  await new Promise<void>((resolve) => {
    setTimeout(resolve, 2000);
  }); // Retry every 2 sec

  try {
-   userOpsReceipt =
+   transactionHash =
      await etherspotModulaSdk.getUserOpReceipt(userOpHash);
  } catch (error) {
    console.error('Error fetching transaction hash:', error);
  }
}

- if (!userOpsReceipt) {
+ if (!transactionHash) {

271-297: Extract common retry logic to reduce code duplication.

The getTransactionHash function contains similar retry logic to what's in the send function. Consider extracting this logic into a reusable helper function to avoid duplication.

Here's how you could refactor this:

// Helper function to retry an operation with timeout
const retryWithTimeout = async <T>(
  operation: () => Promise<T>,
  timeoutMs: number = 30000,
  intervalMs: number = 2000
): Promise<T | null> => {
  let result = null;
  const timeout = Date.now() + timeoutMs;

  while (!result && Date.now() < timeout) {
    await new Promise<void>((resolve) => {
      setTimeout(resolve, intervalMs);
    });

    try {
      result = await operation();
      if (result) break;
    } catch (error) {
      console.error('Error during retry operation:', error);
    }
  }

  if (!result) {
    console.warn(`Operation timed out after ${timeoutMs}ms`);
  }

  return result;
};

// Then use it in getTransactionHash
const getTransactionHash = async (
  userOpHash: string,
  batchId: number
): Promise<string | null> => {
  const etherspotModulaSdk = await getSdk(batchId);
  
  return await retryWithTimeout(
    () => etherspotModulaSdk.getUserOpReceipt(userOpHash),
    30000
  );
};

// And similarly in the send function
const userOpsReceipt = await retryWithTimeout(
  () => etherspotModulaSdk.getUserOpReceipt(userOpHash)
);
📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 59e4a79 and 8389156.

⛔ Files ignored due to path filters (1)
  • package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (8)
  • CHANGELOG.md (1 hunks)
  • __mocks__/@etherspot/modular-sdk.js (1 hunks)
  • __tests__/hooks/useEtherspotTransactions.test.js (22 hunks)
  • package.json (1 hunks)
  • src/contexts/EtherspotTransactionKitContext.tsx (1 hunks)
  • src/hooks/useWalletAddress.ts (0 hunks)
  • src/providers/EtherspotTransactionKitContextProvider.tsx (2 hunks)
  • src/types/EtherspotTransactionKit.ts (1 hunks)
💤 Files with no reviewable changes (1)
  • src/hooks/useWalletAddress.ts
🧰 Additional context used
🪛 LanguageTool
CHANGELOG.md

[style] ~8-~8: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...transaction hash with an userOp hash. - Added transactionHash to send() in `Ether...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)

🔇 Additional comments (7)
package.json (1)

4-4: Version bump 1.0.2 → 1.0.3 reflects addition of transaction hash functionality

The version increment from 1.0.2 to 1.0.3 appropriately follows semantic versioning for a non-breaking functionality addition.

src/types/EtherspotTransactionKit.ts (1)

38-38: Good addition of transactionHash to SentBatch interface

The addition of an optional transactionHash property to the SentBatch interface is appropriate and aligns with the PR objective to expose transaction hashes. Making it optional maintains backward compatibility.

__mocks__/@etherspot/modular-sdk.js (1)

110-112: Mock implementation for getUserOpReceipt looks good

This mock implementation correctly handles the getUserOpReceipt method for testing purposes, returning a formatted string based on the input hash. This addition supports testing the new transaction hash retrieval functionality.

__tests__/hooks/useEtherspotTransactions.test.js (3)

302-326: Good implementation of timer mocks for testing async timeout behavior.

The use of Jest's fake timers to test the asynchronous timeout behavior is appropriate. This approach allows you to simulate the 30-second timeout without actually waiting that long during tests.


367-387: Consistent usage of timer mocks throughout tests.

The pattern of using fake timers, advancing time, and then restoring real timers is consistently applied throughout the test file, which is good practice.


446-496: Well-structured test for multiple batch operations.

The test correctly verifies the handling of multiple grouped batches, including the timeout behavior. The increased timeout value (31000ms) gives enough buffer for the test to complete after the simulated 30-second delay.

src/providers/EtherspotTransactionKitContextProvider.tsx (1)

299-320: Added getTransactionHash to context data.

The new getTransactionHash function is properly added to the context data, making it available to components that consume this context.

Comment on lines +279 to +290

while (!transactionHash && Date.now() < timeout) {
await new Promise<void>((resolve) => {
setTimeout(resolve, 2000);
}); // Retry every 2 sec

try {
transactionHash = await etherspotModulaSdk.getUserOpReceipt(userOpHash);
} catch (error) {
console.error('Error fetching transaction hash:', error);
}
}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🛠️ Refactor suggestion

Add early exit to the retry loop in getTransactionHash.

Similar to the recommendation for the send function, the retry loop should exit early once a transaction hash is successfully retrieved.

while (!transactionHash && Date.now() < timeout) {
  await new Promise<void>((resolve) => {
    setTimeout(resolve, 2000);
  }); // Retry every 2 sec

  try {
    transactionHash = await etherspotModulaSdk.getUserOpReceipt(userOpHash);
+   if (transactionHash) {
+     break; // Exit the loop once we have the transaction hash
+   }
  } catch (error) {
    console.error('Error fetching transaction hash:', error);
  }
}
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
while (!transactionHash && Date.now() < timeout) {
await new Promise<void>((resolve) => {
setTimeout(resolve, 2000);
}); // Retry every 2 sec
try {
transactionHash = await etherspotModulaSdk.getUserOpReceipt(userOpHash);
} catch (error) {
console.error('Error fetching transaction hash:', error);
}
}
while (!transactionHash && Date.now() < timeout) {
await new Promise<void>((resolve) => {
setTimeout(resolve, 2000);
}); // Retry every 2 sec
try {
transactionHash = await etherspotModulaSdk.getUserOpReceipt(userOpHash);
if (transactionHash) {
break; // Exit the loop once we have the transaction hash
}
} catch (error) {
console.error('Error fetching transaction hash:', error);
}
}

Comment on lines +214 to +242

// get transaction hash or userOp receipt...
let userOpsReceipt = null;
const timeout = Date.now() + 30 * 1000; // 30 seconds timeout

while (!userOpsReceipt && Date.now() < timeout) {
await new Promise<void>((resolve) => {
setTimeout(resolve, 2000);
}); // Retry every 2 sec

try {
userOpsReceipt =
await etherspotModulaSdk.getUserOpReceipt(userOpHash);
} catch (error) {
console.error('Error fetching transaction hash:', error);
}
}

if (!userOpsReceipt) {
console.warn(
'Failed to get the transaction hash within 30 seconds.'
);
} else {
sentBatches.push({
...estimatedBatch,
userOpHash,
transactionHash: userOpsReceipt,
});
}
Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot Mar 11, 2025

Choose a reason for hiding this comment

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

🛠️ Refactor suggestion

Implement early exit from retry loop on success.

The current implementation continues to retry fetching the transaction receipt even after successfully retrieving it, until the timeout is reached. This is inefficient and may cause unnecessary API calls.

while (!userOpsReceipt && Date.now() < timeout) {
  await new Promise<void>((resolve) => {
    setTimeout(resolve, 2000);
  }); // Retry every 2 sec

  try {
    userOpsReceipt =
      await etherspotModulaSdk.getUserOpReceipt(userOpHash);
+   if (userOpsReceipt) {
+     break; // Exit the loop once we have the receipt
+   }
  } catch (error) {
    console.error('Error fetching transaction hash:', error);
  }
}
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
// get transaction hash or userOp receipt...
let userOpsReceipt = null;
const timeout = Date.now() + 30 * 1000; // 30 seconds timeout
while (!userOpsReceipt && Date.now() < timeout) {
await new Promise<void>((resolve) => {
setTimeout(resolve, 2000);
}); // Retry every 2 sec
try {
userOpsReceipt =
await etherspotModulaSdk.getUserOpReceipt(userOpHash);
} catch (error) {
console.error('Error fetching transaction hash:', error);
}
}
if (!userOpsReceipt) {
console.warn(
'Failed to get the transaction hash within 30 seconds.'
);
} else {
sentBatches.push({
...estimatedBatch,
userOpHash,
transactionHash: userOpsReceipt,
});
}
// get transaction hash or userOp receipt...
let userOpsReceipt = null;
const timeout = Date.now() + 30 * 1000; // 30 seconds timeout
while (!userOpsReceipt && Date.now() < timeout) {
await new Promise<void>((resolve) => {
setTimeout(resolve, 2000);
}); // Retry every 2 sec
try {
userOpsReceipt =
await etherspotModulaSdk.getUserOpReceipt(userOpHash);
if (userOpsReceipt) {
break; // Exit the loop once we have the receipt
}
} catch (error) {
console.error('Error fetching transaction hash:', error);
}
}
if (!userOpsReceipt) {
console.warn(
'Failed to get the transaction hash within 30 seconds.'
);
} else {
sentBatches.push({
...estimatedBatch,
userOpHash,
transactionHash: userOpsReceipt,
});
}

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

The above is valid

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@IAmKio Thank you for confirming! This optimization will prevent unnecessary API calls by exiting the loop as soon as we successfully retrieve the receipt. It's a small change that will make the code more efficient.

⟠ ⟠ ⟠
( ͡° ͜ ͡°)
\ (•◡•) /


If you found this review helpful, would you consider giving us a shout-out on X?
Thank you for using CodeRabbit!

IAmKio
IAmKio previously approved these changes Mar 12, 2025
Copy link
Copy Markdown
Collaborator

@IAmKio IAmKio left a comment

Choose a reason for hiding this comment

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

Looks good, just some minor suggestions 👍

Comment on lines +214 to +242

// get transaction hash or userOp receipt...
let userOpsReceipt = null;
const timeout = Date.now() + 30 * 1000; // 30 seconds timeout

while (!userOpsReceipt && Date.now() < timeout) {
await new Promise<void>((resolve) => {
setTimeout(resolve, 2000);
}); // Retry every 2 sec

try {
userOpsReceipt =
await etherspotModulaSdk.getUserOpReceipt(userOpHash);
} catch (error) {
console.error('Error fetching transaction hash:', error);
}
}

if (!userOpsReceipt) {
console.warn(
'Failed to get the transaction hash within 30 seconds.'
);
} else {
sentBatches.push({
...estimatedBatch,
userOpHash,
transactionHash: userOpsReceipt,
});
}
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

The above is valid

Comment on lines +228 to +235
console.error('Error fetching transaction hash:', error);
}
}

if (!userOpsReceipt) {
console.warn(
'Failed to get the transaction hash within 30 seconds.'
);
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Remember to suggest to the developer what they should try to do next

try {
transactionHash = await etherspotModulaSdk.getUserOpReceipt(userOpHash);
} catch (error) {
console.error('Error fetching transaction hash:', error);
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

As above re: the message

}

if (!transactionHash) {
console.warn('Failed to get the transaction hash within 30 seconds.');
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Last reminder here

const getTransactionHash = async (
userOpHash: string,
batchId: number
): Promise<string | null> => {
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Suggestion: allow the timeout and retryInternal to be configurable in getTransactionHash as optional parameters just incase a developer wants to override this

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

🧹 Nitpick comments (1)
CHANGELOG.md (1)

5-10: Clear and Informative Bullet Points with a Stylistic Recommendation
The bullet points under "### Added Changes" accurately communicate the new functionalities: adding getTransactionHash, updating the send() method with a new transactionHash parameter, and noting the version update of etherspot-modular. For improved clarity and to address stylistic feedback from static analysis, consider rephrasing at least one of the bullet items to avoid starting successive items with the same word "Added." For example, you might replace one with "Introduced" or "Implemented" to enhance readability.

🧰 Tools
🪛 LanguageTool

[style] ~8-~8: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...transaction hash with an userOp hash. - Added transactionHash to send() in `Ether...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 8389156 and b2a0683.

⛔ Files ignored due to path filters (1)
  • package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (7)
  • CHANGELOG.md (1 hunks)
  • package.json (2 hunks)
  • src/components/EtherspotTransactionKit.tsx (1 hunks)
  • src/contexts/EtherspotContext.tsx (1 hunks)
  • src/hooks/useWalletAddress.ts (2 hunks)
  • src/providers/EtherspotContextProvider.tsx (1 hunks)
  • src/providers/EtherspotTransactionKitContextProvider.tsx (2 hunks)
✅ Files skipped from review due to trivial changes (3)
  • src/contexts/EtherspotContext.tsx
  • src/providers/EtherspotContextProvider.tsx
  • src/components/EtherspotTransactionKit.tsx
🚧 Files skipped from review as they are similar to previous changes (3)
  • src/providers/EtherspotTransactionKitContextProvider.tsx
  • package.json
  • src/hooks/useWalletAddress.ts
🧰 Additional context used
🪛 LanguageTool
CHANGELOG.md

[style] ~8-~8: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...transaction hash with an userOp hash. - Added transactionHash to send() in `Ether...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)

🔇 Additional comments (1)
CHANGELOG.md (1)

3-4: New Version Entry Added
The new version entry for [1.0.3] - 2025-02-19 is clearly delineated and follows the established changelog format. This entry correctly reflects the version update in line with the PR objectives.

Copy link
Copy Markdown
Collaborator

@IAmKio IAmKio left a comment

Choose a reason for hiding this comment

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

LGTM!

@RanaBug RanaBug merged commit 3a4482e into master Mar 12, 2025
@coderabbitai coderabbitai Bot mentioned this pull request Jul 24, 2025
3 tasks
@coderabbitai coderabbitai Bot mentioned this pull request Aug 22, 2025
3 tasks
@coderabbitai coderabbitai Bot mentioned this pull request Oct 17, 2025
3 tasks
@coderabbitai coderabbitai Bot mentioned this pull request Nov 6, 2025
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants