increase size of hook state to 256 bytes, parameters too, change the reserve requirement to 1:1 for hook state, allow weak execution on rollback if hook_again was specified, add further state_set tests

This commit is contained in:
Richard Holland
2022-12-11 13:03:08 +00:00
parent 90949b8a59
commit e4aa7db5cb
7 changed files with 159 additions and 22 deletions

View File

@@ -262,6 +262,9 @@ namespace hook
uint32_t maxHookChainLength(void);
uint32_t computeHookStateOwnerCount(uint32_t hookStateCount);
int64_t computeExecutionFee(uint64_t instructionCount);
int64_t computeCreationFee(uint64_t byteCount);