Commit graph

11470 commits

Author SHA1 Message Date
Liam
47bfdf7635
Move masternode in v2 config (#372)
* move masternode in v2 config

* update number to meet 7 vote for current setup

* add test

* update all failed test

* fix test

* remove comment

* remove comment

* fix test
2023-11-29 11:11:58 +11:00
wgr523
abb3f5c802
Merge pull request #363 from gzliudan/fix-issue-358
add flag rpcwritetimeout for rpc http server
2023-11-28 19:40:26 +08:00
Daniel Liu
6f06a5638b add flag rpcwritetimeout for rpc http server (#358) 2023-11-27 22:48:56 +08:00
Liam
b4bd070837
Improve log (#368)
* improve log
2023-11-26 22:04:08 +11:00
Banana-J
92689943a0
Revisit the solution from PR-260, try keep the API consistent by not incrementing the nonce for trading&lending tx (#371) 2023-11-25 00:04:59 +11:00
Liam
ac404683b3
Merge pull request #365 from XinFinOrg/bump-go-v2
Bump go v1.21
2023-11-21 23:44:14 +11:00
Liam
f7025cee2f
Merge pull request #346 from gzliudan/defer-time.Since
call to time.Since is not deferred
2023-11-21 23:22:58 +11:00
Liam
87ba815341
Merge pull request #336 from gzliudan/fix-func-procFutureBlocks
Fix a loop closure bug in func  procFutureBlocks
2023-11-21 23:19:08 +11:00
Liam Lai
abd3c70dc4 use right go package 2023-11-21 00:41:57 +11:00
Liam Lai
824d7b232f resolve conflict 2023-11-20 23:53:49 +11:00
Liam
27f38ab268
Merge pull request #329 from gzliudan/fix-issue-326
EstimateGas support the latest hardhat
2023-11-20 22:55:15 +11: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
Daniel Liu
ce091e7b9c internal/ethapi: EstimateGas support parameter blockTag (#326) 2023-11-16 10:24:42 +08:00
Banana-J
041b667fb0
add support for custom docker image namespace (#361) 2023-11-15 15:33:03 +11:00
Liam
738584cf7a
Merge pull request #357 from XinFinOrg/auto-deploy-old-and-new-code
Allow the devnet environment to auto deploy new and old code
2023-11-15 11:20:40 +11:00
Jianrong
938de617d3 Allow the devnet environment to auto deploy new and old code 2023-11-13 16:09:10 +11:00
Anil Chinchawale
6cf998488e
Merge pull request #355 from XinFinOrg/bump-version-beta2 2023-11-08 13:00:13 +05:30
Liam Lai
ef3f174a51 bump version to 1.4.10-beta2 2023-11-08 18:27:40 +11:00
Anil Chinchawale
41cd3feffc
Merge pull request #354 from XinFinOrg/define-gas-switch-block-number 2023-11-08 12:48:14 +05:30
Liam Lai
0656774172 define gas switch block number for testnet 2023-11-08 18:09:30 +11:00
Liam
84994df759
Merge pull request #351 from XinFinOrg/bump-golang-1.21
Bump golang 1.21
2023-11-07 10:35:42 +11:00
Liam
546aac62ea
use TRAVIS_COMMIT (#353) 2023-11-07 00:29:49 +11:00
Liam
bedf88f3a7
fix notification syntax (#352) 2023-11-06 22:31:17 +11:00
Liam
75661b488b
add notification script (#350)
* add notification script

* skip always test
2023-11-06 20:54:16 +11:00
Banana-J
39f6e6ee56
upgrade the websocket in xdpos (#349) 2023-11-06 15:37:14 +11:00
Anil Chinchawale
1ad2b297b5
Merge pull request #343 from XinFinOrg/dev-upgrade
gas upgrade and testnet v2 switch block correction
2023-11-02 12:54:32 +05:30
Liam
64a2c84ed3
add testnet block for v2 (#345) 2023-11-02 10:57:37 +11:00
Wang Gerui
5cfa0ea8bf fix error during cherry-picking 2023-11-02 00:59:16 +08:00
Guillaume Ballet
6743853dca console, internal/jsre: use github.com/dop251/goja (#20470)
This replaces the JavaScript interpreter used by the console with goja,
which is actively maintained and a lot faster than otto. Clef still uses otto
and eth/tracers still uses duktape, so we are currently dependent on three
different JS interpreters. We're looking to replace the remaining uses of otto
soon though.
2023-11-02 00:43:55 +08:00
Daniel Liu
cd9f4f8094 core: fix loop closure bug in func procFutureBlocks 2023-11-01 15:02:04 +08:00
Daniel Liu
349f71db7b defer time.Since 2023-11-01 12:43:50 +08:00
Mingchao (Fisher) Yu
0a6fa8eda0
Merge pull request #344 from XinFinOrg/fix-CVE-2023-40591
fix-CVE-2023-40591
2023-11-01 05:52:30 +11:00
Felix Lange
f5cdfb2730 p2p: move ping handling into pingLoop goroutine (#27887)
Moving the response sending there allows tracking all peer goroutines
in the peer WaitGroup.
2023-10-31 21:52:55 +08: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
95f19e9684
Merge pull request #339 from gzliudan/new-gas-price-number
set new gas price number for testnet and mainnet
2023-10-30 11:25:57 +11:00
Daniel Liu
3b7f29a5a3 bump version to 1.4.10.beta1 2023-10-29 13:09:24 +08:00
Mingchao (Fisher) Yu
8be49a4ca1
Merge pull request #341 from XinFinOrg/fix-CVE-2023-40591
fix-CVE-2023-40591
2023-10-28 08:08:55 +11:00
Felix Lange
4a333ad63e p2p: move ping handling into pingLoop goroutine (#27887)
Moving the response sending there allows tracking all peer goroutines
in the peer WaitGroup.
2023-10-27 23:49:23 +08:00
wgr523
05ecfb3938
Merge pull request #284 from gzliudan/fix-issue-280
fix candidates bugs in eth api
2023-10-24 22:56:40 +08:00
Daniel Liu
f32c66ebc1 check slashed status in GetCandidateStatus 2023-10-24 12:27:06 +08:00
Daniel Liu
e17a0869e5 check masternode before candidate in GetCandidateStatus 2023-10-24 12:27:06 +08:00
Daniel Liu
745e097040 sort candidates in function GetCandidateStatus 2023-10-24 12:27:06 +08:00
Daniel Liu
8ed9a754b2 return more slashed nodes in GetCandidates 2023-10-24 12:27:06 +08:00
Daniel Liu
6e7d7f5002 return non-candidate masternode in GetCandidates 2023-10-24 12:27:06 +08:00
Daniel Liu
5d24dfdf7e not sort candidates in getCandidatesFromSmartContract 2023-10-24 12:27:06 +08:00
Daniel Liu
7dc5ffe45a fix topCandidates in function GetCandidates 2023-10-24 12:27:06 +08:00
Daniel Liu
3214bbeeba sort candidates in function GetCandidates 2023-10-24 12:27:06 +08:00
Daniel Liu
ebf1002c67 fix function GetPreviousCheckpointFromEpoch 2023-10-24 12:27:06 +08:00
Daniel Liu
f4154d0479 remove lendingstate.EmptyAddress 2023-10-24 12:27:03 +08:00
Daniel Liu
fbb8c54d86 remove 0x0000000000000000000000000000000000000000 2023-10-24 12:24:34 +08:00