This cherry-picks two recent status code changes we made on the aptos branch to main.
The first one adds 3 new status codes (EXECUTION_LIMIT_REACHED, IO_LIMIT_REACHED & STORAGE_LIMIT_REACHED)
I'm aware that these are somewhat specific to our use case, but the problem already exists and dates back to the Diem legacies. A proper refactoring is needed to address this problem, but that will require quite some work & consideration, especially to ensure backward compatibility.
The second one adds some reserved status codes for each category. This is just to ensure a slightly out-of-date binary can still deserialize a newer status code. When a new code gets added, it shall replace the next one reserved.
This cherry-picks two recent status code changes we made on the aptos branch to main.
EXECUTION_LIMIT_REACHED
,IO_LIMIT_REACHED
&STORAGE_LIMIT_REACHED
)