Bernardo Ramos
Bernardo Ramos
These changes are intended to be implemented on hardfork V4: * Transactions with type `NORMAL` should **not** call smart contracts * Transactions with type `TRANSFER` can **only** interface with smart...
This PR adds 2 new functions: * `bignum.ispositive()` * `bignum.isnegative()` The last one is a clone of the `bignum.isneg()`. Both will exist (for backwards compatibility) but the docs and code...
This function returns the hardfork version of the underlying blockchain
This PR removes some Lua functions, starting on hardfork 4: * `package` module * `require` * `getfenv` * `setfenv` * `getmetatable` * `setmetatable` * `rawget` * `rawset` * `rawequal` *...
This line of code: ```lua result = contract.call.value(amount)(resolve(to_call), "test", 111, 222) ``` Generates this error: ``` [Contract.LuaCallContract] call err: 'resolve' is not payable ``` So instead of using the result...
This PR adds the `contract.gasLeft()` function to retrieve the remaining gas in the contract execution Closes #239 There is a problem though: The `lua_pushinteger()` function accepts a value of type...
* Update `btcec` to v2 * Remove `btcd` dependency This PR is based on the `feature/updateLibP2P` branch from PR #327 It can be merged into that branch (will appear on...
The current limit is 50 events / txn When the MaxCallDepth was increased to 64 this other limit was not changed It may be interesting to make the limit of...
Currently it is only possible to subscribe to events informing a single contract address for filter But in some cases we are interested in many contracts, or not any specifically,...