Skip to content

Commit 8e2907f

Browse files
Merge pull request #20 from LedgerHQ/fbe/increase_PLUGIN_CONTEXT_SIZE
Increase PLUGIN_CONTEXT_SIZE size to 10x32
2 parents 34c1d5c + 63547f7 commit 8e2907f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/eth_plugin_interface.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,8 @@ typedef struct ethPluginSharedRO_s {
8989

9090
// --8<-- [start:plugin_context]
9191
// Plugin-only memory allocated by the Ethereum application and used by the
92-
// plugin.
93-
#define PLUGIN_CONTEXT_SIZE (5 * INT256_LENGTH)
92+
// plugin. 1k memory is available.
93+
#define PLUGIN_CONTEXT_SIZE (32 * INT256_LENGTH)
9494
// --8<-- [end:plugin_context]
9595
// It is recommended to cast the raw uin8_t array to a structure meaningful for
9696
// your plugin

0 commit comments

Comments
 (0)