Skip to content

Conversation

@b33ngo
Copy link

@b33ngo b33ngo commented Nov 11, 2025

Add charging fuel for syscalls. Fuel is charged before calling syscall. Amount of fuel are calculated with fuel parameters that provided with compilation config

@b33ngo b33ngo requested a review from dmitry123 November 11, 2025 02:15
})
})
{
if *base_fuel | *linear_fuel != 0 {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if you derive Copy trait for SyscallFuelParams you can call .copied() after and_then and get rid of many * - more readable

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 this pull request may close these issues.

3 participants