wormhole-foundation/wormhole

Post_message_unreliable shoud resize accounts when necessary

ellttBen opened this issue · 0 comments

Description and context

Currently post_message_unreliable fails when the account is not the right size for the message. Looking at the PR that added the instruction it seems this was reverted from because account resizing was not stable yet. It has been a while now and the feature is completely stable (and doesn't even require CPI). Doing this would increase the utility of the post_message_unreliable and allow for more rent optimization.

If this sounds good I am happy to make a quick PR.

Definition of done

Code is merged and deployed.