Commit graph

53 commits

Author SHA1 Message Date
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
MestryOmkar
10e040ffd2 Fixed move foundation wallet address to genesis config. 2018-10-29 14:45:35 +05:30
MestryOmkar
deafcdc6ca fixed unit test 2018-10-27 10:28:59 +05:30
parmmarrushabh
9765dea721 add option genesis generator for POSV 2018-10-27 17:52:28 +05:30
parmmarrushabh
17f9e27d8c accept range compare 2018-10-26 16:00:12 +05:30
parmarrushabh
004b6e0045 fix unit test, safe cancel context 2018-10-22 18:14:27 +05:30
MestryOmkar
dceb579b68 bugfix: unexpected pre node 2018-10-21 17:18:36 +05:30
parmarrushabh
264a6dc9db Fixed calculate reward for holders. 2018-10-20 16:20:30 +05:30
parmarrushabh
cc878c6ab7 Add unit test for calculate reward for holders. 2018-10-20 16:08:26 +05:30
MestryOmkar
c69251ddd2 update smart contract, hard-code first 3-masternodes 2018-09-25 11:43:29 +05:30
MestryOmkar
725930f310 update smart contract 2018-09-12 18:25:20 +05:30
MestryOmkar
b1abaff88e add validator voting smart contract 2018-08-02 12:22:27 +05:30