Skip to content

Commit 5b4af3e

Browse files
committed
fix: add testnet-fix hardfork
1 parent 68c53fa commit 5b4af3e

File tree

3 files changed

+27
-0
lines changed

3 files changed

+27
-0
lines changed

packages/common/src/chains/testnet.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,10 @@
9898
{
9999
"name": "better-pos",
100100
"block": 7216473
101+
},
102+
{
103+
"name": "testnet-fix",
104+
"block": 7387545
101105
}
102106
],
103107
"bootstrapNodes": ["enr:-Iu4QPz90koLNexxVzdKmRNG9vFvaGCKdRKyctdBPapvFbxYeC5dwUtVeTsbALuRbepkXo6DxMQvbEymzZDfJQe9PuUEgmlkgnY0gmlwhC_zLSmJc2VjcDI1NmsxoQIjWqiet9ed_EiGiTXjrfjKejYSqhjr-_yOntO9v9c_4IN0Y3CCoJuDdWRwgqCc", "enr:-Iu4QMb_n75rjvLgLvzxRg5STOD3ePq2Li42oDF6K0Pjp4YhN4fbIm87LyuQQC0hNO0cNYmTP9YlKlFQGOXgOlDHkIIEgmlkgnY0gmlwhC_zLSmJc2VjcDI1NmsxoQOE57Rt7uLtJtf8BciAUlQJxU3BKlvmPYxHSRC6DpEgbYN0Y3CCoJ6DdWRwgqCd", "enr:-Iu4QNrfueeR7P12rqCqMQdAM-SsMdYKpOlgEklDdEGPWrA3Q-bidTIcmXENZgGnafgS04sBtCvVXMmk3iRlFaIcIS4EgmlkgnY0gmlwhC_zLSmJc2VjcDI1NmsxoQO_-dh99y3NaRsW9a9c9JtLn8XensNkFLvEBoWZG6JV3oN0Y3CCoJ-DdWRwgqCg"]

packages/common/src/hardforks/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,6 @@ export const hardforks = [
2121
['free-staking', require('./free-staking.json')],
2222
['testnet-hf-2', require('./testnet-hf-2.json')],
2323
['mainnet-hf-2', require('./mainnet-hf-2.json')],
24+
['testnet-fix', require('./testnet-fix.json')],
2425
['better-pos', require('./better-pos.json')]
2526
];
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"name": "testnet-fix",
3+
"comment": "rei-testnet fix hardfork",
4+
"gasConfig": {},
5+
"gasPrices": {},
6+
"vm": {
7+
"maxValidatorsCount": {
8+
"v": 21,
9+
"d": "max validator set size"
10+
},
11+
"minValidatorsCount": {
12+
"v": 21,
13+
"d": "min validator set size"
14+
},
15+
"minTotalLockedAmount": {
16+
"v": "20000000000000000000000000",
17+
"d": "min total locked amount"
18+
}
19+
},
20+
"pow": {}
21+
}
22+

0 commit comments

Comments
 (0)