Skip to content

Conversation

@alsrdn
Copy link
Collaborator

@alsrdn alsrdn commented Apr 3, 2024

No description provided.

jacek-casper and others added 2 commits March 28, 2024 11:41
4636: Return None in case of an error in get_addressable_entity r=jacek-casper a=jacek-casper

The current behaviour causes a problem in NCTL upgrade scenario 11, where we use `get_total_supply_key` from the state upgrade script. The `get_addressable_entity` function fails instead of returning None, while `get_total_supply_key` expects it to return None in order to handle the legacy format. The error type here has already been converted to a String, so we can't match precisely on the NotFound error.

Co-authored-by: Jacek Malec <[email protected]>
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.

3 participants