Skip to content

Commit f0bcbc6

Browse files
Add PendingQueue messages
1 parent 7f47b3a commit f0bcbc6

2 files changed

Lines changed: 149 additions & 14 deletions

File tree

pkg/capabilities/actions/vault/messages.pb.go

Lines changed: 133 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/capabilities/actions/vault/messages.proto

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
syntax = "proto3";
22

3+
import "google/protobuf/any.proto";
4+
35
option go_package = "github.com/smartcontractkit/chainlink-common/pkg/capabilities/actions/vault";
46

57
package vault;
@@ -187,6 +189,20 @@ message StoredMetadata {
187189
repeated SecretIdentifier secret_identifiers = 2;
188190
}
189191

192+
// IMPORTANT: this record is persisted so any changes must be
193+
// backwards compatible
194+
message StoredPendingQueueIndex {
195+
int64 length = 1;
196+
}
197+
198+
// IMPORTANT: this record is persisted so any changes must be
199+
// backwards compatible
200+
message StoredPendingQueueItem {
201+
int64 index = 1;
202+
google.protobuf.Any item = 2;
203+
string id = 3;
204+
}
205+
190206
message ReportingPluginConfig {
191207
// Plugin-specific configuration
192208
int32 BatchSize = 1;

0 commit comments

Comments
 (0)