mirror of
https://github.com/luxfi/bundler.git
synced 2026-10-30 17:01:04 +00:00
* geth tracer to collect "op banning" info * initial work to to opcode banning and address collection. * bundler perform stricter checks on its inputs.
23 lines
595 B
Solidity
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");
|
|
}
|
|
}
|