NEWTON
Asked
6 months ago
15
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
6 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
6 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?
Is anyone experiencing slowness on goerli StarkNet?
Error compiling Pathfinder (rust)
Can I transpile any solidity version?
Is uint256 math operators like uint256_le safe? Why do I need to use uint256_check?
Why am I having trouble deploying my Cairo contract?
Are there rewards for running a Pathfinder node?
Do I need to learn cairo to develop on starknet?