Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: implement an estimate gas method #192

Merged
merged 6 commits into from
Jan 13, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: update proto message
jinoosss committed Jan 11, 2025
commit 146de7137735a2ff7099931f9bd385d96253a214
19 changes: 19 additions & 0 deletions proto/tm2/abci.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
syntax = "proto3";

import "google/protobuf/any.proto";

package tm2.abci;

message ResponseDeliverTx {
ResponseBase response_base = 1 [json_name = "ResponseBase"];
sint64 gas_wanted = 2 [json_name = "GasWanted"];
sint64 gas_used = 3 [json_name = "GasUsed"];
}

message ResponseBase {
google.protobuf.Any error = 1 [json_name = "Error"];
bytes data = 2 [json_name = "Data"];
repeated google.protobuf.Any events = 3 [json_name = "Events"];
string log = 4 [json_name = "Log"];
string info = 5 [json_name = "Info"];
}
113 changes: 56 additions & 57 deletions src/proto/google/protobuf/any.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

347 changes: 347 additions & 0 deletions src/proto/tm2/abci.ts
235 changes: 111 additions & 124 deletions src/proto/tm2/tx.ts