Skip to content

Conversation

Bridgerz
Copy link
Contributor

Description

Deepbook indexer

Test plan

Will add Unit tests

Copy link

vercel bot commented Aug 17, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
sui-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 9, 2024 9:33pm
3 Skipped Deployments
Name Status Preview Comments Updated (UTC)
multisig-toolkit ⬜️ Ignored (Inspect) Visit Preview Sep 9, 2024 9:33pm
sui-kiosk ⬜️ Ignored (Inspect) Visit Preview Sep 9, 2024 9:33pm
sui-typescript-docs ⬜️ Ignored (Inspect) Visit Preview Sep 9, 2024 9:33pm

Copy link
Contributor

@patrickkuo patrickkuo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks @Bridgerz

@@ -0,0 +1,398 @@
// Copyright (c) Mysten Labs, Inc.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i'd suggest to create a types.rs and move things over and make lib.rs very lean

pub sender: String,
pub checkpoint: i64,
pub package: String,
pub status: String,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I highly recommend to use integer to represent status v.s. String (and we should fix this in bridge indexer). The former is very error prone

@longbowlu longbowlu merged commit 53e5806 into main Sep 9, 2024
48 of 49 checks passed
@longbowlu longbowlu deleted the deepbook-indexer branch September 9, 2024 21:53
suiwombat pushed a commit that referenced this pull request Sep 16, 2024
## Description 

Deepbook indexer

## Test plan 

Will add Unit tests

---------

Co-authored-by: Aslan Tashtanov <aslan.tashtanov@mystenlabs.com>
Co-authored-by: 0xaslan <161349919+0xaslan@users.noreply.github.com>
Co-authored-by: longbowlu <zl9394@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants