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

Indexed contracts store deployment block number immutably #2004

Closed
asaj opened this issue Mar 23, 2023 · 3 comments
Closed

Indexed contracts store deployment block number immutably #2004

asaj opened this issue Mar 23, 2023 · 3 comments
Assignees

Comments

@asaj
Copy link
Contributor

asaj commented Mar 23, 2023

h/t @yorhodes on #1907 (comment)

This would allow agents to index contract events optimally without any config beyond contract addresses.

@yorhodes
Copy link
Member

yorhodes commented Apr 5, 2023

contract Indexable {
    uint256 public immutable index = block.number;
}

@nambrot
Copy link
Contributor

nambrot commented Jun 15, 2023

@asaj with the backwards cursor, do you still feel like this is valuable to change?

@yorhodes yorhodes self-assigned this Aug 2, 2023
@yorhodes yorhodes moved this to In Progress in Hyperlane Tasks Aug 2, 2023
@avious00 avious00 added the v3 label Aug 3, 2023
@avious00
Copy link
Contributor

avious00 commented Aug 3, 2023

@yorhodes is this related to v3?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

4 participants