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
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
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
Daniel Liu
2c02ddc2d9
remove xdc0000000000000000000000000000000000000000
2023-10-24 12:15:30 +08:00
Daniel Liu
e2359d9b8c
filter zero address in function GetCandidates
2023-10-24 12:15:24 +08:00
Daniel Liu
4a59bdf15a
add function IsZero for type Address
2023-10-24 12:00:08 +08:00
Daniel Liu
8339e133ee
add function IsZero for type Hash
2023-10-24 12:00:08 +08:00
Wang Gerui
29123c5d28
bump go to 1.21 in go.mod & go.sum
2023-10-23 23:43:43 +08:00
Daniel Liu
0b06bc3a5d
not compare strings in func CompareSignersLists
2023-10-23 22:51:06 +08:00
Daniel Liu
320b358830
replace package sort with common/sort
2023-10-23 22:51:06 +08:00
Daniel Liu
4bbe5a0443
common: implement old version of func sort.Slice
2023-10-23 22:51:06 +08:00
Wang Gerui
9d6adab8fb
bump go to 1.21 in makefile and ci.go
2023-10-23 21:56:09 +08:00
Daniel Liu
446f3fd580
set new gas price number for testnet and mainnet
2023-10-23 13:57:40 +08:00
Wang Gerui
9e4b4060c0
bump go to 1.21 in Dockerfiles
2023-10-23 00:08:43 +08:00
Wang Gerui
2b4c0ce851
update .travis.yml
2023-10-19 22:58:27 +08:00
Anil Chinchawale
1718a5b66b
Merge pull request #291 from gzliudan/fix-issue-288
...
Increase gas price from 250000000 to 12500000000
2023-10-16 12:27:54 +05:30
Daniel Liu
41c149916b
set new gas price for devnet
2023-10-16 11:41:33 +08:00
Daniel Liu
7adb98fbe8
update gas fee
2023-10-16 11:24:47 +08:00
Daniel Liu
148e2f1699
add parameter number for function NewMessage
2023-10-16 11:24:47 +08:00
Daniel Liu
0e8b3f1d31
replace TRC21Cost with TxCost
2023-10-16 11:24:47 +08:00
Daniel Liu
9a7ffaa09f
change msg.gasPrice in function AsMessage
2023-10-16 11:24:47 +08:00
Daniel Liu
845d3d49e5
change minGasPrice in function validateTx
2023-10-16 11:24:47 +08:00
Daniel Liu
05ad748307
change MinGasPrice in function Call
2023-10-16 11:24:47 +08:00
Daniel Liu
726172903b
change min and max gas price in SuggestPrice
2023-10-16 11:24:47 +08:00
Daniel Liu
72c51e2bc9
set new MinGasPrice in function makeConfigNode
2023-10-16 11:24:47 +08:00
Daniel Liu
3764cb3d84
add gas price variables and function
2023-10-16 11:22:19 +08:00
Liam
d74a187613
Merge pull request #334 from XinFinOrg/dev-upgrade
...
current testnet masternode is 15 (#333 )
2023-10-15 18:23:36 +11:00