Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create hybrid2-2.md #1037

Merged
merged 1 commit into from
Nov 3, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions deliveries/hybrid2-2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Milestone Delivery :mailbox:

**The delivery is according to the official [milestone delivery guidelines](https://github.com/w3f/Grants-Program/blob/master/docs/Support%20Docs/milestone-deliverables-guidelines.md).**

* **Application Document:** https://github.com/w3f/Grants-Program/blob/master/applications/hybrid2.md
* **Milestone Number:** 2

**Deliverables**

| Number | Deliverable | Link | Notes |
| -------| ----------- | ---- | ----- |
| 0a. | License | [LICENSE](https://github.com/hybrid-explorer/hybrid-indexer/blob/main/LICENSE) | Apache 2.0 |
| 0b. | Documentation | [tutorial.md](https://github.com/hybrid-explorer/hybrid-indexer/blob/main/doc/tutorial.md) | |
| 0c. | Testing and Testing Guide | [testing-guide.md](https://github.com/hybrid-explorer/hybrid-indexer/blob/main/doc/testing-guide.md) | This guide explains how to verify the deliverables in this milestone. |
| 0d. | Docker | [Dockerfile](https://github.com/hybrid-explorer/polkadot-indexer/blob/main/Dockerfile) | |
| 1. | Index backwards | [substrate.rs](https://github.com/hybrid-explorer/hybrid-indexer/blob/main/src/substrate.rs#L684) | |
| 2. | Store indexed spans | [substrate.rs](https://github.com/hybrid-explorer/hybrid-indexer/blob/main/src/substrate.rs#L784) | |
| 3. | Declare indexer start blocks | [substrate.rs](https://github.com/hybrid-explorer/hybrid-indexer/blob/main/src/substrate.rs#L594) | [Indexers declare an array of block numbers where new indexer versions have been deployed](https://github.com/hybrid-explorer/polkadot-indexer/blob/main/indexer/src/polkadot.rs#L58) |

**Additional Information**

Additional tests have been written for the complex logic: [tests.rs](https://github.com/hybrid-explorer/hybrid-indexer/blob/main/src/tests.rs#L989)

In addition to the deliverables, the following features have been implemented:
* [key count statistics are logged](https://github.com/hybrid-explorer/hybrid-indexer/commit/a15b1ce1a4e40546e22e818d034880ca37187a60)
* [zerocopy is used when reading and writing the database to reduce CPU usage and remove boilerplate code](https://github.com/hybrid-explorer/hybrid-indexer/commit/229d3e237dcf79984ccc627faf19f4a2daf964e3)
* [subxt has been upgraded to 0.32](https://github.com/hybrid-explorer/hybrid-indexer/commit/a984aa92203ef35578940f8f3dadd7d123c97db2)
Loading