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 27, 2024 10:59pm |
Latest commit: 400bbe7a30a2156172bffeb396d3c724a5d7b1b9
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
The update introduces prefunded accounts, private keys, public keys, and seed constants within the @tevm/utils
module. These prefunded entities are essential for creating memoryClient
easily during development and testing. Documentation was updated accordingly, and exports were adjusted to include these new constants.
File(s) | Change Summary |
---|---|
.changeset/green-ways-mate.md |
Added summary of prefunded accounts and keys introduced in @tevm/utils . |
docs/.../reference/@tevm/utils/globals.md , packages/utils/docs/globals.md |
Added declarations for PREFUNDED_ACCOUNTS , PREFUNDED_PRIVATE_KEYS , PREFUNDED_PUBLIC_KEYS , and PREFUNDED_SEED variables. |
docs/.../reference/@tevm/utils/variables/PREFUNDED_ACCOUNTS.md , packages/utils/docs/variables/... |
Introduced PREFUNDED_ACCOUNTS variable, documenting its details, type, and source location. |
docs/.../reference/@tevm/utils/variables/PREFUNDED_PRIVATE_KEYS.md , packages/utils/docs/variables/... |
Added documentation for PREFUNDED_PRIVATE_KEYS as a readonly array of private key strings, outlining its definition and location. |
docs/.../reference/@tevm/utils/variables/PREFUNDED_PUBLIC_KEYS.md , packages/utils/docs/variables/... |
Introduced and documented PREFUNDED_PUBLIC_KEYS , a readonly array containing public key strings. |
docs/.../reference/@tevm/utils/variables/PREFUNDED_SEED.md , packages/utils/docs/variables/... |
Documented PREFUNDED_SEED as a constant Readonly object with properties derivationPath and mnemonic . |
packages/utils/src/prefundedAccounts.ts |
Introduced constants for prefunded private keys, public keys, accounts, and seed, making them accessible for development and testing. |
packages/utils/src/index.ts |
Exported new constants from prefundedAccounts.js to other modules within @tevm/utils . |
tevm/index.cjs , tevm/index.d.cts , tevm/index.d.ts , tevm/index.js , tevm/index.ts |
Expanded exports to include PREFUNDED_ACCOUNTS , PREFUNDED_PRIVATE_KEYS , PREFUNDED_PUBLIC_KEYS , and PREFUNDED_SEED . Updated or removed other module exports as required by changed scopes. |
sequenceDiagram
participant Developer
participant Module as @tevm/utils
participant MemoryClient as memoryClient
Developer->>Module: Access PREFUNDED_ACCOUNTS
Module-->>Developer: Returns array of PrivateKeyAccount objects
Developer->>MemoryClient: Pass account from PREFUNDED_ACCOUNTS to createMemoryClient
MemoryClient-->>Developer: Initializes memoryClient with provided account
In the realm of code, a rabbit's delight,
Prefunded keys now shine so bright,
With accounts and seeds set in array,
Developersβ tasks made simple today.
MemoryClient springs up with ease,
A bunny's touch, to modern keys. πβ¨
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