Daniel Sobol
3305c02856
Naive implementation of recursive gossip ( #2024 )
2024-02-15 18:37:05 +03:00
Daniel Sobol
9c53c73173
state network test vectors update ( #2003 )
...
* state network test vectors update
* nibbles codec
* moving test vectors into portal-spec-tests
* fix copyright year in all_fluffy_tests
2024-02-03 00:12:36 +03:00
Daniel Sobol
7ecd38347f
New state network types update ( #1976 )
2024-01-19 20:18:57 +03:00
Daniel Sobol
70013422cd
Initial impl of state network bridge 1902 ( #1948 )
2024-01-09 12:32:29 +03:00
web3-developer
32e1f94d78
Portal State Proof Verification with Tests ( #1951 )
...
* Initial implementation of account and storage proof verification for the portal state network.
* Completed initial state proof verification loop test.
* Completed proof verification tests.
* Minor updates based on PR feedback and comments.
* Add state proof verification test to test runner.
2023-12-21 17:05:53 +08:00
Kim De Mey
436ef0e40e
Portal BeaconLightClientNetwork -> BeaconNetwork renaming ( #1832 )
2023-10-20 12:06:25 +02:00
Kim De Mey
c7302b4ece
Compile Fluffy tests and fluffy beacon LC tests together ( #1633 )
...
This wins some time.
Also, remove and move some of the compile time defines to the
cfg files.
2023-07-06 18:06:44 +02:00
Kim De Mey
bf21484f70
Add EL block proofs verifable from historical_summaries ( #1588 )
2023-05-30 07:02:39 +02:00
Kim De Mey
c9f3f82877
Add new Portal BlockBody type for Shanghai fork ( #1589 )
2023-05-30 06:56:54 +02:00
Kim De Mey
33fd8b1fae
Add historical_roots with proof + test ( #1579 )
2023-05-11 19:08:34 +02:00
Kim De Mey
e6964a029b
Remove unused, underdeveloped BridgeClient from Fluffy ( #1520 )
...
It is only (mostly) a skeleton, not further developed and not
used. It is unlikely the way forward either when further
developing the Portal state network.
2023-03-23 13:41:40 +01:00
Kim De Mey
9efb40336b
Add possible historical_roots with proof structure ( #1439 )
...
This is an example of how the beacon state historical_roots could
be added with a proof to be able to provide on the network and
verify by means of proof against the state root.
2023-01-20 13:19:49 +01:00
Kim De Mey
624c87d8b3
Add experimental beacon chain block proofs for Portal network ( #1376 )
...
* Add experimental beacon chain block proofs for Portal network
* Add Caveat on proving recent blocks
2023-01-02 16:46:48 +01:00
KonradStaniec
1c1c6f56cc
Add initial implementation of portal powered light client ( #1280 )
...
* Add initial implementation of portal powered light client
2022-10-28 09:49:18 +02:00
KonradStaniec
306143f3d1
Add initial scaffold for portal lc network ( #1277 )
...
* Add initial scaffold for portal lc network
2022-10-24 14:16:40 +02:00
Kim De Mey
78f7de1344
Make accumulator finite at merge block ( #1256 )
...
- Let accumulator finish its last pre merge epoch (hash_tree_root
on incomplete epoch).
- Adjust code to use isPreMerge and remove isCurrentEpoch
- Split up tests to a set that runs with a mainnet merge block
number and a set that runs with a testing value.
2022-10-10 12:59:55 +02:00
KonradStaniec
71f9e37482
Add getting block by number through accumulator ( #1182 )
2022-08-04 08:34:53 +02:00
Kim De Mey
de2051dcf8
Add Accumulator build helper calls and refactors ( #1127 )
...
- Move the accumulator definitions to a history accumulator file
- Add accumulator build helper calls + temporary database
- Add a header gossip content key encoding test
- Refactor & some cleanup
2022-06-16 08:50:29 +02:00
Kim De Mey
6e05c7588e
Add Header Accumulator for the Header Gossip Network ( #1094 )
2022-05-18 22:49:35 +02:00
KonradStaniec
b951139af9
Add basic validation of history network ( #983 )
...
* Add basic validation of history network
* Save only valid objects to db
2022-03-02 15:29:12 +01:00
Kim De Mey
092d946c72
Add state ContentKey test and adjust history ContentKey test ( #914 )
2021-12-15 08:48:56 +01:00
Kim De Mey
447deb29ff
Add HistoryNetwork that uses Portal wire protocol ( #856 )
...
* Add HistoryNetwork that uses Portal wire protocol
* Further implement getContent and adjust naming of distance calc calls
2021-10-09 13:22:03 +02:00
Kim De Mey
51626c5831
Add a basic ContentDB for portal networks ( #848 )
...
* Add a basic ContentDB for Portal networks
* Use ContentDB in StateNetwork
* Avoid probably some form of sandwich problem by re-exporting kvstore_sqlite3 from content_db
2021-09-28 19:58:41 +02:00
Kim De Mey
6f6345a022
Move Portal wire protocol out of state specific code ( #843 )
...
* Allow for custom protocol id in portal wire protocol
* Move Portal wire protocol out of state specific code
2021-09-22 17:07:14 +02:00
Kim De Mey
1afdfdf2ff
Disable mixed usage of cliBuilder to fix incorrect test failure reporting ( #836 )
2021-09-21 14:35:41 +02:00
KonradStaniec
58b11e683d
Implement custom distance function ( #827 )
...
* Implement custom distance function
* More docs about function equivalence
2021-09-14 13:36:55 +02:00
KonradStaniec
f0637cfbfc
Add rpc for local node info ( #810 )
...
* Add rpc for local node info
* Group let statement
2021-08-27 18:04:55 +02:00
Kim De Mey
e37bafd47e
Add a first, simple, content network test ( #760 )
...
* Add a first, simple, content network test
* Use sqlite as nimbus_db_backend for fluffy tests
* Fix backend selection for sqlite
2021-07-15 15:12:33 +02:00
Kim De Mey
424fd405e9
Move Portal wire protocol from nim-eth to fluffy ( #749 )
...
* Move Portal wire protocol from nim-eth to fluffy
* Rename fluffy make targets
* Move all_fluffy_tests a folder down
2021-07-09 13:34:16 +02:00