From 166b56a7a83bb4bc621099346459c7e2ebf30ecf Mon Sep 17 00:00:00 2001 From: radrow Date: Tue, 18 May 2021 09:18:57 +0200 Subject: [PATCH] Grammar in docs --- docs/sophia_stdlib.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/docs/sophia_stdlib.md b/docs/sophia_stdlib.md index efbddd8..6710dcc 100644 --- a/docs/sophia_stdlib.md +++ b/docs/sophia_stdlib.md @@ -770,10 +770,10 @@ The gas limit of the current block. Chain.bytecode_hash : 'c => option(hash) ``` -Returns the hash of the contract's bytecode (or `None` if it is nonexistent or -deployed before FATE2). The type `'c` must be instantiated with a contract. The -charged gas is affine to the size of the serialized bytecode of the deployed -contract. +Returns the hash of the contract's bytecode (or `None` if it is +nonexistent or deployed before FATE2). The type `'c` must be +instantiated with a contract. The charged gas increases linearly to +the size of the serialized bytecode of the deployed contract. #### create @@ -781,11 +781,11 @@ contract. Chain.create(value : int, ...) => 'c ``` -Creates and deploys a new instance of a contract `'c`. All of the unnamed -arguments will be passed to the `init` function. The charged gas is affine to -the size of the compiled child contract's bytecode. The `source_hash` on-chain -entry of the newly created contract will be the SHA256 hash over concatenation -of +Creates and deploys a new instance of a contract `'c`. All of the +unnamed arguments will be passed to the `init` function. The charged +gas increases linearly with the size of the compiled child contract's +bytecode. The `source_hash` on-chain entry of the newly created +contract will be the SHA256 hash over concatenation of - whole contract source code - single null byte