Skip to content

Commit

Permalink
feat: update delegate action gas cost (near#8597)
Browse files Browse the repository at this point in the history
for estimation data, please refer to
near#8114 (comment)
  • Loading branch information
jakmeier authored Feb 20, 2023
1 parent 489b976 commit 34ca6d8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
6 changes: 3 additions & 3 deletions core/primitives/res/runtime_configs/parameters.snap
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,9 @@ action_delete_key
- send_not_sir: 94_946_625_000
- execution: 94_946_625_000
action_delegate
- send_sir: 2_319_861_500_000
- send_not_sir: 2_319_861_500_000
- execution: 2_319_861_500_000
- send_sir: 200_000_000_000
- send_not_sir: 200_000_000_000
- execution: 200_000_000_000
wasm_regular_op_cost 822_756
wasm_grow_mem_cost 1
wasm_base 264_768_111
Expand Down
7 changes: 3 additions & 4 deletions core/primitives/res/runtime_configs/parameters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,11 +100,10 @@ action_delete_key: {
send_not_sir: 94_946_625_000,
execution: 94_946_625_000,
}
# TODO: place-holder values, needs estimation, tracked in #8114
action_delegate: {
send_sir: 2_319_861_500_000,
send_not_sir: 2_319_861_500_000,
execution: 2_319_861_500_000,
send_sir: 200_000_000_000,
send_not_sir: 200_000_000_000,
execution: 200_000_000_000,
}

# Smart contract dynamic gas costs
Expand Down

0 comments on commit 34ca6d8

Please sign in to comment.