-
Notifications
You must be signed in to change notification settings - Fork 84
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
[Indexer] Implements state indexer #1186
Conversation
… update directly via raw SQL
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Ignored Deployment
|
for (key, op) in table_change.entries.into_iter() { | ||
match op { | ||
Op::Modify(value) => { | ||
let key_hash = format!("0x{}", hex::encode(key.as_slice())); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The key here is not hash but the key's bcs binary. So, the field name should be key
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
key
in SQLite is a keyword. Or use key_str
?
Summary
Part of #1028, Implements state indexer
TODO