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

4337: Add method to get deployed account from receipt #894

Merged
merged 1 commit into from
Apr 12, 2024
Merged

Conversation

Uxio0
Copy link
Member

@Uxio0 Uxio0 commented Apr 11, 2024

  • Use AccountDeployed event to check if the account was indeed deployed

@Uxio0 Uxio0 requested a review from a team as a code owner April 11, 2024 14:38
len(log["topics"]) == 3
and HexBytes(log["topics"][0]) == ACCOUNT_DEPLOYED_TOPIC
):
return fast_to_checksum_address(log["topics"][2][-40:])
Copy link
Member

Choose a reason for hiding this comment

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

Maybe we could add some link documentation why [2][-40:]

Copy link
Member Author

Choose a reason for hiding this comment

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

Done, thanks!

@Uxio0 Uxio0 merged commit 9868415 into main Apr 12, 2024
6 checks passed
@Uxio0 Uxio0 deleted the add-get-deployed branch April 12, 2024 09:53
@github-actions github-actions bot locked and limited conversation to collaborators Apr 12, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants