-
Notifications
You must be signed in to change notification settings - Fork 0
/
default.go
36 lines (30 loc) · 871 Bytes
/
default.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
package command
import (
"github.com/umbracle/ethgo"
"github.com/esportzvio/frietorchain/chain"
"github.com/esportzvio/frietorchain/server"
)
const (
DefaultGenesisFileName = "genesis.json"
DefaultChainName = "polygon-edge"
DefaultChainID = 100
DefaultConsensus = server.PolyBFTConsensus
DefaultGenesisGasUsed = 458752 // 0x70000
DefaultGenesisGasLimit = 5242880 // 0x500000
DefaultGenesisBaseFeeEM = chain.GenesisBaseFeeEM
)
var (
DefaultStake = ethgo.Ether(1e6)
DefaultPremineBalance = ethgo.Ether(1e6)
DefaultGenesisBaseFee = chain.GenesisBaseFee
)
const (
JSONOutputFlag = "json"
GRPCAddressFlag = "grpc-address"
JSONRPCFlag = "jsonrpc"
)
// GRPCAddressFlagLEGACY Legacy flag that needs to be present to preserve backwards
// compatibility with running clients
const (
GRPCAddressFlagLEGACY = "grpc"
)