20 Commits

Author SHA1 Message Date
Zizou
568f26116e feat: add native balance in StorageChanges (#292)
* feat: add native balance in StorageChanges

This will be used by the next update of DCI to properly track native balance for all the contract that it's indexing. Also added a performance optimization, we now ignore slot updates if the value after the transaction is the same than before.

* docs: add docs on how to generate test assets

---------

Co-authored-by: zizou <111426680+flopell@users.noreply.github.com>
2025-10-06 10:12:37 +00:00
kayibal
8b4611f9bb feat: Add previous_value field to ContractSlot
This change is required by the DCI to properly detect potential address changes (retriggers) on packed storage slots.
2025-09-03 16:35:32 +01:00
tvinagre
3f1beeab7c fix: Make get_block_storage_changes public (#214)
* fix: Make get_block_storage_changes public

* Make RpcTraceData caller optional

* feat: Create function to decode list of addresses
2025-06-16 21:40:39 +00:00
dianacarvalho1
a7841af383 feat: Add entrypoint utils and define EntryPointParams (#211)
* feat: Add entrypoint utils and define EntryPointParams

#time 23m


#time 0m

* fix: Make TraceData mandatory

#time 2m

* fix: Make component_id in EntryPointParams optional

#time 1m
2025-05-20 17:47:25 +01:00
Louise Poole
c778e7dee2 feat: extend DCI message structs (#210)
* feat: extend DCI message structs

* chore: add entrypoint params placeholder to transaction builder

* fix: rename call_data as calldata
2025-05-16 11:04:55 +02:00
Louise Poole
b13360c92b fix: change Entrypoint signature type to string (#209) 2025-05-14 15:42:44 +02:00
dianacarvalho1
2a77cf965c feat: Add entrypoint (#202)
* feat: add DCI message definitions


#time 4m

#time 0m

* feat: Add add_entrypoint to TransactionChangesBuilder

#time 15m


#time 0m

* fix: Make entrypoints into a HashSet instead of Vec

#time 0m

* fix: Rollback on message index change in ContractSlot

#time 5m

* fix: Ignore examples in docstrings when running cargo test

---------

Co-authored-by: Louise Poole <louise@datarevenue.com>
2025-05-13 11:31:36 +00:00
Louise Poole
ad0a391f72 chore: clean up ambient (#136)
* fix: remove unnecessary tx field in ProtocolComponent

* chore: move ambient protobuf files to ambient module

* chore: remove dependency on common message types

This allows us to isolate the ambient specific messages within the ambient module

* feat: update ambient substream with new message structs

* chore: update substream configs

And remove use of deprecated BlockContractChanges.

* feat: implement From for AmbientProtocolComponent to ProtocolComponent
2025-01-27 10:36:13 +02:00
Louise Poole
28dd2fc858 feat: add AccountBalanceChange proto message (#137) 2025-01-23 11:00:12 +02:00
Florian Pellissier
37f1fbfe04 docs(substreams): miscellaneous docs improvements and update 2024-08-19 11:56:55 +02:00
Florian Pellissier
7db72c284c feat: Update proto files 2024-07-22 03:48:29 +02:00
kayibal
0d621a4545 Improve the naming of utils. 2024-03-13 12:29:41 +00:00
kayibal
4b2437dab6 Revert "Don't include balancer specific pb in tycho pbs."
This reverts commit a1864e3c.

We will actually make the balance delta messages part of the tycho packages since this makes a few things simpler when trying to factor out an sdk.
2024-03-13 12:11:38 +00:00
Florian Pellissier
38dcd9d843 fix: BalanceChange encoding 2024-03-12 12:51:26 +01:00
kayibal
a1864e3cd4 Don't include balancer specific pb in tycho pbs. 2024-03-11 19:10:28 +00:00
Florian Pellissier
66a048fbe2 refactor: update protobuf messages 2024-03-11 17:52:46 +01:00
pistomat
03686d0dff Update readmes 2023-12-22 11:33:12 +01:00
pistomat
071f02f856 Update readmes and add upstream changes 2023-12-21 16:37:57 +01:00
pistomat
761698769a Upstream changes for proto 2023-12-21 15:47:49 +01:00
pistomat
8a7271bc59 Clone proto and substreams from tycho-indexer 2023-12-20 14:29:26 +01:00