Set mv ram cost to ScriptReadWriteRamCost

This seems a bit high but avoids an exploit due to setting it lower than `rm`.
This commit is contained in:
Jesse Clark 2022-03-29 14:27:30 -07:00 committed by GitHub
parent 1d0c5d8fef
commit cde6eca6b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -200,6 +200,7 @@ export const RamCosts: IMap<any> = {
readPort: 0, readPort: 0,
getPortHandle: 0, getPortHandle: 0,
rm: RamCostConstants.ScriptReadWriteRamCost, rm: RamCostConstants.ScriptReadWriteRamCost,
mv: RamCostConstants.ScriptReadWriteRamCost,
scriptRunning: RamCostConstants.ScriptArbScriptRamCost, scriptRunning: RamCostConstants.ScriptArbScriptRamCost,
scriptKill: RamCostConstants.ScriptArbScriptRamCost, scriptKill: RamCostConstants.ScriptArbScriptRamCost,
getScriptName: 0, getScriptName: 0,