-
-
Notifications
You must be signed in to change notification settings - Fork 22
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
📝 Fix: tevm-run #1355
📝 Fix: tevm-run #1355
Conversation
## Description _Concise description of proposed changes_ ## Testing Explain the quality checks that have been done on the code changes ## Additional Information - [ ] I read the [contributing docs](../docs/contributing.md) (if this is your first contribution) Your ENS/address: <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Bug Fixes** - Corrected a typographical error in the tevm-run component to enhance documentation clarity. - **New Features** - Updated the file naming convention for plugins in the tevm-run package, potentially supporting multiple plugins for improved functionality. <!-- end of auto-generated comment: release notes by coderabbit.ai --> Co-authored-by: William Cory <[email protected]>
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.⚠️ ⚠️ ⚠️ ⚠️ ⚠️ ⚠️ `main` is currently in **pre mode** so this branch has prereleases rather than normal releases. If you want to exit prereleases, run `changeset pre exit` on `main`.⚠️ ⚠️ ⚠️ ⚠️ ⚠️ ⚠️ # Releases ## [email protected] ### Patch Changes - [#1352](#1352) [`f745b1c`](f745b1c) Thanks [@roninjin10](https://github.com/roninjin10)! - Fixed typo in tevm-run files Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Skipped Deployment
|
🦋 Changeset detectedLatest commit: 8cb00df The changes in this PR will be included in the next version bump. This PR includes changesets to release 4 packages
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 skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the 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? TipsChatThere are 3 ways to chat with CodeRabbit:
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 as PR comments)
Additionally, you can add CodeRabbit Configuration File (
|
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite. 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 - [ ] I read the [contributing docs](../docs/contributing.md) (if this is your first contribution) Your ENS/address: Co-authored-by: William Cory <[email protected]>
## Description _Concise description of proposed changes_ ## Testing Explain the quality checks that have been done on the code changes ## Additional Information - [ ] I read the [contributing docs](../docs/contributing.md) (if this is your first contribution) Your ENS/address: <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Introduced multiple new test cases to verify various functionalities like state dumping, account retrieval, contract code fetching, and error handling. - **Bug Fixes** - Enhanced error handling in the `dumpCanonicalGenesis` function to provide more informative error messages when an account is not found. - Improved the `getAccount` function to return `undefined` when an account does not exist. - **Improvements** - Updated `dumpStorageRange` to handle cache storage and provide detailed storage data. - Enhanced `getAccountFromProvider` to handle specific address types for better consistency. - Made the `deleteAccount` function asynchronous for more reliable account deletion processes. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: William Cory <[email protected]>
[##](url) Description ![image](https://github.com/user-attachments/assets/f41b0216-542b-490c-a435-529c2b8e6987) ## Testing `nix develop` to enter the flake environment, confirmed bun/pnpm/rust/etc are present. ## Additional Information ️- [ ] I read the [contributing docs](../docs/contributing.md) (if this is your first contribution) **path is borken ⬆** Your ENS/address: shazow.eth <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Introduced a new development shell configuration for streamlined project setup. - Added essential tools including Node.js, pnpm, bun, Foundry, and Rust to the development environment. - Enhanced user experience with a customizable shell prompt and environment file sourcing. - **Refactor** - Organized dependency management through structured inputs from various repositories. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
## Description run `direnv allow` and all the nix packages in `flake.nix` will be injected into your shell ## Testing Explain the quality checks that have been done on the code changes ## Additional Information - [x] I read the [contributing docs](../docs/contributing.md) (if this is your first contribution) Your ENS/address: esm.eth <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Integrated `Direnv` for improved environment variable management. - Enhanced file association for `.envrc` with syntax highlighting in Visual Studio Code. - Added `direnv` to package dependencies for streamlined development setups. - **Bug Fixes** - Updated `.gitignore` to exclude `.direnv` files, improving project cleanliness. - **Documentation** - Updated recommended extensions in Visual Studio Code to support better Nix syntax. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
## Description _Concise description of proposed changes_ ## Testing Explain the quality checks that have been done on the code changes ## Additional Information - [ ] I read the [contributing docs](../docs/contributing.md) (if this is your first contribution) Your ENS/address: <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Introduced `TevmNode` as a replacement for `BaseClient`, enhancing client architecture and functionality. - Added new `setChainId` method for improved flexibility in blockchain interactions. - Enhanced logging capabilities with new filter registration methods and the `logConfig` option. - Introduced the `TevmNode` API for programmatic access to a local EVM instance, including methods for managing transactions and filters. - **Bug Fixes** - Resolved issues with state persistence in forked mode, improving reliability. - Fixed handling of `customCrypto` settings in non-forked mode. - Corrected handling of `deployedBytecode` in the state manager for better integrity during state transitions. - **Documentation** - Updated documentation paths and references from `BaseClient` to `TevmNode`, improving clarity for users. - Enhanced API documentation to reflect new methods and their intended usage. - Added detailed information for creating and using `TevmNode`, including readiness checks and integration with existing libraries. - **Chores** - Updated dependency management to replace `@tevm/base-client` with `@tevm/node` across the project. - Added a new coverage summary file, aiding in code quality tracking. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: William Cory <[email protected]>
## Description Finishes up documentation for TevmNode pr merged in previous pr. Closes #1362 ## Testing Explain the quality checks that have been done on the code changes ## Additional Information - [ ] I read the [contributing docs](../docs/contributing.md) (if this is your first contribution) Your ENS/address: Co-authored-by: William Cory <[email protected]>
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.⚠️ ⚠️ ⚠️ ⚠️ ⚠️ ⚠️ `main` is currently in **pre mode** so this branch has prereleases rather than normal releases. If you want to exit prereleases, run `changeset pre exit` on `main`.⚠️ ⚠️ ⚠️ ⚠️ ⚠️ ⚠️ # Releases ## @tevm/[email protected] ### Minor Changes - [#1370](#1370) [`1dcfd69`](1dcfd69) Thanks [@roninjin10](https://github.com/roninjin10)! - Renamed tevm/base-client to tevm/node ### Patch Changes - Updated dependencies \[[`1dcfd69`](1dcfd69)]: - @tevm/[email protected] - @tevm/[email protected] - @tevm/[email protected] - @tevm/[email protected] - @tevm/[email protected] - @tevm/[email protected] ## @tevm/[email protected] ### Minor Changes - [#1370](#1370) [`1dcfd69`](1dcfd69) Thanks [@roninjin10](https://github.com/roninjin10)! - Renamed tevm/base-client to tevm/node ### Patch Changes - Updated dependencies \[[`1dcfd69`](1dcfd69)]: - @tevm/[email protected] - @tevm/[email protected] ## @tevm/[email protected] ### Minor Changes - [#1370](#1370) [`1dcfd69`](1dcfd69) Thanks [@roninjin10](https://github.com/roninjin10)! - Renamed tevm/base-client to tevm/node ### Patch Changes - Updated dependencies \[[`1dcfd69`](1dcfd69), [`1dcfd69`](1dcfd69)]: - @tevm/[email protected] - @tevm/[email protected] - @tevm/[email protected] - @tevm/[email protected] - @tevm/[email protected] - @tevm/[email protected] - @tevm/[email protected] - @tevm/[email protected] - @tevm/[email protected] - @tevm/[email protected] - @tevm/[email protected] - @tevm/[email protected] ## @tevm/[email protected] ### Minor Changes - [#1370](#1370) [`1dcfd69`](1dcfd69) Thanks [@roninjin10](https://github.com/roninjin10)! - Renamed tevm/base-client to tevm/node ### Patch Changes - Updated dependencies \[[`1dcfd69`](1dcfd69)]: - @tevm/[email protected] - @tevm/[email protected] ## @tevm/[email protected] ### Minor Changes - [#1370](#1370) [`1dcfd69`](1dcfd69) Thanks [@roninjin10](https://github.com/roninjin10)! - Renamed tevm/base-client to tevm/node ### Patch Changes - Updated dependencies \[[`1dcfd69`](1dcfd69)]: - @tevm/[email protected] - @tevm/[email protected] - @tevm/[email protected] - @tevm/[email protected] ## @tevm/[email protected] ### Minor Changes - [#1370](#1370) [`1dcfd69`](1dcfd69) Thanks [@roninjin10](https://github.com/roninjin10)! - Renamed tevm/base-client to tevm/node ### Patch Changes - Updated dependencies \[[`1dcfd69`](1dcfd69)]: - @tevm/[email protected] - @tevm/[email protected] ## @tevm/[email protected] ### Minor Changes - [#1370](#1370) [`1dcfd69`](1dcfd69) Thanks [@roninjin10](https://github.com/roninjin10)! - Renamed tevm/base-client to tevm/node ### Patch Changes - Updated dependencies \[[`1dcfd69`](1dcfd69)]: - @tevm/[email protected] - @tevm/[email protected] - @tevm/[email protected] - @tevm/[email protected] ## @tevm/[email protected] ### Minor Changes - [#1370](#1370) [`1dcfd69`](1dcfd69) Thanks [@roninjin10](https://github.com/roninjin10)! - Renamed tevm/base-client to tevm/node ## @tevm/[email protected] ### Minor Changes - [#1370](#1370) [`1dcfd69`](1dcfd69) Thanks [@roninjin10](https://github.com/roninjin10)! - Renamed tevm/base-client to tevm/node ### Patch Changes - Updated dependencies \[[`1dcfd69`](1dcfd69), [`1dcfd69`](1dcfd69)]: - @tevm/[email protected] - @tevm/[email protected] - @tevm/[email protected] - @tevm/[email protected] - @tevm/[email protected] - @tevm/[email protected] ## @tevm/[email protected] ### Minor Changes - [#1370](#1370) [`1dcfd69`](1dcfd69) Thanks [@roninjin10](https://github.com/roninjin10)! - Renamed tevm/base-client to tevm/node ### Patch Changes - Updated dependencies \[[`1dcfd69`](1dcfd69)]: - @tevm/[email protected] - @tevm/[email protected] - @tevm/[email protected] - @tevm/[email protected] - @tevm/[email protected] - @tevm/[email protected] - @tevm/[email protected] - @tevm/[email protected] - @tevm/[email protected] - @tevm/[email protected] ## @tevm/[email protected] ### Minor Changes - [#1370](#1370) [`1dcfd69`](1dcfd69) Thanks [@roninjin10](https://github.com/roninjin10)! - Renamed tevm/base-client to tevm/node ### Patch Changes - Updated dependencies \[[`1dcfd69`](1dcfd69), [`1dcfd69`](1dcfd69)]: - @tevm/[email protected] - @tevm/[email protected] - @tevm/[email protected] - @tevm/[email protected] - @tevm/[email protected] - @tevm/[email protected] - @tevm/[email protected] - @tevm/[email protected] - @tevm/[email protected] - @tevm/[email protected] - @tevm/[email protected] - @tevm/[email protected] - @tevm/[email protected] ## @tevm/[email protected] ### Minor Changes - [#1370](#1370) [`1dcfd69`](1dcfd69) Thanks [@roninjin10](https://github.com/roninjin10)! - Renamed tevm/base-client to tevm/node ### Patch Changes - Updated dependencies \[[`1dcfd69`](1dcfd69)]: - @tevm/[email protected] - @tevm/[email protected] - @tevm/[email protected] ## @tevm/[email protected] ### Minor Changes - [#1370](#1370) [`1dcfd69`](1dcfd69) Thanks [@roninjin10](https://github.com/roninjin10)! - Renamed tevm/base-client to tevm/node ### Patch Changes - Updated dependencies \[[`1dcfd69`](1dcfd69), [`1dcfd69`](1dcfd69)]: - @tevm/[email protected] - @tevm/[email protected] - @tevm/[email protected] - @tevm/[email protected] - @tevm/[email protected] - @tevm/[email protected] - @tevm/[email protected] - @tevm/[email protected] - @tevm/[email protected] - @tevm/[email protected] - @tevm/[email protected] - @tevm/[email protected] - @tevm/[email protected] - @tevm/[email protected] ## @tevm/[email protected] ### Minor Changes - [#1370](#1370) [`1dcfd69`](1dcfd69) Thanks [@roninjin10](https://github.com/roninjin10)! - Renamed tevm/base-client to tevm/node ### Patch Changes - Updated dependencies \[[`1dcfd69`](1dcfd69)]: - @tevm/[email protected] - @tevm/[email protected] - @tevm/[email protected] - @tevm/[email protected] - @tevm/[email protected] ## @tevm/[email protected] ### Minor Changes - [#1370](#1370) [`1dcfd69`](1dcfd69) Thanks [@roninjin10](https://github.com/roninjin10)! - Renamed tevm/base-client to tevm/node ### Patch Changes - [#1370](#1370) [`1dcfd69`](1dcfd69) Thanks [@roninjin10](https://github.com/roninjin10)! - Fixed bug where state manager wouldn't set the code hash when modifying deployedBytecode - Updated dependencies \[[`1dcfd69`](1dcfd69)]: - @tevm/[email protected] - @tevm/[email protected] - @tevm/[email protected] - @tevm/[email protected] - @tevm/[email protected] ## @tevm/[email protected] ### Minor Changes - [#1370](#1370) [`1dcfd69`](1dcfd69) Thanks [@roninjin10](https://github.com/roninjin10)! - Renamed tevm/base-client to tevm/node ### Patch Changes - Updated dependencies \[[`1dcfd69`](1dcfd69)]: - @tevm/[email protected] ## [email protected] ### Minor Changes - [#1370](#1370) [`1dcfd69`](1dcfd69) Thanks [@roninjin10](https://github.com/roninjin10)! - Renamed tevm/base-client to tevm/node ### Patch Changes - Updated dependencies \[[`1dcfd69`](1dcfd69), [`1dcfd69`](1dcfd69)]: - @tevm/[email protected] - @tevm/[email protected] - @tevm/[email protected] - @tevm/[email protected] - @tevm/[email protected] - @tevm/[email protected] - @tevm/[email protected] - @tevm/[email protected] - @tevm/[email protected] - @tevm/[email protected] - @tevm/[email protected] - @tevm/[email protected] - @tevm/[email protected] - @tevm/[email protected] - @tevm/[email protected] - @tevm/[email protected] - @tevm/[email protected] - @tevm/[email protected] - @tevm/[email protected] - @tevm/[email protected] - @tevm/[email protected] - @tevm/[email protected] - @tevm/[email protected] - @tevm/[email protected] - @tevm/[email protected] - @tevm/[email protected] - @tevm/[email protected] ## [email protected] ### Patch Changes - Updated dependencies \[[`1dcfd69`](1dcfd69)]: - [email protected] - @tevm/[email protected] ## @tevm/[email protected] ### Patch Changes - Updated dependencies \[]: - @tevm/[email protected] ## @tevm/[email protected] ### Patch Changes - Updated dependencies \[[`1dcfd69`](1dcfd69)]: - @tevm/[email protected] - @tevm/[email protected] - @tevm/[email protected] - @tevm/[email protected] ## @tevm/[email protected] ### Patch Changes - Updated dependencies \[[`1dcfd69`](1dcfd69)]: - @tevm/[email protected] ## @tevm/[email protected] ### Patch Changes - Updated dependencies \[[`1dcfd69`](1dcfd69)]: - @tevm/[email protected] - @tevm/[email protected] ## @tevm/[email protected] ### Patch Changes - Updated dependencies \[[`1dcfd69`](1dcfd69)]: - @tevm/[email protected] - @tevm/[email protected] - @tevm/[email protected] - @tevm/[email protected] ## @tevm/[email protected] ### Patch Changes - Updated dependencies \[[`1dcfd69`](1dcfd69)]: - @tevm/[email protected] - @tevm/[email protected] - @tevm/[email protected] ## @tevm/[email protected] ### Patch Changes - Updated dependencies \[[`1dcfd69`](1dcfd69)]: - @tevm/[email protected] - @tevm/[email protected] - @tevm/[email protected] - @tevm/[email protected] - @tevm/[email protected] ## @tevm/[email protected] ### Patch Changes - Updated dependencies \[[`1dcfd69`](1dcfd69), [`1dcfd69`](1dcfd69)]: - @tevm/[email protected] ## @tevm/[email protected] ### Patch Changes - Updated dependencies \[[`1dcfd69`](1dcfd69)]: - @tevm/[email protected] - @tevm/[email protected] ## @tevm/[email protected] ### Patch Changes - Updated dependencies \[[`1dcfd69`](1dcfd69), [`1dcfd69`](1dcfd69)]: - @tevm/[email protected] - @tevm/[email protected] - @tevm/[email protected] - @tevm/[email protected] - @tevm/[email protected] - @tevm/[email protected] - @tevm/[email protected] - @tevm/[email protected] ## @tevm/[email protected] ### Patch Changes - Updated dependencies \[[`1dcfd69`](1dcfd69), [`1dcfd69`](1dcfd69)]: - @tevm/[email protected] - @tevm/[email protected] - @tevm/[email protected] - @tevm/[email protected] - @tevm/[email protected] - @tevm/[email protected] - @tevm/[email protected] - @tevm/[email protected] ## @tevm/[email protected] ### Patch Changes - Updated dependencies \[]: - @tevm/[email protected] - @tevm/[email protected] Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
## Description _Concise description of proposed changes_ ## Testing Explain the quality checks that have been done on the code changes ## Additional Information - [ ] I read the [contributing docs](../docs/contributing.md) (if this is your first contribution) Your ENS/address: <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Introduced a command-line interface feature with `npx tevm-server` for easier server execution. - Added support for various command-line options such as `fork-url`, `chain-id`, and `logging-level` for seamless server configuration. - **Enhancements** - Included a new dependency, "commander," to improve command-line interface functionality. - Made the "bin" directory part of the package, allowing direct access to executable scripts. - Integrated additional modules to enhance project capabilities. - **User Interface Improvements** - Developed a new `StartServer` component for managing TEVM server startup, displaying real-time status and configuration details to users. - Refined user prompts for project name and wallet connect project ID, enhancing interactivity. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: William Cory <[email protected]>
What I need to do is add instructions to getting started ``` # for direnv usage nix shell nixpkgs#direnv # then direnv allow ```
Description
Concise description of proposed changes
Testing
Explain the quality checks that have been done on the code changes
Additional Information
Your ENS/address: