a9cb572238
* feat: implement eip1108 * doc nit: price per point pair Co-Authored-By: David <dvdplm@gmail.com> * fix: test-build * fix: update chain specs * fix: basic_authority.json chain spec * fix: change `eip_transition == 0x7fffffffffffff` * add issue link to `TODO`
96 lines
3.0 KiB
JSON
96 lines
3.0 KiB
JSON
{
|
|
"name": "TestAuthorityRound",
|
|
"engine": {
|
|
"authorityRound": {
|
|
"params": {
|
|
"stepDuration": 1,
|
|
"startStep": 2,
|
|
"validators": {
|
|
"list": [
|
|
"0x7d577a597b2742b498cb5cf0c26cdcd726d39e6e",
|
|
"0x82a978b3f5962a5b0957d9ee9eef472ee55b42f1"
|
|
]
|
|
},
|
|
"immediateTransitions": true
|
|
}
|
|
}
|
|
},
|
|
"params": {
|
|
"gasLimitBoundDivisor": "0x0400",
|
|
"accountStartNonce": "0x0",
|
|
"maximumExtraDataSize": "0x20",
|
|
"minGasLimit": "0x1388",
|
|
"networkID" : "0x69",
|
|
"eip140Transition": "0x0",
|
|
"eip211Transition": "0x0",
|
|
"eip214Transition": "0x0",
|
|
"eip658Transition": "0x0"
|
|
},
|
|
"genesis": {
|
|
"seal": {
|
|
"authorityRound": {
|
|
"step": "0x0",
|
|
"signature": "0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
|
|
}
|
|
},
|
|
"difficulty": "0x20000",
|
|
"author": "0x0000000000000000000000000000000000000000",
|
|
"timestamp": "0x00",
|
|
"parentHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
|
|
"extraData": "0x",
|
|
"gasLimit": "0x222222"
|
|
},
|
|
"accounts": {
|
|
"0000000000000000000000000000000000000001": { "balance": "1", "nonce": "1048576", "builtin": { "name": "ecrecover", "pricing": { "linear": { "base": 3000, "word": 0 } } } },
|
|
"0000000000000000000000000000000000000002": { "balance": "1", "nonce": "1048576", "builtin": { "name": "sha256", "pricing": { "linear": { "base": 60, "word": 12 } } } },
|
|
"0000000000000000000000000000000000000003": { "balance": "1", "nonce": "1048576", "builtin": { "name": "ripemd160", "pricing": { "linear": { "base": 600, "word": 120 } } } },
|
|
"0000000000000000000000000000000000000004": { "balance": "1", "nonce": "1048576", "builtin": { "name": "identity", "pricing": { "linear": { "base": 15, "word": 3 } } } },
|
|
"0000000000000000000000000000000000000005": { "balance": "1", "builtin": { "name": "modexp", "activate_at": 0, "pricing": { "modexp": { "divisor": 20 } } } },
|
|
"0000000000000000000000000000000000000006": {
|
|
"balance": "1",
|
|
"builtin": {
|
|
"name": "alt_bn128_add",
|
|
"activate_at": 0,
|
|
"eip1108_transition": "0x7fffffffffffff",
|
|
"pricing": {
|
|
"alt_bn128_const_operations": {
|
|
"price": 500,
|
|
"eip1108_transition_price": 150
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"0000000000000000000000000000000000000007": {
|
|
"balance": "1",
|
|
"builtin": {
|
|
"name": "alt_bn128_mul",
|
|
"activate_at": 0,
|
|
"eip1108_transition": "0x7fffffffffffff",
|
|
"pricing": {
|
|
"alt_bn128_const_operations": {
|
|
"price": 40000,
|
|
"eip1108_transition_price": 6000
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"0000000000000000000000000000000000000008": {
|
|
"balance": "1",
|
|
"builtin": {
|
|
"name": "alt_bn128_pairing",
|
|
"activate_at": 0,
|
|
"eip1108_transition": "0x7fffffffffffff",
|
|
"pricing": {
|
|
"alt_bn128_pairing": {
|
|
"base": 100000,
|
|
"pair": 80000,
|
|
"eip1108_transition_base": 45000,
|
|
"eip1108_transition_pair": 34000
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"9cce34f7ab185c7aba1b7c8140d620b4bda941d6": { "balance": "1606938044258990275541962092341162602522202993782792835301376", "nonce": "1048576" }
|
|
}
|
|
}
|