mirror of
https://github.com/logos-messaging/logos-messaging-rlnv2-contract.git
synced 2026-05-02 08:23:07 +00:00
Move emit functions to top of TestStabletoken.t.sol script
This commit is contained in:
parent
6db07da0c5
commit
710ceaa861
@ -20,6 +20,10 @@ contract TestStableTokenTest is Test {
|
||||
address internal user2;
|
||||
address internal nonMinter;
|
||||
|
||||
event MinterAdded(address indexed account);
|
||||
event MinterRemoved(address indexed account);
|
||||
event ETHBurned(uint256 amount, address indexed minter, address indexed to, uint256 tokensMinted);
|
||||
|
||||
function setUp() public {
|
||||
// Deploy using the deployment script
|
||||
deployer = new DeployTokenWithProxy();
|
||||
@ -182,11 +186,6 @@ contract TestStableTokenTest is Test {
|
||||
token.removeMinter(user1);
|
||||
}
|
||||
|
||||
event MinterAdded(address indexed account);
|
||||
event MinterRemoved(address indexed account);
|
||||
event ETHBurned(uint256 amount, address indexed minter, address indexed to, uint256 tokensMinted);
|
||||
|
||||
// New tests for ETH burning functionality
|
||||
function test__MintRequiresETH() external {
|
||||
uint256 mintAmount = 1000 ether;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user