-
Notifications
You must be signed in to change notification settings - Fork 428
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
A new world: Reimplementation of the off-chain environment #565
Labels
B-design
Designing a new component, interface or functionality.
B-research
Research task that has open questions that need to be resolved.
C-discussion
An issue for discussion for a given topic.
E-open-questions
The issue has open questions that are blocking its progress.
Comments
Robbepop
added
B-design
Designing a new component, interface or functionality.
B-research
Research task that has open questions that need to be resolved.
C-discussion
An issue for discussion for a given topic.
E-open-questions
The issue has open questions that are blocking its progress.
labels
Nov 3, 2020
Link ink_env to the new off-chain environment. |
4 tasks
Off-chain RedesignProblems With Old Design
Requirements
|
11 tasks
This was referenced May 10, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
B-design
Designing a new component, interface or functionality.
B-research
Research task that has open questions that need to be resolved.
C-discussion
An issue for discussion for a given topic.
E-open-questions
The issue has open questions that are blocking its progress.
To make it short and precise: Our off-chain environment is not more than a first attempt to get off-chain testing for smart contracts.
Its design and implementation has never been really good but also it was not strictly required for its purposes back then - the main goal was for it to be kind of working which it did.
However, times have changed and we definitely are in need of some heavily polished implementation of an off-chain environment.
The main problems of our current off-chain environment are stemming from the fact that it is not at all close to simulate what the on-chain environment (a.k.a. the real thing) does. Instead it tries to be practical and combines certain entities if that's what made its implementation simpler.
The plan for this go to forward is the following:
ink_env
. Instead we want to move out the implementation of such a new off-chain environment into its own crate, maybe even a crate that does no longer live inside the ink! repository so that it can be reused for other Rust based contract eDSLs?ink_env
to the new off-chain environment.ink_env
) that requires proper interfaces towards the off-chain environment. So the test API needs to be a proper part of the overall interface.event_must_have_unique_topics
test inunique_topics.rs
. This test had to be disabled since Feature that affects dev dependencies can't be enabled rust-lang/cargo#6915 currently prevents crates from activating features in dev-dependencies of child crates.The text was updated successfully, but these errors were encountered: