-
Notifications
You must be signed in to change notification settings - Fork 89
[RFC] Support orderless transactions in Indexer #670
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,6 +11,7 @@ use aptos_protos::transaction::v1::Event as EventPB; | |
use field_count::FieldCount; | ||
use serde::{Deserialize, Serialize}; | ||
|
||
// Question: Do we have to add a replay_protection_nonce here? | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. up to you. it's useful for users but if you want it for debugging we could add it. |
||
#[derive(Clone, Debug, Deserialize, FieldCount, Identifiable, Insertable, Serialize)] | ||
#[diesel(primary_key(transaction_version, event_index))] | ||
#[diesel(table_name = events)] | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,6 +30,7 @@ pub struct TokenActivity { | |
pub transaction_version: i64, | ||
pub event_account_address: String, | ||
pub event_creation_number: i64, | ||
// Question: Do we need to add a replay_protection_nonce here? | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. no b/c it's not needed for this table anyways. |
||
pub event_sequence_number: i64, | ||
pub token_data_id_hash: String, | ||
pub property_version: BigDecimal, | ||
|
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.
we have a process to update this. https://app.clickup.com/9011498509/v/dc/8cj13gd-14211/8cj13gd-8791
our oncall might be able to help here though.