Skip to content

Exception for uninitialised#6

Merged
thewhaleking merged 2 commits intostagingfrom
feat/thewhaleking/warning-for-uninitialised
Jan 17, 2025
Merged

Exception for uninitialised#6
thewhaleking merged 2 commits intostagingfrom
feat/thewhaleking/warning-for-uninitialised

Conversation

@thewhaleking
Copy link
Collaborator

Because we no longer do the async inititialisation in the __init__ of AsyncSubstrateInterface, this raises an exception if you attempt to decode the block metadata before receiving the proper runtime configuration data you receive in AsyncSubstrateInterface.initialize, with instructions for how to initialise.

@thewhaleking thewhaleking requested a review from a team January 16, 2025 14:10
…o `__init__`, as it works now that chain is always a string.
@thewhaleking thewhaleking merged commit ad195e7 into staging Jan 17, 2025
@thewhaleking thewhaleking deleted the feat/thewhaleking/warning-for-uninitialised branch January 17, 2025 10:36
@ibraheem-abe ibraheem-abe mentioned this pull request Jan 28, 2025
@ibraheem-abe ibraheem-abe mentioned this pull request Feb 13, 2025
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.

1 participant