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

fix: update msg_index by order in event and log (develop) #328

Merged
merged 24 commits into from
Aug 28, 2023

Conversation

fibonacci998
Copy link
Member

refer #327

@fibonacci998 fibonacci998 changed the base branch from main to develop August 16, 2023 10:22
@fibonacci998 fibonacci998 changed the title Fix/update msg index event (develop) fix: update msg_index by order in event and log (develop) Aug 16, 2023
-----------*/
// count total attribute for each message, countAttributeInEvent[i] = x mean message i has x attributes
const countAttributeInEvent: number[] = [];
tx?.tx_response?.logs?.forEach((log: any) => {
Copy link
Member

Choose a reason for hiding this comment

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

countAttributeInEvent = ...map((log: any) => log.events.reduce(
...
));

Copy link
Member Author

Choose a reason for hiding this comment

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

done

@fibonacci998 fibonacci998 requested a review from peara August 25, 2023 02:38
@peara peara merged commit 60dbf4e into develop Aug 28, 2023
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.

3 participants