Skip to content

Commit

Permalink
fix(epoch config): serialize u128 as string. Cleanup mocknet configs (#…
Browse files Browse the repository at this point in the history
…12382)

JSON format does not support u128.
Cleanup the mocknet configs because we will dumped epoch configs and
ammend them for each scenario.
  • Loading branch information
VanBarbascu authored Nov 5, 2024
1 parent 680d16f commit 2fe84bf
Show file tree
Hide file tree
Showing 35 changed files with 26 additions and 921 deletions.
2 changes: 1 addition & 1 deletion core/primitives/res/epoch_configs/mainnet/100.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
99,
100
],
"fishermen_threshold": 340282366920938463463374607431768211455,
"fishermen_threshold": "340282366920938463463374607431768211455",
"minimum_stake_divisor": 10,
"protocol_upgrade_stake_threshold": [
4,
Expand Down
2 changes: 1 addition & 1 deletion core/primitives/res/epoch_configs/mainnet/101.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
99,
100
],
"fishermen_threshold": 340282366920938463463374607431768211455,
"fishermen_threshold": "340282366920938463463374607431768211455",
"minimum_stake_divisor": 10,
"protocol_upgrade_stake_threshold": [
4,
Expand Down
2 changes: 1 addition & 1 deletion core/primitives/res/epoch_configs/mainnet/143.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
99,
100
],
"fishermen_threshold": 340282366920938463463374607431768211455,
"fishermen_threshold": "340282366920938463463374607431768211455",
"minimum_stake_divisor": 10,
"protocol_upgrade_stake_threshold": [
4,
Expand Down
2 changes: 1 addition & 1 deletion core/primitives/res/epoch_configs/mainnet/29.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
99,
100
],
"fishermen_threshold": 340282366920938463463374607431768211455,
"fishermen_threshold": "340282366920938463463374607431768211455",
"minimum_stake_divisor": 10,
"protocol_upgrade_stake_threshold": [
4,
Expand Down
2 changes: 1 addition & 1 deletion core/primitives/res/epoch_configs/mainnet/48.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
99,
100
],
"fishermen_threshold": 340282366920938463463374607431768211455,
"fishermen_threshold": "340282366920938463463374607431768211455",
"minimum_stake_divisor": 10,
"protocol_upgrade_stake_threshold": [
4,
Expand Down
2 changes: 1 addition & 1 deletion core/primitives/res/epoch_configs/mainnet/56.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
99,
100
],
"fishermen_threshold": 340282366920938463463374607431768211455,
"fishermen_threshold": "340282366920938463463374607431768211455",
"minimum_stake_divisor": 10,
"protocol_upgrade_stake_threshold": [
4,
Expand Down
2 changes: 1 addition & 1 deletion core/primitives/res/epoch_configs/mainnet/64.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
99,
100
],
"fishermen_threshold": 340282366920938463463374607431768211455,
"fishermen_threshold": "340282366920938463463374607431768211455",
"minimum_stake_divisor": 10,
"protocol_upgrade_stake_threshold": [
4,
Expand Down
2 changes: 1 addition & 1 deletion core/primitives/res/epoch_configs/mainnet/65.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
99,
100
],
"fishermen_threshold": 340282366920938463463374607431768211455,
"fishermen_threshold": "340282366920938463463374607431768211455",
"minimum_stake_divisor": 10,
"protocol_upgrade_stake_threshold": [
4,
Expand Down
2 changes: 1 addition & 1 deletion core/primitives/res/epoch_configs/mainnet/69.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
99,
100
],
"fishermen_threshold": 340282366920938463463374607431768211455,
"fishermen_threshold": "340282366920938463463374607431768211455",
"minimum_stake_divisor": 10,
"protocol_upgrade_stake_threshold": [
4,
Expand Down
2 changes: 1 addition & 1 deletion core/primitives/res/epoch_configs/mainnet/70.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
99,
100
],
"fishermen_threshold": 340282366920938463463374607431768211455,
"fishermen_threshold": "340282366920938463463374607431768211455",
"minimum_stake_divisor": 10,
"protocol_upgrade_stake_threshold": [
4,
Expand Down
2 changes: 1 addition & 1 deletion core/primitives/res/epoch_configs/mainnet/71.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
99,
100
],
"fishermen_threshold": 340282366920938463463374607431768211455,
"fishermen_threshold": "340282366920938463463374607431768211455",
"minimum_stake_divisor": 10,
"protocol_upgrade_stake_threshold": [
4,
Expand Down
2 changes: 1 addition & 1 deletion core/primitives/res/epoch_configs/mainnet/72.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
99,
100
],
"fishermen_threshold": 340282366920938463463374607431768211455,
"fishermen_threshold": "340282366920938463463374607431768211455",
"minimum_stake_divisor": 10,
"protocol_upgrade_stake_threshold": [
4,
Expand Down
96 changes: 0 additions & 96 deletions core/primitives/res/epoch_configs/mocknet/100.json

This file was deleted.

89 changes: 0 additions & 89 deletions core/primitives/res/epoch_configs/mocknet/101.json

This file was deleted.

89 changes: 0 additions & 89 deletions core/primitives/res/epoch_configs/mocknet/29.json

This file was deleted.

Loading

0 comments on commit 2fe84bf

Please sign in to comment.