fix genesis bugs

This commit is contained in:
MestryOmkar 2018-10-30 18:09:26 +05:30
parent 68fd01b7aa
commit 253cce2378
3 changed files with 9 additions and 9 deletions

View file

@ -34,7 +34,7 @@ func DeployValidator(transactOpts *bind.TransactOpts, contractBackend bind.Contr
// 150 masternodes
// Candidate Delay Withdraw 30 days = 1296000 blocks
// Voter Delay Withdraw 2 days = 8640 blocks
validatorAddr, _, _, err := contract.DeployXDCValidator(transactOpts, contractBackend, validatorAddress, caps, ownerAddress, minDeposit, big.NewInt(150), big.NewInt(8640), big.NewInt(1296000)) if err != nil {
validatorAddr, _, _, err := contract.DeployXDCValidator(transactOpts, contractBackend, validatorAddress, caps, ownerAddress, minDeposit, big.NewInt(150), big.NewInt(1296000), big.NewInt(8640)) if err != nil {
return validatorAddr, nil, err
}

View file

@ -7,7 +7,7 @@
"eip155Block": 3,
"eip158Block": 3,
"byzantiumBlock": 4,
"posv": {
"XDPoS": {
"period": 2,
"epoch": 900,
"reward": 250,
@ -33,9 +33,9 @@
"0x0000000000000000000000000000000000000000000000000000000000000003": "0x0000000000000000000000000000000000000000000000000000000000000003",
"0x0000000000000000000000000000000000000000000000000000000000000004": "0x0000000000000000000000000000000000000000000000000000000000000003",
"0x0000000000000000000000000000000000000000000000000000000000000005": "0x000000000000000000000000000000000000000000000a968163f0a57b400000",
"0x0000000000000000000000000000000000000000000000000000000000000006": "0x0000000000000000000000000000000000000000000000000000000000008196",
"0x0000000000000000000000000000000000000000000000000000000000000007": "0x00000000000000000000000000000000000000000000000000000000008221c0",
"0x0000000000000000000000000000000000000000000000000000000000000008": "0x000000000000000000000000000000000000000000000000000000008313c680",
"0x0000000000000000000000000000000000000000000000000000000000000006": "0x0000000000000000000000000000000000000000000000000000000000000096",
"0x0000000000000000000000000000000000000000000000000000000000000007": "0x000000000000000000000000000000000000000000000000000000000013c680",
"0x0000000000000000000000000000000000000000000000000000000000000008": "0x00000000000000000000000000000000000000000000000000000000000021c0",
"0x026993bba202119b8a8475bf9f364d83622f52af5ac4adbfb65ae8a937a51888": "0x000000000000000000009501487d62d33467c4842c5e54eb370837e4e88bba0f",
"0x026993bba202119b8a8475bf9f364d83622f52af5ac4adbfb65ae8a937a51889": "0x000000000000000000000000000000000000000000000a968163f0a57b400000",
"0x02c8f9fcf8c8e9c24ab57213a541d13709892b4c2c4e76fa4801ab0b47a3de93": "0x0000000000000000000000000000000000000000000000000000000000000001",

View file

@ -7,7 +7,7 @@
"eip155Block": 3,
"eip158Block": 3,
"byzantiumBlock": 4,
"posv": {
"XDPoS": {
"period": 2,
"epoch": 900,
"reward": 250,
@ -33,9 +33,9 @@
"0x0000000000000000000000000000000000000000000000000000000000000003": "0x0000000000000000000000000000000000000000000000000000000000000003",
"0x0000000000000000000000000000000000000000000000000000000000000004": "0x0000000000000000000000000000000000000000000000000000000000000003",
"0x0000000000000000000000000000000000000000000000000000000000000005": "0x000000000000000000000000000000000000000000000a968163f0a57b400000",
"0x0000000000000000000000000000000000000000000000000000000000000006": "0x0000000000000000000000000000000000000000000000000000000000008196",
"0x0000000000000000000000000000000000000000000000000000000000000007": "0x00000000000000000000000000000000000000000000000000000000008221c0",
"0x0000000000000000000000000000000000000000000000000000000000000008": "0x000000000000000000000000000000000000000000000000000000008313c680",
"0x0000000000000000000000000000000000000000000000000000000000000006": "0x0000000000000000000000000000000000000000000000000000000000000096",
"0x0000000000000000000000000000000000000000000000000000000000000007": "0x000000000000000000000000000000000000000000000000000000000013c680",
"0x0000000000000000000000000000000000000000000000000000000000000008": "0x00000000000000000000000000000000000000000000000000000000000021c0",
"0x026993bba202119b8a8475bf9f364d83622f52af5ac4adbfb65ae8a937a51888": "0x000000000000000000009501487d62d33467c4842c5e54eb370837e4e88bba0f",
"0x026993bba202119b8a8475bf9f364d83622f52af5ac4adbfb65ae8a937a51889": "0x000000000000000000000000000000000000000000000a968163f0a57b400000",
"0x02c8f9fcf8c8e9c24ab57213a541d13709892b4c2c4e76fa4801ab0b47a3de93": "0x0000000000000000000000000000000000000000000000000000000000000001",