Files
Dror TiroshandGitHub 68ecef2e31 Bundler with Geth Tracer (#22)
* geth tracer to collect "op banning" info
* initial work to to opcode banning and address collection.
* bundler perform stricter checks on its inputs.
2022-11-28 12:51:18 +02:00

23 lines
595 B
Solidity

//SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
// TODO: get hardhat types from '@account-abstraction' package directly
// only to import the file in hardhat compilation
import "@account-abstraction/contracts/samples/SimpleAccount.sol";
contract SampleRecipient {
SimpleAccount wallet;
event Sender(address txOrigin, address msgSender, string message);
function something(string memory message) public {
emit Sender(tx.origin, msg.sender, message);
}
// solhint-disable-next-line
function reverting() public {
revert( "test revert");
}
}