diff --git a/script/Deploy.s.sol b/script/Deploy.s.sol index 4f75e12..79084db 100644 --- a/script/Deploy.s.sol +++ b/script/Deploy.s.sol @@ -19,11 +19,7 @@ contract GetProofMockScript is Script { AvailBridge bridge = AvailBridge(address(new TransparentUpgradeableProxy(impl, address(proxyAdmin), ""))); WrappedAvail avail = new WrappedAvail(address(bridge)); bridge.initialize( - 0, - IWrappedAvail(address(avail)), - admin, - admin, - IVectorx(0x5ac10644a873AAcd288775A90d6D0303496A4304) + 0, IWrappedAvail(address(avail)), admin, admin, IVectorx(0x5ac10644a873AAcd288775A90d6D0303496A4304) ); vm.stopBroadcast(); } diff --git a/test/AvailBridgeTest.t.sol b/test/AvailBridgeTest.t.sol index 20fbcb5..a25b414 100644 --- a/test/AvailBridgeTest.t.sol +++ b/test/AvailBridgeTest.t.sol @@ -426,7 +426,9 @@ contract AvailBridgeTest is Test, MurkyBase { assertEq(bridge.isSent(0), 0x0); } - function testRevertFeeTooLow_sendMessage(bytes32 to, bytes calldata data, uint32 feePerByte, uint256 amount) external { + function testRevertFeeTooLow_sendMessage(bytes32 to, bytes calldata data, uint32 feePerByte, uint256 amount) + external + { vm.assume(feePerByte != 0 && data.length != 0 && data.length < 102_400); vm.prank(owner); bridge.updateFeePerByte(feePerByte);