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

Verify "Shimmer Genesis Staking" result #2

Merged
merged 1 commit into from
Apr 5, 2022
Merged

Conversation

muXxer
Copy link
Collaborator

@muXxer muXxer commented Mar 28, 2022

We want to verify the outcome of the Shimmer Genesis staking event.

To do this, we need the help of our community node operators who tracked this event.

Please follow the next steps:

  • Copy the following bash script into a file called participation_get_result_shimmer.sh
#!/bin/bash
ADDR="http://YOUR-NODE-ADDRESS:14265"
TOKEN="YOUR-JWT-TOKEN"

EVENT_ID="f6dbdad416e0470042d3fe429eb0e91683ba171279bce01be6d1d35a9909a981"
RESULT_FILE="shimmer.json"

EVENT_STATUS="$( curl ${ADDR}/api/plugins/participation/events/${EVENT_ID}/status \
  --http1.1 \
  -s \
  -X GET \
  -H 'Content-Type: application/json' \
  -H "Authorization: Bearer ${TOKEN}" | jq '.data.status' )"

grep -q 'ended' <<< "${EVENT_STATUS}" || { echo "ERROR: event has not ended yet"; exit 1 ; }

curl ${ADDR}/api/plugins/participation/admin/events/${EVENT_ID}/rewards \
  --http1.1 \
  -s \
  -X GET \
  -H 'Content-Type: application/json' \
  -H "Authorization: Bearer ${TOKEN}" | jq '.data' > ${RESULT_FILE}

printf "Symbol:          %s\n" "$(jq '.symbol' ${RESULT_FILE})"
printf "Milestone index: %s\n" "$(jq '.milestoneIndex' ${RESULT_FILE})"
printf "Total rewards:   %s\n" "$(jq '.totalRewards' ${RESULT_FILE})"
printf "Checksum:        %s\n" "$(jq '.checksum' ${RESULT_FILE})"
  • Replace ADDR with the public REST API address of your HORNET node.
  • Replace TOKEN with your JWT Token. You can create a token using ./hornet tool jwt-api.
  • Save the file.
  • Run sudo apt update && sudo apt install curl jq
  • Run chmod +x participation_get_result_shimmer.sh
  • Run ./participation_get_result_shimmer.sh
  • Copy the output of the script as a comment to this PR.
  • Please press "Approve" if your checksum matches 31cc1375782b0b4f3c6b45d1a014817facec364615ca8226a57ca3f9e12e7c20.
    grafik

@muXxer muXxer force-pushed the add/result_shimmer branch from 217170f to 186ee54 Compare March 28, 2022 16:29
@muXxer muXxer force-pushed the add/result_shimmer branch from 186ee54 to 886597c Compare March 28, 2022 18:13
Copy link
Member

@alexsporn alexsporn left a comment

Choose a reason for hiding this comment

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

Checked my Nodes

Copy link

@shufps shufps left a comment

Choose a reason for hiding this comment

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

12 nodes checked ✔️

Copy link

@jeizinep jeizinep left a comment

Choose a reason for hiding this comment

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

./participation_get_result_shimmer.sh

Symbol: "SMR"
Milestone index: 2879714
Total rewards: 1450896407249092
Checksum: "31cc1375782b0b4f3c6b45d1a014817facec364615ca8226a57ca3f9e12e7c20"

@WernerderChamp
Copy link

Symbol: "SMR",
Milestone Index: 2879714,
Total Rewards: 1450896407249092,
Checksum: "31cc1375782b0b4f3c6b45d1a014817facec364615ca8226a57ca3f9e12e7c20",

Copy link

@Schnurzle Schnurzle left a comment

Choose a reason for hiding this comment

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

Symbol: "SMR"
Milestone index: 2879714
Total rewards: 1450896407249092
Checksum: "31cc1375782b0b4f3c6b45d1a014817facec364615ca8226a57ca3f9e12e7c20"

Copy link
Contributor

@no8ody no8ody left a comment

Choose a reason for hiding this comment

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

Approved on 5 different nodes

Symbol:          "SMR"
Milestone index: 2879714
Total rewards:   1450896407249092
Checksum:        "31cc1375782b0b4f3c6b45d1a014817facec364615ca8226a57ca3f9e12e7c20"

Copy link

@p00dl p00dl left a comment

Choose a reason for hiding this comment

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

