Daniel Liu
43dbeea92a
Merge pull request #423 from gzliudan/fix-issue-340
...
improve the method eth_estimateGas
2024-02-19 19:06:46 +08:00
Daniel Liu
72d4548272
Merge pull request #436 from gzliudan/fix-RIN-07
...
fix test error in file core/vm/privacy/ringct_test.go
2024-02-19 19:02:44 +08:00
Daniel Liu
3f10de24b0
core/vm/privacy: fix test case in ringct_test.go ( #424 )
2024-02-19 10:52:33 +08:00
Daniel Liu
fa36b1ce66
internal/ethapi: early exit for plain transfer
2024-02-18 11:59:40 +08:00
Daniel Liu
d84e0b5ad2
internal/ethapi: estimate tx gas for EOA and arbitrary data ( #340 )
2024-02-18 11:59:40 +08:00
Liam
9eea134daa
Merge pull request #424 from gzliudan/RIN-07
...
check parameters not to be nil when call function curve.Add
2024-02-12 22:23:34 +11:00
Wanwiset Peerapatanapokin
b272e7418c
Fix curve ( #429 )
...
* update secp256k1 library from go-eth code
* cast deprecated functions to use new BitCurve type
* add IsOnCurve checks and tests
* add test outcome check
* fix test
2024-02-11 15:59:28 +04:00
Banana-J
bbd7d00068
fix: missing validation in unpacklog ( #416 )
...
Co-authored-by: wjrjerome <wjrjerome@babylonchain.io>
2024-02-11 20:32:44 +11:00
Banana-J
a54a645cda
fix: always check for error value and return nil, err where possible ( #426 )
...
Co-authored-by: wjrjerome <wjrjerome@babylonchain.io>
2024-02-11 20:32:24 +11:00
Banana-J
b739db6a52
fix: add a error log when author not found for the block that will be emitted to ethstats ( #427 )
...
Co-authored-by: wjrjerome <wjrjerome@babylonchain.io>
2024-02-11 20:31:48 +11:00
Liam
54b254e25c
lower log level for pretty log ( #420 )
...
Co-authored-by: Liam Lai <liam.lai@datameshgroup.com.au>
2024-02-11 20:27:37 +11:00
Wanwiset Peerapatanapokin
30581274a1
RIN-08 RIN-10 RIN-11 Fix curve issues ( #425 )
...
* update secp256k1 library from go-eth code
* cast deprecated functions to use new BitCurve type
* add IsOnCurve checks and tests
* add test outcome check
2024-02-11 01:51:11 +04:00
Anil Chinchawale
7c6a81af5b
Merge pull request #421 from XinFinOrg/bump-version-2.0.2
...
bump-version-2.0.2
2024-02-10 14:43:13 +05:30
Banana-J
f453ce8315
fix: missing validation in scalar range check ( #417 )
2024-02-09 19:56:27 +11:00
Daniel Liu
d440d1d2c6
not pass nil parameters to function curve.Add
2024-02-08 14:50:44 +08:00
Banana-J
ea7d5cc9ad
fix: remove unnecesasry int conversion in the bulletproof.go ( #419 )
...
Co-authored-by: wjrjerome <wjrjerome@babylonchain.io>
2024-02-06 22:13:28 +11:00
Liam Lai
a937594fc4
bump-version-2.0.2
2024-02-05 20:31:01 +08:00
Banana-J
3e0deddfaa
fix: missing length validaiton after doing regex ( #415 )
...
Co-authored-by: wjrjerome <wjrjerome@babylonchain.io>
2024-02-05 21:43:04 +11:00
Liam
fea90a97df
RIN-02 Panic Due to Integer Overflow in Signature Size Calculation ( #401 )
...
* RIN-02 Panic Due to Integer Overflow in Signature Size Calculation
* assert the error
* simply overflow check
* simply overflow check
---------
Co-authored-by: Liam Lai <liam.lai@datameshgroup.com>
2024-02-03 10:02:14 +08:00
Banana-J
95e108c3e9
fix: limit the max size of lending item extradata can be inside the t… ( #405 )
...
* fix: limit the max size of lending item extradata can be inside the trading and lending transactions
* chore: add comment for the MaxLendingExtraDataSize constant
2024-01-29 11:31:48 +11:00
Banana-J
b4d842be75
chore: remove unnecessary order.status assignment ( #407 )
2024-01-29 11:31:36 +11:00
Banana-J
976dd799ae
chore: remove redunant nil check ( #408 )
2024-01-29 11:31:28 +11:00
Banana-J
326a8c8984
fix: Fix Potential Index Out of Bound ( #409 )
2024-01-29 11:31:21 +11:00
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