Closed roninjin10 closed 1 week ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
tevm-monorepo-tevm | ❌ Failed (Inspect) | Jun 26, 2024 9:43pm |
Latest commit: 9f74b44348abc6d53c2d3b954579d9b853f00851
The changes in this PR will be included in the next version bump.
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
[!IMPORTANT]
Review skipped
More than 25% of the files skipped due to max files limit. The review is being skipped to prevent a low-quality review.
237 files out of 294 files are above the max files limit of 50. Please upgrade to Pro plan to get higher limits.
You can disable this status message by setting the
reviews.review_status
tofalse
in the CodeRabbit configuration file.
The update enhances the MemoryClient
functionalities by adding support for underlying viem options and refining type declarations across multiple packages. It introduces new types and test cases to ensure seamless integration of MemoryClient
with specific configurations like account handling, schema definitions, and client creation processes.
File/Path | Summary |
---|---|
.changeset/cool-lamps-double.md |
Added underlying viem options to MemoryClientOptions in @tevm/memory-client . |
.changeset/nasty-bobcats-complain.md |
Made Common generic optional on BaseClientOptions in @tevm/base-client . |
packages/base-client/src/BaseClientOptions.ts |
Updated BaseClientOptions type declaration with a generic parameter TCommon extends Common = Common . |
packages/memory-client/src/CreateMemoryClientFn.ts |
Introduced CreateMemoryClientFn type for creating a MemoryClient instance based on provided options. |
packages/memory-client/src/MemoryClient.ts |
Updated MemoryClient type to include new type dependencies and refined its signature. Removed and replaced specific type imports accordingly. |
packages/memory-client/src/MemoryClientOptions.ts |
Added MemoryClientOptions type that extends BaseClientOptions and combines different types related to client configuration. |
packages/memory-client/src/TevmRpcSchema.ts |
Introduced TevmRpcSchema type combining elements from various schemas for Tevm RPC operations. |
packages/memory-client/src/createMemoryClient.js |
Updated createMemoryClient function signature to accept different parameter types for options, adjusting the object creation within the function. |
packages/memory-client/src/test/viemSigner.spec.ts |
Added test case demonstrating the usage of MemoryClient as a signer in the Viem framework, including setting up a client with a specific account and testing transaction sending functionality. |
sequenceDiagram
participant User
participant CreateMemoryClientFn
participant MemoryClient
participant ViemModule
User->>CreateMemoryClientFn: Call with options
CreateMemoryClientFn->>MemoryClient: Create instance with options
MemoryClient->>ViemModule: Pass underlying options
ViemModule-->>MemoryClient: Return enhanced client
MemoryClient-->>CreateMemoryClientFn: Return instance
CreateMemoryClientFn-->>User: Return MemoryClient instance
In the code where clients dance,
New options spark a bright advance.
Memory's weave with viem's grace,
Accounts and chains find their place.
Schema dreams and types refined,
All in sync, perfectly aligned.
To the future, this update does cheer,
For seamless flow and boundless peer. 🎉🐇
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
This stack of pull requests is managed by Graphite. Learn more about stacking.
Join @roninjin10 and the rest of your teammates on Graphite
Description
Concise description of proposed changes
Testing
Explain the quality checks that have been done on the code changes
Additional Information
Your ENS/address:
Summary by CodeRabbit
New Features
MemoryClient
.MemoryClient
with new types for creating instances based on specific options.Enhancements
Common
optional inBaseClientOptions
.MemoryClient
type with new dependencies and an updated composition.Tests
MemoryClient
as a signer in Viem, including transaction sending.