Symbol: "SMR"
Milestone index: 2879714
Total rewards: 1450896407249092
Checksum: "31cc1375782b0b4f3c6b45d1a014817facec364615ca8226a57ca3f9e12e7c20"

Copy link
Contributor

@dlt-green dlt-green left a comment

Choose a reason for hiding this comment

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

Symbol: "SMR"
Milestone index: 2879714
Total rewards: 1450896407249092
Checksum: "31cc1375782b0b4f3c6b45d1a014817facec364615ca8226a57ca3f9e12e7c20"

@rohste
Copy link

rohste commented Mar 28, 2022

Symbol: "SMR"
Milestone index: 2879714
Total rewards: 1450896407249092
Checksum: "31cc1375782b0b4f3c6b45d1a014817facec364615ca8226a57ca3f9e12e7c20"

@pauli2406
Copy link

Symbol: "SMR"
Milestone index: 2879714
Total rewards: 1450896407249092
Checksum: "31cc1375782b0b4f3c6b45d1a014817facec364615ca8226a57ca3f9e12e7c20"

@QNODE-CA
Copy link

root@chrysalis-1:/opt/hornet# ./participation_get_result_shimmer.sh
Symbol: "SMR"
Milestone index: 2879714
Total rewards: 1450896407249092
Checksum: "31cc1375782b0b4f3c6b45d1a014817facec364615ca8226a57ca3f9e12e7c20"

Copy link

@SiliconDroid SiliconDroid left a comment

Choose a reason for hiding this comment

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

Symbol: "SMR"
Milestone index: 2879714
Total rewards: 1450896407249092
Checksum: "31cc1375782b0b4f3c6b45d1a014817facec364615ca8226a57ca3f9e12e7c20"

@jkl2e
Copy link

jkl2e commented Mar 29, 2022

Symbol: "SMR"
Milestone index: 2879714
Total rewards: 1450896407249092
Checksum: "31cc1375782b0b4f3c6b45d1a014817facec364615ca8226a57ca3f9e12e7c20"

1 similar comment
@kaktus2
Copy link

kaktus2 commented Mar 29, 2022

Symbol: "SMR"
Milestone index: 2879714
Total rewards: 1450896407249092
Checksum: "31cc1375782b0b4f3c6b45d1a014817facec364615ca8226a57ca3f9e12e7c20"

@Dr-Electron
Copy link

Symbol:          "SMR"
Milestone index: 2879714
Total rewards:   1450896407249092
Checksum:        "31cc1375782b0b4f3c6b45d1a014817facec364615ca8226a57ca3f9e12e7c20"

@mrstormlars
Copy link

I'm not familiar enough with Linux to do the verification as described, but when I checked my nodes event details (from dashboard), I get the following results:
bilde

Clearly a mismatch between the total rewards compared to the others who have commented. I guess this is an error in the dashboard calculation, but thought I would comment on it nevertheless...

@alexsporn
Copy link
Member

Clearly a mismatch between the total rewards compared to the others who have commented. I guess this is an error in the dashboard calculation, but thought I would comment on it nevertheless...

See the discussion here #3 (comment)

@Jch0141170
Copy link

I am not familiar with this tecnology, so I send you a screenshot.
image

Copy link

@fr11 fr11 left a comment

Choose a reason for hiding this comment

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

:)

Copy link

@the-real-ratpete the-real-ratpete left a comment

Choose a reason for hiding this comment

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

Symbol: "SMR"
Milestone index: 2879714
Total rewards: 1450896407249092
Checksum: "31cc1375782b0b4f3c6b45d1a014817facec364615ca8226a57ca3f9e12e7c20"

Copy link

@the-real-ratpete the-real-ratpete left a comment

Choose a reason for hiding this comment

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

Symbol: "SMR"
Milestone index: 2879714
Total rewards: 1450896407249092
Checksum: "31cc1375782b0b4f3c6b45d1a014817facec364615ca8226a57ca3f9e12e7c20"

@muXxer muXxer merged commit d59af5a into master Apr 5, 2022
@muXxer muXxer deleted the add/result_shimmer branch April 5, 2022 12:57
@muXxer
Copy link
Collaborator Author

muXxer commented Apr 5, 2022

The results have been successfully verified!
A big thank you to everyone involved in this process! 👍

You folks are awesome 🎉

@harisyahot1
Copy link

ready for next step

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.