-
Notifications
You must be signed in to change notification settings - Fork 276
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
[ci] #4151: Enhance the test environment by automatically generating WASM files for the smartcontracts to be tested #4187
[ci] #4151: Enhance the test environment by automatically generating WASM files for the smartcontracts to be tested #4187
Conversation
Please only add relevant commits |
746b3a3
to
395591a
Compare
d0777ac
to
69b22b0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was thinking about should we make smartcontract build optional?
@Erigara We can add argument |
69b22b0
to
08b473f
Compare
I suggested to make this optional is the fact that this functionality is only necessary to run python integration tests. |
fbeccc4
to
9442a50
Compare
I don't think we should put the test smart contract build into |
Do you think it is better to add it in the CI process? or not to do it at all? |
@Asem-Abdelhady, the Iroha-java team is already created script for autogenerating WASMs, I think you may just reuse it. |
@Stukalov-A-M, IMO both scripts are quite small and trivial, and it doesn't seem like there is something to reuse really. |
i agree |
f8bd4b9
to
337bed1
Compare
337bed1
to
d71aeaf
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
e26f7f0
a1738d9
to
60b4f30
Compare
Signed-off-by: Asem-Abdelhady <[email protected]>
Signed-off-by: Asem-Abdelhady <[email protected]>
Signed-off-by: Asem-Abdelhady <[email protected]>
60b4f30
to
7d0fa0a
Compare
…cally generating WASM files for the smartcontracts to be tested (hyperledger-iroha#4187) [add] generate_wasm.sh to generate WASM files of the smart contracts Signed-off-by: Asem-Abdelhady <[email protected]> --------- Signed-off-by: Asem-Abdelhady <[email protected]>
Description
I made a shell script to create test-smartcontracts directory and build the WASM files in that directory
Linked issue
Closes #4151
Benefits
No need to manually generate the WASM files.
Checklist
CONTRIBUTING.md