-
Notifications
You must be signed in to change notification settings - Fork 207
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
snforge_std: remove RevertedTransaction
#1942
Conversation
83d922f
to
c5ee788
Compare
c5ee788
to
26783ad
Compare
efee655
to
48232bb
Compare
7ac9dc8
to
081f85a
Compare
26783ad
to
3ceef6d
Compare
3ceef6d
to
dcc018f
Compare
RevertedTransaction
RevertedTransaction
@@ -20,7 +27,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 | |||
#### Changed | |||
|
|||
- `read_txt` and `read_json` now supports `ByteArray` | |||
- `snforge_std::declare` returns `Result<ContractClass, RevertedTransaction>` instead of `ContractClass` |
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.
Why do we remove this?
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.
We shouldn't modify our past changelog :/
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.
Agree.
This hasn't been released though, see v0.21.0 CHANGELOG
Closes #1887
Introduced changes
RevertedTransaction
execute()
returnsSyscallResult<()>
declare()
returnsResult<ContractClass, Array<felt252>>
Checklist
CHANGELOG.md