-
-
Notifications
You must be signed in to change notification settings - Fork 26
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
⬆️ Pnpm up --latest TevmNode #1418
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Skipped Deployment
|
🦋 Changeset detectedLatest commit: 8ab1ea1 The changes in this PR will be included in the next version bump. This PR includes changesets to release 55 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 skippedMore than 25% of the files skipped due to max files limit. The review is being skipped to prevent a low-quality review. 139 files out of 275 files are above the max files limit of 100. Please upgrade to Pro plan to get higher limits. You can disable this status message by setting the WalkthroughThe changes involve updates to various package dependencies across multiple modules in the project. These updates include incrementing version numbers for several libraries, which may include bug fixes, performance improvements, or new features. The modifications are primarily focused on keeping the dependencies current without altering the overall structure or functionality of the codebase. Changes
Possibly related issues
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 using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
This stack of pull requests is managed by Graphite. Learn more about stacking. Join @roninjin10 and the rest of your teammates on Graphite |
There was a problem hiding this 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
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files ignored due to path filters (1)
pnpm-lock.yaml
is excluded by!**/pnpm-lock.yaml
Files selected for processing (17)
- configs/tsupconfig/package.json (1 hunks)
- extensions/ethers/package.json (1 hunks)
- extensions/viem/package.json (2 hunks)
- packages/actions/package.json (1 hunks)
- packages/blockchain/package.json (1 hunks)
- packages/common/package.json (1 hunks)
- packages/errors/package.json (1 hunks)
- packages/evm/package.json (1 hunks)
- packages/jsonrpc/package.json (1 hunks)
- packages/logger/package.json (1 hunks)
- packages/memory-client/package.json (1 hunks)
- packages/server/package.json (1 hunks)
- packages/state/package.json (1 hunks)
- packages/trie/package.json (1 hunks)
- packages/tx/package.json (1 hunks)
- packages/utils/package.json (1 hunks)
- packages/vm/package.json (1 hunks)
Files skipped from review due to trivial changes (6)
- extensions/ethers/package.json
- extensions/viem/package.json
- packages/actions/package.json
- packages/trie/package.json
- packages/tx/package.json
- packages/utils/package.json
Additional comments not posted (12)
configs/tsupconfig/package.json (1)
43-43
: Approve the version update for@types/node
.The update from
^20.14.8
to^22.5.1
in@types/node
is noted. This change is crucial for keeping up with the latest Node.js type definitions, which can enhance type safety and developer experience.Ensure compatibility with the project's Node.js version and other TypeScript dependencies by running:
Verification successful
Compatibility Verified for
@types/node
UpdateThe update to
@types/node
version^22.5.1
is compatible with the project's Node.js version requirements and TypeScript dependencies. The project's Node.js version requirements are generally>=18
, which aligns well with the updated type definitions.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Check Node.js version and TypeScript dependencies compatibility. # Check Node.js version node --version # Check TypeScript project references and dependencies tsc --showConfigLength of output: 178
Script:
#!/bin/bash # Search for Node.js version specification in the project fd -e json -e nvmrc -e yml -e yaml -x cat {} + | rg -i 'node' # Search for TypeScript configuration files fd -e json -x cat {} + | rg -i 'typescript|tsconfig'Length of output: 134188
packages/logger/package.json (1)
65-65
: Approve the version update forpino
.The update from
^9.2.0
to^9.3.2
inpino
is noted. This minor version update is expected to include improvements or bug fixes that enhance the logging capabilities without altering existing functionality significantly.Review the
pino
changelog to ensure there are no breaking changes or unexpected behaviors introduced. This can be done by visiting the officialpino
GitHub repository or npm page.packages/common/package.json (1)
65-65
: Approve the version update for@ethereumjs/common
.The update from
^4.3.0
to^4.4.0
in@ethereumjs/common
is noted. This minor version update is expected to include improvements or bug fixes that enhance the functionality of the common utilities without altering existing functionality significantly.Review the
@ethereumjs/common
changelog to ensure there are no breaking changes or unexpected behaviors introduced. This can be done by visiting the official EthereumJS GitHub repository or npm page.packages/evm/package.json (1)
65-65
: Approve the version update for@ethereumjs/evm
.The update from
^3.0.0
to^3.1.0
is a minor version change, typically indicating backward-compatible improvements. It's crucial, however, to verify that this update integrates well with the rest of the project and does not introduce any unexpected issues.packages/jsonrpc/package.json (1)
67-67
: Approve the version update for@ponder/utils
.The update from
^0.1.6
to^0.1.7
is a minor version change, typically indicating backward-compatible improvements. It's crucial, however, to verify that this update integrates well with the rest of the project and does not introduce any unexpected issues.Verification successful
Approve the version update for
@ponder/utils
. The update from^0.1.6
to^0.1.7
appears to be a minor version change without documented breaking changes. Ensure thorough testing to confirm compatibility with the project.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Check for any breaking changes or major alterations in the new version of @ponder/utils. # Test: Search for any reported issues or breaking changes in the new version. rg --type markdown 'breaking change' README.mdLength of output: 48
Script:
#!/bin/bash # Search for a CHANGELOG.md or similar file that might contain information about changes in @ponder/utils. fd -e md -e markdown -e txt | grep -i 'changelog\|release\|history'Length of output: 2452
Script:
#!/bin/bash # Check for any mentions of @ponder/utils in package.json files to see if there are any notes or comments about the update. rg '@ponder/utils' --glob '**/package.json' -A 5Length of output: 718
packages/errors/package.json (1)
65-65
: Approve the version update for@ethereumjs/evm
.The update from
^3.0.0
to^3.1.0
is a minor version change, typically indicating backward-compatible improvements. It's crucial, however, to verify that this update integrates well with the rest of the project and does not introduce any unexpected issues.packages/state/package.json (2)
65-65
: Approved: Dependency update for@ethereumjs/statemanager
.The version update from
^2.3.0
to^2.4.0
is consistent with semantic versioning for minor updates, which typically include new features or bug fixes without breaking changes.Consider verifying the specific changes in
@ethereumjs/statemanager
version2.4.0
to ensure compatibility with the project.
72-72
: Approved: Dependency update forethereum-cryptography
.The version update from
^2.2.0
to^2.2.1
is consistent with semantic versioning for patch updates, which typically include minor fixes or improvements without breaking changes.Consider verifying the specific changes in
ethereum-cryptography
version2.2.1
to ensure compatibility with the project.packages/blockchain/package.json (1)
65-65
: Approved: Dependency update for@ethereumjs/blockchain
.The version update from
^7.2.0
to^7.3.0
is consistent with semantic versioning for minor updates, which typically include new features or bug fixes without breaking changes.Consider verifying the specific changes in
@ethereumjs/blockchain
version7.3.0
to ensure compatibility with the project.packages/vm/package.json (1)
65-65
: Approved: Dependency update for@ethereumjs/vm
.The version update from
^8.0.0
to^8.1.0
is consistent with semantic versioning for minor updates, which typically include new features or bug fixes without breaking changes.Consider verifying the specific changes in
@ethereumjs/vm
version8.1.0
to ensure compatibility with the project.packages/server/package.json (1)
84-84
: Approve the version update for thenext
package.The update from
^14.2.4
to^14.2.7
is minor and typically includes bug fixes or minor improvements. It's important to ensure compatibility and stability with this new version through testing or checking for any reported issues.packages/memory-client/package.json (1)
81-81
: Approve the version update for theviem
package but checkpeerDependencies
.The update from
^2.16.2
to^2.21.1
is significant and could include important changes. It's crucial to verify that this update does not introduce compatibility issues, especially since thepeerDependencies
still reference an older version (^2.14.2
). Consider updating thepeerDependencies
to reflect the new version if applicable.
3744b0a
to
0d87f17
Compare
0d87f17
to
9f997e4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 17
Outside diff range, codebase verification and nitpick comments (1)
bundler-packages/resolutions/docs/resolveImports/functions/resolveImports.md (1)
Line range hint
1-40
: Consider adding back the example usage section.Removing the example usage section may impact the clarity of how to utilize the function for users seeking practical guidance. Examples are crucial for understanding how to use a function, especially for new users.
Consider adding back a concise example demonstrating the usage of the
resolveImports
function. This will enhance the documentation and make it easier for users to get started with the function.
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files ignored due to path filters (1)
pnpm-lock.yaml
is excluded by!**/pnpm-lock.yaml
Files selected for processing (61)
- bundler-packages/base-bundler/docs/README.md (1 hunks)
- bundler-packages/base-bundler/docs/functions/bundler.md (1 hunks)
- bundler-packages/bundler-cache/docs/README.md (1 hunks)
- bundler-packages/bundler-cache/docs/functions/createCache.md (1 hunks)
- bundler-packages/compiler/docs/README.md (1 hunks)
- bundler-packages/config/docs/README.md (1 hunks)
- bundler-packages/config/docs/defineConfig/classes/DefineConfigError.md (2 hunks)
- bundler-packages/config/docs/defineConfig/functions/defineConfig.md (1 hunks)
- bundler-packages/config/docs/loadConfig/classes/LoadConfigError.md (2 hunks)
- bundler-packages/config/docs/loadConfig/functions/loadConfig.md (2 hunks)
- bundler-packages/resolutions/docs/README.md (1 hunks)
- bundler-packages/resolutions/docs/moduleFactory/functions/moduleFactory.md (2 hunks)
- bundler-packages/resolutions/docs/resolveImports/functions/resolveImports.md (2 hunks)
- bundler-packages/runtime/docs/README.md (1 hunks)
- bundler-packages/solc/docs/README.md (1 hunks)
- bundler-packages/solc/docs/functions/solcCompile.md (1 hunks)
- bundler-packages/whatsabi/package.json (1 hunks)
- experimental/revm/package.json (1 hunks)
- experimental/schemas/package.json (1 hunks)
- extensions/viem/package.json (2 hunks)
- packages/actions/package.json (1 hunks)
- packages/actions/src/Call/handleEvmError.js (3 hunks)
- packages/actions/src/Call/handleEvmError.spec.ts (2 hunks)
- packages/actions/src/eth/ethSendRawTransactionHandler.js (1 hunks)
- packages/actions/src/internal/createEvmError.js (3 hunks)
- packages/actions/src/internal/createEvmError.spec.ts (3 hunks)
- packages/address/package.json (1 hunks)
- packages/address/src/createAddress.js (1 hunks)
- packages/blockchain/package.json (2 hunks)
- packages/common/package.json (2 hunks)
- packages/decorators/package.json (1 hunks)
- packages/effect/docs/README.md (1 hunks)
- packages/effect/docs/createRequireEffect/classes/CreateRequireError.md (2 hunks)
- packages/effect/docs/createRequireEffect/classes/RequireError.md (2 hunks)
- packages/effect/docs/createRequireEffect/functions/createRequireEffect.md (2 hunks)
- packages/effect/docs/fileExists/functions/fileExists.md (2 hunks)
- packages/effect/docs/logAllErrors/functions/logAllErrors.md (2 hunks)
- packages/effect/docs/parseJson/classes/ParseJsonError.md (2 hunks)
- packages/effect/docs/parseJson/functions/parseJson.md (2 hunks)
- packages/effect/docs/resolve/classes/CouldNotResolveImportError.md (2 hunks)
- packages/effect/docs/resolve/functions/resolveAsync.md (1 hunks)
- packages/effect/docs/resolve/functions/resolveSync.md (1 hunks)
- packages/errors/package.json (1 hunks)
- packages/errors/src/ethereum/ethereumjs/index.ts (1 hunks)
- packages/errors/src/ethereum/index.ts (1 hunks)
- packages/errors/src/index.ts (3 hunks)
- packages/http-client/package.json (1 hunks)
- packages/jsonrpc/package.json (1 hunks)
- packages/memory-client/package.json (1 hunks)
- packages/memory-client/src/tevmLoadState.spec.ts (1 hunks)
- packages/node/package.json (1 hunks)
- packages/precompiles/src/logToEthjsLog.spec.ts (2 hunks)
- packages/precompiles/src/logToEthjsLog.ts (1 hunks)
- packages/state/package.json (1 hunks)
- packages/utils/package.json (1 hunks)
- packages/utils/src/prefundedAccounts.ts (2 hunks)
- packages/vm/package.json (2 hunks)
- packages/vm/src/actions/runTx.ts (1 hunks)
- test/bench/package.json (1 hunks)
- test/test-utils/package.json (1 hunks)
- tevm/package.json (1 hunks)
Files skipped from review due to trivial changes (16)
- bundler-packages/base-bundler/docs/functions/bundler.md
- bundler-packages/bundler-cache/docs/functions/createCache.md
- bundler-packages/config/docs/defineConfig/functions/defineConfig.md
- bundler-packages/config/docs/loadConfig/functions/loadConfig.md
- bundler-packages/resolutions/docs/moduleFactory/functions/moduleFactory.md
- bundler-packages/solc/docs/functions/solcCompile.md
- packages/effect/docs/createRequireEffect/functions/createRequireEffect.md
- packages/effect/docs/fileExists/functions/fileExists.md
- packages/effect/docs/logAllErrors/functions/logAllErrors.md
- packages/effect/docs/parseJson/functions/parseJson.md
- packages/effect/docs/resolve/functions/resolveAsync.md
- packages/effect/docs/resolve/functions/resolveSync.md
- packages/errors/src/ethereum/ethereumjs/index.ts
- packages/errors/src/index.ts
- packages/memory-client/src/tevmLoadState.spec.ts
- packages/utils/package.json
Files skipped from review as they are similar to previous changes (4)
- packages/blockchain/package.json
- packages/jsonrpc/package.json
- packages/memory-client/package.json
- packages/state/package.json
Additional context used
Markdownlint
bundler-packages/solc/docs/README.md
33-33: null
Images should have alternate text (alt text)(MD045, no-alt-text)
bundler-packages/resolutions/docs/README.md
31-31: null
No empty links(MD042, no-empty-links)
35-35: null
Images should have alternate text (alt text)(MD045, no-alt-text)
bundler-packages/compiler/docs/README.md
33-33: null
Images should have alternate text (alt text)(MD045, no-alt-text)
bundler-packages/runtime/docs/README.md
29-29: null
No empty links(MD042, no-empty-links)
31-31: null
No empty links(MD042, no-empty-links)
37-37: null
Images should have alternate text (alt text)(MD045, no-alt-text)
bundler-packages/base-bundler/docs/README.md
46-46: null
No empty links(MD042, no-empty-links)
50-50: null
Images should have alternate text (alt text)(MD045, no-alt-text)
bundler-packages/bundler-cache/docs/README.md
42-42: null
Images should have alternate text (alt text)(MD045, no-alt-text)
packages/effect/docs/README.md
39-39: null
Images should have alternate text (alt text)(MD045, no-alt-text)
bundler-packages/config/docs/README.md
41-41: null
Images should have alternate text (alt text)(MD045, no-alt-text)
packages/effect/docs/createRequireEffect/classes/RequireError.md
115-115: null
Bare URL used(MD034, no-bare-urls)
packages/effect/docs/parseJson/classes/ParseJsonError.md
117-117: null
Bare URL used(MD034, no-bare-urls)
packages/effect/docs/createRequireEffect/classes/CreateRequireError.md
115-115: null
Bare URL used(MD034, no-bare-urls)
packages/effect/docs/resolve/classes/CouldNotResolveImportError.md
117-117: null
Bare URL used(MD034, no-bare-urls)
bundler-packages/config/docs/defineConfig/classes/DefineConfigError.md
115-115: null
Bare URL used(MD034, no-bare-urls)
bundler-packages/config/docs/loadConfig/classes/LoadConfigError.md
115-115: null
Bare URL used(MD034, no-bare-urls)
Additional comments not posted (34)
packages/precompiles/src/logToEthjsLog.ts (1)
29-29
: LGTM!The type assertion enhances type safety by ensuring that the
topics
variable conforms to the0x${string}
format. This change potentially reduces runtime errors related to type mismatches without altering the overall logic of the function.experimental/schemas/package.json (1)
73-73
: LGTM! But verify compatibility with the new viem version.The upgrade to viem version
^2.21.1
is approved. However, ensure that the codebase is compatible with the new version.Run the following script to verify compatibility:
test/bench/package.json (1)
76-78
: LGTM! But verify consuming projects provide the viem package.The change to move the
viem
package fromdependencies
topeerDependencies
is approved. This change improves compatibility with different versions ofviem
that consumers may have. However, ensure that the consuming projects provide theviem
package.Run the following script to verify consuming projects provide the
viem
package:experimental/revm/package.json (1)
69-69
: Dependency update looks good!Updating the
viem
dependency to version^2.21.1
is a good practice to get the latest bug fixes, performance improvements, and new features. As the major version remains the same (2.x.x), no breaking changes are expected.packages/common/package.json (1)
65-65
: Dependency updates look good!Updating the
@ethereumjs/common
andviem
dependencies to their respective latest minor versions is a good practice to get the latest bug fixes, performance improvements, and new features. As the major versions remain the same, no breaking changes are expected.Also applies to: 75-75
packages/decorators/package.json (1)
76-76
: Peer dependency update looks good!Updating the
viem
peer dependency to version^2.21.1
is a good practice to maintain compatibility with the latest version of the dependency. As the major version remains the same (2.x.x), no breaking changes are expected.packages/errors/package.json (1)
65-65
: LGTM! The dependency versions have been updated.The changes in this file are limited to updating the versions of the
@ethereumjs/evm
dependency and theviem
peer dependency. These updates are necessary to keep the package compatible with the latest versions of the respective libraries and to leverage any bug fixes, performance improvements, or new features they may offer.The AI-generated summary accurately captures the essence of the changes. The overall structure and functionality of the package remain unaffected.
Also applies to: 72-72
packages/address/package.json (1)
73-73
: LGTM! The peer dependency version has been updated.The change in this file is limited to updating the version of the
viem
peer dependency. This update is necessary to keep the package compatible with the latest version of theviem
library and to leverage any bug fixes, performance improvements, or new features it may offer.The AI-generated summary accurately captures the essence of the change. The overall structure and functionality of the package remain unaffected.
test/test-utils/package.json (1)
77-78
: LGTM! The dependency has been moved and the peer dependency version has been updated.The changes in this file involve:
Moving the
@tevm/ts-plugin
dependency from thepeerDependencies
section to thedependencies
section without any changes to its version. This change ensures that the@tevm/ts-plugin
dependency is installed directly with the package, rather than relying on the consumer to provide it.Updating the version of the
viem
peer dependency from^2.16.2
to^2.21.1
. This update is necessary to keep the package compatible with the latest version of theviem
library and to leverage any bug fixes, performance improvements, or new features it may offer.The AI-generated summary accurately captures the essence of the changes. The overall structure and functionality of the package remain unaffected.
Also applies to: 80-80
packages/address/src/createAddress.js (1)
23-23
: LGTM! The change enhances the function's flexibility.The updated JSDoc comment for the
createAddress
function now includesstring
as an accepted type for theaddress
parameter. This change allows the function to handle string representations of addresses in addition to the existing types (AddressLike
,number
, andbigint
), enhancing its flexibility and compatibility with various input formats.The overall functionality of the function remains intact, but the parameter type adjustment indicates a shift towards accommodating a wider range of input types, which is a positive improvement.
bundler-packages/whatsabi/package.json (1)
65-68
: LGTM! But verify the impact on the consuming packages.The changes in the
package.json
file for thewhatsabi
package involve a restructuring of the dependencies and the introduction of a new section for peer dependencies. Theviem
package has been moved from thedependencies
section to a newly createdpeerDependencies
section, and its version has been updated from^2.19.3
to^2.21.1
.This change indicates a shift in how the
viem
package is intended to be used, suggesting that it is now expected to be provided by the consuming package rather than being included as a direct dependency. The version update also suggests that the package now requires a more recent version ofviem
to function correctly.Please verify the impact of this change on the consuming packages and ensure that they are compatible with the updated version of
viem
. Run the following script to identify the consuming packages:Verification successful
No internal consuming packages found.
The
whatsabi
package does not appear to be consumed by any other packages within this repository. Therefore, the impact of movingviem
topeerDependencies
is limited to external consumers. Please ensure that external consumers are aware of this change and verify their compatibility with the updated version ofviem
.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Identify the consuming packages of the `whatsabi` package. # Test: Search for the `whatsabi` package usage in the `package.json` files. Expect: A list of consuming packages. rg --type json $'"@tevm/whatsabi"' | gawk -F: '{print $1}' | sort | uniqLength of output: 112
packages/http-client/package.json (1)
78-78
: LGTM! But verify the impact on the package functionality and its dependents.The diff reflects an update to the
peerDependencies
section of thepackage.json
file for thehttp-client
package. The version of theviem
dependency has been incremented from^2.14.2
to^2.21.1
.This change indicates a shift to a newer version of the
viem
library, which may include bug fixes, new features, or improvements that could affect compatibility or functionality. The update suggests that the package now requires a more recent version ofviem
to function correctly.Please verify the impact of this change on the package functionality and its dependents. Ensure that the package is compatible with the updated version of
viem
and that there are no breaking changes. Run the following script to test the package functionality:packages/precompiles/src/logToEthjsLog.spec.ts (2)
23-23
: LGTM!The code change is approved. The type assertion enhances type safety by explicitly indicating that the
topic
values are expected to conform to a hexadecimal string format prefixed with0x
.
61-61
: LGTM!The code change is approved. Similar to the previous change, the type assertion enhances type safety by explicitly indicating that the
topic
values are expected to conform to a hexadecimal string format prefixed with0x
.packages/utils/src/prefundedAccounts.ts (1)
29-40
: LGTM!The code change is approved. The explicit typing of
PREFUNDED_ACCOUNTS
as an array ofPrivateKeyAccount
improves type safety and clarity regarding the expected structure of the accounts being defined. This change ensures that all elements within thePREFUNDED_ACCOUNTS
array are recognized as instances ofPrivateKeyAccount
, aligning with TypeScript's strong typing principles. The enhancements to type declarations provide better documentation and enforce stricter type checks during development.packages/node/package.json (1)
87-87
: LGTM! But verify the dependency usage in the codebase.The code change is approved. The update to the
viem
dependency version suggests a potential improvement in compatibility or performance, aligning the package with more recent developments in theviem
library.Run the following script to verify the dependency usage:
packages/vm/package.json (1)
65-65
: Dependency update looks good, but verify the changelog.Updating the
@ethereumjs/vm
dependency to the latest minor version is a good practice to incorporate bug fixes, performance improvements, and new features.To ensure backward compatibility and identify any breaking changes, please verify the changelog for version 8.1.0 of
@ethereumjs/vm
.extensions/viem/package.json (1)
72-72
: Dependency updates look good, but verify the changelogs.Updating the
@ethereumjs/util
andabitype
dependencies to the latest minor versions is a good practice to incorporate bug fixes, performance improvements, and new features.To ensure backward compatibility and identify any breaking changes, please verify the changelogs for the following versions:
@ethereumjs/util
version 9.1.0abitype
version 1.0.6viem
version 2.21.1 (peer dependency)Pay special attention to the
viem
changelog, as it has a larger version increment.Also applies to: 85-85, 88-88
packages/actions/package.json (1)
86-86
: Dependency updates look good, but verify the changelogs.Updating the
abitype
dependency to the latest minor version is a good practice to incorporate bug fixes, performance improvements, and new features.To ensure backward compatibility and identify any breaking changes, please verify the changelogs for the following versions:
abitype
version 1.0.6viem
version 2.21.1 (peer dependency)Pay special attention to the
viem
changelog, as it has a major version increment, which may introduce breaking changes.Also applies to: 89-89
packages/effect/docs/createRequireEffect/classes/RequireError.md (1)
113-116
: Documentation update looks good!The addition of the "See" subsection with a link to the V8 documentation on customizing stack traces is helpful for users. The changes improve the clarity and usefulness of the documentation.
Tools
Markdownlint
115-115: null
Bare URL used(MD034, no-bare-urls)
packages/effect/docs/parseJson/classes/ParseJsonError.md (1)
115-118
: Documentation update looks good!The addition of the "See" subsection with a link to the V8 documentation on customizing stack traces is helpful for users. The changes improve the clarity and usefulness of the documentation.
Tools
Markdownlint
117-117: null
Bare URL used(MD034, no-bare-urls)
packages/effect/docs/createRequireEffect/classes/CreateRequireError.md (1)
113-116
: Documentation update looks good!The addition of the "See" subsection with a link to the V8 documentation on customizing stack traces is helpful for users. The changes improve the clarity and usefulness of the documentation.
Tools
Markdownlint
115-115: null
Bare URL used(MD034, no-bare-urls)
packages/effect/docs/resolve/classes/CouldNotResolveImportError.md (1)
115-118
: Documentation improvement.The changes enhance the documentation by adding a new "See" subsection with a link to the V8 documentation on customizing stack traces. This improves clarity and usability by consolidating the reference.
Tools
Markdownlint
117-117: null
Bare URL used(MD034, no-bare-urls)
bundler-packages/config/docs/defineConfig/classes/DefineConfigError.md (1)
113-116
: Documentation improvement.The changes enhance the documentation by adding a new "See" subsection with a link to the V8 documentation on customizing stack traces. This improves clarity and usability by consolidating the reference.
Tools
Markdownlint
115-115: null
Bare URL used(MD034, no-bare-urls)
bundler-packages/config/docs/loadConfig/classes/LoadConfigError.md (1)
113-116
: Documentation improvement.The changes enhance the documentation by adding a new "See" subsection with a link to the V8 documentation on customizing stack traces. This improves clarity and usability by consolidating the reference.
Tools
Markdownlint
115-115: null
Bare URL used(MD034, no-bare-urls)
packages/actions/src/internal/createEvmError.spec.ts (1)
1-1
: LGTM!The code changes are approved.
packages/actions/src/Call/handleEvmError.spec.ts (1)
1-1
: LGTM!The code changes are approved.
packages/actions/src/internal/createEvmError.js (2)
Line range hint
1-150
: Approve removal of unused error handling case.The removal of the
EvmErrorMessage.AUTHCALL_NONZERO_VALUEEXT
error handling case is approved, as it further streamlines the error handling process by eliminating another unused error case.Verify that the
AuthCallNonZeroValueExtError
class is not used anywhere else in the codebase by running the following script:Verification successful
Removal of unused error handling case confirmed.
The
AuthCallNonZeroValueExtError
class is not used anywhere else in the codebase, confirming that the removal of theEvmErrorMessage.AUTHCALL_NONZERO_VALUEEXT
error handling case is appropriate and does not impact other parts of the code.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify that `AuthCallNonZeroValueExtError` is not used anywhere else in the codebase. # Test: Search for the usage of `AuthCallNonZeroValueExtError`. Expect: No occurrences. rg --type js 'AuthCallNonZeroValueExtError'Length of output: 43
Line range hint
1-150
: Approve removal of unused error handling case.The removal of the
EvmErrorMessage.AUTH_INVALID_S
error handling case is approved, as it streamlines the error handling process by eliminating an unused error case.Verify that the
AuthInvalidSError
class is not used anywhere else in the codebase by running the following script:Verification successful
Removal of unused error handling case verified.
The removal of the
EvmErrorMessage.AUTH_INVALID_S
error handling case is confirmed as appropriate. TheAuthInvalidSError
class is neither used nor defined in the codebase, ensuring that this change does not impact other parts of the code. This streamlines the error handling process by eliminating an unused error case.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify that `AuthInvalidSError` is not used anywhere else in the codebase. # Test: Search for the usage of `AuthInvalidSError`. Expect: No occurrences. rg --type js 'AuthInvalidSError'Length of output: 32
Script:
#!/bin/bash # Description: Verify the definition of `AuthInvalidSError` in the codebase. # Test: Search for the definition of `AuthInvalidSError`. Expect: No occurrences. rg --type js 'class AuthInvalidSError'Length of output: 40
packages/errors/src/ethereum/index.ts (1)
Line range hint
1-100
: Approve removal of unused error types and their associated parameter types.The removal of the exported error types
AuthCallNonZeroValueExtError
andAuthInvalidSError
, along with their associated parameter typesAuthCallNonZeroValueExtErrorParameters
andAuthInvalidSErrorParameters
, is approved. This change is consistent with the removal of the corresponding error handling cases in thecreateEvmError.js
file and indicates a potential refactoring or simplification of the error handling mechanism.packages/actions/src/Call/handleEvmError.js (2)
45-45
: Approve update to the documentation comment.The update to the documentation comment, reflecting the removal of the error types
AuthCallNonZeroValueExtError
andAuthInvalidSError
from the array of EVM errors, is approved. This change ensures that the documentation remains accurate and consistent with the current implementation.
90-90
: Approve update to the documentation comment.The update to the documentation comment, reflecting the removal of the error types
AuthCallNonZeroValueExtError
andAuthInvalidSError
from the union of all possible EVM errors, is approved. This change ensures that the documentation remains accurate and consistent with the current implementation.tevm/package.json (1)
474-474
: Bumpviem
to version^2.21.1
.The
viem
dependency has been updated to version^2.21.1
in thepeerDependencies
section. This may introduce new features, bug fixes, or performance improvements.Verify that the codebase is compatible with the new
viem
version and make any necessary changes to utilize the updated dependency effectively. Run the test suite and perform manual testing to ensure that the application behaves as expected with the updated dependency.packages/vm/src/actions/runTx.ts (1)
366-366
: Improve type safety withHex
type assertions.The added type assertions for the
address
andslot
variables improve type safety and clarity in the code. They ensure that the values conform to the expectedHex
type, helping to prevent runtime errors related to type mismatches.Also applies to: 370-370
@@ -30,4 +30,4 @@ Utils built around solc | |||
|
|||
## License 📄 | |||
|
|||
<a href="_media/LICENSE"><img src="https://user-images.githubusercontent.com/35039927/231030761-66f5ce58-a4e9-4695-b1fe-255b1bceac92.png" width="200" /></a> | |||
<a href=""><img src="https://user-images.githubusercontent.com/35039927/231030761-66f5ce58-a4e9-4695-b1fe-255b1bceac92.png" width="200" /></a> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add an alternate text for the image.
The image should have an alternate text for accessibility. Alternate text helps users with visual impairments understand the content of the image.
Add an alt
attribute to the img
tag with a brief description of the image:
-<img src="https://user-images.githubusercontent.com/35039927/231030761-66f5ce58-a4e9-4695-b1fe-255b1bceac92.png" width="200" />
+<img src="https://user-images.githubusercontent.com/35039927/231030761-66f5ce58-a4e9-4695-b1fe-255b1bceac92.png" alt="License badge" width="200" />
Committable suggestion was skipped due to low confidence.
Tools
Markdownlint
33-33: null
Images should have alternate text (alt text)(MD045, no-alt-text)
Restore the link to the license file.
Removing the link to the license file may impact users' ability to access the licensing information directly from the documentation. It's important to provide easy access to the license for transparency and legal compliance.
Restore the href
attribute of the anchor tag to point to the license file:
-<a href="">
+<a href="_media/LICENSE">
Committable suggestion was skipped due to low confidence.
Tools
Markdownlint
33-33: null
Images should have alternate text (alt text)(MD045, no-alt-text)
@@ -28,8 +28,8 @@ | |||
|
|||
Package to resolve the import graph for solidity packages | |||
|
|||
Generated docs at [./docs](./docs) | |||
Generated docs at [./docs]() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix the empty link to the generated docs.
The link to the generated docs has been changed to an empty link ()
, which will not navigate to the intended documentation.
Either provide the correct link to the generated docs or remove the link altogether if the documentation is not available.
Tools
Markdownlint
31-31: null
No empty links(MD042, no-empty-links)
|
||
## License 📄 | ||
|
||
<a href="_media/LICENSE"><img src="https://user-images.githubusercontent.com/35039927/231030761-66f5ce58-a4e9-4695-b1fe-255b1bceac92.png" width="200" /></a> | ||
<a href=""><img src="https://user-images.githubusercontent.com/35039927/231030761-66f5ce58-a4e9-4695-b1fe-255b1bceac92.png" width="200" /></a> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add alt text for the license image.
The alt
attribute is missing for the license image, which can affect accessibility and SEO.
Add a meaningful alt
text describing the image. For example:
<img alt="License" src="...">
Tools
Markdownlint
35-35: null
Images should have alternate text (alt text)(MD045, no-alt-text)
@@ -30,4 +30,4 @@ The tevm compiler for compiling Solidity files into ABI bytecode source maps and | |||
|
|||
## License 📄 | |||
|
|||
<a href="_media/LICENSE"><img src="https://user-images.githubusercontent.com/35039927/231030761-66f5ce58-a4e9-4695-b1fe-255b1bceac92.png" width="200" /></a> | |||
<a href=""><img src="https://user-images.githubusercontent.com/35039927/231030761-66f5ce58-a4e9-4695-b1fe-255b1bceac92.png" width="200" /></a> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add alt text and restore the link for the license image.
The license image has the following issues:
- The
alt
attribute is missing, which can affect accessibility and SEO. - The
href
attribute has been changed to an empty string, removing the link to the license file. This may impact users' ability to access the licensing information.
Address these issues by:
- Adding a meaningful
alt
text describing the image. - Restoring the link to the license file in the
href
attribute.
For example:
<a href="_media/LICENSE">
<img alt="License" src="...">
</a>
Tools
Markdownlint
33-33: null
Images should have alternate text (alt text)(MD045, no-alt-text)
@@ -26,12 +26,12 @@ | |||
|
|||
# @tevm/runtime | |||
|
|||
Internal code for generating the runtime contract code for [@tevm/base](../bundler) | |||
Internal code for generating the runtime contract code for [@tevm/base]() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix the empty link to the @tevm/base
package.
The link to the @tevm/base
package has been changed to an empty link ()
, which will not navigate to the intended package.
Either provide the correct link to the @tevm/base
package or remove the link altogether if the package is not available.
Tools
Markdownlint
29-29: null
No empty links(MD042, no-empty-links)
|
||
## License 📄 | ||
|
||
<a href="_media/LICENSE"><img src="https://user-images.githubusercontent.com/35039927/231030761-66f5ce58-a4e9-4695-b1fe-255b1bceac92.png" width="200" /></a> | ||
<a href=""><img src="https://user-images.githubusercontent.com/35039927/231030761-66f5ce58-a4e9-4695-b1fe-255b1bceac92.png" width="200" /></a> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add alt text to the license image for accessibility.
The license image is missing alt text, which is important for accessibility.
Add descriptive alt text to the <img>
tag. For example:
<img alt="License" src="...">
Tools
Markdownlint
50-50: null
Images should have alternate text (alt text)(MD045, no-alt-text)
@@ -39,4 +39,4 @@ This package may break on minor releases and is meant to only be used within the | |||
|
|||
## License 📄 | |||
|
|||
<a href="_media/LICENSE"><img src="https://user-images.githubusercontent.com/35039927/231030761-66f5ce58-a4e9-4695-b1fe-255b1bceac92.png" width="200" /></a> | |||
<a href=""><img src="https://user-images.githubusercontent.com/35039927/231030761-66f5ce58-a4e9-4695-b1fe-255b1bceac92.png" width="200" /></a> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix the empty license link.
The hyperlink for the license image has been changed to an empty href=""
, which will result in a non-functional link. This may impact users' ability to access licensing information.
Update the link to point to the correct LICENSE file or remove the <a>
tag if the link is no longer needed.
Tools
Markdownlint
42-42: null
Images should have alternate text (alt text)(MD045, no-alt-text)
Add alt text to the license image for accessibility.
The license image is missing alt text, which is important for accessibility.
Add descriptive alt text to the <img>
tag. For example:
<img alt="License" src="...">
Tools
Markdownlint
42-42: null
Images should have alternate text (alt text)(MD045, no-alt-text)
@@ -36,4 +36,4 @@ Low level tools around [effect.ts](https://www.effect.website/docs/why-effect) | |||
|
|||
## License 📄 | |||
|
|||
<a href="_media/LICENSE"><img src="https://user-images.githubusercontent.com/35039927/231030761-66f5ce58-a4e9-4695-b1fe-255b1bceac92.png" width="200" /></a> | |||
<a href=""><img src="https://user-images.githubusercontent.com/35039927/231030761-66f5ce58-a4e9-4695-b1fe-255b1bceac92.png" width="200" /></a> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Restore the license link or remove the <a>
tag.
The hyperlink for the license image has been removed, resulting in a non-functional link. This may impact accessibility to licensing information.
Either restore the link to point to the correct LICENSE file or remove the <a>
tag if the link is no longer needed.
Tools
Markdownlint
39-39: null
Images should have alternate text (alt text)(MD045, no-alt-text)
Add alt text to the license image for accessibility.
The license image is missing alt text, which is important for accessibility.
Add descriptive alt text to the <img>
tag. For example:
<img alt="License" src="...">
Tools
Markdownlint
39-39: null
Images should have alternate text (alt text)(MD045, no-alt-text)
@@ -38,4 +38,4 @@ Tools for configuring `tevm.config.ts` file. | |||
|
|||
## License 📄 | |||
|
|||
<a href="_media/LICENSE"><img src="https://user-images.githubusercontent.com/35039927/231030761-66f5ce58-a4e9-4695-b1fe-255b1bceac92.png" width="200" /></a> | |||
<a href=""><img src="https://user-images.githubusercontent.com/35039927/231030761-66f5ce58-a4e9-4695-b1fe-255b1bceac92.png" width="200" /></a> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix the broken license link.
The change to the href
attribute of the license link has effectively removed the link to the license file. This may impact users' ability to access the licensing information directly from the README.
Revert the change to the href
attribute to restore the link to the license file:
-<a href=""><img src="https://user-images.githubusercontent.com/35039927/231030761-66f5ce58-a4e9-4695-b1fe-255b1bceac92.png" width="200" /></a>
+<a href="_media/LICENSE"><img src="https://user-images.githubusercontent.com/35039927/231030761-66f5ce58-a4e9-4695-b1fe-255b1bceac92.png" width="200" /></a>
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.
<a href=""><img src="https://user-images.githubusercontent.com/35039927/231030761-66f5ce58-a4e9-4695-b1fe-255b1bceac92.png" width="200" /></a> | |
<a href="_media/LICENSE"><img src="https://user-images.githubusercontent.com/35039927/231030761-66f5ce58-a4e9-4695-b1fe-255b1bceac92.png" width="200" /></a> |
Tools
Markdownlint
41-41: null
Images should have alternate text (alt text)(MD045, no-alt-text)
Add alternate text to the license image.
The license image is missing alternate text (alt text). Alt text is important for accessibility and should be provided for all images.
Add meaningful alt text to the license image:
-<a href=""><img src="https://user-images.githubusercontent.com/35039927/231030761-66f5ce58-a4e9-4695-b1fe-255b1bceac92.png" width="200" /></a>
+<a href="_media/LICENSE"><img src="https://user-images.githubusercontent.com/35039927/231030761-66f5ce58-a4e9-4695-b1fe-255b1bceac92.png" alt="MIT License" width="200" /></a>
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.
<a href=""><img src="https://user-images.githubusercontent.com/35039927/231030761-66f5ce58-a4e9-4695-b1fe-255b1bceac92.png" width="200" /></a> | |
<a href="_media/LICENSE"><img src="https://user-images.githubusercontent.com/35039927/231030761-66f5ce58-a4e9-4695-b1fe-255b1bceac92.png" alt="MIT License" width="200" /></a> |
Tools
Markdownlint
41-41: null
Images should have alternate text (alt text)(MD045, no-alt-text)
// huh? why did type break? | ||
tx = /** @type {any} */ (getTx(vm, txBuf)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Avoid using any
type assertion. Investigate and fix the root cause of the type break.
Using any
type assertion is not a good practice as it can lead to runtime errors. The comment "// huh? why did type break?" suggests that the root cause of the type break is not well understood.
- Investigate the root cause of the type break in the
getTx
function. - Fix the type break properly instead of suppressing it with
any
type assertion.
44b6cfa
to
3eef811
Compare
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
Bug Fixes
Chores