Skip to content

Commit

Permalink
Fix sample-pregenesis and proto-format
Browse files Browse the repository at this point in the history
  • Loading branch information
teddyding committed Aug 13, 2024
1 parent 9276b96 commit e3331b3
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
9 changes: 6 additions & 3 deletions proto/dydxprotocol/clob/query.proto
Original file line number Diff line number Diff line change
Expand Up @@ -300,11 +300,14 @@ message StreamTakerOrderStatus {
uint64 optimistically_filled_quantums = 3;
}

// QueryPerpetualClobDetails is a response message that contains the perpetual clob details.
// QueryPerpetualClobDetails is a response message that contains the perpetual
// clob details.
message QueryPerpetualClobDetails {
ClobPair clob_pair = 1 [ (gogoproto.nullable) = false ];
dydxprotocol.perpetuals.Perpetual perpetual = 2 [ (gogoproto.nullable) = false ];
dydxprotocol.perpetuals.Perpetual perpetual = 2
[ (gogoproto.nullable) = false ];
}

// QueryGetPerpetualClobDetailsRequest is request type to get the perpetual clob details.
// QueryGetPerpetualClobDetailsRequest is request type to get the perpetual clob
// details.
message QueryGetPerpetualClobDetailsRequest { uint32 id = 1; }
9 changes: 7 additions & 2 deletions protocol/scripts/genesis/sample_pregenesis.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"app_hash": null,
"app_name": "dydxprotocold",
"app_state": {
"assets": {
Expand Down Expand Up @@ -520,6 +521,7 @@
}
}
},
"consensus": null,
"crisis": {
"constant_fee": {
"amount": "1000000000000000000",
Expand Down Expand Up @@ -757,6 +759,7 @@
},
"gov": {
"constitution": "",
"deposit_params": null,
"deposits": [],
"params": {
"burn_proposal_deposit_prevote": false,
Expand Down Expand Up @@ -788,7 +791,9 @@
},
"proposals": [],
"starting_proposal_id": "1",
"votes": []
"tally_params": null,
"votes": [],
"voting_params": null
},
"govplus": {},
"ibc": {
Expand Down Expand Up @@ -3939,7 +3944,7 @@
"sequences": []
}
},
"app_version": "5.0.0-dev0-404-gf14f3950",
"app_version": "5.2.1-16-g9276b964",
"chain_id": "dydx-sample-1",
"consensus": {
"params": {
Expand Down

0 comments on commit e3331b3

Please sign in to comment.