Skip to content

fix: serialize state in error cases#40

Merged
nadim-az merged 6 commits intomainfrom
na/serialize-state
Apr 28, 2025
Merged

fix: serialize state in error cases#40
nadim-az merged 6 commits intomainfrom
na/serialize-state

Conversation

@nadim-az
Copy link
Contributor

No description provided.

chain, err := chain.RestoreChain(ctx, logger, p, chainState, node.RestoreNode, testnet.CosmosWalletConfig)
if err != nil {
return PackagedState{}, err
newProviderState, serializeErr := p.SerializeProvider(ctx)
Copy link
Contributor

Choose a reason for hiding this comment

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

should we extract this out into a function? where we serialize as much as possible and just return it

@nadim-az nadim-az force-pushed the na/serialize-state branch from 65723ab to 1408b28 Compare April 27, 2025 15:44
@nadim-az nadim-az changed the base branch from na/catalyst-types to main April 28, 2025 17:03
@nadim-az nadim-az merged commit 8836075 into main Apr 28, 2025
3 checks passed
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.

2 participants