mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 17:31:05 +00:00
Contracts: COMPLEXITY.md (#905)
* Initial sketch. * More work. * Grammar. * Fix. * Fix grammar.
This commit is contained in:
committed by
Gav Wood
parent
0c7389e108
commit
89fd3a78d5
@@ -270,7 +270,7 @@ impl<T: Trait> Module<T> {
|
||||
|
||||
/// Create a new contract, optionally transfering some balance to the created account.
|
||||
///
|
||||
/// Creation is executed as follows:ExecutionContext
|
||||
/// Creation is executed as follows:
|
||||
///
|
||||
/// - the destination address is computed based on the sender and hash of the code.
|
||||
/// - account is created at the computed address.
|
||||
|
||||
@@ -89,6 +89,10 @@ pub(crate) fn to_execution_result<E: Ext>(
|
||||
}
|
||||
}
|
||||
|
||||
// ***********************************************************
|
||||
// * AFTER MAKING A CHANGE MAKE SURE TO UPDATE COMPLEXITY.MD *
|
||||
// ***********************************************************
|
||||
|
||||
// TODO: ext_balance, ext_address, ext_callvalue, etc.
|
||||
|
||||
// Define a function `fn init_env<E: Ext>() -> HostFunctionSet<E>` that returns
|
||||
|
||||
Reference in New Issue
Block a user