Bump plugin context size to 10x32

This commit is contained in:
Francois Beutin
2024-05-07 15:26:43 +02:00
parent 5b2f73be49
commit 68c4f5e692

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;