feature: allow to do custom oracle machine query - #131
Open
krypdkat wants to merge 2 commits into
Open
Conversation
Franziska-Mueller
self-requested a review
September 3, 2026 12:06
| outStr[nDigits] = 0; | ||
| } | ||
|
|
||
| static void pubkeyFromSeed(const char* seed, uint8_t pubkey[32]) |
Contributor
There was a problem hiding this comment.
rather move this to key_utils.h ?
Contributor
Author
There was a problem hiding this comment.
@Franziska-Mueller Sorry, the last PR was AI generated to serve the main PR on core and OM, I forgot to put NoReview tag here.
The new commit is much cleaner, please review again.
Thank you.
| static const char ZERO_IDENTITY[] = | ||
| "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"; | ||
|
|
||
| static bool parseHexBytes(const char* hexIn, std::vector<uint8_t>& out) |
Contributor
There was a problem hiding this comment.
please check if you can use the existing functions in utils.h and otherwise add them there for reusability
| constexpr uint16_t ORACLE_QUORUM = 451; // NUMBER_OF_COMPUTORS quorum | ||
|
|
||
| // oracle_transactions.h: Transaction + {oracleInterfaceIndex, timeoutMilliseconds} + query | ||
| #pragma pack(push, 1) |
Contributor
There was a problem hiding this comment.
we have core as submodule in the cli. no need to copy structs if they are available in core.
krypdkat
force-pushed
the
feature/2026-08-22-oracle-machine-custom-fee
branch
from
September 4, 2026 07:11
8be6d18 to
aba3189
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds optional
[FEE]to-queryoracleand supports theEvmLogRead/QubicLogReadinterfaces from coredevelop.FEEis optional, default is the interface fee. Overpayment is refunded.EVM log:
chain_id,tx_hash,log_index(tx hash = 64 hex digits, no 0x)Qubic log:
tick,tx_hash,log_id(tx hash = 60-char id, log_id = global log id)Check result with
-getoraclequery user+ [TICK]or-getoraclequery [QUERY_ID].Core submodule bumped to
develop. No new files.