Forge
Added
generate_random_felt()
for generating (pseudo) random felt value.- Printing information about compiling Sierra using
universal-sierra-compiler
- Displaying backtrace when contract call fails
Changed
- Tests config run is now executed in parallel resulting in faster
snforge test
setup in some cases
Cast
Added
- You can skip
--name
flag when usingaccount import
- a default name will be generated. - Addresses outputted when calling
sncast account create
,sncast deploy
andsncast declare
are now padded to 64 characters length and prefixed with0x0
- Globally available configuration to store profiles to share between projects.
Changed
- Changed return type of
declare
in Cairo Deployment Scripts so it can handle already declared contracts without failing - Allow using
show-config
command without providing rpc url