move-language / move

Apache License 2.0
2.25k stars 684 forks source link

[gas] fix NativeContext::exists_at & introduce new gas parameter to fix buggy gas formula in the table extension #954

Closed vgao1996 closed 1 year ago

vgao1996 commented 1 year ago

This fixes two issues:

  1. NativeContext::exists_at should not have flattened the nested options.
  2. The table extension does not waive the base fee even when the resource being loaded is already in the cache.
vgao1996 commented 1 year ago

Sadly we cannot