Simon Saliba
3177ad55c1
feat: add `get_logs` RPC method ( #108 )
...
* Implemented RPC method get_logs
* Limit the max number of logs to 5
* remove unused import
Co-authored-by: Noah Citron <noah@jeff.org>
2022-11-17 12:14:13 -05:00
sragss
23bb207f1a
refactor: promote constant; switch to list chunking ( #107 )
...
* promote constant; switch to list chunking
* cargo fmt
Co-authored-by: Noah Citron <noah@jeff.org>
2022-11-11 19:45:08 -05:00
sragss
b9d67e956b
feat: surface revert errors to RPC ( #106 )
...
* surface revert errors to RPC
* remove temp generic errors from evm, node
* merge resolution
* cargo fmt
2022-11-11 19:41:37 -05:00
Pablo Carranza Vélez
d13df518d6
fix: explicit check for invalid divergent paths ( #100 )
...
* fix: avoid computing a wrong shared prefix length in proofs
* fix: avoid looping over the node_path twice, and fix test
* fix: properly validate proofs with divergent paths
* fix: cargo fmt
* fix: typo
* fix: tokio tests must be async
2022-11-09 13:20:19 -05:00
Noah Citron
cbb96abd65
fix: better call error handling ( #90 )
2022-11-04 20:10:24 -04:00
Noah Citron
0706755ec2
fix: correct blockhash access in calls ( #88 )
2022-11-04 16:37:30 -04:00
Noah Citron
ba08cc1a3c
feat: use helios as a library ( #85 )
...
* add root helios package
* fix revm
* copy blocktag when passing to funcs
* run all tests
* update readme
* update readme
* update readme
2022-11-03 19:36:14 -04:00
Noah Citron
8f375d8c44
fix retries ( #80 )
2022-11-02 15:26:15 -04:00
Noah Citron
a9b34f3dee
refactor: clean up ( #78 )
...
* refactor client rpc
* refactor node
* remove unused deps
* remove unused import
* refactor consensus
* consensus refactor
* rename rpc traits
* refactor execution
2022-11-01 23:52:28 -04:00
Noah Citron
d06fb73803
fix proof ( #77 )
2022-11-01 20:40:37 -04:00
Noah Citron
4444148f71
feat: handle full tx blocks ( #75 )
...
* fix: implement full tx blocks
* better error handling
* fix tests
2022-10-27 13:46:32 -04:00
Noah Citron
4757fa06ff
fix: use updated consensus layer light client api ( #68 )
...
* update consensus api
* update mainnet checkpoint
2022-10-13 13:59:37 -04:00
Noah Citron
98420e5d63
fix: dns and file errors ( #67 )
2022-10-05 16:06:15 -04:00
Noah Citron
5d1f4a6344
refactor: better error handling ( #63 )
...
* add custom errors to consensus
* add BlockNotFoundError
* better handling of blocktag parsing
* clean up
* add execution errors
* add rpc errors
* add more fields to errors
2022-09-29 19:35:43 -04:00
Noah Citron
c57c866c17
feat: parallel tx receipt fetching ( #57 )
2022-09-23 22:52:51 -04:00
Noah Citron
1196c0181d
fix: handle access list gas requirements ( #54 )
2022-09-23 20:37:28 -04:00
Noah Citron
4a347e3b2c
feat: evm efficiency improvements ( #53 )
...
* feat: evm efficiency improvements
* remove get_code tests
2022-09-23 19:40:01 -04:00
Noah Citron
9c3e5f4833
chore: better retry parameters ( #45 )
2022-09-22 15:42:47 -04:00
Noah Citron
897f679a2c
feat: use access lists to batch fetch proofs ( #44 )
...
* add create_access_list to rpc
* batch fetch proofs with access lists
* refactor
* use caching for estimate_gas
* cleanup
* add rate limiting to bulk proof fetch
2022-09-22 15:40:06 -04:00
Noah Citron
4719717ddb
fix: node memory leak ( #30 )
...
* fix: node memory leak
* fix ci
* typo
* set override
* set uses
* fix
* remove duplicate name
* use nightly
* fix tests
* use BTreeMap for payload cache
2022-09-14 13:57:48 -04:00
Noah Citron
a149ba618c
feat: add logging ( #15 )
...
* feat: add logging
* show confidence and delay when syncing
* log rpc errors
* fmt
2022-09-08 21:34:14 -04:00
Noah Citron
40a6211c13
tests: add execution tests ( #14 )
...
* add execution rpc trait
* add account tests
* add code and tx tests
* add receipt tests
* add get block tests
2022-09-08 17:46:48 -04:00
Noah Citron
a63d56a952
refactor: switch execution rpc to ethers ( #13 )
2022-09-06 13:57:47 -04:00
Noah Citron
a0b0b78da5
test: add consensus tests ( #11 )
...
* add consensus integration tests
* add unit tests
* organize imports
2022-09-04 19:32:16 -04:00
Noah Citron
95daee7186
fix: add full block and tx context to call ( #10 )
2022-09-02 15:29:51 -04:00
Noah Citron
e0411e1e97
feat: add eth_getTransactionByHash ( #8 )
...
* add eth_getTransactionByHash
* clean up imports
2022-09-01 23:28:37 -04:00
Noah Citron
11fd824b01
feat: add eth_getTransactionReceipt ( #6 )
2022-09-01 20:28:12 -04:00
Noah Citron
76a230446d
feat: add eth_sendRawTransaction ( #5 )
2022-09-01 17:07:30 -04:00
Noah Citron
dc0e31cedd
fix: allow from in eth_call and eth_estimateGas ( #4 )
...
* fix gas esimtation in uniswap frontend
* calculate empty account
2022-09-01 15:58:45 -04:00
Noah Citron
b1d33bb9af
fix: handle proof edge cases ( #3 )
...
* fix proof edge cases
* fmt
2022-08-31 20:31:02 -04:00
Noah Citron
92e30c3d50
feat: add metamask support ( #2 )
...
* add eth_getBlockByNumber and net_version
* fmt
2022-08-31 17:40:44 -04:00
Noah Citron
1d810caa92
refactor using cargo workspaces
2022-08-29 13:31:17 -04:00