Skip to content

Commit

Permalink
Added attestation protocol.
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexandre Bourget committed Jan 24, 2025
1 parent 76d6a10 commit f827283
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion proto/sf/substreams/rpc/v2/service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ message Request {

// Available only in developer mode
repeated string debug_initial_store_snapshot_for_modules = 10;

bool noop_mode = 11;
}

Expand Down Expand Up @@ -91,13 +91,19 @@ message BlockScopedData {

repeated MapModuleOutput debug_map_outputs = 10;
repeated StoreModuleOutput debug_store_outputs = 11;

// Signed attestation, enabling economic security as per GIP-0082. Signatures are done using the key specified by SessionInit::attestation_public_key
string attestation = 12;
}

message SessionInit {
string trace_id = 1;
uint64 resolved_start_block = 2;
uint64 linear_handoff_block = 3;
uint64 max_parallel_workers = 4;

// Operator's attestation public_key or address, enabling economic security as per GIP-0082.
string attestation_public_key = 5;
}

message InitialSnapshotComplete {
Expand Down

0 comments on commit f827283

Please sign in to comment.