Comments (3)
Hey,
Thoth supports Cairo bytecode (casm) directly and is not affected by Cairo language modification.
It's also supporting Sierra files now so if you compile Cairo 1.0 contract you can provide the sierra file to Thoth instead of the JSON artifact.
You're welcome ;)
from thoth.
- I tried to run
thoth-sierra -f ./target/dev/hello_starknet.sierra -d
- the sierra file is compiled from a cairo starknet contract file
- But face the error
./target/dev/hello_starknet.sierra is not a valid sierra file
.
When run thoth-sierra
with a normal
cairo program then it worked.
Any idea how to fix it?
Thank you
from thoth.
Thanks for the feedback!
It seems that it was due to a bug in the parser, the file hello_starknet.sierra
has been added to the test files here and you can now decompile and analyse it without errors.
from thoth.
Related Issues (20)
- Thoth as github actions HOT 3
- Unsupported instruction while trying to print the call graph HOT 1
- bug: local variable 'integer_value' referenced before assignment HOT 3
- Solver does not report anything... HOT 11
- Sym exec returns solutions when tx should revert HOT 2
- Sym exec instructions in README are not clear HOT 3
- VS code plugin for thoth
- Sym exec seems not to run in called functions HOT 1
- Add inequalities and variables comparisons for the symbolic execution
- Layer2 support. HOT 1
- New format for JSON Artifacts with Cairo 1.0
- decompile and disassemble failed HOT 1
- How can I disassemble Sierra bytecode? HOT 1
- SSA with wrong variables
- symbolic_bounded_model_checker_sierra passed in an example expected to fail
- fails with casm for 2.1.0 compiler with `IndexError: list index out of range`
- fails with sierra for 2.1.0 compiler with `NotImplementedError`
- How to get valid Cairo2 json file HOT 4
- AssertionError: Unsupported instruction HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from thoth.