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

Add support for dynamic size on the ed19 opcode. #793

Closed
xgreenx opened this issue Jul 23, 2024 · 1 comment · Fixed by #795
Closed

Add support for dynamic size on the ed19 opcode. #793

xgreenx opened this issue Jul 23, 2024 · 1 comment · Fixed by #795
Assignees

Comments

@xgreenx
Copy link
Collaborator

xgreenx commented Jul 23, 2024

Add one more argument to the ed19 copse. Use the immediate value to set the length of the signing payload. 0 defaults to 32 as is, if a value is specified that value is followed as the payload length to sign.
Change gas metering to incorporate a dynamically signed payload, consider having a limit of 1024 for now which can be lifted later when we become comfortable with this opcode.

This changes requires corresponding modification info the specification.

@xgreenx
Copy link
Collaborator Author

xgreenx commented Jul 24, 2024

Related specification PR FuelLabs/fuel-specs#600

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants