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

[feature] #2099: Add WASM integration test based on Orillion use-case #2122

Merged
merged 23 commits into from Apr 22, 2022

Conversation

Arjentix
Copy link
Contributor

Description of the Change

  • Added Rust smartcontract which is builded to Web Assembly by a build script
  • Added integration test which uses the smartcontract
  • Fixed some bugs in wasm module
  • Added debug-wasm feature which provides tools for printing objects from smartcontract

Issue

Benefits

  • One more test-example for Orillion devs
  • First WASM integration test
  • Fixed and improved wasm module

Possible Drawbacks

Build script is running every time something in the main directory was changed. There no way to run it only for tests

@Arjentix Arjentix added iroha2-dev The re-implementation of a BFT hyperledger in RUST Tests labels Apr 19, 2022
Copy link
Contributor

@mversic mversic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

great, just what was need

Dockerfile Outdated Show resolved Hide resolved
wasm/src/lib.rs Outdated Show resolved Hide resolved
data_model/src/role.rs Outdated Show resolved Hide resolved
core/src/sumeragi/fault.rs Show resolved Hide resolved
client/build.rs Outdated Show resolved Hide resolved
client/build.rs Show resolved Hide resolved
wasm/src/debug.rs Show resolved Hide resolved
wasm/Cargo.toml Outdated Show resolved Hide resolved
core/Cargo.toml Outdated Show resolved Hide resolved
mversic
mversic previously approved these changes Apr 20, 2022
client/Cargo.toml Outdated Show resolved Hide resolved
Signed-off-by: Daniil Polyakov <arjentix@gmail.com>
Signed-off-by: Daniil Polyakov <arjentix@gmail.com>
Signed-off-by: Daniil Polyakov <arjentix@gmail.com>
Signed-off-by: Daniil Polyakov <arjentix@gmail.com>
Signed-off-by: Daniil Polyakov <arjentix@gmail.com>
Signed-off-by: Daniil Polyakov <arjentix@gmail.com>
Signed-off-by: Daniil Polyakov <arjentix@gmail.com>
Signed-off-by: Daniil Polyakov <arjentix@gmail.com>
Signed-off-by: Daniil Polyakov <arjentix@gmail.com>
Signed-off-by: Daniil Polyakov <arjentix@gmail.com>
Signed-off-by: Daniil Polyakov <arjentix@gmail.com>
Signed-off-by: Daniil Polyakov <arjentix@gmail.com>
Signed-off-by: Daniil Polyakov <arjentix@gmail.com>
Signed-off-by: Daniil Polyakov <arjentix@gmail.com>
This reverts commit d997382.

Signed-off-by: Daniil Polyakov <arjentix@gmail.com>
Signed-off-by: Daniil Polyakov <arjentix@gmail.com>
Signed-off-by: Daniil Polyakov <arjentix@gmail.com>
Signed-off-by: Daniil Polyakov <arjentix@gmail.com>
Signed-off-by: Daniil Polyakov <arjentix@gmail.com>
Signed-off-by: Daniil Polyakov <arjentix@gmail.com>
Signed-off-by: Daniil Polyakov <arjentix@gmail.com>
Signed-off-by: Daniil Polyakov <arjentix@gmail.com>
Signed-off-by: Daniil Polyakov <arjentix@gmail.com>
@mversic mversic requested review from mversic and s8sato April 22, 2022 11:02
@Arjentix Arjentix merged commit e10a3e8 into hyperledger:iroha2-dev Apr 22, 2022
@Arjentix Arjentix deleted the wasm_orillion_test branch April 22, 2022 19:07
mversic pushed a commit to mversic/iroha that referenced this pull request May 2, 2022
…on use-case (hyperledger#2122)

Signed-off-by: Daniil Polyakov <arjentix@gmail.com>
appetrosyan pushed a commit to appetrosyan/iroha that referenced this pull request May 4, 2022
…on use-case (hyperledger#2122)

Signed-off-by: Daniil Polyakov <arjentix@gmail.com>
appetrosyan pushed a commit to appetrosyan/iroha that referenced this pull request May 12, 2022
…on use-case (hyperledger#2122)

Signed-off-by: Daniil Polyakov <arjentix@gmail.com>
appetrosyan pushed a commit to appetrosyan/iroha that referenced this pull request May 12, 2022
…on use-case (hyperledger#2122)

Signed-off-by: Daniil Polyakov <arjentix@gmail.com>
appetrosyan pushed a commit to appetrosyan/iroha that referenced this pull request May 12, 2022
…on use-case (hyperledger#2122)

Signed-off-by: Daniil Polyakov <arjentix@gmail.com>
appetrosyan pushed a commit to appetrosyan/iroha that referenced this pull request May 12, 2022
…on use-case (hyperledger#2122)

Signed-off-by: Daniil Polyakov <arjentix@gmail.com>
appetrosyan pushed a commit to appetrosyan/iroha that referenced this pull request May 12, 2022
…on use-case (hyperledger#2122)

Signed-off-by: Daniil Polyakov <arjentix@gmail.com>
appetrosyan pushed a commit to appetrosyan/iroha that referenced this pull request May 12, 2022
…on use-case (hyperledger#2122)

Signed-off-by: Daniil Polyakov <arjentix@gmail.com>
appetrosyan pushed a commit to appetrosyan/iroha that referenced this pull request May 12, 2022
…on use-case (hyperledger#2122)

Signed-off-by: Daniil Polyakov <arjentix@gmail.com>
mversic pushed a commit to mversic/iroha that referenced this pull request May 13, 2022
…on use-case (hyperledger#2122)

Signed-off-by: Daniil Polyakov <arjentix@gmail.com>
mversic pushed a commit to mversic/iroha that referenced this pull request May 13, 2022
…on use-case (hyperledger#2122)

Signed-off-by: Daniil Polyakov <arjentix@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
iroha2-dev The re-implementation of a BFT hyperledger in RUST Tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants