Skip to content
#

smart-contract

Here are 658 public repositories matching this topic...

S11001001
S11001001 commented Jun 29, 2022

In Scala codegen, ContractId[T] = T.ContractId. However, in Java codegen, T.ContractId <: ContractId<T> but not vice versa, which means that (cidT: ContractId<T>).exerciseX(...) doesn't work, and ((T.ContractId) cidT) can fail too.

  • add a test illustrating this distinction for Java codegen using illTyped, and that a decoded-from-Value ContractId<T> may not even be `instanceof T
component/java-ecosystem good first issue team/app-runtime
bvavala
bvavala commented Sep 30, 2019

sgxcclib is used in the respective enclaves (in ecc_enclave and tlcc_enclave) with a common part in common/sgxcclib. A better name would probably include an fpc_ and/or an enclave prefix, and or a _t/_u to distinguish the trusted and untrusted functions -- though sgxcclib is used in untrusted space, essentially as an enclave wrapper.

enhancement good first issue documentation

Improve this page

Add a description, image, and links to the smart-contract topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the smart-contract topic, visit your repo's landing page and select "manage topics."

Learn more