Skip to content

Commit 9e0e1cd

Browse files
authored
fix: revert (changeset) (#1780)
Commit changeset for #1779 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Improvements** - Enhanced error responses with additional raw data for greater context when call procedures fail. - Transaction receipt status values are now consistently formatted as hexadecimal strings. - Improved compatibility for decoding contract revert reasons when using the `writeContract` function. - Standardized error codes for certain Ethereum errors to align with expected values. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
1 parent af49d31 commit 9e0e1cd

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.changeset/rare-bags-exist.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
"@tevm/actions": patch
3+
"@tevm/errors": patch
4+
---
5+
6+
- Improved error responses to include additional raw data for better context when call procedures fail, and allow viem `writeContract` to decode contract reverts.
7+
- Enhanced transaction receipt responses by converting numeric status values to hexadecimal strings for consistency.
8+
- Updated error code for specific Ethereum errors to align with standard codes (3 for revert).

0 commit comments

Comments
 (0)