mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-25 04:57:17 +00:00
100 lines
7.2 KiB
JSON
100 lines
7.2 KiB
JSON
{
|
|
"name": "TestAuthorityRoundRandomnessContract",
|
|
"engine": {
|
|
"authorityRound": {
|
|
"params": {
|
|
"stepDuration": 1,
|
|
"startStep": 2,
|
|
"validators": {
|
|
"list": [
|
|
"0x7d577a597b2742b498cb5cf0c26cdcd726d39e6e"
|
|
]
|
|
},
|
|
"immediateTransitions": true,
|
|
"maximumEmptySteps": "2",
|
|
"randomnessContractAddress": {
|
|
"0": "0x0000000000000000000000000000000000000042"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"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": {
|
|
"0x7d577a597b2742b498cb5cf0c26cdcd726d39e6e": { "balance": "100000000000" },
|
|
"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",
|
|
"pricing": {
|
|
"0x0": {
|
|
"price": { "linear": { "base": 500, "word": 0 }}
|
|
},
|
|
"0x7fffffffffffff": {
|
|
"price": { "linear": { "base": 150, "word": 0 }}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"0000000000000000000000000000000000000007": {
|
|
"balance": "1",
|
|
"builtin": {
|
|
"name": "alt_bn128_mul",
|
|
"pricing": {
|
|
"0x0": {
|
|
"price": { "linear": { "base": 40000, "word": 0 }}
|
|
},
|
|
"0x7fffffffffffff": {
|
|
"price": { "linear": { "base": 6000, "word": 0 }}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"0000000000000000000000000000000000000008": {
|
|
"balance": "1",
|
|
"builtin": {
|
|
"name": "alt_bn128_pairing",
|
|
"pricing": {
|
|
"0x0": {
|
|
"price": { "alt_bn128_pairing": { "base": 100000, "pair": 80000 }}
|
|
},
|
|
"0x7fffffffffffff": {
|
|
"price": { "alt_bn128_pairing": { "base": 45000, "pair": 34000 }}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"0000000000000000000000000000000000000042": {
|
|
"balance": "1",
|
|
"constructor": "608060405234801561001057600080fd5b50610820806100206000396000f3fe608060405234801561001057600080fd5b50600436106100ec576000357c01000000000000000000000000000000000000000000000000000000009004806363f160e6116100a95780637a3e286b116100835780637a3e286b14610378578063baf11cab14610380578063c358ced0146103ac578063fe7d567d146103b4576100ec565b806363f160e614610285578063695e89f6146102c557806374ce906714610370576100ec565b806304fdb016146100f15780630b61ba8514610192578063209652551461020b5780632e8a8dd5146102255780633fa4f245146102515780635580e58b14610259575b600080fd5b61011d6004803603604081101561010757600080fd5b5080359060200135600160a060020a03166103d1565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561015757818101518382015260200161013f565b50505050905090810190601f1680156101845780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610209600480360360408110156101a857600080fd5b813591908101906040810160208201356401000000008111156101ca57600080fd5b8201836020820111156101dc57600080fd5b803590602001918460018302840111640100000000831117156101fe57600080fd5b509092509050610475565b005b6102136104fa565b60408051918252519081900360200190f35b6102136004803603604081101561023b57600080fd5b5080359060200135600160a060020a0316610501565b61021361051b565b6102136004803603604081101561026f57600080fd5b5080359060200135600160a060020a0316610521565b6102b16004803603604081101561029b57600080fd5b5080359060200135600160a060020a031661053e565b604080519115158252519081900360200190f35b6102f1600480360360408110156102db57600080fd5b5080359060200135600160a060020a0316610568565b6040518083815260200180602001828103825283818151815260200191508051906020019080838360005b8381101561033457818101518382015260200161031c565b50505050905090810190601f1680156103615780820380516001836020036101000a031916815260200191505b50935050505060405180910390f35b6102b1610639565b610213610649565b6102b16004803603604081101561039657600080fd5b5080359060200135600160a060020a0316610654565b6102b161067c565b610209600480360360208110156103ca57600080fd5b5035610687565b600160208181526000938452604080852082529284529282902080548351600293821615610100026000190190911692909204601f8101859004850283018501909352828252909290919083018282801561046d5780601f106104425761010080835404028352916020019161046d565b820191906000526020600020905b81548152906001019060200180831161045057829003601f168201915b505050505081565b41331461048157600080fd5b61048d60014303610735565b61049657600080fd5b60006104a460014303610740565b90506104b08133610654565b156104ba57600080fd5b600081815260208181526040808320338085529083528184208890558484526001835281842090845290915290206104f3908484610753565b5050505050565b6003545b90565b600060208181529281526040808220909352908152205481565b60035481565b600260209081526000928352604080842090915290825290205481565b6000918252600260209081526040808420600160a060020a03939093168452919052902054151590565b600082815260208181526040808320600160a060020a03851680855290835281842054868552600180855283862092865291845282852080548451600294821615610100026000190190911693909304601f810186900486028401860190945283835260609491939092918391908301828280156106275780601f106105fc57610100808354040283529160200191610627565b820191906000526020600020905b81548152906001019060200180831161060a57829003601f168201915b50505050509050915091509250929050565b600061064443610735565b905090565b600061064443610740565b600091825260208281526040808420600160a060020a03939093168452919052902054151590565b600061064443610747565b41331461069357600080fd5b61069f60014303610747565b6106a857600080fd5b60006106b660014303610740565b90506106c2813361053e565b156106cc57600080fd5b60408051602080820185905282518083038201815291830183528151918101919091206000848152808352838120338252909252919020541461070e57600080fd5b60009081526002602090815260408083203384529091529020819055600380549091189055565b600360069091061090565b6006900490565b60036006909106101590565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106107945782800160ff198235161785556107c1565b828001600101855582156107c1579182015b828111156107c15782358255916020019190600101906107a6565b506107cd9291506107d1565b5090565b6104fe91905b808211156107cd57600081556001016107d756fea265627a7a7230582008bb7311af9026bd70ddb998741333d414a366275b9b433a2943bbd6bedc27ae64736f6c634300050a0032"
|
|
}
|
|
}
|
|
} |