-
Notifications
You must be signed in to change notification settings - Fork 11
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: add block_time to all activities #1432
Conversation
lib/ae_mdw/activities.ex
Outdated
{claim_aetx, :name_claim_tx, tx_hash, tx_type, _block_hash} = | ||
DbUtil.read_node_tx_details(state, {txi, local_idx}) | ||
|
||
payload = %{ | ||
micro_time: micro_time, |
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.
Better keep it to avoid potential breaking changes (added more than 6 months ago)
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.
Good call, done
@@ -966,10 +1030,10 @@ defmodule AeMdwWeb.ActivitiesControllerTest do | |||
"height" => ^height1, | |||
"type" => "NameClaimEvent", | |||
"block_hash" => ^enc_mb_hash1, | |||
"block_time" => 456, |
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.
may it have a different value for mb_hash1 and mb_hash2?
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.
Done
refs #1385