Weekly Report #8 (2024–08–22)

Verisense Network
2 min readAug 25, 2024

--

Progress Overview

  1. libp2p Extension:

This week, we focused on extending libp2p by developing two sub-protocols over Yamux multiplexing. These sub-protocols are designed to address two major communication tasks: WASM file distribution and Monadring consensus. The following registrations have been defined:

  • WASM Code Requests:

Registered at /ip4/1.2.3.4/tcp/{protocol-id}/nucleus/{nucleus-id}, this sub-protocol will handle requests for WASM code distribution across the network.

  • Token Delivery:

Registered at /ip4/1.2.3.4/tcp/{protocol-id}/monadring/token/{nucleus-id}, this sub-protocol will manage the delivery of tokens within the Monadring consensus mechanism.

  • Subnet State Requests:

Registered at /ip4/1.2.3.4/tcp/{protocol-id}/monadring/sync/{nucleus-id}, this sub-protocol will facilitate requests for subnet state information, ensuring synchronized operations across the network.

2. Dynamic Data Transfer Implementation:
We successfully implemented dynamic data transfer for host functions, with key improvements including:

  • Optimized Data Exchange:

Enhanced the mechanism for data exchange between WebAssembly and the host environment, leading to smoother interactions and better performance.

  • Improved Efficiency and Flexibility:

The system now handles large datasets more efficiently, with increased flexibility, minimizing processing delays.

  • Memory Usage Reduction:

Memory usage has been significantly reduced, which has, in turn, boosted overall system performance.

3. System Bug Fixes:
Various critical system bugs were addressed this week:

  • Memory Management Enhancements:

We resolved issues related to memory management, which has improved the overall stability of the system.

  • Data Consistency Assurance:

Fixed inconsistencies in data handling, ensuring that operations across different modules are now more reliable.

  • Error Handling Optimization:

The error handling mechanisms were optimized, resulting in a more robust system capable of gracefully managing unexpected issues.

4. Get Interface Refactoring:
The get interface underwent significant refactoring to improve performance and reliability:

  • Caching Mechanism Introduction:

A new caching mechanism was implemented, enhancing efficiency by speeding up access to frequently requested data.

  • Memory Operation Optimization:

We optimized memory read/write operations, reducing unnecessary data copying and improving overall throughput.

  • Enhanced Error Handling:

The error handling process was improved, now providing more detailed and actionable error information for better debugging and resolution.

Next Week’s Plan

  1. Scheduled Tasks Implementation:
    Our primary focus for next week will be on implementing scheduled tasks functionality, which will allow for automated and timed execution of critical system processes.
  2. Application Features Discussion and Planning:
    We will also hold a detailed discussion to plan and outline new features for the application, prioritizing those that align with our overall development goals and timelines.

--

--

Verisense Network

The world’s first FHE-enabled VaaS (Validation-as-a-Service) module. Plug and play with any restaking protocols. Untap the AVS demand.