Daniel Liu
5cb014b60f
core, eth/tracer: initialize tracer statedb in CaptureStart ( #22333 )
2024-05-14 23:27:23 +08:00
Daniel Liu
48f9bbed50
core: types: less allocations when hashing and tx handling ( #21265 )
2024-05-13 22:07:03 +08:00
Wanwiset Peerapatanapokin
328176651c
use 0x address scheme by default and add new enable xdc prefix flag ( #518 )
2024-04-12 12:27:39 +07:00
Wanwiset Peerapatanapokin
75c8d40399
Ensure DB is close before client exit ( #478 )
2024-03-08 14:57:15 +04:00
Paweł Bylica
192edc0c63
core/vm: use uint256 in EVM implementation ( #20787 )
...
* core/vm: use fixed uint256 library instead of big
* core/vm: remove intpools
* core/vm: upgrade uint256, fixes uint256.NewFromBig
* core/vm: use uint256.Int by value in Stack
* core/vm: upgrade uint256 to v1.0.0
* core/vm: don't preallocate space for 1024 stack items (only 16)
Co-authored-by: Martin Holst Swende <martin@swende.se>
2024-03-01 14:13:23 +08:00
Banana-J
326a8c8984
fix: Fix Potential Index Out of Bound ( #409 )
2024-01-29 11:31:21 +11:00
Wanwiset Peerapatanapokin
aaa246f60e
PDF-01 ( #397 )
...
* replace deprecated ioutil lib calls
* fix for FileInfo type required
* fix for ioutil.Discard
* fix .Discard
* fix for go-bindata generated files
2024-01-19 15:05:03 +04:00
Daniel Liu
6f06a5638b
add flag rpcwritetimeout for rpc http server ( #358 )
2023-11-27 22:48:56 +08:00
Liam Lai
824d7b232f
resolve conflict
2023-11-20 23:53:49 +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
Liam
84994df759
Merge pull request #351 from XinFinOrg/bump-golang-1.21
...
Bump golang 1.21
2023-11-07 10:35:42 +11:00
Banana-J
39f6e6ee56
upgrade the websocket in xdpos ( #349 )
2023-11-06 15:37:14 +11: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
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
Daniel Liu
72c51e2bc9
set new MinGasPrice in function makeConfigNode
2023-10-16 11:24:47 +08:00
Liam Lai
69c38ac490
fix broken the tests and one bug
2023-08-02 09:27:46 +10:00
Liam Lai
5623ce8de0
merge from master
2023-07-30 16:50:45 +10:00
Liam
2df16bbd37
merge waitPeriod into minePeriod ( #274 )
...
* merge waitperiod into mindePeriod
* merge waitperiod into mindePeriod
2023-05-31 23:40:50 +10:00
Liam
767dfde1da
add v2 config into genesis wizard ( #273 )
2023-05-31 16:03:31 +10:00
Anil Chinchawale
21ae43ac15
Merge pull request #198 from Carry-So/fix-test-error
...
cmd/XDC: remove redundant newline in bugcmd.go to pass make test
2023-05-27 13:35:19 +05:30
wgr523
cd74061ac2
Extend masternode candidate ( #261 )
...
* V2 truncate MaxMasternodes from candidates after penalty,
V1 same as before
TestUpdateMultipleMasterNodes: test V2, in snapshot we have all candidates, but at epoch switch, we pick MaxMasternodes
* code looks better
2023-05-16 21:43:56 +08:00
Daniel Liu
87455baf2e
init genesis from source if flag --apothem
2023-04-20 16:52:35 +08:00
Daniel Liu
e00e34c79b
remove duplicate common.TIPTRC21Fee assignment
2023-04-20 14:51:52 +08:00
Liam
c4f9a552e5
Multi config bug fix ( #216 )
...
* refactor multi config
remove pool cleaner
correct message and log level
2022-12-17 20:23:46 +08:00
Daniel Liu
6a768b04f9
add enable-0x-prefix flag ( #194 )
2022-12-09 19:15:13 +08:00
Liam
6ffbd3e141
Xin 259 support multi v2 config ( #210 )
...
* update timeout period and waittime
* remove wrong comment
* update config for preparing test
2022-12-06 20:08:56 +08:00
Daniel Liu
1b3386b60f
cmd/XDC: remove redundant newline in bugcmd.go to pass make test
2022-10-18 15:44:02 +08:00
Liam
833f70bdb7
xin-203 fix wrong config hash and update v2 params on mainnet ( #109 )
...
* fix wrong config hash and update v2 params on mainnet
* update config and all the test
* hard code binary into code
* add default config for testing
* update test timestamp
2022-07-12 16:56:55 +02:00
Jerome
bcffe1ec16
Give the XDC option to use emit metrics ( #89 )
2022-06-19 13:42:48 +02:00
wgr523
8fde52c512
Xin 145 ( #82 )
...
* add HandleProposedBlock() in procFutureBlocks()
* add proposedBlockHandler for downloader
2022-04-22 00:12:44 +08:00
Jianrong
0eb2504db3
Add 1 test for adaptor to switch from v1 to v2
2021-10-17 11:20:57 +11:00
olumuyiwadad
2b326de485
fix C-[a-m] tests.
2021-09-27 16:50:45 +05:30
olumuyiwadad
c0677f03cb
update test C-[a-m] tests.
2021-09-27 12:47:59 +05:30
olumuyiwadad
fb0e9fac89
fix test C-[a-m] tests.
2021-09-27 12:29:05 +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
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
Jianrong
d17f1fdd75
replace comment out tests with t.Skip()
2021-08-29 11:47:19 +10:00
Jianrong
454a4ab8dc
run in parallel
2021-08-26 21:35:42 +10:00
Jianrong
10260b0749
ignore fs_test.go
2021-08-07 14:27:08 +10:00
Jianrong
0fdab2027c
add linting as the first CI task
2021-08-07 14:27:08 +10:00
dev-vadim
dbe8c9d984
upgrade XDC.Network with v1.8.27.
2020-12-23 16:32:06 +05:30
diglspacedavid
474cc37036
upgrade codebase with ethereum:v1.8.13
2020-11-23 13:40:30 +05:30
ronakgothi
1d62749437
updated foundation address
2019-05-29 20:33:23 +05:30
ronakgothi
4db94d8917
updated reward
2019-05-27 11:55:38 +05:30
ronakgothi
d32e733510
Initial ValidatorCap changed to 10M
2019-05-25 11:24:28 +05:30
parmarrushabh
637cf2c0f7
created bew checklist
2019-04-29 12:52:04 +05:30
Péter Szilágyi
d8787230fa
eth, les, light: enforce CHT checkpoints on fast-sync too
2019-04-17 14:56:58 +03:00
Jeremy McNevin
45730cfab3
cmd/geth: fix accidental --rpccorsdomain and --rpcvhosts removal
2019-04-09 10:56:50 +03:00