Jianrong
d901d1df6e
race condition caused by old eth bug where read before write. We fixing it by passing down header in the snapshot to avoid touching ETH code. This is just a precaution to avoid undiscovered bugs in XDC as a result of fundmental ETH implementation change
2021-12-21 10:32:55 +11:00
Anil Chinchawale
f9fa3a8a07
Merge pull request #145 from XinFinOrg/mainnet_test
...
missing ValidatorMapping update.
2021-11-16 11:09:20 +05:30
AnilChinchawale
5112dc7564
Set Network Upgrade BlockNumber and Version.
2021-11-15 19:34:07 +05:30
olumuyiwadad
afe58d79fc
fix api trace block & Change option pending block.
2021-11-11 18:49:57 +05:30
olumuyiwadad
420a589599
ignoreSignerBlockList added.
2021-11-11 18:48:50 +05:30
olumuyiwadad
18bfb102b4
Update Test for blockchain.go
...
- TestBlocksHashCacheUpdate
- TestAreTwoBlocksSamePath
Collection test for BlocksHashCache
cases
1. When init new chain
2. when insertChain
3. when insertFork
4. When adding new block by mining
5. When adding new block by syncing with other nodes
2021-11-08 15:41:13 +05:30
olumuyiwadad
adf071665a
update version 1.4.2
2021-11-08 15:01:16 +05:30
olumuyiwadad
70e0496138
fetch data from StateDB instead of Contract.
2021-11-08 14:59:32 +05:30
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
olumuyiwadad
abee93984b
Mainnet test sync.
2021-11-08 14:55:20 +05:30
olumuyiwadad
cca2a7d213
missing ValidatorMapping added.
2021-11-08 14:54:41 +05:30
olumuyiwadad
ac7b764207
Merge pull request #144 from XinFinOrg/dev-upgrade
...
fetch dev-upgrade.
2021-11-08 14:52:27 +05:30
olumuyiwadad
cbcd635377
Merge pull request #142 from XinFinOrg/statedb-utils-for-xinfin
...
make validatorReader.go correct
2021-11-08 14:50:34 +05:30
Gerui Wang
a1e6ae4152
make statedb_utils.go (XDCValidator reader) correct, add statedb utils test
2021-11-03 21:05:25 +08:00
Anil Chinchawale
2869165165
Merge pull request #138 from hash-laboratories-au/hashlab-master
...
Hashlab master
2021-11-03 16:13:36 +05:30
Jianrong
acc2e411a6
fix or skip tests due to PR-136 change
2021-10-20 20:17:47 +11:00
Jerome
a996c3a1a3
Merge pull request #12 from hash-laboratories-au/adaptor-config-setup-with-tests
...
Adaptor config setup with tests
2021-10-17 12:57:33 +11:00
Jianrong
ce4e16c7c3
replace c to x in XDPos pakage
2021-10-17 11:37:55 +11:00
Jianrong
e5a9a5ddbc
replace consensus int config with string const
2021-10-17 11:31:49 +11:00
Jianrong
0eb2504db3
Add 1 test for adaptor to switch from v1 to v2
2021-10-17 11:20:57 +11:00
Jianrong
c8ee8e1936
add a simple test to verify DB is the same across different engine versions
2021-10-16 13:22:48 +11:00
Jianrong
ce106abffe
fix tests related to consensus
2021-10-10 22:05:32 +11:00
Jianrong
e34311ff45
Remove unused consensus v1 methods
2021-10-10 16:04:34 +11:00
Jianrong
48be4e4ca7
Move consensus hooks to its own package
2021-10-10 16:04:32 +11:00
Jianrong
0aec2a1e9e
Seperate hooks from XDPoS adaptor
2021-10-10 16:02:19 +11:00
Jianrong
30811ee58c
Add back verbose option when running CI tests
2021-10-10 16:02:19 +11:00
Jianrong
fcbc5a28e1
refactor XDPoS to accommodate multiple consensus engine versions
2021-10-10 16:02:16 +11:00
Anil Chinchawale
a0046ff4be
Merge pull request #135 from olumuyiwadad/new_EVM_Upgrade
...
Merge branch 'forking-incident-fix' @hash-laboratories-au
2021-10-07 12:37:36 +05:30
olumuyiwadad
2b326de485
fix C-[a-m] tests.
2021-09-27 16:50:45 +05:30
olumuyiwadad
b909614faa
update T-Z tests.
2021-09-27 16:17:39 +05:30
olumuyiwadad
563dbd99af
update S tests.
2021-09-27 16:16:08 +05:30
olumuyiwadad
c0677f03cb
update test C-[a-m] tests.
2021-09-27 12:47:59 +05:30
olumuyiwadad
75b2f3ca9c
Merge pull request #2 from XinFinOrg/apothem
...
Handle '0x' or 'xdc' prefix
2021-09-27 12:30:57 +05:30
olumuyiwadad
fb0e9fac89
fix test C-[a-m] tests.
2021-09-27 12:29:05 +05:30
olumuyiwadad
79fe3aacd7
remove build and test.
2021-09-27 12:04:15 +05:30
olumuyiwadad
44d7050ba1
update tests.
2021-09-27 11:32:44 +05:30
olumuyiwadad
6911e4b321
remove old test for go 1.11.
2021-09-27 11:31:38 +05:30
olumuyiwadad
7678826bd9
update go version.
2021-09-27 10:54:47 +05:30
olumuyiwadad
545fff8f8e
update travis
...
- Build and test
- Github release
- Build and push image
- Build and push image (tagged)*
2021-09-27 10:48:13 +05:30
Anil Chinchawale
e1daa99b52
Handle '0x' or 'xdc' prefix
2021-09-23 17:54:08 +05:30
olumuyiwadad
7d08fa95ba
Merge branch 'apothem' into new_EVM_Upgrade
2021-09-23 17:05:46 +05:30
olumuyiwadad
177d29cb6a
Merge branch 'hash-laboratories-au-forking-incident-fix' into new_EVM_Upgrade
2021-09-23 17:02:22 +05:30
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
AnilChinchawale
f4e745b72e
update apothem block number.
2021-09-23 09:40:49 +05:30
Anil Chinchawale
de82274056
Update constants.go
2021-09-23 08:20:20 +05:30
Anil Chinchawale
3078da4fad
Update constants.go
2021-09-23 07:09:12 +05:30
Anil Chinchawale
37f4d0f7d2
Merge pull request #134 from olumuyiwadad/patch-1
...
Update trc21_reader.go
2021-09-21 18:13:27 +05:30
olumuyiwadad
22b1e3a2b5
Update trc21_reader.go
2021-09-21 18:13:01 +05:30
Anil Chinchawale
104d71c3a8
Merge pull request #133 from olumuyiwadad/new_EVM_Upgrade
...
new EVM Upgrade
2021-09-21 17:00:38 +05:30