Commit graph

64 commits

Author SHA1 Message Date
Daniel Liu
2611f1dd9a
fix(all): fix typo foudation (#2063) 2026-02-28 18:00:55 +04:00
wit liu
66e96b507c
all: use 0x-prefix for Address type in log (#1830) 2025-12-07 15:36:36 +05:30
Daniel Liu
6235de71ba
all: rework statedb utils (#1785) 2025-11-18 11:26:28 +05:30
wit liu
39eb15531d
all: fix whitespace error of golangci-lint, remove extra empty lines (#1676) 2025-11-17 11:16:09 +05:30
wit liu
9ce02a7010
all: fix goimports (#1560) 2025-09-24 07:51:10 +08:00
Daniel Liu
31f5c7da88
all: remove deprecated uses of math.rand #26710 (#1549) 2025-09-22 20:42:14 +08:00
Wanwiset Peerapatanapokin
1f6bd2bae5
Merge pull request #1280 from XinFinOrg/XDPoSv2-privatenet-improve-genesis
Improve genesis for easy privatechain deployment
2025-09-20 19:03:52 +04:00
wit liu
e9da4ca95b
all: fix ineffassign (#1516)
Co-authored-by: wit <wit765765346@gmail>
2025-09-17 08:49:28 +08:00
wanwiset25
a1e5a98377 update validator initial configs 2025-09-14 15:19:19 +04:00
Daniel Liu
0be5580b98
all: use big.Sign to compare with zero #29490 (#1387) 2025-08-28 18:56:39 +08:00
Daniel Liu
c73a0aa929 core/state: fix state iterator (#19127) 2025-03-28 22:34:59 +08:00
Daniel Liu
b6f3007af1 core: move genesis alloc types to core/types (#29003) 2025-01-24 16:54:12 +08:00
Daniel Liu
b0063d39b9 accounts/abi: ABI explicit difference between Unpack and UnpackIntoInterface (#21091)
* accounts/abi: refactored abi.Unpack

* accounts/abi/bind: fixed error

* accounts/abi/bind: modified template

* accounts/abi/bind: added ToStruct for conversion

* accounts/abi: reenabled tests

* accounts/abi: fixed tests

* accounts/abi: fixed tests for packing/unpacking

* accounts/abi: fixed tests

* accounts/abi: added more logic to ToStruct

* accounts/abi/bind: fixed template

* accounts/abi/bind: fixed ToStruct conversion

* accounts/abi/: removed unused code

* accounts/abi: updated template

* accounts/abi: refactored unused code

* contracts/checkpointoracle: updated contracts to sol ^0.6.0

* accounts/abi: refactored reflection logic

* accounts/abi: less code duplication in Unpack*

* accounts/abi: fixed rebasing bug

* fix a few typos in comments

* rebase on master

Co-authored-by: Guillaume Ballet <gballet@gmail.com>
2025-01-24 16:18:30 +08:00
Daniel Liu
f542e463d3 accounts: implement simple checkpoint syncing (#19543) 2025-01-24 16:18:29 +08:00
Daniel Liu
28739d7863 common: remove usage of deprecated function (#21610) 2024-12-28 09:06:30 +08:00
JukLee0ira
0aab4ced98 common: add binary variables for system contract 2024-06-06 19:33:59 +08:00
olumuyiwadad
ff56f5e50f update Voter Delay Withdraw. 2021-11-08 14:58:04 +05:30
olumuyiwadad
1bfafade74 Revert XDCValidator. 2021-11-08 14:57:10 +05:30
Gerui Wang
a1e6ae4152 make statedb_utils.go (XDCValidator reader) correct, add statedb utils test 2021-11-03 21:05:25 +08:00
Jianrong
0eb2504db3 Add 1 test for adaptor to switch from v1 to v2 2021-10-17 11:20:57 +11:00
Jianrong
ce106abffe fix tests related to consensus 2021-10-10 22:05:32 +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
dev-vadim
dbe8c9d984 upgrade XDC.Network with v1.8.27. 2020-12-23 16:32:06 +05:30
Sinh Vu
10af44cb93 revert validator.go 2019-07-23 18:10:27 +07:00
Sinh Vu
3180921a7f upgrade increase masternodes 2019-07-23 17:25:55 +07:00
ronakgothi
d49db00216
Updated Candidate Delay Withdraw to 30 days 2019-05-27 11:20:58 +05:30
parmarrushabh
637cf2c0f7 created bew checklist 2019-04-29 12:52:04 +05:30
AnilChinchawale
7f856ffe67 KYC Layer added. 2019-03-22 16:58:59 +05:30
ronakgothi
2663e6041f Params changed | changed voterWithdrawDelay 2019-03-18 18:35:27 +05:30
ronakgothi
a8bd11f9d3 Params changed | changed candidateWithdrawDelay 2019-03-18 18:33:57 +05:30
ronakgothi
6770ce135e Params changed | changed maxBlockProducer 2019-03-18 18:29:08 +05:30
ronakgothi
35dca4a7ca Params changed | increased voterCap 2019-03-18 18:27:57 +05:30
ronakgothi
117f02b3b6 Params changed | increased validatorCap 2019-03-18 18:26:45 +05:30
parmarrushabh
c6886f92f2 removed kyc smart contract for stable version 2019-03-05 15:44:26 +05:30
parmarrushabh
0b6a7ed1ad updated smartcontract issue 2019-02-24 17:50:28 +05:30
AnilChinchawale
ed2f00b61c Changes added in Smart-Contract 2019-01-16 04:37:33 +05:30
AnilChinchawale
5a667983c3 Updated SafeMath & blockSigner, Test added for Validator 2019-01-15 08:37:24 +05:30
AnilChinchawale
4a6e8c7f5d Won't grasp txs at checkpoint 2018-12-07 10:42:40 +05:30
AnilChinchawale
1ff0fd2cff refactor cache BlockSigners 2018-12-02 14:52:54 +05:30
parmarrushabh
4a12d746ff tmp fix ethash unittests 2018-12-04 14:25:55 +05:30
parmarrushabh
b2007b7ed0 updated validator_test.go 2018-11-27 10:24:47 +05:30
parmarrushabh
7d162336fa Add MultisigWallet to puppeth for build new genesis. 2018-11-12 11:37:26 +05:30
MestryOmkar
7c48f8ec6d fix bug delay withdraw for voter 2018-11-02 11:30:29 +05:30
parmarrushabh
6d0d7c9313 updated minvotercap 2018-10-30 18:24:18 +05:30
MestryOmkar
f570befa8e add min for voter 2018-10-30 18:21:25 +05:30
MestryOmkar
253cce2378 fix genesis bugs 2018-10-30 18:09:26 +05:30
parmarrushabh
4dfbf08a6f prepare testnet genesis 2018-10-29 14:53:44 +05:30