Wrapper to make development of ROFL components easier.
+
oasis_runtime_sdk::modules::rofl::app - Rust Expand description Wrapper to make development of ROFL components easier.
pub use crate::modules::rofl::app_id::AppId ;
\ No newline at end of file
diff --git a/rust/oasis_runtime_sdk/modules/rofl/app/trait.App.html b/rust/oasis_runtime_sdk/modules/rofl/app/trait.App.html
index 6c69ae6df1..da7f984ee4 100644
--- a/rust/oasis_runtime_sdk/modules/rofl/app/trait.App.html
+++ b/rust/oasis_runtime_sdk/modules/rofl/app/trait.App.html
@@ -1,4 +1,4 @@
-
App in oasis_runtime_sdk::modules::rofl::app - Rust pub trait App: Send + Sync + 'static {
+App in oasis_runtime_sdk::modules::rofl::app - Rust pub trait App: Send + Sync + 'static {
const VERSION : Version ;
// Required methods
@@ -22,23 +22,23 @@
fn start (self)
where Self: Sized { ... }
}
Expand description ROFL component application.
-
ROFL application version.
-
Identifier of the application (used for registrations).
-
Return the consensus layer trust root for this runtime; if None
, consensus layer integrity
+
ROFL application version.
+
Identifier of the application (used for registrations).
+
Return the consensus layer trust root for this runtime; if None
, consensus layer integrity
verification will not be performed.
-
Create a new unsigned transaction.
-
Main application processing loop.
-
Logic that runs on each runtime block. Only one of these will run concurrently.
-
\ No newline at end of file
diff --git a/rust/src-files.js b/rust/src-files.js
index cf1cae5573..bbefeb3829 100644
--- a/rust/src-files.js
+++ b/rust/src-files.js
@@ -6,7 +6,7 @@ var srcIndex = new Map(JSON.parse('[\
["oasis_contract_sdk_storage",["",[],["cell.rs","lib.rs","map.rs"]]],\
["oasis_contract_sdk_types",["",[["modules",[],["contracts.rs","mod.rs"]]],["address.rs","crypto.rs","env.rs","event.rs","lib.rs","message.rs","storage.rs","testing.rs","token.rs"]]],\
["oasis_core_runtime",["",[["common",[["crypto",[["mrae",[],["deoxysii.rs","mod.rs","nonce.rs"]]],["hash.rs","mod.rs","signature.rs","x25519.rs"]],["sgx",[["pcs",[],["certificates.rs","constants.rs","mod.rs","policy.rs","quote.rs","report.rs","tcb.rs","utils.rs"]]],["egetkey.rs","ias.rs","mod.rs","seal.rs"]]],["bytes.rs","key_format.rs","logger.rs","mod.rs","namespace.rs","panic.rs","process.rs","quantity.rs","time.rs","version.rs","versioned.rs"]],["consensus",[["keymanager",[],["churp.rs"]],["roothash",[["commitment",[],["executor.rs","mod.rs","pool.rs"]]],["block.rs","message.rs","mod.rs"]],["state",[["keymanager",[],["churp.rs"]]],["beacon.rs","keymanager.rs","mod.rs","registry.rs","roothash.rs","staking.rs"]],["tendermint",[["verifier",[["store",[],["lru.rs","mod.rs","state.rs"]]],["cache.rs","clock.rs","handle.rs","io.rs","mod.rs","noop.rs","predicates.rs","signature.rs","types.rs"]]],["merkle.rs","mod.rs"]]],["address.rs","beacon.rs","governance.rs","keymanager.rs","mod.rs","registry.rs","scheduler.rs","staking.rs","transaction.rs","verifier.rs"]],["enclave_rpc",[],["client.rs","context.rs","demux.rs","dispatcher.rs","mod.rs","session.rs","sessions.rs","transport.rs","types.rs"]],["storage",[["mkvs",[["cache",[],["lru_cache.rs","mod.rs"]],["sync",[],["errors.rs","host.rs","merge.rs","mod.rs","noop.rs","proof.rs","stats.rs"]],["tree",[],["commit.rs","errors.rs","insert.rs","iterator.rs","lookup.rs","macros.rs","marshal.rs","mod.rs","node.rs","overlay.rs","prefetch.rs","remove.rs"]]],["marshal.rs","mod.rs"]]],["mod.rs"]],["transaction",[],["context.rs","dispatcher.rs","mod.rs","rwset.rs","tags.rs","tree.rs","types.rs"]]],["app.rs","attestation.rs","cache.rs","config.rs","dispatcher.rs","future.rs","host.rs","identity.rs","init.rs","lib.rs","policy.rs","protocol.rs","types.rs"]]],\
-["oasis_runtime_sdk",["",[["crypto",[["multisig",[],["mod.rs"]],["signature",[],["context.rs","digests.rs","ed25519.rs","mod.rs","secp256k1.rs","secp256r1.rs","secp384r1.rs","sr25519.rs"]]],["mod.rs","random.rs"]],["modules",[["access",[],["mod.rs","types.rs"]],["accounts",[],["fee.rs","mod.rs","types.rs"]],["consensus",[],["mod.rs","types.rs"]],["consensus_accounts",[],["mod.rs","state.rs","types.rs"]],["core",[],["mod.rs","types.rs"]],["rewards",[],["mod.rs","types.rs"]],["rofl",[["app",[],["client.rs","env.rs","mod.rs","notifier.rs","prelude.rs","processor.rs","registration.rs"]]],["app_id.rs","config.rs","error.rs","event.rs","mod.rs","policy.rs","state.rs","types.rs"]]],["mod.rs"]],["storage",[],["confidential.rs","hashed.rs","host.rs","mkvs.rs","mod.rs","overlay.rs","prefix.rs","typed.rs"]],["testing",[],["keymanager.rs","keys.rs","mock.rs","mod.rs"]],["types",[],["address.rs","callformat.rs","message.rs","mod.rs","token.rs","transaction.rs"]]],["callformat.rs","config.rs","context.rs","dispatcher.rs","enclave_rpc.rs","error.rs","event.rs","history.rs","keymanager.rs","lib.rs","module.rs","runtime.rs","schedule_control.rs","sender.rs","state.rs","subcall.rs"]]],\
+["oasis_runtime_sdk",["",[["crypto",[["multisig",[],["mod.rs"]],["signature",[],["context.rs","digests.rs","ed25519.rs","mod.rs","secp256k1.rs","secp256r1.rs","secp384r1.rs","sr25519.rs"]]],["mod.rs","random.rs"]],["modules",[["access",[],["mod.rs","types.rs"]],["accounts",[],["fee.rs","mod.rs","types.rs"]],["consensus",[],["mod.rs","types.rs"]],["consensus_accounts",[],["mod.rs","state.rs","types.rs"]],["core",[],["mod.rs","types.rs"]],["rewards",[],["mod.rs","types.rs"]],["rofl",[["app",[["init",[],["mod.rs"]]],["client.rs","env.rs","mod.rs","notifier.rs","prelude.rs","processor.rs","registration.rs"]]],["app_id.rs","config.rs","error.rs","event.rs","mod.rs","policy.rs","state.rs","types.rs"]]],["mod.rs"]],["storage",[],["confidential.rs","hashed.rs","host.rs","mkvs.rs","mod.rs","overlay.rs","prefix.rs","typed.rs"]],["testing",[],["keymanager.rs","keys.rs","mock.rs","mod.rs"]],["types",[],["address.rs","callformat.rs","message.rs","mod.rs","token.rs","transaction.rs"]]],["callformat.rs","config.rs","context.rs","dispatcher.rs","enclave_rpc.rs","error.rs","event.rs","history.rs","keymanager.rs","lib.rs","module.rs","runtime.rs","schedule_control.rs","sender.rs","state.rs","subcall.rs"]]],\
["oasis_runtime_sdk_contracts",["",[["abi",[["oasis",[],["crypto.rs","env.rs","memory.rs","mod.rs","storage.rs","validation.rs"]]],["gas.rs","mod.rs"]]],["code.rs","lib.rs","results.rs","store.rs","types.rs","wasm.rs"]]],\
["oasis_runtime_sdk_macros",["",[["module_derive",[],["method_handler.rs","migration_handler.rs","mod.rs","module.rs"]]],["error_derive.rs","event_derive.rs","generators.rs","lib.rs","version_from_cargo.rs"]]],\
["rofl_utils",["",[],["https.rs","lib.rs"]]]\
diff --git a/rust/src/oasis_runtime_sdk/modules/rofl/app/init/mod.rs.html b/rust/src/oasis_runtime_sdk/modules/rofl/app/init/mod.rs.html
new file mode 100644
index 0000000000..faa836a28f
--- /dev/null
+++ b/rust/src/oasis_runtime_sdk/modules/rofl/app/init/mod.rs.html
@@ -0,0 +1,25 @@
+
mod.rs - source #[cfg(feature = "tdx" )]
+ mod tdx;
+
+pub (crate ) fn post_registration_init() {
+ #[cfg(feature = "tdx" )]
+ tdx::post_registration_init();
+}
+
\ No newline at end of file
diff --git a/rust/src/oasis_runtime_sdk/modules/rofl/app/mod.rs.html b/rust/src/oasis_runtime_sdk/modules/rofl/app/mod.rs.html
index 00f0fd6cb2..2ec15f72c6 100644
--- a/rust/src/oasis_runtime_sdk/modules/rofl/app/mod.rs.html
+++ b/rust/src/oasis_runtime_sdk/modules/rofl/app/mod.rs.html
@@ -130,6 +130,7 @@
130
131
132
+
133