-
Notifications
You must be signed in to change notification settings - Fork 443
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implemented contract instantiation and invocation for integration tes…
…ts (#1988) * Implementing stuff needed for instantiate_contract(). * Implemented return_value() on integration tests. # Conflicts: # crates/env/src/lib.rs # crates/env/src/reflect/event.rs # crates/ink/codegen/Cargo.toml * A couple fixes for E2E environment. * Forgot to delete some fluff. * Fixed dead code warnings. * Added tests. * Fixed-up tomls. * Updated stderr test files. * Updated CHANGELOG. * Passed through rustfmt. * Passed through clippy. * Passed through rustfmt again. * Fixed failing contract builds. Moved reflection, contract, arithmetic, and miscellaneous types from ink_env to ink_primitives. * Revert "Updated stderr test files." This reverts commit 2d1950a. * Fixed format errors. * Fixed failing test. * Updated stderr test values. * Fixed some dependencies for doc tests. * Fixed rustfmt issues. * Implemented code_hash() and set_code_hash(). * Minor behavior correction for instantiate_contract(). * Tentative invoke_contract() implementation. * Added invoke_contract_delegate() skeleton. * Obviated unsafe block. * own_code_hash implementation * Add own-code-hash integration test * Remove unused use. * Added some missing semantics. * Passed through rustfmt. * Passed through clippy. * Fixed own_code_hash test. * Tightening up code. * Improved contract invokation tests. Fixed some things. * Added tests. * Removed unused type parameter. * Updated changelog. * Fixed clippy errors. * Reapplied changes from PR 1988. * Tests passing. * cargo clippy --------- Co-authored-by: Brian Ramirez <[email protected]>
- Loading branch information
1 parent
474553b
commit c7de4c2
Showing
61 changed files
with
1,671 additions
and
296 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.