Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add wasmex dep * Add wasm module * Test with ContractV2 * Support native upgrade * Performs about exported vs spec functions * Improve linting for ContractV2 * Improve linting for WASM modules * support UTXO balance * support I/O mocks * update wasm for tests * rename init with onInit * refactor * Update with manifest to generate spec * update tx code to hold json * fix code validation size in mining * support wasm onInherit * getBalance IO function * implement lib functions * use the Hex struct * add contract seed to the wasmmemory * implement remaining functions * adapt mock * update contract in test * handle type checking & casting * support recipient * skip execute_condition for wasm contract * fix format * Integrate genesis & contract constants * improve onInit call * improve recipients arguments * clean * lint * Support only map as argument for wasm contract * Support only map as argument for wasm contract * Add `contract` to transaction data to hold wasm contract def * Increase contract's code size limit * Customize version for transaction in tests and playbooks * Refactoring * Uniform error codes RPC * Use typedencoding for contract manifest serialization * fix loading contract in worker * fix output * fix merge * Fix merge' * Fix merge * Fix wasmex version * fix serialization issue * fix lint * Fix wasm output cast on list * Add WasmSpec.get_function_spec * Fix cast output for json rpc call * Add TransactionData.Contract struct * distinct tx version 3 and 4 * wasm contract set transaction version * Fix tests * fix dialyzer * fix credo * Add Contract.set_contract function in interpreter * Forbid transaction V4 on mainnet * Remove thing in db --------- Co-authored-by: bchamagne <[email protected]> Co-authored-by: Neylix <[email protected]>
- Loading branch information