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

Add evmtx actions processing #172

Merged
merged 3 commits into from
Jan 19, 2024
Merged

Add evmtx actions processing #172

merged 3 commits into from
Jan 19, 2024

Conversation

elmato
Copy link
Contributor

@elmato elmato commented Jan 5, 2024

No description provided.

@elmato elmato requested a review from arhag January 5, 2024 06:59
@elmato elmato linked an issue Jan 19, 2024 that may be closed by this pull request
@@ -196,10 +195,15 @@ class ship_receiver_plugin_impl : std::enable_shared_from_this<ship_receiver_plu
channels::native_trx native_trx = {trace.id, trace.cpu_usage_us, trace.elapsed};
const auto& actions = trace.action_traces;
//SILK_DEBUG << "Appending transaction ";
auto it = std::find_if(actions.begin(), actions.end(), [&](const auto& act) -> bool {
Copy link
Member

Choose a reason for hiding this comment

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

Maybe later on we can find some optimization to quickly know that we are at an EOS EVM version greater than 0 and then simply avoid doing this additional linear scan through the actions of the transaction trace.

@elmato elmato requested a review from arhag January 19, 2024 06:03
@elmato elmato merged commit f78695a into main Jan 19, 2024
6 checks passed
@elmato elmato deleted the elmato/listen-to-evmtx-actions branch January 19, 2024 06:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants