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

Feat(engine): log storage writes from applying transactions #322

Merged
merged 1 commit into from
Nov 1, 2021

Conversation

birchmd
Copy link
Member

@birchmd birchmd commented Nov 1, 2021

No description provided.

Comment on lines 1060 to 1062
"Address {:?} set code with {} bytes",
address,
code_bytes_written,
Copy link
Contributor

Choose a reason for hiding this comment

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

Should be written as two logs such as:
written_bytes <address> <code_bytes_writte that was its easier for a tool to parse.

Comment on lines 1111 to 1114
sdk::log!(
crate::prelude::format!("Total number of storage writes: {}", writes_counter).as_str()
);
sdk::log!(crate::prelude::format!("Total bytes written: {}", total_bytes).as_str());
Copy link
Contributor

Choose a reason for hiding this comment

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

Same as above

@birchmd birchmd merged commit e4fce3d into develop Nov 1, 2021
@birchmd birchmd deleted the logging-storage-writes branch November 1, 2021 15:14
@birchmd birchmd mentioned this pull request Nov 1, 2021
artob added a commit that referenced this pull request Nov 3, 2021
* Fix: log full address of sender in submit call (#321)
* Feat(engine): log storage writes from applying transactions (#322)

Co-authored-by: Joshua J. Bouw <joshua@aurora.dev>
Co-authored-by: Arto Bendiken <arto@aurora.dev>
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.

None yet

2 participants