Skip to content

Commit 5aa8676

Browse files
authored
chore: In Amino, use ToLowerSnakeCase for Protobuf field names (gnolang#1213)
1 parent 81be5ac commit 5aa8676

File tree

24 files changed

+2059
-1699
lines changed

24 files changed

+2059
-1699
lines changed

gno.land/pkg/sdk/vm/vm.proto

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,17 @@ import "github.com/gnolang/gno/tm2/pkg/std/std.proto";
88

99
// messages
1010
message m_call {
11-
string Caller = 1;
12-
string Send = 2;
13-
string PkgPath = 3;
14-
string Func = 4;
15-
repeated string Args = 5;
11+
string caller = 1;
12+
string send = 2;
13+
string pkg_path = 3;
14+
string func = 4;
15+
repeated string args = 5;
1616
}
1717

1818
message m_addpkg {
19-
string Creator = 1;
20-
std.MemPackage Package = 2;
21-
string Deposit = 3;
19+
string creator = 1;
20+
std.MemPackage package = 2;
21+
string deposit = 3;
2222
}
2323

2424
message InvalidPkgPathError {
@@ -28,4 +28,4 @@ message InvalidStmtError {
2828
}
2929

3030
message InvalidExprError {
31-
}
31+
}

0 commit comments

Comments
 (0)