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
wgr523
04cf52bead
Merge pull request #492 from XinFinOrg/xdc-05
...
XDC-05 remove 1s waiting time in miner
2024-03-15 05:57:03 -04: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
geruiwang
28480b1a61
remove 1s waiting time in miner
2024-03-14 20:17:40 +08:00
Daniel Liu
4938ba79bd
Merge pull request #490 from gzliudan/eip234
...
implement EIP-234: add blockHash param for eth_getLogs
2024-03-14 12:06:33 +08:00
Domino Valdano
69b4383528
eth/filters, ethereum: EIP-234 add blockHash param for eth_getLogs
2024-03-14 11:52:42 +08:00
Wanwiset Peerapatanapokin
8edb76f08d
Revert "core/state: abort commit if errors have occurred ( #484 )" ( #489 )
...
This reverts commit 0114ecabd0 .
2024-03-13 11:54:09 +04:00
Daniel Liu
106af4d901
Merge pull request #486 from gzliudan/EIP-1898
...
implement EIP-1898
2024-03-12 14:06:03 +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
Liam
2fcd6f47bb
add pull request trigger test ( #488 )
...
Co-authored-by: Liam Lai <liam.lai@datameshgroup.com>
2024-03-11 23:03:24 +11:00
Wanwiset Peerapatanapokin
0114ecabd0
core/state: abort commit if errors have occurred ( #484 )
2024-03-11 13:19:24 +04:00
Liam
45ccc3751b
bump version to 2.1.0 ( #485 )
...
Co-authored-by: Liam Lai <liam.lai@datameshgroup.com>
2024-03-11 18:05:22 +11:00
Banana-J
3051b2de41
use rlock instead of lock in v1 consensus engine ( #483 )
...
Co-authored-by: wjrjerome <wjrjerome@babylonchain.io>
2024-03-10 09:51:05 +11:00
Banana-J
c7cb63dd09
fix: error handling on x.getEpochSwitchInfo in sendTimeout should return error ( #444 )
...
Co-authored-by: wjrjerome <wjrjerome@babylonchain.io>
2024-03-09 16:25:47 +11:00
Wanwiset Peerapatanapokin
910d415653
Missing json Field Tags in Marshalled Struct ( #475 )
2024-03-08 15:38:33 +04:00
Wanwiset Peerapatanapokin
75c8d40399
Ensure DB is close before client exit ( #478 )
2024-03-08 14:57:15 +04:00
Liam
b51f6963be
Merge pull request #482 from gzliudan/devnet-shanghai
...
Enable shanghai for devnet on block 16832700
2024-03-08 18:07:50 +11:00
Daniel Liu
66e3ebaf0c
enable shanghai for devnet on block 16832700
2024-03-08 14:55:39 +08:00
Daniel Liu
f5e09b3082
Merge pull request #481 from XinFinOrg/enable-0x-prefix
...
enable 0x prefix for devnet code rpcs
2024-03-08 12:55:09 +08:00
Liam Lai
771c2f34f3
enable 0x prefix for devnet code rpcs
2024-03-08 15:52:50 +11:00
Daniel Liu
6c80c09cb8
Merge pull request #480 from gzliudan/lru
...
common/lru: add generic LRU implementation
2024-03-07 23:04:25 +08:00
Daniel Liu
6a2f753cee
Merge pull request #472 from XinFinOrg/eip3855
...
core/vm: implement EIP-3855: PUSH0 instruction.
2024-03-07 23:01:33 +08:00
geruiwang
863d4f14e3
eth/tracers/js: fix isPush for push0 ( #28520 )
...
Fixes so that `push0` opcode is correctly reported as `true` by the `IsPush` function
---------
Co-authored-by: Martin Holst Swende <martin@swende.se>
2024-03-07 22:31:19 +08:00
geruiwang
968440ce3d
core/vm: implement EIP-3855: PUSH0 instruction.
2024-03-07 21:44:37 +08:00
Wang Gerui
0e36b5be42
fix typo in EIPs
2024-03-07 21:37:33 +08:00
Daniel Liu
6ba7c26703
common/lru: add generic LRU implementation ( #26162 )
2024-03-07 20:59:16 +08:00
Wanwiset Peerapatanapokin
ae10d7090c
Rollback privacy ( #477 )
...
Rollback the previous test removal or privacy package on devnet.
This reverts commit 4f79e535b37dc85144e2d38c2f2570b0ce4305b2.
This reverts commit 5a2722c268ec4f03f3117b1af2dee2411af4b13a.
2024-03-07 10:40:55 +04:00
Daniel Liu
476bda6515
Merge pull request #479 from gzliudan/get-account-info
...
add method `eth_getAccountInfo`
2024-03-06 21:00:27 +08:00
Daniel Liu
ece58f00b5
ethapi: add method eth_getAccountInfo
2024-03-06 14:11:15 +08:00
Daniel Liu
bbe08ac6e6
core/state: add function GetStorageRoot
2024-03-06 14:10:08 +08:00
Daniel Liu
5223454dee
Merge pull request #469 from gzliudan/http-server-timeout
...
add http.TimeoutHandler for rpc http server
2024-03-04 19:07:37 +08:00
Liam
753729c28c
Disable xdcx related tx creation ( #430 )
...
* stop create xdcx tx
* refactor disable flag
* disable miner only
2024-03-04 22:06:47 +11:00
Banana-J
07d40a0038
fix: add lock for haserror variable in timeout.go ( #443 )
...
Co-authored-by: wjrjerome <wjrjerome@babylonchain.io>
2024-03-04 22:05:19 +11:00
Daniel Liu
7bd39e6bf9
rpc: add http.TimeoutHandler for http server
2024-03-04 16:33:56 +08:00
Liam
38a192e672
Merge pull request #459 from XinFinOrg/eip4399
...
implement EIP-4399, PREVRANDAO opcode
2024-03-04 17:50:56 +11:00
Liam
46ef5e10ad
add testnet and mainnet node for latest code testing ( #467 )
2024-03-04 17:13:50 +11:00
Wanwiset Peerapatanapokin
b86c7f646f
Try remove privacy pkg ( #466 )
...
* try removing privacy pkg
* rm more reference
* trigger CI
2024-03-04 07:59:45 +04:00
Gerui Wang
72e5ee0645
lint for params/config.go
2024-03-04 00:34:49 +08:00
Gerui Wang
a31489541d
implement EIP-4399, PREVRANDAO opcode.
...
and remove unused LondonBlock and BerlinBlock in `params/config.go` (already defined in constants.go)
2024-03-04 00:32:14 +08:00
Banana-J
e324d7d18f
fix: race condition of x.signer in v1 consensus ( #445 )
...
Co-authored-by: wjrjerome <wjrjerome@babylonchain.io>
2024-03-03 22:27:01 +11:00
Liam
317dc4cdf6
remove all CI warning by upgrade to nodejs 20 image ( #461 )
...
* upgrade to nodejs 20
* disable travis ci
2024-03-03 16:20:38 +11:00
Liam
cf221952c5
Use github action ( #460 )
2024-03-03 15:41:00 +11:00
Daniel Liu
3e74a2f0a5
Merge pull request #458 from gzliudan/eip3198
...
implement EIP-3198 and opcode BASEFEE
2024-03-02 16:58:48 +08:00
Daniel Liu
928a0691ca
implement EIP-3198
2024-03-01 15:04:32 +08:00
Daniel Liu
df2384eb9a
Merge pull request #452 from gzliudan/new-vm
...
preparation for solidity v0.8.23 upgrade
2024-03-01 15:00:45 +08:00