convex icon indicating copy to clipboard operation
convex copied to clipboard

Convex Main Repository - Decentralised platform for the Internet of Value

Results 152 convex issues
Sort by recently updated
recently updated
newest added

(Follow up after exposing the issue on Discord) Enabling the static compilation of core symbols has resulted in many weird failures in my CVX code. This is because it essentially...

help wanted
question
security
performance

It is not a bug per se, rather behavior that may seem unexpected. ```clojure (def foo ^{:a :b} 42) (lookup-meta 'foo) ;; {:a :b} (def foo 24) (lookup-meta 'foo) ;;...

enhancement
question

It seems that there is an error when calculating the funds required for buying memory using the API. As my experience with the API is still quite small, I am...

Convex-Dev/design/tree/main/cad/007_juice explains how to calculate the juice fees from juice price, which can be found with *juice-price* However, *juice-price* isn't declared

Akin to for loops found in many C-like languages, the following is experimentally supported: ```clojure (for-loop [i 0 (< i 10) (inc i)] (do-something i)) ``` I get the intent,...

question

There is an error which I guess comes from argument compilation. However, I don't know how the reader and parser work, so I can only show how to reproduce the...

question

When working with doubles, convex distinguishes 0.0 and -0.0 We can see it here: ![0_and_0](https://user-images.githubusercontent.com/47215589/182276315-0c98f626-b6c1-4891-9b30-762490ddbc42.jpg) This issue raises other issues in other functions, such as here: ![Capture_decran_2022-08-01_115705](https://user-images.githubusercontent.com/47215589/182276412-2599ec6a-b9fd-4363-9a57-731dd6768f59.jpg)

question

The behavior of `accept` changes, depending of wether you are calling it from an ordinary callable function or from `receive-coin`. When calling `accept` from an ordinary function, if the tip...

`compile` doesn't compile properly functions when they are called As a result, the code can't be run or `eval` Here is an exemple: ![Capture d’écran 2022-08-03 144803](https://user-images.githubusercontent.com/47215589/182542533-1c902b40-2ea5-4ece-ac5d-309c501a1e9b.jpg)

question

Found in gen tests: ```clojure (slice (list 1 2) 1) ``` ``` FATAL: java.lang.IndexOutOfBoundsException: Negative start: -1 at convex.core.data.ASequence.checkRange(ASequence.java:183) at convex.core.data.VectorLeaf.subVector(VectorLeaf.java:684) at convex.core.data.AVector.slice(AVector.java:238) at convex.core.data.List.slice(List.java:337) at convex.core.data.List.slice(List.java:27) at convex.core.lang.Core$106.invoke(Core.java:2078) at...

bug