uint256 constant EXECUTION_VALIDATION_GAS_OVERHEAD = 25000; // TODO: should be the amount sufficient to cover the gas costs of all of the transactions up to and including the CALL/CREATE which forms the entrypoint of the transaction.
/********************
/********************
* Public Functions *
* Public Functions *
...
@@ -36,8 +43,8 @@ contract OVM_ECDSAContractAccount is iOVM_ECDSAContractAccount {
...
@@ -36,8 +43,8 @@ contract OVM_ECDSAContractAccount is iOVM_ECDSAContractAccount {
* @param _v Signature `v` parameter.
* @param _v Signature `v` parameter.
* @param _r Signature `r` parameter.
* @param _r Signature `r` parameter.
* @param _s Signature `s` parameter.
* @param _s Signature `s` parameter.
* @return _success Whether or not the call returned (rather than reverted).
* @return Whether or not the call returned (rather than reverted).
* @return _returndata Data returned by the call.
* @return Data returned by the call.
*/
*/
function execute(
function execute(
bytes memory _transaction,
bytes memory _transaction,
...
@@ -49,8 +56,8 @@ contract OVM_ECDSAContractAccount is iOVM_ECDSAContractAccount {
...
@@ -49,8 +56,8 @@ contract OVM_ECDSAContractAccount is iOVM_ECDSAContractAccount {