Bernardo Ramos

Results 65 issues of 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...

V4

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...

feature
V4

This function returns the hardfork version of the underlying blockchain

feature
V4

This PR removes some Lua functions, starting on hardfork 4: * `package` module * `require` * `getfenv` * `setfenv` * `getmetatable` * `setmetatable` * `rawget` * `rawset` * `rawequal` *...

V4

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...

feature
V4

* 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...

dependencies
check hardfork

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...

proposal
V4

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,...

proposal