Commit graph

12503 commits

Author SHA1 Message Date
wanwiset25
deef6b477b make deploy command ignore deployment not found 2025-01-16 13:12:08 +04:00
benjamin202410
38f4c98740
remove-ec2-rpcs (#793)
Co-authored-by: liam.lai <liam.lai@us>
2025-01-15 19:47:58 -08:00
Daniel Liu
82bbe93b1f
Merge pull request #802 from gzliudan/rm_ens
contracts: remove ens
2025-01-16 08:50:44 +08:00
Daniel Liu
7bbb05d672 contracts: remove ens 2025-01-16 08:50:16 +08:00
Daniel Liu
82aefde53d
Merge pull request #801 from gzliudan/ci_generate
build: add checker for 'go generate'
2025-01-16 08:49:18 +08:00
Daniel Liu
1d5d2f1349 build: add 'go generate' checker 2025-01-16 08:21:42 +08:00
Wanwiset Peerapatanapokin
cb720be158
Merge pull request #794 from XinFinOrg/rm-old-devnet-cfg
remove old config
2025-01-15 21:32:41 +04:00
wanwiset25
9bfec33942 remove old config
update bootnodes and cicd
2025-01-15 21:21:10 +04:00
liam.lai
3b6ece40d7 update mainnet bootnode list 2025-01-15 10:13:18 +08:00
Daniel Liu
e2b4b79d2f
Merge pull request #797 from gzliudan/ci_tidy
build: add 'go mod tidy' checker
2025-01-15 10:10:58 +08:00
Daniel Liu
00797dda0c build: add 'go mod tidy' checker 2025-01-15 10:10:38 +08:00
Daniel Liu
d0c6442af8
Merge pull request #799 from gzliudan/fix_gen_tx_json
core/types: remove generate directive for gen_tx_json.go
2025-01-15 10:06:28 +08:00
Daniel Liu
47a67158e5 core/types: remove generate directive for gen_tx_json.go 2025-01-14 11:50:20 +08:00
Daniel Liu
2a26a571d9
Merge pull request #792 from gzliudan/golangci-lint
build: support golangci-lint v1.63.4
2025-01-12 17:03:27 +08:00
Daniel Liu
baea5d3da7 build: support golangci-lint v1.63.4 2025-01-11 23:56:59 +08:00
Wanwiset Peerapatanapokin
7091b934a5
ignore error and remove old function (#791) 2025-01-10 00:44:00 -08:00
Daniel Liu
5cff4564aa
Merge pull request #790 from gzliudan/upgrade_crypto
upgrade crypto package
2025-01-10 13:21:01 +08:00
gitglorythegreat
9ca3d10001 crypto/bn256: fix MulScalar (#30974)
The `a` parameter should be used in the `MulScalar` function. The
upstream cloudflare and google repos have already merged fixes.

Reference:
*
8d7daa0c54
* https://github.com/cloudflare/bn256/pull/33
2025-01-04 11:00:57 +08:00
kevaundray
e581093ce1 crypto, tests/fuzzers: add gnark bn254 precompile methods for fuzzing (#30585)
Makes the gnark precompile methods more amenable to fuzzing
2025-01-04 11:00:57 +08:00
Daniel Liu
15be5ba464 crypto: use decred secp256k1 directly (#30595) 2025-01-04 11:00:57 +08:00
zhiqiangxu
e19093f344 crypto: remove hardcoded value for secp256k1.N (#30126) 2025-01-04 11:00:57 +08:00
SuiYuan
104a97354a crypto/secp256k1: change receiver variable name to lowercase (#29889) 2025-01-04 11:00:57 +08:00
George Ma
136e87fa4c crypto: fix docstrings and comments 2025-01-04 11:00:57 +08:00
Daniel Liu
efad15f9f4 crypto: use clear from go1.21 (#29307) 2025-01-04 11:00:57 +08:00
Daniel Liu
d0566e4165 crypto: update to go version 1.22 (#28946) 2025-01-04 11:00:57 +08:00
Wanwiset Peerapatanapokin
97879c0ac5
Merge pull request #781 from XinFinOrg/new-devnet
New devnet
2025-01-04 00:15:18 +07:00
wanwiset25
12488b86ed add bootnodes 2025-01-01 22:07:31 -05:00
wanwiset25
0404803366 optimize shell script 2025-01-01 22:07:31 -05:00
wanwiset25
654be4d874 add cicd 2025-01-01 22:07:31 -05:00
wanwiset25
4859d5e7db new constants and genesis.json 2025-01-01 22:06:09 -05:00
wanwiset25
44ac46f676 add local xdpos function
add readme

changes to support xdpos2 protocol from block 0
2025-01-01 22:06:09 -05:00
benjamin202410
dd0fb11fa3
reduce gas limit for devnet to 50M (#785)
Co-authored-by: liam.lai <liam.lai@us>
2024-12-30 18:31:47 -08:00
benjamin202410
ac3b44eebf
remove devnet ecs terraform (#786)
Co-authored-by: liam.lai <liam.lai@us>
2024-12-30 18:31:31 -08:00
benjamin202410
6307460603
update bootnode list (#783)
Co-authored-by: liam.lai <liam.lai@us>
2024-12-29 21:50:28 -08:00
benjamin202410
f8decab061
code refactor for performance (#782)
Co-authored-by: liam.lai <liam.lai@us>
2024-12-29 21:47:14 -08:00
Daniel Liu
911fe219df
Merge pull request #779 from gzliudan/core_blockchain
upgrade the core package for reorg
2024-12-28 13:05:40 +08:00
benjamin202410
3e62a4c611
Merge pull request #778 from XinFinOrg/release-br-v2.4.6-beta1-dev-upgrade
Release br v2.4.6 beta1 merge back to dev upgrade
2024-12-27 20:07:41 -08:00
Daniel Liu
c8c39efb63 core: remove unnecessary log copy (#27475) 2024-12-28 10:45:00 +08:00
Daniel Liu
d03859d49e core: update the fast block on chain import at the end of the fast sync phase (#23576) 2024-12-28 10:44:54 +08:00
Daniel Liu
2baadc6e87 core: improve shutdown synchronization in BlockChain (#22853) 2024-12-28 10:44:49 +08:00
Daniel Liu
2d5dc550d0 core/rawdb: rename WriteTxLookupEntries to WriteTxLookupEntriesByBlock (#21480) 2024-12-28 10:44:42 +08:00
Daniel Liu
d7e0e9d734 core: write chain data in atomic way (#20287) 2024-12-28 10:44:36 +08:00
Daniel Liu
1c555b2def core, light: get rid of the dual mutexes (#18436) 2024-12-28 10:44:30 +08:00
Daniel Liu
3a0d5b6212
Merge pull request #768 from gzliudan/upgrade_common
upgrade package common
2024-12-28 09:08:16 +08:00
Daniel Liu
6e33633d28 common: drop BigMin and BigMax, they pollute our dep graph (#30645) 2024-12-28 09:06:31 +08:00
Daniel Liu
156de2bf90 common/math: delete some further dead code (#30639) 2024-12-28 09:06:31 +08:00
Daniel Liu
6ec35b9644 all: get rid of custom MaxUint64 and MaxUint64 (#30636) 2024-12-28 09:06:31 +08:00
Halimao
dff8e50085 common: using ParseUint instead of ParseInt (#30020)
Since Decimal is defined as unsiged `uint64`, we should use `strconv.ParseUint` instead of `strconv.ParseInt` during unmarshalling.

---------

Co-authored-by: Martin Holst Swende <martin@swende.se>
2024-12-28 09:06:31 +08:00
Dean Eigenmann
6fda80ade8 common/math: fix out of bounds access in json unmarshalling (#30014)
Co-authored-by: Martin Holst Swende <martin@swende.se>
2024-12-28 09:06:31 +08:00
tianyeyouyou
b274a273b8 common/math: rename variable name int to n (#29890)
* chore: rename variable name `int` to `in`

* chore: rename variable name `int` to `n`
2024-12-28 09:06:31 +08:00