Commit Graph

25 Commits

Author SHA1 Message Date
Noah Citron 3c471c2bef
fix: cleanup call example (#212)
* fix: evm panic on slot not found (#208)

* cleanup and example

---------

Co-authored-by: refcell.eth <abigger87@gmail.com>
2023-03-11 01:58:42 -05:00
refcell.eth a73f9c648b
fix: Optional CallOpts Recipient (#207) 2023-03-10 11:05:34 -05:00
christn 1b1a540340
feat: backfill payloads (#189)
* Loop over all missing slots since last update

* Adjust get_block_header function to allow getting headers of past blocks

* Compare parent hashes when backfilling blocks

* Backfill blocks concurrently

* Do not rehash backfilled blocks

* Revert "Adjust get_block_header function to allow getting headers of past blocks"

This reverts commit 5895118046.

* Move get_payloads to consensus module

* Continue with the next block instead of request failure to recover from skipped blocks

* clippy and rustfmt

* clippy

* Remove redundant get_block_from_rpc method
2023-02-07 17:36:29 -05:00
Noah Citron 72267b4563
feat: wasm support (#182)
* basic consensus setup

* basic execution setup

* patch for wasm

* basic wasm client

* proxy cors for testing

* migrate to webpack

* use typescript

* track chain head

* rename to helios-ts

* better build instructions

* add getCode

* builds everywhere

* add wasm-pack to dependencies

* compile for both wasm and non-wasm

* fix deps

* fix deps

* remove ds store

* add blocktags

* add getNonce

* use BTreeMap to store payloads

* add getTransaction

* switch to proper ethers provider

* post merge fixes

* compile client to wasm

* fix tests

* fmt

* use milagro for bls

* handle node advance in rust

* faster bls deserialization

* clippy

* add ConfigDB

* remove ts bindings

* fix gitignore

* remove ts workspace member

* remove unused mut

* uncomment old deletions

* bump to 0.2.0
2023-01-30 21:38:46 -05:00
Dimitris Apostolou c7a1bad8e5
fix: typos (#164) 2023-01-10 15:47:58 -05:00
Noah Citron f8275f054e
fix: handle calls to eoa (#159) 2022-12-21 19:11:43 -05:00
asnared 21c73c1649
feat: Lints, Clippy, and Cleaning (#115)
*  cargo fmt smells

* ♻️ cargo cleaning
2022-11-29 17:31:25 -08:00
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
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 98420e5d63
fix: dns and file errors (#67) 2022-10-05 16:06:15 -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 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 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 95daee7186
fix: add full block and tx context to call (#10) 2022-09-02 15:29:51 -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 1d810caa92 refactor using cargo workspaces 2022-08-29 13:31:17 -04:00