JukLee0ira
517f4a16a6
internal/ethapi: fix Call handle revert error
2024-12-28 09:02:48 +08:00
JukLee0ira
48d1f22fde
all: simplify function TransitionDb ( #20830 )
2024-12-28 09:02:48 +08:00
JukLee0ira
7491a7ba74
all: improve EstimateGas API ( #20830 )
2024-12-21 14:35:44 +08:00
Daniel Liu
ad5e7d6db3
crypto: add SignatureLength constant and use it everywhere ( #19996 )
2024-12-09 17:48:59 +08:00
Daniel Liu
416e5ac00f
eth/tracers,internal/ethapi: use correct baseFee when BlockOverrides is provided in call/traceCall ( #29051 )
2024-11-01 11:36:53 +08:00
Daniel Liu
bc14c672f2
internal/ethapi: support unlimited rpc gas cap in eth_createAccessList ( #28846 )
2024-11-01 11:36:53 +08:00
Daniel Liu
f23e1a648c
internal/ethapi: implement eth_getBlockReceipts ( #27702 )
2024-11-01 11:36:53 +08:00
Daniel Liu
419f81f022
eth/gasprice: change feehistory input type from int to uint64 ( #26922 )
2024-11-01 11:36:53 +08:00
Daniel Liu
b8236888d4
internal/ethapi: avoid int overflow in GetTransactionReceipt ( #26911 )
2024-11-01 11:36:53 +08:00
Daniel Liu
2a9d450101
core/types: add EffectiveGasPrice in Receipt ( #26713 )
2024-11-01 11:36:53 +08:00
Daniel Liu
9b20ac785e
consensus/misc: move eip1559 into a package ( #27828 )
2024-11-01 11:36:53 +08:00
Daniel Liu
c668279c48
internal/ethapi: don't estimate gas if no limit provided in eth_createAccessList ( #25467 )
2024-11-01 11:36:53 +08:00
Daniel Liu
9535b3ade5
ethclient: add FeeHistory support ( #25403 )
2024-11-01 11:36:53 +08:00
Daniel Liu
77e2ad90cf
internal/ethapi: add comment explaining return of nil instead of error ( #25097 )
2024-11-01 11:36:53 +08:00
Daniel Liu
48616d5d4b
internal/ethapi/api: return maxFeePerGas for gasPrice for EIP-1559 txs ( #23345 )
2024-11-01 11:36:53 +08:00
Daniel Liu
62a70f0cde
internal/ethapi: fix panic in accesslist creation ( #23225 )
2024-11-01 11:36:52 +08:00
Daniel Liu
7500b0ac95
Use hexutil.Uint for blockCount parameter and oldestBlock result value in feeHistory method ( #23239 )
2024-11-01 11:36:52 +08:00
Daniel Liu
5b01b23af6
internal: get pending and queued transaction by address ( #22992 )
2024-11-01 11:36:52 +08:00
Daniel Liu
93dd33b607
internal/ethapi: fix transaction APIs ( #23179 )
2024-11-01 11:36:52 +08:00
Daniel Liu
5766ca4520
eth/gasprice, internal/ethapi: minor feehistory fixes ( #23178 )
2024-11-01 11:36:52 +08:00
Daniel Liu
5d4ad88364
internal/ethapi: fix panic in access list creation ( #23133 )
2024-11-01 11:36:52 +08:00
Daniel Liu
26fe46c008
eth/gasprice: implement feeHistory API ( #23033 )
2024-11-01 11:36:52 +08:00
Daniel Liu
b02922fc53
core, internal: expose effectiveGasPrice in receipts ( #23050 )
2024-11-01 11:36:52 +08:00
Daniel Liu
18bc355e89
core, internal: support various eth_call invocations post 1559 ( #23027 )
2024-11-01 11:36:52 +08:00
Daniel Liu
4c096de9b0
all: rename internal 1559 gas fields ( #23010 )
2024-11-01 11:36:52 +08:00
Daniel Liu
bfd1c0c9e0
core, eth, internal, les: RPC methods and fields for EIP 1559 ( #22964 )
2024-11-01 11:36:52 +08:00
Daniel Liu
e18553b855
all: implement eip-1559 ( #22837 )
2024-11-01 11:36:52 +08:00
liam.icheng.lai
59a7eb1f9f
resolve conflict from master
2024-10-30 16:47:26 -07:00
Daniel Liu
dd6822bc3c
internal/ethapi, contracts/trc21issuer: fix staticcheck warning SA1012: pass nil Context
2024-10-25 18:29:08 +08:00
Daniel Liu
a79411fa06
all: fix staticcheck warning ST1005: incorrectly formatted error string
2024-10-24 09:48:20 +08:00
Liam Lai
22fc7d0710
fix conflict
2024-10-16 22:42:53 -07:00
benjamin202410
eb6d53adf6
Fix getCandidateStatus API ( #663 )
...
* Fix getCandidateStatus API
* sync vote message and fix test
* update function name
---------
Co-authored-by: Liam Lai <liam@home>
2024-10-09 22:05:14 -07:00
Daniel Liu
edace6ac6c
all: change format 0x%x to %#x ( #25221 )
2024-09-27 15:24:31 +08:00
JukLee0ira
138ac7c967
internal/ethapi: merge CallArgs and SendTxArgs ( #22718 )
2024-08-21 15:15:53 +08:00
Daniel Liu
45e57e41b4
internal/ethapi: refactor func ToMessage for CallArgs
2024-08-21 15:15:53 +08:00
wgr523
52077f18f3
support for golang tracers + add golang callTracer ( #558 )
...
* feat: rename Tracer interface to EVMLogger;
minor changes in API
refine api_tracer.go
refine Tracer interface
* fix: broken tracer tests
* feat: add BenchmarkTransactionTrace
* feat: tracer CaptureEnter CaptureExit in evm
* feat: upgrade js tracers with geth upstream
* chore: clean test
* feat: eth/tracers: support for golang tracers + add golang callTracer
cf. https://github.com/ethereum/go-ethereum/pull/23708
* chore: clean testdata json
* fix: change test due to IntrinsicGas is not upgraded
* feat: make native Tracer the default Tracer
* fix: update tracers.New in api
* fix: addr prefix in callTracer
* fix: remove `native` in BenchmarkTracers
* fix: return consensus error of InsufficientBalance for tx, instead of vmerr
* chore: drop js tracers: call and noop
2024-08-06 00:14:04 -07:00
Daniel Liu
4976b7cbb3
Fix some panic cuased by nil block, statedb, header ( #578 )
...
* fix panic during rollback
* eth/hooks: check nil stateDB to fix issue #271
* internal/ethapi: fix eth_call crash
* all: check nil statedb
* eth: check nil block for tracer api
* internal/ethapi: check nil header and block
2024-08-02 17:05:53 -07:00
Daniel Liu
824c531324
make MasternodeVotingSMC tx never timeout ( #598 )
2024-08-02 16:20:24 -07:00
Daniel Liu
a0081d998b
make MasternodeVotingSMC tx never timeout ( #595 )
2024-08-02 16:19:22 -07:00
Liam
4b35f33559
Fix crash during reorg for v2.0.0 ( #590 ) ( #593 )
...
* params: fix usage of IsXDCxDisable
* internal/ethapi: fix nil block in function DoCall during reorg
Co-authored-by: Daniel Liu <139250065@qq.com>
2024-07-29 07:19:19 -07:00
Daniel Liu
438341c2ea
Fix crash during reorg for v2.0.0 ( #590 )
...
* params: fix usage of IsXDCxDisable
* internal/ethapi: fix nil block in function DoCall during reorg
2024-07-27 07:16:26 -07:00
Daniel Liu
341ca00b16
internal/ethapi: cap txfee for SignTransaction and Resend ( #21231 )
2024-06-20 15:52:32 +08:00
Daniel Liu
0063c14ed3
cmd, eth, internal, les: add gasprice cap ( #21212 )
2024-06-20 15:52:32 +08:00
JukLee0ira
2d89951e5b
all: use errrors.New instead of empty fmt.Errorf
2024-06-14 19:19:21 +08:00
JukLee0ira
0aab4ced98
common: add binary variables for system contract
2024-06-06 19:33:59 +08:00
wgr523
65d7e6a060
Merge pull request #548 from XinFinOrg/trie-proof
...
GetTransactionAndReceiptProof API
2024-05-22 15:17:35 +08:00
Gerui Wang
2d70c0c3a1
GetTransactionAndReceiptProof API
...
web3ext.go
2024-05-21 23:06:25 +08:00
JukLee0ira
c928c79d95
ethapi: implement eth_getBlockReceipts ( #27702 )
2024-05-21 18:03:15 +08:00
Gary
0245344338
add TraceCall, backend.StateAtBlock(), RPCGasCap
...
update gen_config.go by tool `gencodec`
2024-05-17 21:34:34 +08:00
Daniel Liu
7a95b4f907
core, eth, internal/ethapi: create access list RPC API ( #22550 )
2024-05-14 23:27:23 +08:00