Commit graph

11520 commits

Author SHA1 Message Date
Banana-J
0664e9fc47
chore: remove the unused false return value from GetCollaterals method (#410) 2024-01-29 11:31:10 +11:00
Banana-J
d70c15667b
chore: remove the unused method in ringct.go (#411) 2024-01-29 11:31:02 +11:00
Banana-J
cac03bd960
fix: GenNewKeyRing should return out of bound error if s and ring size equal in value (#412) 2024-01-29 11:27:48 +11:00
Banana-J
743fc8500b
chore: return statement optimization (#406) 2024-01-28 16:58:41 +11:00
Banana-J
a3c392cdde
Fix xdcx infinite recursive calls (#404)
* fix: Make the unused methods in leveldb.go in XDCxDAO to panic or return error if called

* fix: apply the same fix in mongodb of the XDCxDAO as well
2024-01-28 16:57:58 +11:00
Banana-J
2504961a33
fix: replace all time.after with the time.newtimer (#400) 2024-01-27 21:01:24 +11:00
Daniel Liu
0d7dd867b7
Merge pull request #402 from gzliudan/XDP-02
remove key with empty value from map txs in function NewOrderTransactionByNonce
2024-01-26 10:34:33 +08:00
Daniel Liu
7403063660
Merge pull request #403 from gzliudan/fix-func-PadTo32Bytes
fix bug and eliminate loop in func PadTo32Bytes
2024-01-26 10:33:38 +08:00
Daniel Liu
ffa38cd8d1 fix bug and eliminate loop in func PadTo32Bytes 2024-01-24 16:31:13 +08:00
Daniel Liu
e097f2b0df remove key with empty value from map txs in func NewOrderTransactionByNonce 2024-01-24 13:45:50 +08:00
Liam
559bb4f7f5
Merge pull request #394 from XinFinOrg/xds-01-fixing-rpc-module
fix: update rpc module to include eth fix from #26064 and #26723
2024-01-22 14:55:13 +08:00
Liam
513114dacf
Merge pull request #398 from XinFinOrg/XDC-01
XDC-01 | Potential Missed Fixings in `crypto` Module
2024-01-22 14:53:49 +08:00
Liam
ddac0a6af7
Merge pull request #399 from XinFinOrg/xdp-01
fix: remove unnecessary assignment
2024-01-22 14:53:13 +08:00
Jianrong
71c442547a chore: log the error object 2024-01-21 11:04:56 +11:00
Jianrong
786e3793b0 fix: remove unnecessary assignment 2024-01-20 12:46:31 +11:00
Jianrong
7f0215195b fix: update rpc module to include eth fix from #26064 and #26723 2024-01-20 12:21:48 +11:00
Wanwiset Peerapatanapokin
9bb8c8cfd4
XDP-03 (#396)
* add error catching skeleton

* add debug logs

* change to Warn level log

* change to Warn level 2

* verbose logging
2024-01-19 15:05:27 +04: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
Liam
81ff6421d0
fix Panic In ProcessOrderPending Leads To Chain Halt (#392)
Co-authored-by: Liam Lai <liamlai@Liams-Laptop.local>
2024-01-19 11:22:24 +11:00
uji
d4b98063e8 crypto/bn256/cloudflare: fix asm for dynamic linking (#24476)
When using -buildmode=shared, R15 is clobbered by a global variable
access; use a different register instead.

Fixes: #24439
2024-01-18 21:59:02 +08:00
Guillaume Ballet
af8c4d4e85 crypto/cloudflare/bn256: fix in-place addition and unmarshalling (#23419) 2024-01-18 21:58:12 +08:00
Martin Holst Swende
3a6e26b844 crypto/bn256: improve bn256 fuzzer (#21815)
* crypto/cloudflare: fix nil deref in random G1/G2 reading

* crypto/bn256: improve fuzzer

* crypto/bn256: fix some flaws in fuzzer
2024-01-18 21:57:31 +08:00
Antoine Rondelet
c48e9873f3 crypto/bn256/cloudflare: checks for nil pointers in Marshal functions (#19609)
* Added checks for nil pointers in Marshal functions

* Set nil pointer to identity in GT before marshaling
2024-01-18 21:57:04 +08:00
Abd ar-Rahman Hamidi
3d635c544e crypto/secp256k1: add checking z sign in affineFromJacobian (#18419)
The z == 0 check is hit whenever we Add two points with the same x1/x2
coordinate. crypto/elliptic uses the same check in their affineFromJacobian
function. This change does not affect block processing or tx signature verification
in any way, because it does not use the Add or Double methods.
2024-01-18 21:56:28 +08:00
Liam
a76c885774
devnet deployment issue (#395)
Co-authored-by: Liam Lai <liamlai@Liams-Laptop.local>
2024-01-17 23:07:13 +08:00
Liam
c36df9f01b
Merge pull request #393 from XinFinOrg/fix-timeout-too-fast
fix timeout too fast issue
2024-01-16 18:49:39 +08:00
Liam Lai
3e6ce89f79 fix timeout too fast issue 2024-01-16 16:15:05 +08:00
Banana-J
d24f187bfd
Host rpc node in ecs (#391) 2024-01-15 20:53:48 +11:00
Liam
32254671f5
Merge pull request #370 from gzliudan/fix-issue-369
Fix nil Error in function reportBlock
2023-12-30 01:24:38 +11:00
Anil Chinchawale
cb04b9acb1
Merge pull request #388 from XinFinOrg/change-vote-log-level 2023-12-29 18:39:24 +05:30
Liam Lai
4446931e9e change vote log level 2023-12-29 22:49:52 +11:00
Liam
e659cb70a8
Merge pull request #382 from XinFinOrg/new-api-to-list-out-missed-rounds-miners
New api to list out missed rounds miners
2023-12-29 02:29:29 +11:00
Liam
ad258fd1a2
Merge pull request #386 from XinFinOrg/resolve-conflict
Resolve conflict
2023-12-28 23:05:46 +11:00
Jianrong
8e1f71e86e Fix the typo missied to missed 2023-12-28 23:03:53 +11:00
Jianrong
e83c0a0954 Add tests to cover the new GetMissiedRoundsInEpochByBlockNum API 2023-12-28 17:37:30 +11:00
Jianrong
14f6b267c4 Make getMissiedRoundsInEpochByBlockNum API method lower case 2023-12-28 15:13:05 +11:00
Jianrong
6740545358 change the API to be block num based 2023-12-28 15:13:05 +11:00
Jianrong
e28b550a24 Add a new API to help debug when there are missed rounds 2023-12-28 15:13:05 +11:00
Liam Lai
fcef3d21be resolve conflict 2023-12-27 23:35:47 +11:00
Liam
c7a42fd7c9
resolve sync issue by passing right round number (#384) 2023-12-27 22:14:13 +11:00
Banana-J
e30d909643
Add config into network information API (#381) 2023-12-19 19:02:32 +11:00
Liam
d249d30201
Merge pull request #323 from gzliudan/fix-issue-264
fix issue #264: private network halts randomly
2023-12-18 15:58:46 +11:00
Daniel Liu
bd3e2600fd eth/downloader: make Broadcast run after Wait (#264) 2023-12-18 10:49:40 +08:00
Anil Chinchawale
f3a278cfb4
Merge pull request #379 from XinFinOrg/set-version-1.5.0 2023-12-15 18:10:04 +05:30
Liam Lai
61dfb5148e set version 1.5.0 for stable version 2023-12-15 22:56:19 +11:00
Daniel Liu
ded4e0fd90 fix nil Error in func reportBlock (#369) 2023-12-05 20:29:19 +08:00
Anil Chinchawale
287ca51193
Merge pull request #375 from XinFinOrg/dev-upgrade 2023-12-04 13:06:54 +05:30
Anil Chinchawale
4593951c52
Merge pull request #374 from XinFinOrg/bump-version-2
bump version to 2 since we start use consensus version 2
2023-12-01 17:48:04 +05:30
Liam Lai
bc9fae23b5 bump version to 2 since we start use consensus version 2 2023-12-01 22:20:02 +11:00
Liam
5a9edbde78
Merge pull request #373 from XinFinOrg/dev-upgrade
CICD Improvement
Dynamic Masternodes and Dynamic V2 Vote threshold
Hardhat: Upgradeable Proxy support for XDC
Bug Fix on API
Supports the latest hardhat
2023-12-01 22:17:28 +11:00