-
-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
## 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** - Added ability to generate 32 random bytes through a new utility function. - Introduced various test cases to validate transaction execution, hardforks, block rewards, and address warming in the virtual machine environment. - **Enhancements** - Improved utility exports with `GWEI_TO_WEI` and `randomBytes`. - Updated `validateRunTx` function for better block handling. - Reorganized and streamlined code structure in block and transaction handling. - **Tests** - Added extensive test coverage for functions like `execHardfork`, `runTx`, `createBaseVm`, and more. - Ensured various transaction scenarios and virtual machine state behaviors are properly validated. - **Dependencies** - Added `@tevm/contract` as a new development dependency in the VM package. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: William Cory <[email protected]>
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@tevm/utils": minor | ||
--- | ||
|
||
Added randomBytes to `@tevm/utils`. randomBytes(32) will generate 32 random bytes. |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,5 +19,6 @@ export { | |
ecrecover, | ||
ecsign, | ||
zeros, | ||
randomBytes, | ||
AsyncEventEmitter, | ||
} from '@ethereumjs/util' |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.