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

HIP-980: Add shadow fork support as a rejected idea #1058

Open
wants to merge 15 commits into
base: main
Choose a base branch
from

Conversation

IvanKavaldzhiev
Copy link
Contributor

Description:
After analyzing the efforts for implementing HIP-980, it was proposed to move the idea of shadow fork support in mirror-node as a rejected idea. That is, because it would have introduced too much REST API calls against public mirror node instances and would harm the performance. In addition, the UX would have included more efforts from a user perspective and wouldn't have been so easy to use.

Related issue(s):

Fixes #

Notes for reviewer:

Checklist

  • Documented (Code comments, README, etc.)
  • Tested (unit, integration, etc.)

Signed-off-by: IvanKavaldzhiev <ivankavaldzhiev@gmail.com>
Signed-off-by: IvanKavaldzhiev <ivankavaldzhiev@gmail.com>
Signed-off-by: IvanKavaldzhiev <ivankavaldzhiev@gmail.com>
Signed-off-by: IvanKavaldzhiev <ivankavaldzhiev@gmail.com>
Signed-off-by: IvanKavaldzhiev <ivankavaldzhiev@gmail.com>
Signed-off-by: IvanKavaldzhiev <ivankavaldzhiev@gmail.com>
Signed-off-by: IvanKavaldzhiev <ivankavaldzhiev@gmail.com>
Signed-off-by: IvanKavaldzhiev <ivankavaldzhiev@gmail.com>
Signed-off-by: IvanKavaldzhiev <ivankavaldzhiev@gmail.com>
…al into hip-xxx-extend-apis-with-timestamp

# Conflicts:
#	HIP/hip-980.md

Signed-off-by: IvanKavaldzhiev <ivankavaldzhiev@gmail.com>
…al into hip-xxx-extend-apis-with-timestamp
Signed-off-by: IvanKavaldzhiev <ivankavaldzhiev@gmail.com>
Signed-off-by: IvanKavaldzhiev <ivankavaldzhiev@gmail.com>
Copy link

netlify bot commented Oct 9, 2024

Deploy Preview for hedera-hips ready!

Name Link
🔨 Latest commit 0bd83bd
🔍 Latest deploy log https://app.netlify.com/sites/hedera-hips/deploys/670666c2fd44610008e933a4
😎 Deploy Preview https://deploy-preview-1058--hedera-hips.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@@ -11,55 +11,67 @@ last-call-date-time: 2024-07-23T07:00:00Z
created: 2024-06-03
requested-by: Solo Labs
discussions-to: https://github.com/hashgraph/hedera-improvement-proposal/discussions/981
updated: 2024-08-16
updated: 2024-10-09
Copy link
Contributor

Choose a reason for hiding this comment

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

@mgarbs and @steven-sheehy should we be updating the Status to be Rejected?

This change will be especially valuable for building the foundation of the so-called shadow fork functionality, where a user or developer can use a local mirror node instance but run it against a production environment state.
Having this support, users or developers will have the ability to use public state data to simulate and troubleshoot existing issues or replay historical transactions using local mirror node instance against production state.
To enhance user experience and allow users or developers to query the state of an entity at a specific point in time we
will add a timestamp query parameter to all of the entity-based REST APIs that currently don't have one.
Copy link
Contributor

Choose a reason for hiding this comment

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

Q: why was the motivation section cut from 3 points to 1?
Seems strange for motivation to have changed now.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's because the shadow fork initiative is being rejected in this HIP. Most of the points in the motivation section were describing the motivation of having shadow fork functionality. If we remove this part of the section what is left is the extension of reading historical data for all entity types via the REST API.

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