aptos move prover - proving Object<T>(addr) exists_at<T>(addr) after move_to(addr, T{...}) #346
-
Discord user IDmoonshiesty Describe your question in detail.currently it looks like its not possible to specify that an the issue im facing is i have a function that creates and returns an
i can't prove that the function doesn't abort with
since converting the address to object require that the type since it looks the native impl of
why does aptos need a native i tried to add that line to
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
i can get this example to work if i add the following incorrect spec:
when function would abort at runtime if the object that it creates already |
Beta Was this translation helpful? Give feedback.
-
Hi @MoonShiesty, object is not well supported by the prover currently. More specifically, we cannot specify like you suggested:
We have an issue to track this: aptos-labs/aptos-core#6658 and will hopefully fix this in the near future. |
Beta Was this translation helpful? Give feedback.
Hi @MoonShiesty, object is not well supported by the prover currently. More specifically, we cannot specify like you suggested:
We have an issue to track this: aptos-labs/aptos-core#6658 and will hopefully fix this in the near future.