Skip to content

Commit

Permalink
Merge pull request LedgerHQ#580 from LedgerHQ/fbe/increase_plugin_con…
Browse files Browse the repository at this point in the history
…text_size_v2

Bump plugin context size to 10x32
  • Loading branch information
fbeutin-ledger authored May 7, 2024
2 parents 5b2f73b + 68c4f5e commit f023a88
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/shared_context.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit f023a88

Please sign in to comment.