Skip to content

Commit 9d6f08f

Browse files
fix: fix a order of columns in proto (#178)
* fix: fix a order of columns in proto * Custom handle args, so it's Amino compatible --------- Co-authored-by: Miloš Živković <milos.zivkovic@tendermint.com>
1 parent 21cfea9 commit 9d6f08f

File tree

2 files changed

+48
-48
lines changed

2 files changed

+48
-48
lines changed

proto/gno/vm.proto

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ message MsgCall {
1111
string caller = 1;
1212
// the amount of funds to be deposited to the package, if any ("<amount><denomination>")
1313
string send = 2;
14+
// the amount of funds to lock for the storage, if any ("<amount><denomination>")
15+
string max_deposit = 3;
1416
// the gno package path
15-
string pkg_path = 3;
17+
string pkg_path = 4;
1618
// the function name being invoked
17-
string func = 4;
19+
string func = 5;
1820
// the function arguments
19-
repeated string args = 5; // null | string[]
20-
// the amount of funds to lock for the storage, if any ("<amount><denomination>")
21-
string max_deposit = 6;
21+
repeated string args = 6; // null | string[]
2222
}
2323

2424
// MsgAddPackage is the package deployment tx message,
@@ -41,10 +41,10 @@ message MsgRun {
4141
string caller = 1;
4242
// the amount of funds to be deposited to the package, if any ("<amount><denomination>")
4343
string send = 2;
44-
// the package being executed
45-
MemPackage package = 3;
4644
// the amount of funds to put down for the storage fee, if any ("<amount><denomination>")
47-
string max_deposit = 4;
45+
string max_deposit = 3;
46+
// the package being executed
47+
MemPackage package = 4;
4848
}
4949

5050
// MemPackage is the metadata information tied to

src/proto/gno/vm.ts

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

0 commit comments

Comments
 (0)