Open
Conversation
Soroban/hello_world/README.md
Outdated
| ``` | ||
|
|
||
| **Key Difference:** | ||
| - **Old Format:** Requires manual specification of the `.wasm` file. |
Contributor
There was a problem hiding this comment.
Manual compilation as well.
Comment on lines
+95
to
+103
| ## Building the Project | ||
|
|
||
| The `certora_build.py` script compiles the contract and prepares it for verification: | ||
| ```bash | ||
| python3 certora_build.py | ||
| ``` | ||
|
|
||
| This ensures the `soroban_hello_world_contract.wasm` file is up-to-date and properly configured. | ||
| And must be used when running the old format configuration but is not required for the new format. |
Contributor
There was a problem hiding this comment.
Please add more details regarding the contract established in the build script.
Its inputs, outputs and requirements.
Contributor
Author
There was a problem hiding this comment.
What is the contract? i am not familiar with it
Contributor
Author
There was a problem hiding this comment.
The inputs and outputs?
yoav-el-certora
requested changes
Dec 22, 2024
Contributor
yoav-el-certora
left a comment
There was a problem hiding this comment.
Lets make this PR as draft until we get final decision regarding rust projects examples.
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.
Summary of Changes
This PR introduces the Soroban Hello World Contract Example to demonstrate the use of Certora's Prover with Soroban smart contracts. Key changes include:
New Project Files:
lib.rsandtest.rsto define and test a basichellofunction.soroban_hello_world_contract.wasmfile.hello_world_old_format.conf(manual.wasmfile specification).hello_world_new_fromat.conf(dynamic build usingcertora_build.py).certora_build.pyfor compiling the project dynamically.Justfile:
justfilewith commands for building, converting, and cleaning the project.Cargo Files:
Cargo.tomlandCargo.lockto manage dependencies and project settings.README.md:
.gitignore:
**/target/directory.