Closed roninjin10 closed 1 month ago
The latest updates on your projects. Learn more about Vercel for Git βοΈ
Latest commit: 2b0ff4d5f3eaccb324d7673fb8afe6e41c07e29e
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
A new patch for the "@tevm/actions"
package has been introduced, adding multiple test suites for various JSON-RPC procedures, including anvilSetBalanceJsonRpcProcedure
, anvilSetChainIdJsonRpcProcedure
, and others. The ethSendRawTransactionHandler
function has also been updated to improve error handling by replacing generic errors with specific InvalidTransactionError
instances. These changes enhance the robustness and reliability of transaction processing and validation.
File(s) | Change Summary |
---|---|
packages/actions/src/anvil/*.spec.ts |
Added test suites for anvilSetBalanceJsonRpcProcedure , anvilSetChainIdJsonRpcProcedure , anvilSetCodeJsonRpcProcedure , anvilSetCoinbaseJsonRpcProcedure , anvilSetNonceJsonRpcProcedure , and anvilSetStorageAtJsonRpcProcedure . |
packages/actions/src/eth/ethSendRawTransaction.spec.ts |
Introduced tests for ethSendRawTransactionHandler , covering various transaction scenarios. |
packages/actions/src/eth/ethSendRawTransactionHandler.js |
Improved error handling by replacing generic errors with InvalidTransactionError . |
createTransaction
function, which may relate to transaction handling in the main PR's tests for setting balances.eth_estimateGas
function, relevant to the main PR's focus on transaction procedures and state management.anvilSetBalanceJsonRpcProcedure
.anvilSetBalanceJsonRpcProcedure
.π In the meadow, changes bloom,
Transactions now face less gloom.
Errors caught, tests in place,
A smoother path for every trace.
Hops of joy, letβs celebrate,
With code so fine, we elevate! πΌ
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
Tests