Skip to content

Commit

Permalink
Common avg size of classic LE
Browse files Browse the repository at this point in the history
  • Loading branch information
anupsdf committed Nov 12, 2024
1 parent 7b2da93 commit 2c32069
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions scripts/resource-calc.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,15 @@
" LE_writes_per_op = {}\n",
" LE_size = {}\n",
" event_size_per_op = {}\n",
" # avg size of classic LE\n",
" LE_size['classic'] = 140\n",
"\n",
" if big_settings:\n",
" # classic\n",
" # max number of LE reads per op (vnext: limited DEX)\n",
" LE_reads_per_op['classic'] = 10 if v_next else 1000\n",
" # max number of LE writes per op\n",
" LE_writes_per_op['classic'] = LE_reads_per_op['classic']\n",
" # avg size of LE\n",
" LE_size['classic'] = 140\n",
" # models each \"write\" as a token transfer\n",
" event_size_per_op['classic'] = LE_writes_per_op['classic']*token_transfer_event_size\n",
"\n",
Expand Down Expand Up @@ -72,8 +72,6 @@
" LE_reads_per_op['classic'] = 5\n",
" # avg number of LE writes per op\n",
" LE_writes_per_op['classic'] = 5\n",
" # avg size of LE\n",
" LE_size['classic'] = 140\n",
" # models each \"write\" as a token transfer\n",
" event_size_per_op['classic'] = LE_writes_per_op['classic']*token_transfer_event_size\n",
"\n",
Expand Down

0 comments on commit 2c32069

Please sign in to comment.