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 chainid and timestamp to quest address seed #221

Merged
merged 1 commit into from
Oct 16, 2023

Conversation

waynehoover
Copy link
Contributor

@waynehoover waynehoover commented Oct 16, 2023

This will make quest addresses unique, this helps us move forward with using the quest address as the id, and some infra changes in the indexer.

Why not use CREATE over CREATE2 as CREATE will always give a unique address? Good question, because with create there is a small possibility of a reorg attack to create the same quest address after a re-org. This is mostly for chains like Polygon where reorgs happen more frequently than one would expect.

Copy link
Member

@Quazia Quazia left a comment

Choose a reason for hiding this comment

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

LGTM

@waynehoover waynehoover merged commit ef756bb into main Oct 16, 2023
2 checks passed
@waynehoover waynehoover deleted the new_quests_include_chainid_in_seed branch October 16, 2023 18:28
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