Skip to content

Commit

Permalink
lint: run lint
Browse files Browse the repository at this point in the history
  • Loading branch information
QEDK committed Dec 19, 2023
1 parent 456187a commit 72a2cf3
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions test/AvailBridgeTest.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,15 @@ contract AvailBridgeTest is Test {
function test_receiveETH(bytes32 rangeHash, bytes32 from, address to, uint256 amount, uint64 messageId) external {
vm.assume(uint256(uint160(to)) > 9 && amount != 0 && to != address(vm));
vm.deal(address(bridge), amount);
AvailBridge.Message memory message =
AvailBridge.Message(0x02, from, bytes32(bytes20(to)), 1, 2, abi.encode(0x4554480000000000000000000000000000000000000000000000000000000000, amount), messageId);
AvailBridge.Message memory message = AvailBridge.Message(
0x02,
from,
bytes32(bytes20(to)),
1,
2,
abi.encode(0x4554480000000000000000000000000000000000000000000000000000000000, amount),
messageId
);
bytes32 messageHash = keccak256(abi.encode(message));
bytes32 dataRoot = keccak256(abi.encode(bytes32(0), messageHash));

Expand Down

0 comments on commit 72a2cf3

Please sign in to comment.