--- title: 2024-05-27 Codex Weekly tags: - codex-updates date: 2024-05-27 lastmod: 2024-07-09 draft: false description: Weekly update of Codex --- # Codex Update May 21th - May 27th > The Codex team wrapped up a successful demo at the Logos off-site and now aims to prepare the demo for the Q2 public testnet release potentially coinciding with EthCC. > > An internal devnet has been running for the past few weeks and has been used to test the latest version of Codex and can be accessed using the [Codex Testnet Starter](https://github.com/codex-storage/codex-testnet-starter) documentation. Development is currently broken into three distinct teams: 1. Client, Testing, and Infrastructure 2. Marketplace 3. Research The following are their team updates. ## Client, Testing and Infrastructure Completed - N/A Ongoing - Continued work on LevelDB migration; [failing unit test uncovered bug](https://github.com/codex-storage/nim-codex/pull/816) on race condition in one of the state machines in the Marketplace module and switch to LevelDB reveleaed it and changing timing of DB reproduced it; reproduced it in SQLite by putting a sleep statement and nothing wrong in LevelDB - Marketplace picked this bug up - Docker build problems; Rust build failed and Circom devices no longer building - rolled back Codex to previous Docker image and it doesn't build anymore so not something changed on our end - Working on debugging Rust FFI threading ## Marketplace Completed - [Contract deployment and security writeup](https://notes.status.im/s/D1AWG1FY-) - [More adjustments to the slot queue PR, and merge](https://github.com/codex-storage/nim-codex/pull/752) - [Re-review of ethers custom errors PR](https://github.com/codex-storage/nim-ethers/pull/69) - [Merge fix for forcing scope of deserialization](https://github.com/codex-storage/nim-serde/pull/24) - [Release new version of nim-serde to unblock chronos v4](https://github.com/codex-storage/nim-serde/pull/25) - [Bump serde version and merge](https://github.com/codex-storage/nim-ethers/pull/73) - Merged [Remove overloaded UInt256.fromJson](https://github.com/codex-storage/nim-ethers/pull/74) - Cleanup [integration tests review](https://github.com/codex-storage/nim-codex/pull/757) - Addressed [Slot Reservations](https://github.com/codex-storage/codex-research/pull/190) PR comments with some rewrites Ongoing - "Application Properties" writeup for Certora issues [tracked here](https://github.com/codex-storage/codex-contracts-eth/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc+label%3ACertora) and [ongoing discussion of issues here](https://github.com/codex-storage/codex-contracts-eth/issues/103) - Reviewing [RFC spec for Marketplace](https://github.com/vacp2p/rfc-index/pull/36) - Building frontend for the EthCC Demo that shows past and real time contract events, and downloads CIDs and displays as images ## Research ``` 2024 R&D Goals 1. Proving system and aggregation improvements (folding or lookups) 2. Aggregator/validator design 3. DHT improvements 4. Tokenomics and incentive design 5. Bandwidth incentives 6. Dynamic data (appendable data) 7. Encryption ``` Completed - Initial [Dynamic data proposal WIP](https://hackmd.io/@bkomuves/ByvVCpYNR) Ongoing - Understanding aggregator node hybrid-system dynamics