We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
There is no way to know if the transaction reverted when you use a client(Ex: web3) with a proxy identity to execute something.
Why not have something like:
function execute(uint256 _operationType, address _to, uint256 _value, bytes calldata _data) external onlyOwner { if (_operationType == OPERATION_CALL) { if(!executeCall(_to, _value, _data)) revert(); } else if (_operationType == OPERATION_CREATE) { address newContract = executeCreate(_data); emit ContractCreated(newContract); } else { // We don't want to spend users gas if parametar is wrong revert(); } }
The text was updated successfully, but these errors were encountered:
The code changed, but i think a execute event could make sense.
Sorry, something went wrong.
Issue outdated
No branches or pull requests
There is no way to know if the transaction reverted when you use a client(Ex: web3) with a proxy identity to execute something.
Why not have something like:
The text was updated successfully, but these errors were encountered: