We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 391edb6 commit 58d39a1Copy full SHA for 58d39a1
src/Neo/SmartContract/ApplicationEngine.cs
@@ -236,8 +236,10 @@ protected ApplicationEngine(
236
}
237
else
238
{
239
- // The values have the decimals stored
+ // The values have the decimals stored starting from OnPersist of Faun's block.
240
_execFeeFactor = NativeContract.Policy.GetExecPicoFeeFactor(this);
241
+ if (trigger == TriggerType.OnPersist && persistingIndex > 0 && !settings.IsHardforkEnabled(Hardfork.HF_Faun, persistingIndex - 1))
242
+ _execFeeFactor *= FeeFactor;
243
244
245
StoragePrice = NativeContract.Policy.GetStoragePrice(snapshotCache);
0 commit comments