Closed LNSD closed 2 months ago
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
tap_core/src/receipt/state.rs | 1 | 4 | 25.0% | ||
<!-- | Total: | 2 | 5 | 40.0% | --> |
Totals | |
---|---|
Change from base Build 9409648709: | 0.0% |
Covered Lines: | 970 |
Relevant Lines: | 1201 |
The problem is somewhere else I think. We're not supposed to send ReceiptWithState
to the aggregator, just the EIP712SignedMessage<Receipt>
, which is already ser/de.
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
tap_core/src/receipt/state.rs | 1 | 4 | 25.0% | ||
<!-- | Total: | 2 | 5 | 40.0% | --> |
Totals | |
---|---|
Change from base Build 9409648709: | 0.0% |
Covered Lines: | 970 |
Relevant Lines: | 1201 |
The
Serialize
trait is necessary to send over JSON-RPC the list of valid receipts here:https://github.com/graphprotocol/indexer-rs/blob/7f544b283f88451b5c1173f880140134da06a392/tap-agent/src/agent/sender_allocation.rs#L521-L530
Without this, the latest changes in the
main
branch cannot be used in theindexer-rs
repository, and as a consequence, preventing the alloy crates upgrade.