mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-31 23:41:22 +00:00
394adb4750
Former-commit-id: ad6a4793064556b556a92dbed3f8a555972c07a1 [formerly 13e903a723eee255b4eb6e2bcc7be06ba73b6fa7] Former-commit-id: b2ecf21d02170030dfc56e9d9303aeb7bee45fab
25 lines
703 B
Go
25 lines
703 B
Go
package sharding
|
|
|
|
import (
|
|
"math/big"
|
|
|
|
"github.com/ethereum/go-ethereum/common"
|
|
)
|
|
|
|
var (
|
|
// Number of network shards
|
|
ShardCount = int64(1)
|
|
// Address of the sharding manager contract
|
|
ShardingManagerAddress = common.HexToAddress("0x0") // TODO
|
|
// Gas limit for verifying signatures
|
|
SigGasLimit = 40000
|
|
// Number of blocks in a period
|
|
PeriodLength = int64(5)
|
|
// Number of periods ahead of current period which the contract is able to return the collator of that period.
|
|
LookaheadPeriods = 4
|
|
// Required deposit size in wei
|
|
DepositSize = new(big.Int).Exp(big.NewInt(10), big.NewInt(20), nil) // 100 ETH
|
|
// Gas limit to create contract
|
|
ContractGasLimit = uint64(4700000) // Max is 4712388
|
|
)
|