Commit graph

1804 commits

Author SHA1 Message Date
Liam
84994df759
Merge pull request #351 from XinFinOrg/bump-golang-1.21
Bump golang 1.21
2023-11-07 10:35:42 +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
Martin Holst Swende
e872ba7a9e
eth, les, geth: implement cli-configurable global gas cap for RPC calls (#19401)
* eth, les, geth: implement cli-configurable global gas cap for RPC calls

* graphql, ethapi: place gas cap in DoCall

* ethapi: reformat log message
2019-04-08 15:15:13 +03:00
Martin Holst Swende
af401d03a3
all: simplify timestamps to uint64 (#19372)
* all: simplify timestamps to uint64

* tests: update definitions

* clef, faucet, mobile: leftover uint64 fixups

* ethash: fix tests

* graphql: update schema for timestamp

* ethash: remove unused variable
2019-04-08 12:00:42 +03:00
AnilChinchawale
2f02ac8043 EVM Changed added 2019-03-22 17:39:27 +05:30
AnilChinchawale
1e77239ede EVM Changes upgraded. 2019-03-22 17:37:47 +05:30
AnilChinchawale
05287e42e1 Wizard_genesis updated. 2019-03-22 17:06:48 +05:30
AnilChinchawale
f272b5d8cb Change prefix to xdc 2019-03-17 16:14:04 +05:30
AnilChinchawale
9b13f2279e Update command prompts 2019-03-16 16:13:35 +05:30
AnilChinchawale
bc31e1e8f0 Change prefix to xdc
Add prefix to Str method of Address.
Make jsre works.
2019-03-16 16:12:41 +05:30
AnilChinchawale
a638d2adc0 Minor error fixed. 2019-03-16 16:02:10 +05:30
AnilChinchawale
7de9cee4fb Trezor data updated 2019-03-14 15:59:48 +05:30
parmarrushabh
1b13b3a305 hot fix 2019-02-24 17:40:26 +05:30