Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

eDSL: Wishes #6

Closed
Robbepop opened this issue Dec 21, 2018 · 1 comment
Closed

eDSL: Wishes #6

Robbepop opened this issue Dec 21, 2018 · 1 comment
Labels
A-eDSL Concerning the Rust eDSL as a total. C-discussion An issue for discussion for a given topic.

Comments

@Robbepop
Copy link
Collaborator

Robbepop commented Dec 21, 2018

Wishes for the upcoming eDSL

This issue tracks a list of all the wishes for the upcoming Rust eDSL for smart contracts.

Capital Importance

  • Deterministic execution and free of endless loops, e.g. using gas.
  • A standard contract library as in EOS.
  • Linking of external contracts (libraries) statically and dynamically.
    • Important: No serialization overhead between external contract calls!
  • Reusability, modularity and encapsulation of code, e.g. as enabled via inheritance or better.
  • Efficient built-in cryptographic functions
    • Example: RSA signature verification in Wasm ~0.15s is a lot slower compared to native routine.

Important

  • Pure contract routines that guarantee to not modify storage.
  • Ability to reason about gas cost and performance of smart contract routines.
  • Flexible account system featuring human-readable names.
  • Receive full trace of a contract execution.
    • During a "debug mode"
  • Off-chain environment for contract execution emulation.

Useful

  • Consensus mechanisms for common time of execution.
  • A counterpart for the create2 EVM instruction
    • Rational: "... to fight front running and to have state channels (like counterfactual)"
  • Solidity decorators for functions and methods
  • Solidity decorators for storage variables (fields)
    - Example: @observable for automatically storing and getting from storage
@Robbepop Robbepop added C-discussion An issue for discussion for a given topic. A-eDSL Concerning the Rust eDSL as a total. labels Dec 21, 2018
@Robbepop
Copy link
Collaborator Author

Robbepop commented Oct 1, 2019

Closing this as a means to archive this topic.

@Robbepop Robbepop closed this as completed Oct 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-eDSL Concerning the Rust eDSL as a total. C-discussion An issue for discussion for a given topic.
Projects
None yet
Development

No branches or pull requests

1 participant