Merge pull request #580 from LedgerHQ/fbe/increase_plugin_context_size_v2

Bump plugin context size to 10x32
This commit is contained in:
François Beutin
2024-05-07 18:24:04 +02:00
committed by GitHub

View File

@@ -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;