Skip to content

Commit

Permalink
set new compute costs
Browse files Browse the repository at this point in the history
  • Loading branch information
jakmeier committed Apr 18, 2023
1 parent e270fb1 commit 54a6853
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions core/primitives/res/runtime_configs/61.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,10 @@
max_stack_height: { old: 16384, new: 262144 }
contract_prepare_version: { old: 1, new: 2 }

# Compute costs to allow for flat storage read-only MVP.
# See https://github.com/near/nearcore/issues/8006
wasm_touching_trie_node: { compute: old: 16_101_955_926, new: 110_000_000_000 }
wasm_storage_write_base: { compute: old: 64_196_736_000, new: 200_000_000_000 }
wasm_storage_remove_base: { compute: old: 53_473_030_500, new: 200_000_000_000 }
wasm_storage_read_base: { compute: old: 56_356_845_750, new: 200_000_000_000 }
wasm_storage_has_key_base: { compute: old: 54_039_896_625, new: 200_000_000_000 }

0 comments on commit 54a6853

Please sign in to comment.