Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Breaking changes] 528 use read sc to set gas when gas is not set in …
…call sc (#529) Breaking changes: functionName -> targetFunction * Rename ICallData functionName to targetFunction as in IReadData. * Set default maxGas using read sc in call sc * Not use readSC when maxGas is 0 * Make maxGas optional in ICallData and add coins and fees when calling readSC from callSC * Add a test for default maxGas in callSC * Remove maxGas parameter of callSC in examples * Fix Test smart contract * Fix maxGas value for readSC from callSC * Fix expected maxGas in callSC no maxGas test * Make default readSC maxGas a constant * Improve readbility in readSC call in callSC * Move undefined maxgas handling from callSC to readSC * Add error handling gas estimation --------- Co-authored-by: BenRey <br@massa.net>
- Loading branch information