From 68c4f5e692e751b60939cb739c19b4800485924b Mon Sep 17 00:00:00 2001 From: Francois Beutin Date: Tue, 7 May 2024 15:26:43 +0200 Subject: [PATCH] Bump plugin context size to 10x32 --- src/shared_context.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/shared_context.h b/src/shared_context.h index 08dc70c82..71fd28f45 100644 --- a/src/shared_context.h +++ b/src/shared_context.h @@ -60,7 +60,9 @@ typedef struct tokenContext_t { }; // This needs to be strictly 4 bytes aligned since pointers to it will be casted as // plugin context struct pointers (structs that contain up to 4 bytes wide elements) - uint8_t pluginContext[5 * INT256_LENGTH] __attribute__((aligned(4))); + // uint8_t pluginContext[5 * INT256_LENGTH] __attribute__((aligned(4))); + // TODO: use PLUGIN_CONTEXT_SIZE after eth is released with the updated plugin sdk + uint8_t pluginContext[10 * INT256_LENGTH] __attribute__((aligned(4))); }; uint8_t pluginStatus;