Skip to content

Commit

Permalink
Increase PLUGIN_CONTEXT_SIZE size to 10x32
Browse files Browse the repository at this point in the history
  • Loading branch information
fbeutin-ledger committed Jun 26, 2024
1 parent 0eaa25a commit e921f68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/eth_plugin_interface.h
Original file line number Diff line number Diff line change
Expand Up @@ -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) \
Expand Down

0 comments on commit e921f68

Please sign in to comment.