Merge pull request #580 from LedgerHQ/fbe/increase_plugin_context_size_v2
Bump plugin context size to 10x32
This commit is contained in:
@@ -60,7 +60,9 @@ typedef struct tokenContext_t {
|
|||||||
};
|
};
|
||||||
// This needs to be strictly 4 bytes aligned since pointers to it will be casted as
|
// 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)
|
// 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;
|
uint8_t pluginStatus;
|
||||||
|
|||||||
Reference in New Issue
Block a user