-
Notifications
You must be signed in to change notification settings - Fork 2
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
Adding the collection contract and testing frameworks for this #3
Conversation
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.
Please use finschia/tutorial to build docker, it is no need to maintenance start.sh, run_finschia.sh, setup.sh in this repo.
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.
This PR appears to only test 4 WebAssembly files. Do you plan to test all other WebAssembly files in this PR?
Co-authored-by: TAKASE Ryo <[email protected]>
Co-authored-by: TAKASE Ryo <[email protected]>
This time only collection.wasm will be tested. Delete *.wasm that is not used for testing. |
Co-authored-by: TAKASE Ryo <[email protected]>
Co-authored-by: TAKASE Ryo <[email protected]>
Co-authored-by: TAKASE Ryo <[email protected]>
Co-authored-by: TAKASE Ryo <[email protected]>
Co-authored-by: TAKASE Ryo <[email protected]>
Co-authored-by: TAKASE Ryo <[email protected]>
Co-authored-by: TAKASE Ryo <[email protected]>
Co-authored-by: TAKASE Ryo <[email protected]>
Co-authored-by: TAKASE Ryo <[email protected]>
missing upload
Please note the reason for using the collection contract in the description. |
Prevent startup if temporary folder is not set
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.
Rename "scripts/set_config_and_start_docker.sh" and "scripts/integration_test_contracts.sh" to show each does an integration test for the collection contract.
Co-authored-by: TAKASE Ryo <[email protected]>
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.
sorry for causing error
Co-authored-by: TAKASE Ryo <[email protected]>
I deleted scripts/set_config_and_start_docker.sh. This is unnecessary. |
Overview
This PR adds the following features:
submessage
can be sentThis test is intended to be used in a CI environment.
However, it can be used in a local environment if you follow the instructions in operation.
flame work for testing contracts
config and start the finschia-app docker used for testing.
To organize the environment for this test, the osmosis script under scripts/ has been deleted.
contracts for testing
wasm tx
of contractSince stargate query does not yet be supported, we will not test it this time.
ref:
#2
examples/contracts/collection contract
A collection contract is Finschia's unique contract. Therefore, I am listing them as an example. Contracts need to be added if necessary.
tips:
Operation
Generate the wasm file by this command.
At first.
Generate *.wasm files.
App start:
related issue
The following issue was detected during contract testing.
#4