-
Notifications
You must be signed in to change notification settings - Fork 645
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
Implement StateRecord for Action Receipts and Received Data #1163
Conversation
I think this is in merging process, so I'll approve it assuming the merging is done correctly. |
Depends on #1170 |
I've been thinking that if we add back Serialize, Deserialize implementation to the CryptoHash/PublicKey which are designed for (Not in this PR of case) |
col::PENDING_DATA_COUNT => None, | ||
col::POSTPONED_RECEIPT => { | ||
let receipt = Receipt::try_from_slice(&value).unwrap(); | ||
Some(StateRecord::PostponedReceipt(receipt.into())) | ||
} | ||
_ => unreachable!(), |
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.
what's left? let's either remove or add explicit items here.
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.
7..255 columns. We currently, don't use enum for this.
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.
I'll change it to enums in other PR
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.
Just couple comments.
No description provided.