Skip to content

Commit 84c763b

Browse files
authored
Merge pull request #126 from bandprotocol/nathachai/change-request-search-proto
Change calldata of QueryRequestSearchRequest to use hex format instead
2 parents f95414e + 0058a33 commit 84c763b

File tree

2 files changed

+109
-109
lines changed

2 files changed

+109
-109
lines changed

proto/oracle/v1/query.proto

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,8 +228,9 @@ message QueryActiveValidatorsResponse {
228228
message QueryRequestSearchRequest {
229229
// OracleScriptID is ID of an oracle script
230230
int64 oracle_script_id = 1;
231-
// Calldata is OBI-encoded data as argument params for the oracle script
232-
bytes calldata = 2;
231+
// Calldata is OBI-encoded data in hex format as argument params for the
232+
// oracle script
233+
string calldata = 2;
233234
// AskCount is number of validators allowed for fulfilling the request
234235
uint64 ask_count = 3;
235236
// MinCount is number of validators required for fulfilling the request

0 commit comments

Comments
 (0)