Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump plugin context size to 10x32 #580

Merged
merged 1 commit into from
May 7, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading