Skip to content

Commit

Permalink
new constants and genesis.json
Browse files Browse the repository at this point in the history
  • Loading branch information
wanwiset25 committed Dec 19, 2024
1 parent aed464d commit 48c1d47
Show file tree
Hide file tree
Showing 4 changed files with 104 additions and 88 deletions.
1 change: 1 addition & 0 deletions cicd/devnet/bootnodes.list
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
enode://858d8627c89ada48b98945fafff2bab520c76aaa9a666fc85604b2371521bec68ac13da2332a4c273de68429959c42d5fe4562e1516e1fde628f90e42dcd8c76@139.60.163.123:20301
enode://00d49d72a48164681906ad61924568da0d3049937efdbaed0b7533e34a99f55814f1839d909cdc82f78e04a36ac04737d80b41b22905c7d6cac3c80bb5cdbbc4@66.94.98.186:30301
enode://d6793b02a478f13ed6d01c30778935f6f8f7461a75aebedcb310def4ed9b066f995a0dca046d0c7ea7f5ffdd8e3f1f53c6b6dce909d1693650504921aad62f1a@194.163.167.177:30301
153 changes: 84 additions & 69 deletions cicd/devnet/genesis.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion cicd/entry.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ fi

echo "Select to run $NETWORK..."
ln -s /usr/bin/XDC-$NETWORK /usr/bin/XDC
cp /work/$NETWORK/* /work
cp -n /work/$NETWORK/* /work

echo "Start Node..."
/work/start.sh
36 changes: 18 additions & 18 deletions common/constants/constants.go.devnet
Original file line number Diff line number Diff line change
Expand Up @@ -32,26 +32,26 @@ const (

var Rewound = uint64(0)

var TIP2019Block = big.NewInt(1)
var TIPSigning = big.NewInt(225000)
var TIPRandomize = big.NewInt(225000)
var TIP2019Block = big.NewInt(0)
var TIPSigning = big.NewInt(0)
var TIPRandomize = big.NewInt(0)

var TIPV2SwitchBlock = big.NewInt(7074000)
var TIPV2SwitchBlock = big.NewInt(0)

var TIPIncreaseMasternodes = big.NewInt(225000) // Upgrade MN Count at Block.
var TIPNoHalvingMNReward = big.NewInt(429987) // hardfork no halving masternodes reward
var BlackListHFNumber = uint64(225000)
var TIPXDCX = big.NewInt(225000)
var TIPXDCXLending = big.NewInt(225000)
var TIPXDCXCancellationFee = big.NewInt(225000)
var TIPXDCXCancellationFeeTestnet = big.NewInt(225000)
var TIPXDCXMinerDisable = big.NewInt(15894900)
var TIPXDCXReceiverDisable = big.NewInt(18018000)
var BerlinBlock = big.NewInt(16832700)
var LondonBlock = big.NewInt(16832700)
var MergeBlock = big.NewInt(16832700)
var ShanghaiBlock = big.NewInt(16832700)
var Eip1559Block = big.NewInt(23035500)
var TIPIncreaseMasternodes = big.NewInt(0) // Upgrade MN Count at Block.
var TIPNoHalvingMNReward = big.NewInt(0) // hardfork no halving masternodes reward
var BlackListHFNumber = uint64(0)
var TIPXDCX = big.NewInt(0)
var TIPXDCXLending = big.NewInt(0)
var TIPXDCXCancellationFee = big.NewInt(0)
var TIPXDCXCancellationFeeTestnet = big.NewInt(0)
var TIPXDCXMinerDisable = big.NewInt(0)
var TIPXDCXReceiverDisable = big.NewInt(0)
var BerlinBlock = big.NewInt(0)
var LondonBlock = big.NewInt(0)
var MergeBlock = big.NewInt(0)
var ShanghaiBlock = big.NewInt(0)
var Eip1559Block = big.NewInt(0)

var TIPXDCXTestnet = big.NewInt(0)
var IsTestnet bool = false
Expand Down

0 comments on commit 48c1d47

Please sign in to comment.