Closed beer-1 closed 1 month ago
The changes across the repository primarily enhance gas management and improve usability in issue reporting. Function signatures have been updated to utilize dynamic gas balance pointers instead of static limits, enabling more flexible resource management. Additionally, the bug report and feature request templates have been refined for clarity, facilitating easier user interaction when reporting issues or suggesting enhancements.
Files | Change Summary |
---|---|
.github/ISSUE_TEMPLATE/... |
Streamlined templates by removing instructional comments, enhancing clarity and user guidance. |
.github/PULL_REQUEST_TEMPLATE.md |
Improved structure by introducing sections for descriptions and checklists, enhancing the pull request process. |
api/bindings.h , libmovevm/bindings.h |
Added uint64_t *gas_balance_ptr to function signatures for dynamic gas management, replacing static limits. |
api/vm.go , lib.go , libmovevm/src/vm.rs |
Updated signatures to use gasBalance pointers instead of static gas limits for enhanced flexibility. |
crates/e2e-move-tests/src/harness.rs |
Integrated a gas meter for improved tracking of gas consumption during executions. |
crates/types/src/message.rs , crates/types/src/result.rs , crates/types/src/view_function.rs |
Removed gas_used fields from structs to simplify gas management across the codebase. |
precompile/modules/... |
Added validation functions for collection and token IDs, improving robustness and error handling. |
types/bcs.go |
Eliminated GasUsed fields from ExecutionResult and ViewOutput , streamlining serialization processes. |
sequenceDiagram
participant User
participant Template as Issue Templates
participant API as API Functions
participant VM as Virtual Machine
User->>Template: Submit bug/feature request
Template-->>User: Acknowledge submission
User->>API: Call execute_function()
API->>VM: Execute contract/script/view function
VM->>API: Return execution result
API-->>User: Provide execution output
πβ¨ In fields of green, we leap and play,
With gas balance pointers, we hop all day!
No more limits to bind us tight,
Just joyful jumps, oh what a sight!
Templates shine bright, making it clear,
In this code garden, there's nothing to fear! πΌβ¨
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?
Summary by CodeRabbit
New Features
Bug Fixes
Documentation
Refactor
Tests