tserg

Results 38 issues of tserg

Partial fix for #1271 ## Introduced changes Set the default `cairo_version` to 1 since Cairo 1 contracts are now the default. Otherwise, initializing a Cairo 1 contract without setting `cairo_version=1`...

### Which component is your feature related to? Cast ### Feature Request Currently, trying to `declare(..)` an already declared contract where the declare transaction is not in the state file...

Team: sncast
new

### What I did Fix #4001 ### How I did it - Check if reduced value is a literal list in `visit_Subscript` in local visitor - Special handling for folding...

### Version Information * vyper Version (output of `vyper --version`): a0d9b1ff0206c7916bce7987164dbdb69f460c47 * OS: linux * Python Version (output of `python --version`): 3.12.3 ### What's your issue about? The following contracts...

bug - type 0

### Version Information * vyper Version (output of `vyper --version`): https://github.com/vyperlang/vyper/commit/9e3b9a2b8ae55aa83b5450080f750be15f819de7 * OS: linux * Python Version (output of `python --version`): 3.10.4 ### What's your issue about? When compiling a...

This PR implements the `sqrt` function for `Ray` originally set out [here](https://github.com/lindy-labs/opus_contracts/blob/5808049618f9c53e0747969ac6e2c7104b6d47b3/src/utils/math.cairo#L9). Should we implement `Sqrt` trait for `Wad` too?

This PR relaxes the crate visibility for members of the custom type structs, as they may need to be accessed directly by users downstream.

### What I did This PR consolidates the pre-parsing process into a new PreParser object. ### How I did it ### How to verify it ### Commit message Commit message...