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: add block_time to all activities #1432

Merged
merged 2 commits into from
Jun 29, 2023
Merged

feat: add block_time to all activities #1432

merged 2 commits into from
Jun 29, 2023

Conversation

sborrazas
Copy link
Contributor

refs #1385

@sborrazas sborrazas requested a review from jyeshe June 29, 2023 11:56
@sborrazas sborrazas self-assigned this Jun 29, 2023
{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,
Copy link
Member

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)

Copy link
Contributor Author

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,
Copy link
Member

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?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

@sborrazas sborrazas requested a review from jyeshe June 29, 2023 14:35
@sborrazas sborrazas merged commit b769250 into master Jun 29, 2023
@sborrazas sborrazas deleted the activities-time branch June 29, 2023 15:07
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.

2 participants