NEWTON
Asked
4 months ago
10
views
0
Another vanilla Cairo question, what are the sorts of references, i.e. ids that can be modified by hints? relatively important to work against an evil prover
presumably not locals or tempvars, but say, implicit references, or the two(?) kinds of let statements (expressions and references)
maybe if there's some documentation i don't know about re: all the id types, relocatable values and so on,
also maybe, is there a pattern that can be used for function pointers?
Newton
asked
4 months ago
0
cairo has function pointers, you can find an example here https://github.com/cartridge-gg/cairo-base64/blob/main/src/base64.cairo on line 58
answered
4 months ago
Cairo Lang / StarkNet: What are Revoked references? What is alloc_locals?
How do I develop against cairo devnet with browser wallets?
How to use get_fp_and_pc in Cairo Lang?
Can anyone point me to Pedersen, Rescue references? StarkNet / Cairo Lang
How to use Hints in Cairo Lang?
What is SHARP in Cairo Language?
What is the difference between tempvar/let in Cairo Lang? How to use allow_locals and local?
Which is this extension that shows you errors before compilation ser?
A TypeError while unpacking nested tuples into felts
Cairo: How can i approve erc20 and transfer in the same transaction?
Cairo: Where/how is it defined and why is it much smaller than the field prime?
Cairo: How do I initialize an array in cairo
Is there any simple way to concat two arrays with known sizes in Cairo?
Can I transpile any solidity version?