Skip to content

Commit

Permalink
Fix config settings upgrade json for v21
Browse files Browse the repository at this point in the history
  • Loading branch information
sisuresh committed Apr 26, 2024
1 parent 3325650 commit ff0d7f4
Show file tree
Hide file tree
Showing 2 changed files with 62 additions and 80 deletions.
71 changes: 31 additions & 40 deletions local/core/etc/config-settings/testnet.json
Original file line number Diff line number Diff line change
Expand Up @@ -164,85 +164,76 @@
"ext": "v0",
"const_term": 1059,
"linear_term": 502
}
]
},
{
"contract_cost_params_memory_bytes": [
{
"ext": "v0",
"const_term": 0,
"linear_term": 0
},
{
"ext": "v0",
"const_term": 16,
"linear_term": 128
"const_term": 73077,
"linear_term": 25410
},
{
"ext": "v0",
"const_term": 0,
"linear_term": 0
"linear_term": 540752
},
{
"ext": "v0",
"const_term": 0,
"linear_term": 0
"linear_term": 176363
},
{
"ext": "v0",
"const_term": 0,
"linear_term": 0
"linear_term": 29989
},
{
"ext": "v0",
"const_term": 0,
"linear_term": 0
"linear_term": 1061449
},
{
"ext": "v0",
"const_term": 242,
"linear_term": 384
"const_term": 0,
"linear_term": 237336
},
{
"ext": "v0",
"const_term": 0,
"linear_term": 384
"linear_term": 328476
},
{
"ext": "v0",
"const_term": 0,
"linear_term": 0
"linear_term": 701845
},
{
"ext": "v0",
"const_term": 0,
"linear_term": 0
"linear_term": 429383
},
{
"ext": "v0",
"const_term": 0,
"linear_term": 0
"linear_term": 28
},
{
"ext": "v0",
"const_term": 132773,
"linear_term": 4903
"const_term": 43030,
"linear_term": 0
},
{
"ext": "v0",
"const_term": 132773,
"linear_term": 4903
"const_term": 0,
"linear_term": 7556
},
{
"ext": "v0",
"const_term": 14,
"linear_term": 0
"const_term": 0,
"linear_term": 10711
},
{
"ext": "v0",
"const_term": 0,
"linear_term": 0
"linear_term": 3300
},
{
"ext": "v0",
Expand All @@ -251,37 +242,37 @@
},
{
"ext": "v0",
"const_term": 181,
"linear_term": 0
"const_term": 0,
"linear_term": 23038
},
{
"ext": "v0",
"const_term": 99,
"linear_term": 0
"const_term": 0,
"linear_term": 42488
},
{
"ext": "v0",
"const_term": 99,
"linear_term": 0
"const_term": 0,
"linear_term": 828974
},
{
"ext": "v0",
"const_term": 99,
"linear_term": 0
"const_term": 0,
"linear_term": 297100
},
{
"ext": "v0",
"const_term": 99,
"linear_term": 0
"const_term": 0,
"linear_term": 14
},
{
"ext": "v0",
"const_term": 99,
"const_term": 1882,
"linear_term": 0
},
{
"ext": "v0",
"const_term": 0,
"const_term": 3000906,
"linear_term": 0
}
]
Expand Down
71 changes: 31 additions & 40 deletions local/core/etc/config-settings/unlimited.json
Original file line number Diff line number Diff line change
Expand Up @@ -164,85 +164,76 @@
"ext": "v0",
"const_term": 1059,
"linear_term": 502
}
]
},
{
"contract_cost_params_memory_bytes": [
{
"ext": "v0",
"const_term": 0,
"linear_term": 0
},
{
"ext": "v0",
"const_term": 16,
"linear_term": 128
"const_term": 73077,
"linear_term": 25410
},
{
"ext": "v0",
"const_term": 0,
"linear_term": 0
"linear_term": 540752
},
{
"ext": "v0",
"const_term": 0,
"linear_term": 0
"linear_term": 176363
},
{
"ext": "v0",
"const_term": 0,
"linear_term": 0
"linear_term": 29989
},
{
"ext": "v0",
"const_term": 0,
"linear_term": 0
"linear_term": 1061449
},
{
"ext": "v0",
"const_term": 242,
"linear_term": 384
"const_term": 0,
"linear_term": 237336
},
{
"ext": "v0",
"const_term": 0,
"linear_term": 384
"linear_term": 328476
},
{
"ext": "v0",
"const_term": 0,
"linear_term": 0
"linear_term": 701845
},
{
"ext": "v0",
"const_term": 0,
"linear_term": 0
"linear_term": 429383
},
{
"ext": "v0",
"const_term": 0,
"linear_term": 0
"linear_term": 28
},
{
"ext": "v0",
"const_term": 132773,
"linear_term": 4903
"const_term": 43030,
"linear_term": 0
},
{
"ext": "v0",
"const_term": 132773,
"linear_term": 4903
"const_term": 0,
"linear_term": 7556
},
{
"ext": "v0",
"const_term": 14,
"linear_term": 0
"const_term": 0,
"linear_term": 10711
},
{
"ext": "v0",
"const_term": 0,
"linear_term": 0
"linear_term": 3300
},
{
"ext": "v0",
Expand All @@ -251,37 +242,37 @@
},
{
"ext": "v0",
"const_term": 181,
"linear_term": 0
"const_term": 0,
"linear_term": 23038
},
{
"ext": "v0",
"const_term": 99,
"linear_term": 0
"const_term": 0,
"linear_term": 42488
},
{
"ext": "v0",
"const_term": 99,
"linear_term": 0
"const_term": 0,
"linear_term": 828974
},
{
"ext": "v0",
"const_term": 99,
"linear_term": 0
"const_term": 0,
"linear_term": 297100
},
{
"ext": "v0",
"const_term": 99,
"linear_term": 0
"const_term": 0,
"linear_term": 14
},
{
"ext": "v0",
"const_term": 99,
"const_term": 1882,
"linear_term": 0
},
{
"ext": "v0",
"const_term": 0,
"const_term": 3000906,
"linear_term": 0
}
]
Expand Down

0 comments on commit ff0d7f4

Please sign in to comment.