Skip to content

Commit 9df4028

Browse files
author
Richard Patel
committed
lint
1 parent 47bd61d commit 9df4028

File tree

2 files changed

+28
-15
lines changed

2 files changed

+28
-15
lines changed

.editorconfig

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
root = true
2+
3+
[*]
4+
insert_final_newline = true
5+
end_of_line = lf
6+
7+
[*.rs]
8+
indent_style = space
9+
indent_size = 4
10+
11+
[*.proto]
12+
indent_style = space
13+
indent_size = 2

proto/event.proto

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,31 +3,31 @@ syntax = "proto3";
33
package blockdaemon.solana.accountsdb_plugin_kafka.types;
44

55
message UpdateAccountEvent {
6-
// The slot number when this update was emitted.
7-
uint64 slot = 1;
6+
// The slot number when this update was emitted.
7+
uint64 slot = 1;
88

9-
// The Pubkey for the account.
10-
bytes pubkey = 2;
9+
// The Pubkey for the account.
10+
bytes pubkey = 2;
1111

12-
// The lamports held by the account.
13-
uint64 lamports = 3;
12+
// The lamports held by the account.
13+
uint64 lamports = 3;
1414

15-
// The Pubkey of the owner program account.
16-
bytes owner = 4;
15+
// The Pubkey of the owner program account.
16+
bytes owner = 4;
1717

18-
// This account's data contains a loaded program.
19-
bool executable = 5;
18+
// This account's data contains a loaded program.
19+
bool executable = 5;
2020

21-
// The epoch at which this account will next owe rent.
22-
uint64 rent_epoch = 6;
21+
// The epoch at which this account will next owe rent.
22+
uint64 rent_epoch = 6;
2323

24-
// The data held in this account.
25-
bytes data = 7;
24+
// The data held in this account.
25+
bytes data = 7;
2626

2727
// A global monotonically increasing atomic number, which can be used
2828
// to tell the order of the account update. For example, when an
2929
// account is updated in the same slot multiple times, the update
3030
// with higher write_version should supersede the one with lower
3131
// write_version.
32-
uint64 write_version = 8;
32+
uint64 write_version = 8;
3333
}

0 commit comments

Comments
 (0)