From e921f68f4b9edc7482b40b3c2461b34e584e77df Mon Sep 17 00:00:00 2001 From: Francois Beutin Date: Wed, 26 Jun 2024 17:15:08 +0200 Subject: [PATCH] Increase PLUGIN_CONTEXT_SIZE size to 10x32 --- src/eth_plugin_interface.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/eth_plugin_interface.h b/src/eth_plugin_interface.h index faa2be5..6985592 100644 --- a/src/eth_plugin_interface.h +++ b/src/eth_plugin_interface.h @@ -88,7 +88,7 @@ typedef struct ethPluginSharedRO_s { // Plugin-only memory allocated by the Ethereum application and used by the plugin. -#define PLUGIN_CONTEXT_SIZE (5 * INT256_LENGTH) +#define PLUGIN_CONTEXT_SIZE (10 * INT256_LENGTH) // It is recommended to cast the raw uin8_t array to a structure meaningful for your plugin // Helper to check that the actual plugin context structure is not bigger than the allocated memory #define ASSERT_SIZEOF_PLUGIN_CONTEXT(s) \