Skip to content

Commit

Permalink
chore: unindex query ids on IWitnetOracleEvents
Browse files Browse the repository at this point in the history
  • Loading branch information
guidiaz committed Mar 19, 2024
1 parent 703351a commit 93eaeb1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions contracts/interfaces/IWitnetOracleEvents.sol
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ interface IWitnetOracleEvents {

/// Emitted every time a new query containing some verified data request is posted to the WRB.
event WitnetQuery(
uint256 indexed id,
uint256 id,
uint256 evmReward,
WitnetV2.RadonSLA witnetSLA
);
Expand All @@ -20,14 +20,14 @@ interface IWitnetOracleEvents {

/// Emitted when a query with a callback gets successfully reported into the WRB.
event WitnetQueryResponseDelivered(
uint256 indexed id,
uint256 id,
uint256 evmGasPrice,
uint256 evmCallbackGas
);

/// Emitted when a query with a callback cannot get reported into the WRB.
event WitnetQueryResponseDeliveryFailed(
uint256 indexed id,
uint256 id,
bytes resultCborBytes,
uint256 evmGasPrice,
uint256 evmCallbackActualGas,
Expand All @@ -36,7 +36,7 @@ interface IWitnetOracleEvents {

/// Emitted when the reward of some not-yet reported query is upgraded.
event WitnetQueryRewardUpgraded(
uint256 indexed id,
uint256 id,
uint256 evmReward
);

Expand Down
2 changes: 1 addition & 1 deletion migrations/addresses.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"WitnetEncodingLib": "0xf321bcD29CFc6134c9Bf42F759f428F3A6010919",
"WitnetPriceFeedsLib": "0x85aa4A0fDa112c47d4216448EE4D49Afd072675e",
"WitnetOracleDataLib": "0xe4e7c3cfc60c10190c74316c3E7711e59B7a7B7a",
"WitnetOracleTrustableOvm2": "0xE628af2Fd6fcfA1c048697f37061C033F21301F0",
"WitnetOracleTrustableOvm2": "",
"WitnetPriceFeedsDefault": "0x73912b1E13C67485D6d38Ef4F2B750C67FD99DA9",
"WitnetRandomnessV2": "0xD527ac743576A6c9fe9AeDD6dd891a6A1D337eEc",
"WitnetRequestBytecodesDefault": "0x65fB7A0C98719e967546317222dfF90A73C42296",
Expand Down

0 comments on commit 93eaeb1

Please sign in to comment.