Closed roninjin10 closed 2 weeks ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
tevm-monorepo-tevm | ❌ Failed (Inspect) | Jun 19, 2024 5:00pm |
Latest commit: 678c69ee0030d61a35ae5a4296c1c928fd181ee4
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
This update focuses on fixing bugs and refining functionality across various components. Key changes include addressing a bug by switching from Buffer
to UInt8Array
, adjusting overly strict typing in the TEVM precompiles, and updating README content. Additionally, functions in test scripts were updated to replace createScript
with createContract
, aligning the naming conventions and improving test script readability.
File Path | Change Summary |
---|---|
.changeset/happy-buckets-drive.md |
Fixed bug by switching from Buffer to UInt8Array . |
.changeset/short-dodos-pretend.md |
Updated bundler for TEVM-related packages. |
.changeset/tidy-snails-impress.md |
Relaxed overly strict typing in @tevm/precompiles . |
.../memory-client/README.md |
Updated documentation by removing browser execution content. |
.../precompiles/src/defineCall.ts |
Changed returnValue from Buffer.alloc(0) to new Uint8Array() . |
test/bench/src/wagmi/fib.s.sol.ts |
Replaced createScript with createContract for Fibonacci . |
test/mdt-repro/index.spec.ts |
Modified import statement to use only createContract . |
🐰 In lands of code, changes flow,
UInt8Array will now bestow.
Scripts of old now contracts new,
Bugs and bytes bid adieu.
TEVM hums a smoother tune,
With updates bright as noon. 🌟
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?
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
Bug Fixes
UInt8Array
instead ofBuffer
for handling data.Improvements
@tevm/precompiles
related to overly strict typing for precompiles.Documentation
memory-client
to link to external documentation, removing previous content about executing Solidity scripts in the browser.Code Refactor
returnValue
field fromBuffer.alloc(0)
tonew Uint8Array()
in thedefineCall
function.definePrecompile
function to use more flexible typing parameters.Tests
createScript
withcreateContract
inFibonacci
export for better accuracy in test cases.index.spec.ts
to only includecreateContract
for more streamlined code.