Skip to content
This repository has been archived by the owner on Dec 1, 2023. It is now read-only.

Log address as hex in update_abi #290

Merged
merged 3 commits into from
Nov 15, 2022
Merged

Log address as hex in update_abi #290

merged 3 commits into from
Nov 15, 2022

Conversation

ericglau
Copy link
Member

Fixes #289

@ericglau ericglau changed the title Log address as int in update_abi Log address as hex in update_abi Nov 14, 2022
@ericglau ericglau marked this pull request as ready for review November 14, 2022 22:19
Copy link
Member

@ericnordelo ericnordelo left a comment

Choose a reason for hiding this comment

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

LGTM!

@ericglau ericglau merged commit 52f58f5 into OpenZeppelin:main Nov 15, 2022
@ericglau ericglau deleted the 289 branch November 15, 2022 00:15
identifier = address_or_alias
if type(address_or_alias) == int:
identifier = hex_address(address_or_alias)
assert f"Updating {identifier} in {LOCALHOST}.{DEPLOYMENTS_FILENAME}"
Copy link
Contributor

Choose a reason for hiding this comment

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

couldn't identifier be an alias? the new implementation only logs hex addresses

Copy link
Member Author

Choose a reason for hiding this comment

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

Good catch! Opened #292 to fix this.

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.

deployments.update_abi logs address as int
3 participants