-
Notifications
You must be signed in to change notification settings - Fork 244
Integrate oracles result handling #3850
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
Open
cptartur
wants to merge
1
commit into
spr/master/30d7f8cd
Choose a base branch
from
spr/master/17bfed5d
base: spr/master/30d7f8cd
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
+11
−2
Conversation
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
This was referenced Oct 22, 2025
Open
piotmag769
reviewed
Oct 22, 2025
crates/cheatnet/src/runtime_extensions/forge_runtime_extension/mod.rs
Outdated
Show resolved
Hide resolved
20301a1 to
739b6a0
Compare
5be308b to
2fb1cab
Compare
Open
piotmag769
reviewed
Oct 24, 2025
2fb1cab to
5f1378b
Compare
739b6a0 to
5d0a998
Compare
This was referenced Nov 7, 2025
5d0a998 to
b951f65
Compare
5f1378b to
61e2887
Compare
b951f65 to
90f3cb8
Compare
b6dbc2c to
7a5f8b2
Compare
90f3cb8 to
6f0e601
Compare
5ab7232 to
a18b3d3
Compare
commit-id:17bfed5d
a18b3d3 to
11220f2
Compare
45efdc4 to
a2eeb0b
Compare
franciszekjob
approved these changes
Dec 2, 2025
ksew1
approved these changes
Dec 2, 2025
| let deserialized: Result<SerializedValue<Felt>, ByteArray> = reader.read()?; | ||
| let converted = deserialized | ||
| .map_err(|error| EnhancedHintError::OracleError { error }) | ||
| .map(|r| r.serialize_to_vec()); |
Member
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit:
Suggested change
| .map(|r| r.serialize_to_vec()); | |
| .map(|r| r.serialize_to_vec())?; |
| .map_err(|error| EnhancedHintError::OracleError { error }) | ||
| .map(|r| r.serialize_to_vec()); | ||
|
|
||
| return Ok(CheatcodeHandlingResult::Handled(converted?)); |
Member
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggested change
| return Ok(CheatcodeHandlingResult::Handled(converted?)); | |
| return Ok(CheatcodeHandlingResult::Handled(converted)); |
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.
Stack:
RawFeltVec#3849