Commit graph

117 commits

Author SHA1 Message Date
Wanwiset Peerapatanapokin
aaa246f60e
PDF-01 (#397)
* replace deprecated ioutil lib calls

* fix for FileInfo type required

* fix for ioutil.Discard

* fix .Discard

* fix for go-bindata generated files
2024-01-19 15:05:03 +04:00
Liam
c215316744
Make masternode dynamic (#356)
* make masternode dynamic

* fix all the tests

* remove cmt

* fix test again
2023-11-16 23:59:19 +11:00
Liam
24d02fe2b4
check v2 switch block is epoch number (#342)
* check v2 switch block is epoch number

* revert sync pr

* add test

* make default block number valid

* fix log

* fix test
2023-10-30 19:03:34 +11:00
Liam
2df16bbd37
merge waitPeriod into minePeriod (#274)
* merge waitperiod into mindePeriod

* merge waitperiod into mindePeriod
2023-05-31 23:40:50 +10:00
Liam
767dfde1da
add v2 config into genesis wizard (#273) 2023-05-31 16:03:31 +10:00
Jianrong
0eb2504db3 Add 1 test for adaptor to switch from v1 to v2 2021-10-17 11:20:57 +11:00
olumuyiwadad
cf18ceba33 Merge branch 'forking-incident-fix' of https://github.com/hash-laboratories-au/XDPoSChain into hash-laboratories-au-forking-incident-fix 2021-09-23 17:01:19 +05:30
olumuyiwadad
b5abbfed79 new EVM Upgrade
- Solidity Upgraded up to v0.8.0
-  Fixed and Added eth_chainId
- Fix error in TransactionRecipet
- Reward halving issue fixed
2021-09-21 16:53:46 +05:30
olumuyiwadad
571c41f891 FIx Bad block error. 2021-09-17 17:59:06 +05:30
Jianrong
fa2b341c9a resolving broken eth tests 2021-08-29 17:14:10 +10:00
Jianrong
0fdab2027c add linting as the first CI task 2021-08-07 14:27:08 +10:00
dev-vadim
dbe8c9d984 upgrade XDC.Network with v1.8.27. 2020-12-23 16:32:06 +05:30
diglspacedavid
474cc37036 upgrade codebase with ethereum:v1.8.13 2020-11-23 13:40:30 +05:30
ronakgothi
1d62749437 updated foundation address 2019-05-29 20:33:23 +05:30
ronakgothi
4db94d8917
updated reward 2019-05-27 11:55:38 +05:30
ronakgothi
d32e733510
Initial ValidatorCap changed to 10M 2019-05-25 11:24:28 +05:30
parmarrushabh
637cf2c0f7 created bew checklist 2019-04-29 12:52:04 +05:30
AnilChinchawale
05287e42e1 Wizard_genesis updated. 2019-03-22 17:06:48 +05:30
AnilChinchawale
f272b5d8cb Change prefix to xdc 2019-03-17 16:14:04 +05:30
AnilChinchawale
bc31e1e8f0 Change prefix to xdc
Add prefix to Str method of Address.
Make jsre works.
2019-03-16 16:12:41 +05:30
AnilChinchawale
a638d2adc0 Minor error fixed. 2019-03-16 16:02:10 +05:30
Péter Szilágyi
18f702faf7
cmd/puppeth: handle pre-set Petersburg number, save changed fork rules 2019-02-09 17:38:00 +01:00
Martin Holst Swende
c7664b0636 core, cmd/puppeth: implement constantinople fix, disable EIP-1283 (#18486)
This PR adds a new fork which disables EIP-1283. Internally it's called Petersburg,
but the genesis/config field is ConstantinopleFix.

The block numbers are:

    7280000 for Constantinople on Mainnet
    7280000 for ConstantinopleFix on Mainnet
    4939394 for ConstantinopleFix on Ropsten
    9999999 for ConstantinopleFix on Rinkeby (real number decided later)

This PR also defaults to using the same ConstantinopleFix number as whatever
Constantinople is set to. That is, it will default to mainnet behaviour if ConstantinopleFix
is not set.This means that for private networks which have already transitioned
to Constantinople, this PR will break the network unless ConstantinopleFix is
explicitly set!
2019-01-29 17:49:27 +01:00
AnilChinchawale
a4e35b0a22 Fixed issue | File Modified 2019-01-05 08:32:22 +05:30
Ha ĐANG
3f421aca54 cmd/puppeth: fix panic error when export aleth genesis wo/ precompile-addresses (#18344)
* cmd/puppeth: fix panic error when export aleth genesis wo/ precompile-addresses

* cmd/puppeth: don't need to handle duplicate set
2019-01-04 09:48:15 +02:00
Péter Szilágyi
38c3d88cea
cmd/puppeth: support latest docker compose, expose faucet UDP 2018-12-11 13:41:41 +02:00
Javier Peletier
c1d462ee5d cmd/puppeth: fix rogue quote in alethGenesisSpec JSON (#18262) 2018-12-10 11:16:19 +02:00
Péter Szilágyi
d4415f5e40
cmd/puppeth: chain import/export via wizard, minor polishes 2018-12-04 12:12:40 +02:00
Martin Holst Swende
8698fbabf6
cmd/puppeth: implement chainspec converters 2018-12-03 12:34:41 +02:00
Péter Szilágyi
4825d9c3dd
cmd/puppeth: enforce lowercase network names 2018-12-03 12:17:08 +02:00
parmarrushabh
8d7572ef1c hot fix 2018-11-22 15:49:29 +05:30
AnilChinchawale
2bcb530ca6 Update wizard_genesis.go 2018-11-14 18:12:57 +05:30
parmarrushabh
2b21303fc0 Fixed foundation balance to 16m. 2018-11-14 18:11:03 +05:30
parmarrushabh
1596ba2489 Fixed genesis for add team MSW contract. 2018-11-14 18:07:45 +05:30
parmarrushabh
7d162336fa Add MultisigWallet to puppeth for build new genesis. 2018-11-12 11:37:26 +05:30
parmarrushabh
3fc36efeb3 Fixed golint. 2018-11-09 10:49:11 +05:30
MestryOmkar
fa90c3eeb0 crypto/bn256: fix issues caused by Go 1.11 2018-11-09 17:58:40 +05:30
AnilChinchwale
b53a7a111a add validation to randomize smc 2018-11-07 11:42:03 +05:30
parmarrushabh
7827a8c35b decode again value from rlp 2018-10-30 18:15:12 +05:30
parmarrushabh
4dfbf08a6f prepare testnet genesis 2018-10-29 14:53:44 +05:30
AnilChinchwale
77bf4b18e1 Fixed default for foundation wallet address at puppeth. 2018-10-29 14:23:45 +05:30
AnilChinchwale
62118bea51 update genesis.Config.Clique.Epoch 2018-10-29 13:17:40 +05:30
parmarrushabh
b2593aa0c3 update default 1 epoch = 900 blocks and gap = 450 2018-10-29 12:24:58 +05:30
MestryOmkar
bb23d619e9 fix text 2. Posv -> 2. Clique 2018-10-28 12:02:27 +05:30
parmarrushabh
ce89b6b92d making XDPoS as a separate package 2018-10-28 11:58:50 +05:30
parmmarrushabh
9765dea721 add option genesis generator for POSV 2018-10-27 17:52:28 +05:30
MestryOmkar
cd3f0e37b4 move gap into genesis config 2018-10-24 14:29:03 +05:30
parmmarrushabh
f4ca507a31 updated epoch in genesis 2018-10-23 12:59:40 +05:30
AnilChinchawale
4788ad3d80 add smart contract randomize blocksigner 2018-10-22 10:24:57 +05:30
parmarrushabh
004b6e0045 fix unit test, safe cancel context 2018-10-22 18:14:27 +05:30