Contract factories and bytecode introspection #796

Merged
zxq9 merged 34 commits from factories into master 2021-05-18 19:21:57 +09:00
Showing only changes of commit 53d5d95ab1 - Show all commits

View File

@ -770,9 +770,9 @@ The gas limit of the current block.
Chain.bytecode_hash : 'c => option(hash)
```
Returns 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.
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.
#### create