Closed
Conversation
This will be an information set when the host will handle discoverability data.
Conflicts: Cargo.lock executor/wasm_common/Cargo.toml executor/wasm_common/src/keyspace.rs executor/wasm_host/src/host.rs executor/wasmer_backend/src/lib.rs smart_contracts/contracts/vm2/vm2-system-caller/build.rs smart_contracts/macros/src/lib.rs smart_contracts/sdk/src/casper.rs smart_contracts/sdk/src/casper/native.rs smart_contracts/sdk/src/collections/vector.rs smart_contracts/sdk/src/schema.rs smart_contracts/sdk_codegen/src/lib.rs
Relevant necessary information is taken from schema, and a bundle binary is composed that contains only the necessary information for on-chain discovery.
Conflicts: Cargo.lock Cargo.toml executor/wasm/Cargo.toml executor/wasm/src/install.rs executor/wasm/src/lib.rs executor/wasm/tests/integration.rs executor/wasm_host/src/host.rs executor/wasm_interface/src/lib.rs executor/wasmer_backend/src/imports.rs executor/wasmer_backend/src/lib.rs smart_contracts/contracts/vm2/vm2-cep18/Cargo.toml smart_contracts/contracts/vm2/vm2-cep18/build.rs smart_contracts/contracts/vm2/vm2-cep18/src/lib.rs smart_contracts/contracts/vm2/vm2-escrow/Cargo.toml smart_contracts/contracts/vm2/vm2-faucet/Cargo.toml smart_contracts/contracts/vm2/vm2-flipper/Cargo.toml smart_contracts/contracts/vm2/vm2-harness/src/contracts/harness.rs smart_contracts/contracts/vm2/vm2-harness/src/main.rs smart_contracts/contracts/vm2/vm2-host/Cargo.toml smart_contracts/contracts/vm2/vm2-host/src/lib.rs smart_contracts/contracts/vm2/vm2-named-args/Cargo.toml smart_contracts/contracts/vm2/vm2-system-caller/src/lib.rs smart_contracts/contracts/vm2/vm2-upgradable-v2/Cargo.toml smart_contracts/contracts/vm2/vm2-upgradable/Cargo.toml smart_contracts/contracts/vm2/vm2-vm1-wrapper/Cargo.toml smart_contracts/sdk/src/collections/sorted_vector.rs smart_contracts/vm2/macros/src/lib.rs smart_contracts/vm2/sdk/Cargo.toml smart_contracts/vm2/sdk/src/abi.rs smart_contracts/vm2/sdk/src/abi/collector.rs smart_contracts/vm2/sdk/src/abi_generator.rs smart_contracts/vm2/sdk/src/build.rs smart_contracts/vm2/sdk/src/bundle.rs smart_contracts/vm2/sdk/src/casper.rs smart_contracts/vm2/sdk/src/casper/native.rs smart_contracts/vm2/sdk/src/collections/iterable_map.rs smart_contracts/vm2/sdk/src/collections/iterable_set.rs smart_contracts/vm2/sdk/src/collections/map.rs smart_contracts/vm2/sdk/src/collections/vector.rs smart_contracts/vm2/sdk/src/compat.rs smart_contracts/vm2/sdk/src/compat/types/cl_type.rs smart_contracts/vm2/sdk/src/compat/types/runtime_args.rs smart_contracts/vm2/sdk/src/lib.rs smart_contracts/vm2/sdk/src/prelude.rs smart_contracts/vm2/sdk/src/types.rs vm2-build-contracts.sh
It is hooked up and transaction acceptor validates that installer requires bundle data field is present.
Conflicts: Makefile executor/wasm/src/lib.rs vm2_cargo_casper/src/cli/build.rs vm2_cargo_casper/src/cli/build_schema.rs vm2_cargo_casper/src/main.rs
This bundle is made optional to make things consistent across install transaction and wasm install. Now, creating a smart contract from a wasm side goes through the same path as the install transaction and therefore this commit unifies install code paths to avoid reimplementing the same logic.
Conflicts: executor/wasm/Cargo.toml executor/wasm/src/lib.rs executor/wasm_host/Cargo.toml executor/wasm_host/src/host/global_state.rs executor/wasm_interface/src/executor.rs executor/wasm_interface/src/install.rs node/src/components/contract_runtime/operations/wasm_v2_request.rs resources/local/chainspec.toml.in resources/production/chainspec.toml
6a01731 to
7047fde
Compare
Conflicts: execution_engine_testing/tests/src/test/explorer/faucet.rs executor/wasm_common/src/keyspace.rs executor/wasm_common/src/lib.rs executor/wasm_host/src/host/global_state.rs smart_contracts/contracts/vm2/vm2-cep18/src/lib.rs smart_contracts/contracts/vm2/vm2-harness/src/main.rs smart_contracts/contracts/vm2/vm2-host/src/lib.rs smart_contracts/vm2/macros/src/lib.rs smart_contracts/vm2/sdk/src/casper.rs smart_contracts/vm2/sdk/src/collections/map.rs smart_contracts/vm2/sdk/src/collections/set.rs smart_contracts/vm2/sdk/src/collections/vector.rs types/src/gens.rs types/src/key.rs
…ility VM2 Discoverability
* speculative execution now has the ability to run V1 transactions * speculative execution bypasses transaction acceptor * speculative execution bypasses approvals verification (it still passes them to the VM runtime)
3d6958e to
73b6bac
Compare
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Please consider the following when creating a PR: