Daniel Liu
1c9f1d8279
all: change TxPreEvent to TxsPreEvent ( #16720 )
2024-03-28 11:16:21 +08:00
Daniel Liu
7cffa1d0aa
eth/filters: replace fmt.Println with b.Log in tests ( #19670 )
2024-03-18 10:08:25 +08:00
gary rong
65b48159d1
eth/filters: fix the block range assignment for log filter ( #17284 )
2024-03-18 10:08:25 +08:00
Daniel Liu
43f038dbac
eth/filters: simplify switches ( #17267 )
2024-03-18 10:08:25 +08:00
Ian Macalinao
40ee6f87f0
eth/filters: improve error message for invalid filter topics ( #17234 )
2024-03-18 10:08:25 +08:00
Daniel Liu
a4b557b062
accounts, eth, les: blockhash based filtering on all code paths ( #16734 )
2024-03-18 10:08:25 +08:00
knarfeh
19b84ff36c
eth/filters: make filterLogs func more readable ( #16920 )
2024-03-18 10:08:25 +08:00
Daniel Liu
7197172b09
eth/filter: check nil pointer when unsubscribe ( #16682 )
...
* eth/filter: check nil pointer when unsubscribe
* eth/filters, accounts, rpc: abort system if subscribe failed
* eth/filter: add crit log before exit
* eth/filter, event: minor fixes
2024-03-18 10:08:25 +08:00
Liam
bbab326e22
after we use time.Ticker it didn't allow to have 0 time duration ( #493 )
...
* after we use time.Ticker it didn't allow to have 0 time duration
2024-03-15 19:07:05 +11:00
Domino Valdano
69b4383528
eth/filters, ethereum: EIP-234 add blockHash param for eth_getLogs
2024-03-14 11:52:42 +08:00
Daniel Liu
b2a767e660
eth: let function HeaderByNumber return error when header is nil
2024-03-12 10:40:03 +08:00
Daniel Liu
f34087534d
eth: check err before return in function StateAndHeaderByNumber
2024-03-12 10:40:03 +08:00
Daniel Liu
4616d59935
internal/ethapi: support block number or hash on state-related methods ( #19491 )
...
* Support for EIP-1898.
2024-03-12 10:40:03 +08:00
Andrei Maiboroda
b022ba2c5d
core/vm: make INVALID a defined opcode ( #24017 )
...
* core/vm: Define 0xfe opcode as INVALID
* core/vm: Remove opInvalid as opUndefined handles it
Co-authored-by: Alex Beregszaszi <alex@rtfs.hu>
2024-03-01 14:13:24 +08:00
Daniel Liu
7a55b9f788
core/state: remove unused methods ReturnGas ( #23092 )
2024-03-01 14:13:23 +08: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
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
c7a42fd7c9
resolve sync issue by passing right round number ( #384 )
2023-12-27 22:14:13 +11:00
Daniel Liu
bd3e2600fd
eth/downloader: make Broadcast run after Wait ( #264 )
2023-12-18 10:49:40 +08:00
Liam
b4bd070837
Improve log ( #368 )
...
* improve log
2023-11-26 22:04:08 +11:00
Banana-J
92689943a0
Revisit the solution from PR-260, try keep the API consistent by not incrementing the nonce for trading&lending tx ( #371 )
2023-11-25 00:04:59 +11:00
Liam Lai
824d7b232f
resolve conflict
2023-11-20 23:53:49 +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
Liam
75661b488b
add notification script ( #350 )
...
* add notification script
* skip always test
2023-11-06 20:54:16 +11:00
Daniel Liu
e2359d9b8c
filter zero address in function GetCandidates
2023-10-24 12:15:24 +08:00
Daniel Liu
320b358830
replace package sort with common/sort
2023-10-23 22:51:06 +08:00
Daniel Liu
7adb98fbe8
update gas fee
2023-10-16 11:24:47 +08:00
Daniel Liu
726172903b
change min and max gas price in SuggestPrice
2023-10-16 11:24:47 +08:00
Daniel Liu
9e860e4c3f
eth/filters: fix blockHash in eth_getfilterchanges ( #208 )
2023-08-31 15:26:33 +08:00
Liam Lai
5623ce8de0
merge from master
2023-07-30 16:50:45 +10:00
Anil Chinchawale
d2ce55ec96
Merge pull request #237 from gzliudan/fix-empty-address
...
fix empty address
2023-06-16 14:23:44 +05:30
wgr523
2f10aac60f
eth: ensure from<to when tracing chain (credits Chen Nan via bugbounty) ( #251 )
...
Co-authored-by: Martin Holst Swende <martin@swende.se>
2023-05-25 14:22:23 +10:00
wgr523
a67b347ba8
fix comment of todo ( #267 )
2023-05-20 17:46:06 +08:00
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
fd6cbd5df1
fix nonce error for debug trace api ( #256 )
2023-05-06 09:50:25 +08:00
Daniel Liu
3c21125da5
fix EmptyAddress
2023-03-16 11:47:39 +08:00
Liam
9552500335
xdpos API getV2Block ( #227 )
2023-03-05 02:17:46 +08:00
span14
eac0e42584
fix typo
2023-02-02 12:13:16 -05:00
span14
5aff0d35db
fix typo
2023-01-30 22:22:57 -05:00
span14
abb0dcc48b
add confirmed loopup
2023-01-30 22:22:57 -05: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
Liam
f57e2c3577
Bug Fix on memory leak when doing send tx, block etc to peers ( #212 )
...
* resolve conflict
* update version number
2022-12-09 14:54:27 +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
Jerome
ff6ee67462
Fix memory leak when doing send tx, vote, block etc to peers ( #211 )
2022-11-28 21:52:36 +11:00
Daniel Liu
42379f530f
internal/ethapi: EstimateGas and Call handle revert error( #173 ) ( #200 )
...
hot fix for EstimateGas and Call handle revert error https://github.com/XinFinOrg/XDPoSChain/issues/173
2022-10-27 17:25:25 +08:00
Liam Lai
30d7958a6f
skip process message whenever synchronising
2022-10-15 01:05:38 +08:00
Liam
55d994690a
Xin 248 correct timeout message skip rule ( #192 )
...
* test on current devnet issue
* change to times 3 to fit correct dist
2022-10-15 00:29:02 +08:00
Liam
a75c315eb5
fix penalty calculation bug ( #189 )
2022-10-09 14:06:04 +08:00
Liam
f98d513f88
fix skip snapshot block ( #178 )
2022-09-26 22:44:20 +08:00
Liam
dad7eff036
Xin 231 sync issues - too far messages should omit and skip to process ( #177 )
...
* omit too far v2 messages
* update error msg
* improve log
* fix test
* remove useless file
2022-09-05 10:38:45 +08:00